You are not logged in.
Still trying to complete my first UEFI install of Arch ....
I used all the numerous guides, but for the setup of the boot, I followed this guide ....
https://wiki.archlinux.org/index.php/UEFI_Bootloaders
This command seemed to work fine ...
# echo "root=PARTUUID=xxxx ro rootfstype=ext4 add_efi_memmap initrd=\EFI\\arch\initramfs-arch.img" | iconv -f ascii -t ucs2 | efibootmgr -c -g -d /dev/sda -p 1 -L "Archlinux (EFISTUB)" -l "\EFI\arch\vmlinuz-arch.efi" -@ -
The UEFI disk was visible in my UEFI boot options, but when booting this was the error ....
Error Device 'PARTUUID=xxxx' not found
Unable to find root device 'PARTUUID=xxxx'
Last edited by sml (2012-10-25 12:27:42)
Offline
During my install ... I followed this step ...
Generate an fstab file with the following command. If you prefer to use UUIDs or labels, add the -U or -L option, respectively. It's also a good idea to check it before continuing:
# genfstab -p /mnt >> /mnt/etc/fstab
# nano /mnt/etc/fstab
Should I have used the -U or -L option?
Offline
I tried using gdisk to find the unique GUID of my / directory ... and I replaced the XXXX with the big new GUID reference using efitbootmgr, but still had an error that it could not the big new GUID reference.
Offline
Were you seriously trying to use 'root=PARTUUID=xxxx'?
I used to use uuid's for everything, but got sick of the lack of human readability. So I issued labels to all my partitions and use those instead. Rather than use gdisk to find the uuid's, you could instead simply user blkid or lsblk. I think though that with lsblk, you will have to refer to the man page to determine what information gets shown to you with what switches.
I am not sure why the wiki now says to use PARTUUID. I use simply 'root=UUID=3219ee70-7991-4ace-b5af-919a491502be' and it works great.
Offline
Were you seriously trying to use 'root=PARTUUID=xxxx'?
yes, there was no mention of doing anything different in the wiki.
anyway i've only been using arch since 2005 (as you can see in forum registration date), so still have a lot to learn unfortunately
Offline
should the UUID link to / or /boot/efi ?
I used another UUID that I found for the / partition and the error was FAT-fs unrecognized mount option "codepage=cp437" failed to mount /boot/efi
Offline
I used another UUID that I found for the / partition and the error was FAT-fs unrecognized mount option "codepage=cp437" failed to mount /boot/efi
I just removed the "codepage=cp437" from the /etc/fstab entry. It's the default any way; and it worked.
Offline
solutions:
1. in your chroot environment, go to # nano /etc/fstab and find the GUID of the / partition .. and use in your efibootmgr echo command (replace the xxxx)
2. in your chroot environment, go to # nano /etc/fstab and replace 'codepage=cp437' with 'codepage=437'
Offline
Still trying to complete my first UEFI install of Arch ....
I used all the numerous guides, but for the setup of the boot, I followed this guide ....
https://wiki.archlinux.org/index.php/UEFI_BootloadersThis command seemed to work fine ...
# echo "root=PARTUUID=xxxx ro rootfstype=ext4 add_efi_memmap initrd=\EFI\\arch\initramfs-arch.img" | iconv -f ascii -t ucs2 | efibootmgr -c -g -d /dev/sda -p 1 -L "Archlinux (EFISTUB)" -l "\EFI\arch\vmlinuz-arch.efi" -@ -The UEFI disk was visible in my UEFI boot options, but when booting this was the error ....
Error Device 'PARTUUID=xxxx' not found
Unable to find root device 'PARTUUID=xxxx'
PARTUUID=xxxx was just for example. Obviously you should use the GPT GUID of your "/" root partition. If you did not even understand that, then Arch is not for you.
The correct command is (PARTUUID=3518bb68-d01e-45c9-b973-0b5d918aae96 just for example):
# echo "root=PARTUUID=3518bb68-d01e-45c9-b973-0b5d918aae96 ro rootfstype=ext4 add_efi_memmap initrd=\\EFI\\arch\\initramfs-arch.img" | iconv -f ascii -t ucs2 | efibootmgr -c -g -d /dev/sda -p 1 -L "Archlinux (EFISTUB)" -l '\EFI\arch\vmlinuz-arch.efi' -@ -
In the old command:
initrd=\EFI\\arch\initramfs-arch.img
is wrong, it should be
initrd=\\EFI\\arch\\initramfs-arch.img
And
-l "\EFI\arch\vmlinuz-arch.efi"
is also wrong. It should be either
-l "\\EFI\\arch\\vmlinuz-arch.efi"
or
-l \\EFI\\arch\\vmlinuz-arch.efi
or
-l '\EFI\arch\vmlinuz-arch.efi'
Last edited by the.ridikulus.rat (2012-10-27 16:06:22)
Offline
This is what I use without problems:
efibootmgr -c -d /dev/sdb -p 1 -w -L "Arch Linux" -l 'vmlinuz-linux' -u "root=UUID=$(blkid -s UUID -o value /dev/sdb2) ro consoleblank=0 initrd=\initramfs-linux.img"
Offline
Just made a new installation and got also that 'codepage=cp437'. I replaced it with 'codepage=437' and everything works. Thanks for the hint!
Offline