At Sat, 28 Nov 2026 11:23:54 -0600 [email protected] wrote:

>
> On Sat 28 Nov 2026 at 09:44:17 (-0500), Robert Heller wrote:
> > At Fri, 27 Nov 2026 21:36:05 -0600 [email protected] wrote:
>                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>                                      [email protected] actually.
>
> > > On Fri 27 Nov 2026 at 15:55:09 (-0500), Robert Heller wrote:
> > > > At Fri, 27 Nov 2026 14:44:43 -0600 [email protected] wrote:
> [ loads of Latin1 representations of upwards arrows ]
> > >                                      [email protected] actually.
> > >
> > > > > On Thu 26 Nov 2026 at 17:00:37 (-0500), Robert Heller wrote:
> > > > > > I know this might sound strange, but here is what happened:
> > > > > >
> > > > > > I bought an old Laptop on E-Mail. It has an 80g SATA 2.5" rotating 
> > > > > > rust drive
> > > > > > -- working fine (still working fine), but it is only 80gb... Today 
> > > > > > I decided
> > > > > > to swap it for a 500G SATA 2.5" SSD.  After moving the files and 
> > > > > > getting
> > > > > > things to boot off the new driver (a little tricky,,,), I did a apt 
> > > > > > update and
> > > > > > apt full-upgrade.  When updating grub, it produced a message about 
> > > > > > the fact
> > > > > > the boot device was different (Duh!) and asked me where the 
> > > > > > original boot
> > > > > > driver went and where it should install grub.  So, some how the 
> > > > > > Debian
> > > > > > installer stashed away some identifing information about where in 
> > > > > > installed
> > > > > > grub originally.  Where is that and what needs to be changed to 
> > > > > > make apt happy
> > > > > > going forward?
> > > > >
> > > > > I've seen no mention yet in this thread as to whether the new disk is
> > > > > partitioned with MBR or GPT. If the former, what you did should work.
> > > >
> > > > Both disks are small enough for MBR and that is how they are both 
> > > > partitioned,
> > >
> > > Assuming a sector size of 512 bytes, at what sector does the first
> > > partition start on the two disks?
> >
> > Why would any of this mater or have anything to do with the issue.
>
> Modern partitioners like fdisk and gdisk tend to start the first
> partition at 2048 sectors, whereas your old laptop of unknown
> provenance could have a much smaller gap available for Grub due to
> an earlier start (63 used to be popular).
>
> In addition, some disks may contain legacy code in the MBR Gap that
> Grub may have avoided using. Those circumstances can lead to the old
> machine's Grub using its dirty tricks to store its code in unsafe
> locations. (A bootinfoscript report usually starts off with this
> information.) I assume that's not true for your new disk.
>
> > The
> > machine boots juts fine with the new disk.
>
> You wrote above that booting the new disk was "tricky" with no
> indication of what that meant. I also thought you were interested
> in "post- morteming" the old one.

I needed to connect the old disk via a USB <> SATA adaptor and boot it once
that way.  I had previously edited /etc/fstab, so once booted, it mounted
everything from the new disk.   I ran update-grup and grub-install and that
fixed things.

>
> > There was an issue during a
> > software update.
>
> We have no warning or error messages, just that it asked something
> (what?) about the original boot driver (loader?), and a curious
> question about the d-i, which was presumably run a while back on
> the old disk. It wasn't even clear whether the messages were from
> Grub or Apt.

It was not an error message exactly, but the whiptail dialogs put out by
debconf for grup-pc, that I hadn't expected.  The problem was mainly because
whiptail only works usefully with a *color* terminal and I use xterms with
color disabled.  This meant that I could not visibly select anything.  This is
a (in my opinion) serious flaw in whiptail.  I know *everybody* uses color
terminals now and that is the expected norm, but there is at least one user
(me) who does not use a color xterm.

>
> Not much to go on. I thought you wanted to know how the situation
> came about.
>
> If you just want to put this all behind you, then I suggest you
> don't upgrade Grub, but manually (re)run grub-install <device>,
> where device is the new disk, which you presumably want to boot from.
> Hopefully, it will reply with:
>
>   Installing for i386-pc platform.
>   Installation finished. No error reported.
>
> BTW I was very surprised you hadn't GPT formatted the new disk,
> as it's more reliable and robust than MBR. That's why I started
> talking about BIOS Boot partitions out of the blue.
>
> Cheers,
> David.
>
> PS Any idea why your MUA gets its attribution wrong for me but not
> others on this list? It must be picking up my name from either
> the To: or Reply-To: fields, the only places where the erroneous
> attribution string occurs in my submissions (apart from the envelope's
> RCPT TO: obviously).
>
>
>

--
Robert Heller             -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
[email protected]       -- Webhosting Services


Reply via email to