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


Groups > comp.os.linux.misc > #33215

Re: How to install GRUB on removable media?

From "Carlos E. R." <robin_listas@es.invalid>
Newsgroups comp.os.linux.misc
Subject Re: How to install GRUB on removable media?
Date 2021-09-15 13:59 +0200
Message-ID <3q391ix0lf.ln2@minas-tirith.valinor> (permalink)
References <iqcccfF9erbU1@mid.individual.net>

Show all headers | View raw


On 14/09/2021 21.44, Robert Latest wrote:
> Hi all,
> 
> I have this company Windows laptop that I use privately by booting from a USB3
> SSD with a Debian installation. This used to work for years until it didn't any
> more a few days ago. Anyway, I ended up re-installing the complete Debian onto
> the same SSD again. However, I cannot figure out for the life of me how to make
> the thing bootable. The SDD usually shows up as /dev/sdc and has three
> partitions: /dev/sdc1 doesn't matter, /dev/sdc2 always was mounted under /boot,
> and /dev/sdc3 is the root device.

You probably just needed to select in the "BIOS" (actually the UEFI) to
boot from the external disk. There is usually a key that triggers that
menu. On some laptops, it is not a key on the keyboard.


> 
> 
> In order to get the thing running I boot from the Debian install USB stick,
> mount /dev/sdc3 under /mnt, do the mount --bind thing for /proc, /sys, /dev,
> and chroot into /mnt.
> 
> /dev/sdc2 is EFI type "ef", and formatted as FAT and mounted at /boot (in the
> chrooted environment). I also made a /boot/grub/efi directory.

No, it has to be mounted under boot, that is, at /boot/efi, which can
not be a directory, but a mount.

Of course, disk must be GPT.

All this should have been done automatically by the installer.


-- 
Cheers,
       Carlos E.R.

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How to install GRUB on removable media? Robert Latest <boblatest@yahoo.com> - 2021-09-14 19:44 +0000
  Re: How to install GRUB on removable media? Robert Latest <boblatest@yahoo.com> - 2021-09-14 19:51 +0000
  Re: How to install GRUB on removable media? Pascal Hambourg <pascal@plouf.fr.eu.org> - 2021-09-15 08:15 +0200
  Re: How to install GRUB on removable media? "Carlos E. R." <robin_listas@es.invalid> - 2021-09-15 13:59 +0200
    Re: How to install GRUB on removable media? Pascal Hambourg <pascal@plouf.fr.eu.org> - 2021-09-15 14:54 +0200
      Re: How to install GRUB on removable media? "Carlos E. R." <robin_listas@es.invalid> - 2021-09-15 16:21 +0200
        Re: How to install GRUB on removable media? "Andrei Z." <no-email@invalid.invalid> - 2021-09-15 18:04 +0300
        Re: How to install GRUB on removable media? not@telling.you.invalid (Computer Nerd Kev) - 2021-09-15 22:20 +0000

csiph-web