You are not logged in.

#1 2017-09-02 16:56:04

3l_Di4bl0
Member
Registered: 2016-07-29
Posts: 12

Failing installing the bootloader correctly on a USB drive

I'm trying to install Arch on my USB drive, and everything seems to work well until I try and boot up the system.
I have followed the instructions on the relevant wiki pages closely, but when I try booting from the USB drive I get the error saying there's no boot medium and I should reinsert it and press a key.

/etc/fstab:

#
# /etc/fstab: static file system information
#
# <file system>    <dir>    <type>    <options>    <dump>    <pass>
# /dev/sde3
UUID=3a6f3c5a-8b26-4232-9a12-5609fefd4d68    /             ext4          rw,relatime,block_validity,delalloc,barrier,user_xattr,acl    0 1

# /dev/sde2
UUID=9931-26A1          /boot         vfat          rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro    0 2

/boot/grub/grub.cfg can be found here https://ptpb.pw/DwUn
/boot includes the EFI and grub folders, as well as the vmlinuz-linux, initramfs-linux and fallback and intel-ucode files.

Edit: I'm not sure if that matters, but I've formatted my drive and created the ESP using gparted. I have enabled the ESP and bootable flags on the ESP.

Last edited by 3l_Di4bl0 (2017-09-02 17:03:23)

Offline

#2 2017-09-02 18:44:44

3l_Di4bl0
Member
Registered: 2016-07-29
Posts: 12

Re: Failing installing the bootloader correctly on a USB drive

Update: booting directly to the ESP from my UEFI works, I get the error message when I try booting to the drive and not the specific partition on it. I assume this is because the UEFI isn't "being told" that there's a bootable partition there, but no idea why that happens. I'll try reformatting the ESP using command line tools and see how far I get.

Offline

#3 2017-09-27 21:09:50

piratebill
Member
From: Sol System
Registered: 2011-10-20
Posts: 133

Re: Failing installing the bootloader correctly on a USB drive

Dumb question, but you did run grub-install right?

Offline

#4 2017-10-03 00:04:55

troydwill
Member
Registered: 2015-08-03
Posts: 10

Re: Failing installing the bootloader correctly on a USB drive

I think you have to include the --removable flag when doing grub-install. See "Installing Arch Linux on a USB key" and the grub-install man page (might be in the grub-install info docs)

Offline

Board footer

Powered by FluxBB