I figured I would start a new topic as none of this pertains to
the previous messages I posted.
I've got an almost 30-GB disk image of a working debian
installation for a Raspberry pi that I should be able to easily
squeeze on to a roughly 8 GB SSD card because it only takes up
10% of the
There's always one more question that nobody mentions and none of
the articles one finds on the topic don't touch. When looking at
the man page for resize2fs in debian, it talks about the -b
option to turn on "the 64 bit feature."
__
When shrinking the size of the partition, make
ernel or sector information becomes corrupted if it
happens to land in a vital piece of code.
Again, many thanks.
Martin McCormick
of user space? The good system I copied the image
from only had about 12% of the partition used so I should be
able to transplant it to the smaller disk if tunefs can do that
and still leave a bootable device.
Thanks for all useful ideas.
Martin McCormick
Bijan Soleymani writes:
> Can you delete both partitions, create a new single linux partition,
> reboot
> then run mkfs.ext4 to create a single new partition and then just install
> linux onto it or try dd again?
Great suggestions but I can't. Part of the typescript output I
included was me doi
Charles Curley writes:
> I'm no expert on RPis, but that sounds to me like the SD card is
> protected against writes. Check for any physical write protection
> switches on the card itself and the holder.
Thanks for the suggestion, but this is one of those SSD cards
that often is found in a camera
I thanked the person who responded to my post and reported that
there were no unusual log entries in syslog on the failing system
so not much to go on. I decided to upgrade the Raspberry Pi
which was suddenly having this mysterious problem as I have
backups of the failing system so I figured I'd j
This Pi is running Debian Stretch. I believe that's what version
9 is called. I have it capturing audio from a radio receiver and
it's been doing that for several years now and it was doing that
yesterday morning. Later in the day, I downloaded more audio
and, after a long pause, I got the messa
:
01/MonThird Martin Luther King Birthday (3rd Monday of January)
It is now a major holiday and schools and government
offices are usually closed so it should probably be there.
Thanks to all and sorry if I created any confusion about
the path.
Martin McCormick.
Greg Wooledge writes:
> On Sun, Jan 16, 2022 at 09:58:11PM -0600, Martin McCormick wrote:
> > There's a stale version of this file on my system that reflects
> > when Debian was installed but it brings a question to mind.
>
> The one in the Subject: header? Are y
s for 2017 but this is why I am asking.
I also saw versions of that file for other countries such
as the UK.
Thanks for all good responses.
Martin McCormick
I was inventorying all the systems on our WiFi and wired network
so I did the following:
sudo nmap -sn 192.168.1.0/24 followed by
sudo arp -a and I found nothing extraordinary so I also got on
our Netgear router and told it to cough up a list of attached
devices, showing the same list of stuf
case, the corruption would be okay and done for
good reasons but the dhcp server in our router already advertises two
domain name servers so ours would have to be learned about by
discovery.
Thanks again.
Martin McCormick
Joe writes:
> Indeed so, it is even in a folder called 'etc', which I think is in a
> 'drivers' folder. It's a while since I used it. There may be an
> existing default or example \etc\hosts file. The LMHosts file is also
> here, but of interest only to Windows networks for speeding up share
> loo
s for any good ideas.
Martin McCormick
I am sure I have run kernels with other bugs that I
didn't know about but this is the first time one has bitten me,
so to speak.
Thanks.
Martin WB5AGZ
Martin McCormick WB5AGZ
Gene Heskett writes:
> You forgot to mention it can get the message thru better because it has a
> 12 db advantage over competing noise compared to the original AM,
> sometimes called Ancient Mary in our circles.
I did forget that but you are correct. another
interesting thing about ssb
like a few new acronyms for your day. I guess that's TMI.
Martin McCormick WB5AGZ
ely located and one is
operating it headlessly.
I smiled a bit when reading the syslog admonition to
connect to a high-speed hub. That would be quite a trick.
Thanks for any constructive suggestions.
Martin McCormick WB5AGZ
tell /arecord/ to use an ADC that doesn't exist.
>
> Cheers,
> David.
I am in no great hurry so I will probably try both the
plugin solution and the sox coding and save them both for later
as the idea is to end up with something that is both efficient and
useful.
Thanks, everybody.
Martin McCormick WB5AGZ
I have a little shell script called fullstereo which works fine.
It's short so I'll show it to you. It records sound from a
Creative Labs usb sound card which is probably much happier on a
Windows box but that's not where I need it. It has only 1
sampling rate that works under debian and that is
I did it! It works!
Okay. Here's the short story. I read some more stuff
about building a boot drive for another system than the one being
used for the rescue. In this thread were the usual tales of woe
which I have also experienced when misusing grub such as "Oh
#%^*! Now I've got 2 s
Felix Miata writes:
> This is a big lurking booby trap that could have been the problem both
> last time
> and this time. It's one of the reasons why installation systems and Grub
> switched
> from using device names to using UUIDs: inconsistent and/or unpredicable
> device
> enumeration.
>
>
I admit I made several big mistakes, here. The first was not
having a backup of /boot as I thought I did. The next is
thinking I could just copy the whole boot directory from a
known working system and be able to get it to work by using sed to
replace the UUID's of the system it was on with those
Felix Miata writes:
> IMO you gave up too soon. IIRC you never showed us output from parted -l
> or fdisk
> -l. Very likely on the problem PC the / filesystem was/is not on the first
> partition, where often lies a swap partition. Very likely root=/dev/sda2
> would
> have been/be correct.
Sorry
Thanks to all for the advice and knowledge you shared about how
grub works. I am writing this on June 6 and early this morning,
I edited the boot command in the grub shell after
verifying that my stubborn no-boot drive truly was sitting at
hd0,1msdos and grub-install had picked out hd2,1msdos for
so I figured I had
better fix it correctly since I didn't know it was a ticking
bomb.
Felix Miata writes:
> Martin McCormick composed on 2021-06-05 12:46 (UTC-0500):
>
> > I have a plan but I need some more information. Is there any
> > personalization done by the boot
Reco writes:
> On Sat, Jun 05, 2021 at 12:46:13PM -0500, Martin McCormick wrote:
> > I have a plan but I need some more information. Is there any
> > personalization done by the boot setup process?
>
> Yes. One of the GRUB's tasks is to supply kernel which is
I have a plan but I need some more information. Is there any
personalization done by the boot setup process? Do our UUID's
or any other specific information pertaining to the installation
make it in to the initrd files?
While reading about the boot process, it doesn't appear
that the ini
I placed the ailing drive back on a good Linux system and mounted
it as /dev/sdd1 /mnt
and ran the following commands on it:
#!/bin/sh
#mount the drive being repaired. Uncomment lines as needed.
sudo mount /dev/sdd1 /mnt
cd /mnt/boot
#installing to the mounted disk
sudo grub-install \
--boot-
Weaver writes:
> Well, let us know how it goes, because I've noted a few visually
> disadvantaged users on the list, and they would find the reference
> useful.
I have found out that grub is very accessible if one has
defined a serial console and there is a working serial port on
the targ
Weaver writes:
> https://www.supergrubdisk.org/
The site recommends downloading the hybrid version of
grub2disk so that is what I did because all the Linux boxes I
have are x86 hardware and have CD technology built in.
This is quite an interesting creation. The ISO image is
a we
Weaver writes:
> On 03-06-2021 03:59, Martin McCormick wrote:
> > Is there any free utility that can run in Linux which helps one
> > rebuild a corrupted boot configuration?
>
> https://www.supergrubdisk.org/
Thank you very much as you did answer my question
perfect
Is there any free utility that can run in Linux which helps one
rebuild a corrupted boot configuration?
I have a disk which is currently out of it's usual place
as the boot drive for a debian system. The past two times that
Buster updated grub, the drive became unbootable after the
updat
I missed the INSTALL_DEVICE and now the script works.
The next step is to see if the drive boots but I just
forgot that one important detail. Sorry to waste anyone's time.
Martin
es not seem
corrupted just as the last time this happened.
Thanks for any constructive ideas.
Martin McCormick WB5AGZ
I have a Windows box that has software on it which programs
two-way radios and it would be nice to know what the radio and
computer are saying to each other.
After trying a Windows application that reportedly can
capture serial port traffic, I find that it doesn't appear to
work with usb p
exactly?
Enquiring minds want to know.
Thanks for any and all constructive ideas.
Martin McCormick
Our phone is very quiet these days except for legitimate
calls.
Martin McCormick
Andrei POPESCU writes:
> On Jo, 03 dec 20, 07:39:14, Martin McCormick wrote:
> >
> > So, I need to read more general information about the
> > differences between systemd and what we've been using up to
> > recently.
>
> The Wikipedia page and/or https
worst sort of ignorance
syndrome which can really bite in that sometimes, we have an idea
what we don't know and other times, we don't even know that we
don't know and that's really frightening.
So, I need to read more general information about the
differences between systemd and what we've been using up to
recently.
Martin McCormick
Greg Wooledge writes:
> I was vaguely thinking of a similar approach. Set up a job that runs
> every hour, or across a set of hours that will cover all the possible
> cases that you care about, in your crontab. Within the job itself,
> set a TZ variable and determine the time in that time zone b
and so my question is basically, has anything fundamentally
changed in the way cron is used?
This is not a complaint at all. I was first introduced to
unix-like systems in 1989 and immediately knew that this was the
sort of OS I wanted to stick with in amateur radio and technical
tinkering in general.
Martin McCormick WB5AGZ
David writes:
> Your lack of success is because the the command you used has designed
> behaviour to install the grub bootloader to the boot sector of
> /dev/sdd, and also install the grub files you listed into the current
> system /boot/grub (which was not on sdd at the time). That is the
> reaso
I am going to respond to one of my earlier posts as it doesn't
help things at all to spread misinformation which I am guilty of,
here.
"Martin McCormick" writes:
> I appear to be using grub, not grub2.
No. It's grub2. Old Grub is now grub-legacy and is
system to do something it wasn't originally designed to
do then ram and storage are getting cheaper by the day and some
things just aren't worth worrying about.
Martin McCormick
Andy Smith writes:
> Hi Martin,
>
> On Sat, Nov 21, 2020 at 08:48:51PM -0600, Martin McCormick wrote:
> > find . -name "*" -exec ls -l {} \; \
> > |grep -F / \
> > | awk ' { total += $5 } END { print total }'
> >
> > That usual
Dan Ritter writes:
> Here's what you can do:
>
> On a good system, mount your drive. Let's pretend that it's
> recognized as /dev/sdg, and you have a /boot on /dev/sdg1 and
> a root partition on /dev/sdg2.
>
> ls -al /dev/disk/by-partuuid/| grep sdg
>
> will get you the partition UUIDs for that
Dan Ritter writes:
> in /boot/grub/menu.lst
>
> serial --unit=0 --speed=9600 --word=8 --parity=no --stop=1
> terminal serial
>
> (yes, that's two lines)
>
> I hope that helps.
>
> If you want the option of either serial or console access,
> replace the second line with
>
> terminal --timeout=
Andy Smith writes:
> Hi Martin,
>
> Are you sure about this? There is no Debian or Ubuntu host I have
> access to that has a /usr/share/zoneinfo/ that contains more than
> 4MiB of data. For yours to have 256 times this much is quite an
> aberration. What did you type to determine that your
> /usr
Felix Miata writes:
> Save yourself many keystrokes by using the symlinks in the root directory
> instead
> of the long-winded full version-named /boot/vmlinuz-4.19.0-5-686-pae
This is wonderful to know and in the root or / directory of this
disk, there is
initrd.img, initrd.img.old, vmlinu
writes:
> Suppose a hacker logs into your computer from far, far away, say
> from somewhere in Nepal.
>
> Surely you'd want this person to see the time adapted to their
> locale? That's the least courtesy you can be expected to provide?
>
> ;-P
>
> Now putting my tongue out of my cheek again: i
e back from a reboot.
I appreciate the good suggestions I have gotten from
several of you so far.
Martin McCormick
Dan Ritter writes:
> Here's what you can do:
>
> On a good system, mount your drive. Let's pretend that it's
> recognized as /dev/sdg, and you have a /boot on /dev/sdg1 and
> a root partition on /dev/sdg2.
>
> ls -al /dev/disk/by-partuuid/| grep sdg
>
> will get you the partition UUIDs for that
atever happened, it's going to be quite a time waster.
Thanks for any constructive suggestions.
Martin McCormick
=?euc-kr?b?yLK6tMjx?= writes:
> Hi Arun,
>
> Yes this is question place.
>
> Sincerely, Byung-Hee
>
It is one of the most helpful groups I know of as
sometimes, there are questions that don't lend themselves to a
search engine string although one can get really lucky if you try
to not u
Greg Wooledge writes:
> All-caps names are reserved for environment variables (HOME, PATH),
> and internal shell variables (IFS, PWD, HISTFILE).
>
> Avoiding all-caps names allows you to avoid collisions with a variable
> name that might be used for something else. Most of the time. This
> bein
opped so cron and other system utilities don't stop
running which is what happens when systems get too busy.
Thanks for any constructive suggestions.
Martin McCormick WB5AGZ
possibly with security consequences.
>
> Just imagine a malicious (or just incompetent) third-party repository
> suddenly claiming to be "buster-security" on a system configured to
> install security updates automatically.
It makes perfect sense to me. Thanks to all who responded and
value from '10.0' to '10.4'
I think I saw this once before but don't remember how to
make it good.
Thanks
Martin McCormick
Greg Wooledge writes:
> It's an intentional change. It's a "feature" from the libc developers'
> point of view. As far as they are concerned, Americans use 12-hour
> clocks, so the en_US.utf8 locale is supposed to present times in 12-hour
> format by default.
This American is an amateur
Greg Wooledge writes:
> On Tue, Apr 28, 2020 at 10:53:25PM -0600, Charles Curley wrote:
> > Adding
> >
> > alias date='date +"%a %b %d %T %Z %Y"'
> >
> > to one's .bashrc or /etc/bashrc should get the OP what he wants.
It did make just the date command work as desired. I
actually tried t
Reco writes:
> Hi.
> If you need it systemwide, consider doing this (will require relogin, at
> least):
> echo 'LC_TIME=C' >> /etc/default/locale
That was what I needed. /etc/default/locale did not contain that
line but did contain
# File generated by update-locale
LANG="en_US.UTF-8"
Is there any environment variable or local configuration
variable which will make date produce the 24-hour time stamp
similar to past implementations of date?
Martin McCormick
it with just the microcom app but this is not a show stopper
at all. At least there is still a serial terminal that can talk
to devices whose only connection to the outside world is a RS-232
cable.
Again, thanks for everybody's help.
Martin McCormick
deloptes writes:
> Chris Rhodin wrote:
>
> > Tonight I'll look at the serial port ioctls and see if I can spot a
> > difference there. I also try enabling flow control and fiddling with
> the
> > signals to see if that unstops it.
>
> Are you sure that this is enabled in the BIOS, also some se
itten but that's no mystery.
The unix convention of typing the Up-Arrow and starting
microcom is very handy since one does not have to type
microcom -f -p/dev/ttyUSB4 -s9600
each time. Actually, I usually get away with !mic followed by
Enter and it starts. Good work to everybody who c
nd make it
run at it's maximum speed.
Martin
The Wanderer writes:
> On 2020-04-03 at 17:40, elvis wrote:
>
> > On 3/4/20 11:04 pm, Martin McCormick wrote:
> >
> >> The only thing that I truly miss after upgrading to buster is that
> >> the package known a
Greg Wooledge writes:
> On Fri, Apr 03, 2020 at 08:14:12AM -0500, John Hasler wrote:
> > Look at gkermit. It's evidently a GPL rewrite of ckermit. Also take a
> > look at screen.
>
> Yeah, I did an "apt-cache search ckermit" too.
>
> The package description for gkermit says,
>
> The non-fre
that could mechanize RS-232 communications if you
needed to do that.
Basically, what is the best way in command-line mode to
deal with serial comm ports these days?
Thanks.
Martin McCormick
en the drive
is powered up and goes away when the drive is disconnected.
Thanks.
Martin
WB5AGZ
local10 writes:
On 2020-04-01 18:07, Martin McCormick wrote:
>
> >> Out of curiosity, I wondered what might happen if I had
> >> two thumb drives containing the same UUID.
>
king right up to when it stopped working.
Thanks.
Martin McCormick
WB5AGZ
I ran Freebsd as a virtual system on a Mac Pro at work
for a year or so (I don't remember exactly how long) and it
worked very well with vbox until one day when Apple updated MacOS
and poof! my vm died.
The only problem I had before that was one most people
wouldn't have in that th
Andrei POPESCU writes:
> From memory, I'm aware of two methods:
>
> 1. Any time after starting the installer, press Ctrl+F2 and there will
> be a prompt to press Enter to enable the console. Ctrl+F1 returns to the
> installer.
>
> If using the graphical installer you will need Ctrl+Alt+F2 and Ct
drive came in.
There is a small pocket in the tray containing a pamflet
that one suddenly realizes is too deep to be just the booklet.
Everything was there and I do believe that is the first
usb-C cable I have ever encountered.
Again, thanks for clearing up the confusion.
Martin
Dan Ritter writes:
> If I recall correctly, Martin doesn't see well, which explains a
> chunk of the confusion here.
Well, my wife has excellent vision and we were talking
about how pictures can be almost worthless after a certain point.
Several of those small connectors look similar. A
nd and the disk drive on the other.
There's an old saying: "Standards are great. Everybody
should have one."
Thanks.
Martin McCormick
ructive suggestions as to how
to go from Setup to recovery shell.
Martin McCormick
he image
would also need to be for AMD64.
Any constructive suggestions are much appreciated.
Martin McCormick
Mac, the
Mac says it can't read the disk and immediately offers to
initialize it for you.
Thanks.
Martin McCormick
ave got right now is usable but not right. Any
constructive ideas are appreciated.
Thank you
Martin McCormick
Greg Wooledge writes:
> Either you didn't run "apt-get update" first, or your mirror is out of
> sync. The current version of dovecot-core in buster is
> 1:2.3.4.1-5+deb10u1.
Thank you. It was the former. I failed to run apt-get
update but I didn't just forget. Ever since I upgraded
Bob Weber writes:
> Why not create a user on the Linux box to receive such emails and have the
> MAC client connect to that user on the Linux box. You might have to
> install a pop server (popa3d ... easiest to install and configure) or imac
> server (dovecot-imapd ... harder to configure and pro
ponding to the Linux box.
Thank you. That is essentially what I am thinking of. I
setup a similar setup before I retired. The only difference was
that all of the hosts at work had fully-qualified domain names
but dovecot worked fine on the Linux box and the mac received any
mail I sent without any problem.
Martin McCormick
Here is the setup. We are on a private vlan as in 192.168.x.x.
All local host names are resolved via hosts files. Messages to
go to the big wide world must go through Suddenlink's SMTP
smarthost and I definitely don't want to break that.
On rare occasions, I want to forward an email to t
nothing. Shift-printscrn
just did the same thing as printscrn by itself.
Is there anything else I can try?
Martin McCormick
drives.
If you ever end up recovering any data with floppies,
write protect them especially if you are not sure how they were
made in the first place.
Martin McCormick
ned out to be. I am amazed that the corrupted disk worked at
all.
Thanks for clearing up the confusion.
Martin McCormick
is is a
good training session if nothing else.
Most of the standard unix utilities like ls, mount cd and
a bunch more are there and work properly as nearly as I can tell.
Martin McCormick
on the first Linux system
was due to the fact that the video card has a VGA socket and
possibly a DVI socket. The video is on the DVI socket most
likely and the VGA socket has no signal, explaining the black
screen of nothing.
Thanks to all!
Martin McCormick
e problem, better than
nothing but not much.
If it lets me reconfigure the occasional wayward BIOS on
an old system without having to bother my dear wife or a friend,
I will call it good enough. If we let perfect kill good enough,
nothing ends up getting done.
Martin McCormick WB5AGZ
I will
deloptes writes:
> I still don't get it how you want to capture and process video to text to
> audio - perhaps deduplicate frame content etc. - how many frames per
> second
> do you want to process, cause I did not get this with the 4Mhz and how it
> is relevant. I was thinking your display is ru
lock rate
is 3.7945 million plus a few more decimal places per second and
PAL along with SECAM are just above 4 MHZ. The A/D converter has
to sample at twice that rate to keep Mr. Nyquist from haunting
anybody from his grave.
Martin McCormick
etch in 2018. The Pi runs 24/7 and
I've not had a bit of trouble with ntp keeping it to within a
second which is about as good as it normally gets on any
unix-like system.
Martin McCormick
x27;t know yet is what needs to happen to
convert .uvc in to something that looks like it came from a
digital TV camera or flat-bed scanner?
Thanks for any and all constructive ideas.
Martin McCormick
the more accurate it gets to a certain point.
If you do have a hardware clock, Linux automatically
updates it. If you look at system shutdown messages, that's one
of them as processes are being shut off.
Martin McCormick WB5AGZ
Felix Miata writes:
> Are these old Dells continuously connected to power whether booted or not?
Yes.
> I have a bunch of old Dells. When left unconnected to power, some wear
> down the
> 2032 coin cell CMOS batteries with unusual haste. Once this happens and
> the
> battery is replaced, recon
David Christensen writes:
> What about using a computer whose CMOS Setup utility is accessible via the
> serial port? This article indicates the Dell 2450 is capable:
>
>
> http://tldp.org/HOWTO/Remote-Serial-Console-HOWTO/rhl-biosserial.html
>
>
> David
>
>
Thanks for the informati
john doe writes:
> On 7/30/2019 7:01 PM, Martin McCormick wrote:
> >
> > I have 4 older PC's that generally work well running
> > debian but Right now, 3 of them need varying degrees of attention
> > to their BIOS setups as Dell motherboards and possibly ot
rhkra...@gmail.com writes:
> An update | correction | recollection ;-)
>
> On Tuesday, July 30, 2019 11:34:43 AM rhkra...@gmail.com wrote:
> > I have seen diagrams in NEC code books for a different arrangement to
> get
> > 120 volt 3 phase power, but I don't recall ever actually encountering
> t
1 - 100 of 474 matches
Mail list logo