๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.user
Article #657

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

#657
From: Robert Heller
Date: Fri, 27 Nov 2026 12:00
55 lines
3831 bytes
At Thu, 26 Nov 2026 23:16:59 -0500 noloader@gmail.com wrote:

>
> On Thu, Nov 26, 2026 at 7:54รขย€ยฏPM 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 believe you need to install grub on /dev/sda (the drive), not /dev/sda1
> (a partition).  Can you confirm you performed that action?

Yes.

>
> These commands may help:
>
> # /dev/sda4 indicates the /dev/sda drive
> $ sudo mount | grep "/boot "
> /dev/sda4 on /boot type ext4 (rw,relatime,seclabel)
>
> $ sudo grub2-install /dev/sda
> ...
> Installing for i386-pc platform.
> Installation finished. No error reported.



>
> Jeff
>
>

--
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: <O42Mp-esst-17@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!3.eu.feeder.erje.net!feeder.erje.net!newsfeed.pionier.net.pl!fu-berlin.de!bofh.it!news.nic.it!robomod
References: <O3PPc-elh5-15@gated-at.bofh.it> <O42Mp-esst-19@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!3.eu.feeder.erje.net!feeder.erje.net!newsfeed.pionier.net.pl!fu-berlin.de!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 13:00:01 +0100
Message-ID: <O42Mp-esst-17@gated-at.bofh.it>
References: <O3PPc-elh5-15@gated-at.bofh.it> <O42Mp-esst-19@gated-at.bofh.it>
X-Original-To: noloader@gmail.com
X-Mailbox-Line: From debian-user-request@lists.debian.org  Fri Nov 27 11:50:51 2026
Old-Return-Path: <heller@deepsoft.com>
X-Amavis-Spam-Status: No, score=-1.861 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, PP_MIME_FAKE_ASCII_TEXT=0.238]
 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/833074
List-ID: <debian-user.lists.debian.org>
List-URL: <https://lists.debian.org/debian-user/>
List-Archive: https://lists.debian.org/msgid-search/20261127115037.B3EE94C0537@sharky5.deepsoft.com
Approved: robomod@news.nic.it
Lines: 55
Sender: robomod@news.nic.it
X-Original-Cc: Robert Heller <heller@deepsoft.com>,
    "debian-user@lists.debian.org" <debian-user@lists.debian.org>,
    Robert Heller <heller@deepsoft.com>
X-Original-Date: Fri, 27 Nov 2026 06:50:37 -0500 (EST)
X-Original-Message-ID: <20261127115037.B3EE94C0537@sharky5.deepsoft.com>
X-Original-References: <20261126220037.383664C16DC@sharky5.deepsoft.com> 
    <CAH8yC8nLyuR2iXFm9AutwPj_ZmhFT5ZefmOFLtJdsGoU=7BfMg@mail.gmail.com>