Article View: linux.debian.user
Article #650Re: Where does Debian13 installer store the disk it installed the? boot loader (grub) on
From: Robert Heller
Date: Fri, 27 Nov 2026 01:50
Date: Fri, 27 Nov 2026 01:50
64 lines
4796 bytes
4796 bytes
At Thu, 26 Nov 2026 16:40:51 -0700 Charles Curley <charlescurley@charlescurley.com> wrote:
>
> On Thu, 26 Nov 2026 17:00:37 -0500 (EST)
> Robert Heller <heller@deepsoft.com> 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 think what you have is a grub problem, not an apt problem. I suggest
> the following.
>
> If you cannot yet boot to the new drive, get the netinst that
> corresponds most closely to what is on the SSD (cat /, boot to that, and
> then use it as a rescue CD.
>
The machine boots just fine. That is NOT the problem. Something in the Grub
post-install (when it update grub) is wonky,
> Determine which is your boot partition. It may be a separate partition,
> e.g. /dev/sda2 (assuming sda1 is your EFI partition). Or it may be
> the root partition ("/"). Use that to run grub-install.
>
This machine to too old for EFI, so there is no EFI partition. It has an old
legacy BIOS. Again that is not the problem.
Some additional detail:
The original disk was partitioned with a /boot partition and a LVM volume
group (with contained /, swap and /home volumes. I made a new /boot partition
on the new disk (giving it a label "boot") and used tar to do a file copy from
the to the new (using a USB <> SATA adaptor). I then "migrated " the PEs of
the LVM volume group from the old disk to trhe new one. I installed grub on
the new disk, made it bootable then swapped in in. At first grup was wonky,
but I pluged in the old visdk via the USB <> SATA adapto and it booted and I
ran update-grub and install-grub, and that cured that.
Then I enlarged the root file system from 10G (it was getting a bit "crowded")
to 32G and ran resize2fs. Then I did a apt update and apt full-upgrade. That
was when a got the message the bootloader drive moving or something from the
grub update.
--
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software -- Custom Software Services
http://www.deepsoft.com/ -- Linux Administration Services
heller@deepsoft.com -- Webhosting Services
Technical Details
Message-ID:
<O3Tg6-en7K-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lon.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<O3PPc-elh5-15@gated-at.bofh.it> <O3RnX-em1v-1@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Robert Heller <heller@deepsoft.com>
Newsgroups: linux.debian.user
Subject: Re: Where does Debian13 installer store the disk it installed the? boot loader (grub) on
Date: Fri, 27 Nov 2026 02:50:02 +0100
Message-ID: <O3Tg6-en7K-1@gated-at.bofh.it>
References: <O3PPc-elh5-15@gated-at.bofh.it> <O3RnX-em1v-1@gated-at.bofh.it>
X-Original-To: Charles Curley <charlescurley@charlescurley.com>
X-Mailbox-Line: From debian-user-request@lists.debian.org Fri Nov 27 01:43:37 2026
Old-Return-Path: <heller@deepsoft.com>
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, MIME_QP_LONG_LINE=0.001] autolearn=ham autolearn_force=no
X-Policyd-Weight: using cached result; rate: -4.6
MIME-Version: 1.0
Organization: Deepwoods Software
X-Newsreader: TkNews 3.0 (1.2.20)
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset="us-ascii"
X-Scanned-By: MIMEDefang 3.3 on 108.161.129.198
X-Mailing-List: <debian-user@lists.debian.org> archive/latest/833068
List-ID: <debian-user.lists.debian.org>
List-URL: <https://lists.debian.org/debian-user/>
List-Archive: https://lists.debian.org/msgid-search/20261127014322.8395E4C02DF@sharky5.deepsoft.com
Approved: robomod@news.nic.it
Lines: 64
Sender: robomod@news.nic.it
X-Original-Cc: Debian Users <debian-user@lists.debian.org>
X-Original-Date: Thu, 26 Nov 2026 20:43:22 -0500 (EST)
X-Original-Message-ID: <20261127014322.8395E4C02DF@sharky5.deepsoft.com>
X-Original-References: <20261126220037.383664C16DC@sharky5.deepsoft.com>
<20261126164051.06d99695@peregrine.localdomain>