You are not logged in.
Pages: 1
Hi all.
I have installed Arch, but when i boot, rEFInd hangs. I get to menu and select the right Arch menu point, but then it gets the screen where it hangs.
It says:
rEFInd - Booting OS
Starting vmlinuz-arch.efi
Using load options 'vmlinuz-arch.efi initrd=EFI\arch\initramfs-arch-fallback.img
Maybe it is getting the wrong initrd?
I'm running on UEFI on a Lenovo L430
Thanks
\\Batnas
Last edited by batnas (2012-10-21 10:52:30)
Offline
I surely hope that it is freezing before it prints the rest of your kernel command line, for what is printed there is not enough. This issue cannot be addressed without a bit more information.
Offline
@batnas: What are the contents of your refind_linux.conf file and where is it located in UEFISYS partition? Seems like you have not created one. See https://wiki.archlinux.org/index.php/UE … ing_rEFInd for more info.
Offline
Sorry about the missing info, I'll try again.
I installed Arch following the Beginners Guide step by step.
Pretty much the only thing I've changed is the partitioning; it is done as following:
/dev/sda1 - 512MB - FAT32 - This is my UEFISYS partition
sda2 - 128MB - Ext4 - Boot
sda3 - 32GB - Btrfs - / (root)
sda4 - 16GB - Btrfs - /var
sda5 - ~70GB - Btrfs - /home
I do not have a swap partition, but I can't imagine how that could affect the boot-process.
All this is on a 128GB SSD
When I boot, I get a menu similar to this, but with only an Arch-entry:
When I select the Arch-entry, I get to the screen described above. I can post an image with the screen, but It has no more information than what I've written before.
The refind_linux.conf:
"Boot to defaults" "root=/dev/sda3 rootfstype=btrfs ro systemd.unit=graphical.target"
"Boot to terminal" "root=/dev/sda3 rootfstype=btrfs ro systemd.unit=multi-user.target"
If there is anything else you need to know, please ask.
Thanks
\\Batnas
Last edited by batnas (2012-10-20 21:31:58)
Offline
You definitely need to close those parenthesis...
Offline
You mean the double-quotes??
That was a typo from my side, they are correct in refind_linux.conf. (And I have corrected my post)
Any other suggestions?
Last edited by batnas (2012-10-20 21:33:35)
Offline
You have to specify the location of your initramfs (referred to as initrd for the kernel command line). When using UEFI, make sure you use backslashes also, as that is what the UEFI standard specifies. So something like initrd=\EFI\arch\initramfs-linux.img would probably be necessary.
Offline
Where exactly do you say i should put initrd??
I tried putting it in refind_linux.conf, but it still hangs...
I have a file called /boot/efi/EFI/arch/refind/refind.conf. It only specifies a timeout of 20 seconds.
I have a file called /boot/efi/EFI/arch/refind/refind_linux.conf, It has the contents as in my previous post.
Then I also have /boot/efi/EFI/arch/linux.conf, it contains:
root=/dev/sda3 ro rootfstype=btrfs add_efi_memmap initrd=\EFI\arch\initramfs-arch.img
All 3 files contains exactly as suggested in the Beginners Guide...
Offline
Just to make sure, your root partition is on sda3, right? Also, you you have more than one hard drive?
Offline
Yes my root partition is on /dev/sda3
And No, I only have the 128GB SSD mentioned before
Offline
can you boot from the uefi shell?
Offline
Not from a shell installed on the SSD.
I have a USB-pen, on which I copied the contents of the arch iso. It boots an UEFI shell.
Offline
Does your installation boot from a uefi shell though.
Offline
Yes. I installed from the USB-pen, bottet through UEFI.
When I installed I did "modprobe efivars" and correctly recieved the efi environment-variables
Offline
I know the live usb boots from the uefi shell, as you would not be at this point without it. But does your installation... the one you are trying to boot from refind... boot from the uefi shell?
Offline
Do you mean if I can start the UEFI shell, and from it boot Arch?
Actually, yes I can. I tried it before, but could'nt do it, but I got it working now.
I followed the instructions here and did:
> fs1:
> cd \EFI\arch
> vmlinuz-arch.efi root=/dev/sda3 ro rootfstype=btrfs add_efi_memmap initrd=\EFI\arch\initramfs-arch.img
and it booted!
We can tell that something is wrong with the rEFInd menu-entry, I'm just not sure what though, as I've followed the Beginners Guide step by step.
Last edited by batnas (2012-10-20 23:57:56)
Offline
I hope you are using initramfs-linux.img not arch.
Edit: Double check your linux_refind.conf
Last edited by WonderWoofy (2012-10-21 00:03:25)
Offline
Nope, I'm using initramfs-arch.img not initramfs-linux.img
But my file are actually called /efi/EFI/arch/initramfs-arch.img, so it should be good, right?
Last edited by batnas (2012-10-21 00:14:10)
Offline
Well, it is relative to the root of your EFI System partition. So if your mountpoint is /boot/efi, then it is /EFI/arch/initramfs-arch.img. You know, when I was trying to get my sh*t working, efibootmgr didn't like me passing the initrd= parameter with anything that was not in the root of the ESP. So I moved everything to the root. I have my ESP mounted at /boot (much simpler this way), so it ended up being initrd=\initramfs-linux.img in my case. But not sure if this will have an effect on your system. UEFI is so new that there are still many bugs to be ironed out.
Edit: BTW, having bios booting as a backup has no effect on your UEFI booting, since UEFI does not use the first 440bytes of the disk. I have syslinux set up just in case I run into something like you are experiencing now. Just something you might want to think about. Also, is there a reason why you are set on using UEFI instead of the old legacy bios? Just curious.
Last edited by WonderWoofy (2012-10-21 00:39:13)
Offline
Copy refind_linux.conf to /boot/efi/EFI/arch/ . It should be in the same dir as the kernel, not the dir where refindx64.efi is present. Apart from that I don't see anything wrong with your refind_linux.conf .
Offline
Copy refind_linux.conf to /boot/efi/EFI/arch/ . It should be in the same dir as the kernel, not the dir where refindx64.efi is present. Apart from that I don't see anything wrong with your refind_linux.conf .
...And it worked! Thank you very much.
Looking through the Beginners Guide, it also says /efi/EFI/arch/refind_linux.conf, completely missed that
@WonderWoofy
There is no reason in particular, other that I wanted to try it on a new computer. I had no idea that I would have so many problems though..
Offline
Pages: 1