🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.user
Article #667

Re: Where does Debian13 installer store the disk it installed the?? boot loader (grub) on

#667
From: David Wright
Date: Sat, 28 Nov 2026 17:30
84 lines
7984 bytes
On Sat 28 Nov 2026 at 09:44:17 (-0500), Robert Heller wrote:
> At Fri, 27 Nov 2026 21:36:05 -0600 debian-user@lists.debian.org wrote:
                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                     deblis@lionunicorn.co.uk actually.

> > On Fri 27 Nov 2026 at 15:55:09 (-0500), Robert Heller wrote:
> > > At Fri, 27 Nov 2026 14:44:43 -0600 debian-user@lists.debian.org wrote:
[ loads of Latin1 representations of upwards arrows ]
> >                                      deblis@lionunicorn.co.uk 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.

> 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.

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).
Technical Details
Message-ID: <O4upj-eI9A-17@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <O3PPc-elh5-15@gated-at.bofh.it> <O4b3j-exwe-1@gated-at.bofh.it> <O4bd0-exAi-13@gated-at.bofh.it> <O4hs5-eB9w-5@gated-at.bofh.it> <O4rUt-eGOe-5@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: David Wright <deblis@lionunicorn.co.uk>
Newsgroups: linux.debian.user
Subject: Re: Where does Debian13 installer store the disk it installed the??  boot loader (grub) on
Date: Sat, 28 Nov 2026 18:30:01 +0100
Message-ID: <O4upj-eI9A-17@gated-at.bofh.it>
References: <O3PPc-elh5-15@gated-at.bofh.it> <O4b3j-exwe-1@gated-at.bofh.it> <O4bd0-exAi-13@gated-at.bofh.it> <O4hs5-eB9w-5@gated-at.bofh.it> <O4rUt-eGOe-5@gated-at.bofh.it>
X-Original-To: debian-user@lists.debian.org
X-Mailbox-Line: From debian-user-request@lists.debian.org  Sat Nov 28 17:24:15 2026
Old-Return-Path: <nobody@lionunicorn.co.uk>
X-Amavis-Spam-Status: No, score=-2.099 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
 DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=0.001]
 autolearn=ham autolearn_force=no
X-Policyd-Weight: using cached result; rate: -2.33
X-Sender-ID: thundermail|x-authsender|david@lionunicorn.co.uk
X-Sender-ID: thundermail|x-authsender|david@lionunicorn.co.uk
X-Mc-Relay: Junk
X-Mailchannels-Senderid: thundermail|x-authsender|david@lionunicorn.co.uk
X-Mailchannels-Auth-ID: thundermail
X-Lyrical-Tangy: 775cbc861f1076e1_1795886639930_792492276
X-Mc-Loop-Signature: 1795886639929:4264572824
X-Mc-Ingress-Time: 1795886639929
Authentication-Results: cloud225.thundercloud.uk;
        spf=pass (sender IP is 24.255.218.34) smtp.mailfrom=nobody@lionunicorn.co.uk smtp.helo=argo.corp
Received-Spf: pass (cloud225.thundercloud.uk: connection is authenticated)
Reply-To: debian-user@lists.debian.org
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Ppp-Message-ID: 
 <179588663755.2548480.15132316131462615609@cloud225.thundercloud.uk>
X-Ppp-Vhost: lionunicorn.co.uk
X-Rspamd-Queue-ID: 4jcHFT5H7TzGnsh
X-Rspamd-Server: mailclean11
X-Rspamd-Action: no action
X-Spamd-Result: default: False [2.60 / 999.00];
	REPLYTO_EQ_TO_ADDR(2.00)[];
	ENVFROM_SERVICE_ACCT(1.00)[];
	DMARC_POLICY_ALLOW_WITH_FAILURES(-0.50)[];
	FORGED_SENDER(0.30)[deblis@lionunicorn.co.uk,nobody@lionunicorn.co.uk];
	ONCE_RECEIVED(0.20)[];
	R_DKIM_ALIGNED(-0.10)[strict];
	MX_GOOD(-0.10)[mail.lionunicorn.co.uk];
	MIME_GOOD(-0.10)[text/plain];
	REPLYTO_MX_GOOD(-0.10)[bendel.debian.org];
	TO_MATCH_ENVRCPT_ALL(0.00)[];
	FREEMAIL_ENVRCPT(0.00)[hotmail.co.uk];
	RCPT_COUNT_ONE(0.00)[1];
	UWH_IDENTITY(0.00)[1|1c598624f1992ad9|t=146|r=0|m=postfix|n=17|h=pppm:1:15/1+pppv:1:16/0|f=nv];
	R_DKIM_ALLOW(0.00)[lionunicorn.co.uk:s=default];
	ARC_NA(0.00)[];
	MIME_TRACE(0.00)[0:+];
	DMARC_POLICY_ALLOW(0.00)[lionunicorn.co.uk,none];
	DKIM_TRACE(0.00)[lionunicorn.co.uk:+];
	RCVD_TLS_ALL(0.00)[];
	R_SPF_SOFTFAIL(0.00)[~all];
	TO_DN_NONE(0.00)[];
	FROM_NEQ_ENVFROM(0.00)[deblis@lionunicorn.co.uk,nobody@lionunicorn.co.uk];
	FROM_HAS_DN(0.00)[];
	REPLYTO_DOM_NEQ_FROM_DOM(0.00)[];
	RCVD_VIA_SMTP_AUTH(0.00)[];
	RCVD_COUNT_ONE(0.00)[1];
	ASN(0.00)[asn:34931, ipnet:149.255.56.0/22, country:GB];
	HAS_REPLYTO(0.00)[debian-user@lists.debian.org];
	MISSING_XM_UA(0.00)[];
	SUBJECT_HAS_QUESTION(0.00)[]
X-Mailing-List: <debian-user@lists.debian.org> archive/latest/833088
List-ID: <debian-user.lists.debian.org>
List-URL: <https://lists.debian.org/debian-user/>
List-Archive: https://lists.debian.org/msgid-search/awsOKlQ4XAd8_ulH@argo.corp
Approved: robomod@news.nic.it
Lines: 84
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sat, 28 Nov 2026 11:23:54 -0600
X-Original-Message-ID: <awsOKlQ4XAd8_ulH@argo.corp>
X-Original-References: <20261126220037.383664C16DC@sharky5.deepsoft.com>
 <awnruxJWwmGsqSRk@argo.corp>
 <20261127205509.666AC4C0F01@sharky5.deepsoft.com>
 <awpMJeJWOD9RoE1d@argo.corp>
 <20261128144417.AFAC84C01B0@sharky5.deepsoft.com>