You are not logged in.

#1 2013-04-08 17:30:11

tmccaffery
Member
Registered: 2013-04-03
Posts: 33

[solved] won't boot?

I cant seem to boot with Uefi, I did the following, hope someone can tell me what im doing wrong here.

I made the partitions like this:

 gdisk /dev/sda1 with 512M ef00 type
       /dev/sda2 with rest of disk type 8300
then made filesystem
mkfs.vfat -F32 /dev/sda1
mkfs.ext4 /dev/sda2 
mount /dev/sda2 /mnt
mount /dev/sda1 /mnt/boot/efi
mount /dev/sdb1 /mnt/var
mount /dev/sdb2 /mnt/home
pacstrap -i /mnt base base-devel
genfstab -U -p /mnt > /mnt/etc/fstab
modprobe efivars
ls -l /sys/firmware/efi/vars/ a whole bunch of stuff got listed
arch-chroot /mnmt
nano /etc/locale.conf selected en_US.UTF
locale-gen
ln -s /usr/share/zoneinfo/America/New_York /etc/localtime
hwclock --systohc --utc
created /boot/efi/EFI/arch
cp /boot/vmlinuz-linux /boot/efi/EFI/arch/vmlinuz-arch.efi
cp /boot/initramfs-linux /boot/efi/EFI/arch/initramfs-arch.img
cp /boot/initramfs-linux-fallback.img /boot/efi/EFI/arch/initramfs-arch-fallback.img
pacman -S refind-efi efibootmgr
mkdir -p /boot/efi/EFI/refind
cp /usr/lib/refind/refind_x64.efi /boot/efi/EFI/refind/refind_x64.efi
cp /usr/lib/refind/config/refind.conf /boot/efi/EFI/refind/refind.conf
cp -r /usr/share/refind/icons /boot/efi/EFI/refind/icons
created a refind_linux.conf
efibootmgr -c -g -d /dev/sda -p 1 -w -L "rEFInd" -l '\EFI\refind\refind_x64.efi'
exit
umounted devices then rebooted
dont boot says insert disk and then press enter

Last edited by tmccaffery (2013-04-08 17:47:45)

Offline

#2 2013-04-08 17:36:01

tmccaffery
Member
Registered: 2013-04-03
Posts: 33

Re: [solved] won't boot?

Ok now I got it to boot but now it says can't find root device

Offline

#3 2013-04-08 17:39:25

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,551

Re: [solved] won't boot?

tmccaffery wrote:

Ok now I got it to boot but now it says can't find root device

Did you remember to put root= in your configuration file?
You can try it now from the shell.
Mount root to /new_root and then try again.  If you don't have your kernel configured right (/etc/mkinitcpio.conf), your kernel won't mount your partitions.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#4 2013-04-08 17:39:59

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: [solved] won't boot?

You have to speficy the root partition in refind.conf, don't you?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Online

#5 2013-04-08 17:46:20

tmccaffery
Member
Registered: 2013-04-03
Posts: 33

Re: [solved] won't boot?

I solved it I had a typo in the refind conf file

Offline

Board footer

Powered by FluxBB