Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #274860

Re: Adding a new boot disk while keeping old disk

From Frank Guthausen <fg.debian@shimps.de>
Newsgroups linux.debian.user
Subject Re: Adding a new boot disk while keeping old disk
Date 2024-11-25 10:20 +0100
Message-ID <JMDq9-bqTi-3@gated-at.bofh.it> (permalink)
References <JMx1n-bmQX-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun, 24 Nov 2024 17:56:25 -0800
Charlie Gibbs <cgibbs@surfnaked.ca> wrote:
> 
> When re-booting, I went into the BIOS screen, and saw that the SSD was
> first in the boot order.  However, this probably doesn't mean much if
> I didn't get it set up properly.  The machine boots, but apparently
> falls back to the hard drive.[...]
> 
> According to blkid, that UUID corresponds to /dev/sda2, i.e. the /
> partition on the hard drive.  I'm obviously missing an incantation
> to make the machine go to the SSD instead.  In /boot/grub/grub.cfg
> I find all sorts of references to the UUID of /dev/sda2, but the
> file starts with a big scary "DO NOT EDIT THIS FILE" message.

I've seen this problem recently on an amd64 architechture machine.

You do not have to edit this file. Since your HDD is large, your system
is likely to boot UEFI. Check whether there is an EFI partition - the 1M
partitions are a good candidate. Check your grub package to support
this:

grub-efi-amd64

The package grub-pc will be removed, when you install that one.

Inside a chroot install grub with a mounted EFI partition
(e.g. to /boot/efi relative to the chroot environment) with
something like:

grub-install --target=x86_64-efi --efi-directory=/boot/efi

The classic GRUB package and install will write to disk,
but the UEFI firmware might not be able to boot that. BTST
HTH

kind regards
Frank

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Adding a new boot disk while keeping old disk Charlie Gibbs <cgibbs@surfnaked.ca> - 2024-11-25 03:30 +0100
  Re: Adding a new boot disk while keeping old disk "Andrew M.A. Cater" <amacater@einval.com> - 2024-11-25 08:30 +0100
  Re: Adding a new boot disk while keeping old disk Frank Guthausen <fg.debian@shimps.de> - 2024-11-25 10:20 +0100
  Re: Adding a new boot disk while keeping old disk David Christensen <dpchrist@holgerdanske.com> - 2024-11-26 03:20 +0100

csiph-web