Article View: linux.debian.user
Article #649Re: Where does Debian13 installer store the disk it installed the boot loader (grub) on
From: Charles Curley
Date: Thu, 26 Nov 2026 23:50
Date: Thu, 26 Nov 2026 23:50
35 lines
4324 bytes
4324 bytes
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.
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.
--
Does anybody read signatures any more?
https://charlescurley.com
https://charlescurley.com/blog/
Technical Details
Message-ID:
<O3RnX-em1v-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<O3PPc-elh5-15@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: Charles Curley <charlescurley@charlescurley.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 00:50:01 +0100 Message-ID: <O3RnX-em1v-1@gated-at.bofh.it> References: <O3PPc-elh5-15@gated-at.bofh.it> X-Mailbox-Line: From debian-user-request@lists.debian.org Thu Nov 26 23:41:08 2026 Old-Return-Path: <charlescurley@charlescurley.com> X-Amavis-Spam-Status: No, score=-1.699 tagged_above=-10000 required=5.3 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_MSPIKE_H2=0.001] autolearn=no autolearn_force=no X-Policyd-Weight: using cached result; rate: -3.5 X-Authority-Analysis: v=2.4 cv=a5Iw9VSF c=1 sm=1 tr=0 ts=6b08c385 a=NgvI/wQFGgfv1u5PwVnSLQ==:117 a=NgvI/wQFGgfv1u5PwVnSLQ==:17 a=kj9zAlcOel0A:10 a=zJRp6_cAMcgA:10 a=x5bAJOVjf1IA:10 a=UPwgjlzBAAAA:8 a=5-Tbrji3AAAA:8 a=LzJR4n8fjR4ZWbgK8lkA:9 a=CjuIK1q_8ugA:10 a=IJG1HS28PhTFVN2WG8Av:22 a=YYF-5NBkwSrD-JtZ6hNI:22 a=77MlUavazzFiBdNJOaXW:22 Organization: occasionally X-Mailer: Claws Mail 4.3.1 (GTK 3.24.49; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Antiabuse: This header was added to track abuse, please include it with any abuse report X-Antiabuse: Primary Hostname - box5635.bluehost.com X-Antiabuse: Original Domain - lists.debian.org X-Antiabuse: Originator/Caller UID/GID - [47 12] / [47 12] X-Antiabuse: Sender Address Domain - charlescurley.com X-Bwhitelist: no X-Source-IP: 97.245.236.164 X-Source-L: No X-Exim-ID: 1xWj5A-00000003KsZ-2wpD X-Source-Sender: 164.sub-97-245-236.myvzw.com (peregrine.localdomain) [97.245.236.164]:41368 X-Source-Auth: charlescurley@charlescurley.com X-Email-Count: 1 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: Y2hhcmxpYTM7Y2hhcmxpYTM7Ym94NTYzNS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-Cmae-Envelope: MS4xfExYK0Bwh4qv9fts1l5EfqG+oeo+TRGJvHS+JmUzrEwQQrxoNowCTK7myNQ45ixxshgg34rhFJzXZl//7MoOb/EOa5QHEG7x/5SCd7YfBVnVd+5toz8+ XM/nutbmuH6fgIrf4vDZSthqbypThywJ8tPmQPKrKxXTLDvO/alejev1rphpVcJegur6uoiYjiPE8YNE4yt+IIJ4mDK1FcjwlAtrer4NcxiSeIb/J5Gy3fGv X-Mailing-List: <debian-user@lists.debian.org> archive/latest/833067 List-ID: <debian-user.lists.debian.org> List-URL: <https://lists.debian.org/debian-user/> List-Archive: https://lists.debian.org/msgid-search/20261126164051.06d99695@peregrine.localdomain Approved: robomod@news.nic.it Lines: 35 Sender: robomod@news.nic.it X-Original-Date: Thu, 26 Nov 2026 16:40:51 -0700 X-Original-Message-ID: <20261126164051.06d99695@peregrine.localdomain> X-Original-References: <20261126220037.383664C16DC@sharky5.deepsoft.com>