You are not logged in.
Pages: 1
I'm trying to get my system booting by UUID but I am having issues with the grub entry as it won't boot. The following is the non uuid one that works:
# (2) Arch Linux
title Arch Linux sda5
root (hd0,4)
kernel /boot/vmlinuz-linux root=/dev/sda5 ro
initrd /boot/initramfs-linux.img
And below are the two that I have tried for uuid:
title Arch Linux by UUID (sda5)
uuid 857136db-0356-46bd-9fff-0126b575218b
kernel /boot/vmlinuz-linux root=UUID=857136db-0356-46bd-9fff-0126b575218b
initrd /boot/initramfs-linux.img
and
title Arch Linux by UUID (sda5)
uuid 857136db-0356-46bd-9fff-0126b575218b
kernel /boot/vmlinuz-linux root=/dev/disk/by-uuid/857136db-0356-46bd-9fff-0126b575218b
initrd /boot/initramfs-linux.img
Can someone point out which bit is wrong?
Thanks
Last edited by morphjk (2011-10-11 04:08:53)
Offline
Try:
title Arch Linux by UUID (sda5)
kernel /boot/vmlinuz-linux root=/dev/disk/by-uuid/857136db-0356-46bd-9fff-0126b575218b
initrd /boot/initramfs-linux.img
You may need the root (hd0,4) line as well. I think that is required to tell Grub where to find it's intermediate files. It would go in front of the kernel line.
Edit: I assume, of course, that your UUID is correct You might check that.
Last edited by ewaller (2011-10-11 03:16:48)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Yeah first thing I checked was that the uuid was correct.
You were correct and adding that line in got me up and running. Should've tried that first.
Offline
Pages: 1