ukernel |
01-26-2012 01:38 AM |
GRUB2 can't find root device
Hello,
When I try to boot my not new install of Arch Linux, it says "Cannot find root device [uuid]. I have tried to chroot and make a new config with grub-mkconfig and even format the boot partition. There are no logs from the day when the problem started to occur.
The machine is a MacBook Air 4,2 and the problem started to occur after a error occurred under an update to kernel 3.2.
/etc/fstab:
Code:
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
none /tmp tmpfs nodev,nosuid,noexec,nodiratime,size=1G 0 0
# DEVICE DETAILS: /dev/sda1 UUID=70D6-1701 LABEL=EFI
# DEVICE DETAILS: /dev/sda5 UUID=3363a86d-62ea-4992-8a15-cdff471665d4 LABEL=boot
# DEVICE DETAILS: /dev/sda6 UUID=e70bc54a-ebe6-43ee-9674-c9ba269b9d3b LABEL=root
# DEVICE DETAILS: /dev/sda7 UUID=8bba23a9-a35e-4d60-87ec-5c96527a9b10 LABEL=home
UUID=b704b054-8280-4d22-b7a8-692af41a9947 /boot ext2 defaults,noatime 0 1
UUID=70D6-1701 /boot/efi vfat defaults,noatime,discard 0 1
UUID=8bba23a9-a35e-4d60-87ec-5c96527a9b10 /home ext4 defaults,noatime,discard 0 2
UUID=e70bc54a-ebe6-43ee-9674-c9ba269b9d3b / ext4 defaults,noatime,discard 0 1
Code:
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
true
}
set menu_color_normal=light-blue/black
set menu_color_highlight=light-cyan/blue
insmod part_gpt
insmod ext2
set root='(hd0,gpt6)'
search --no-floppy --fs-uuid --set=root e70bc54a-ebe6-43ee-9674-c9ba269b9d3b
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=auto
load_video
insmod gfxterm
fi
terminal_input console
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/01_mba_ahci ###
setpci -d 8086:1c03 90.b=60
### END /etc/grub.d/01_mba_ahci ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux, with Linux custom' --class archlinux --class gnu-linux --class gnu --class os {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='(hd0,gpt5)'
search --no-floppy --fs-uuid --set=root b704b054-8280-4d22-b7a8-692af41a9947
echo 'Loading Linux mba4 ...'
linux /vmlinuz-linux-mba4 root=UUID=e70bc54a-ebe6-43ee-9674-c9ba269b9d3b ro quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux-mba4.img
}
menuentry 'Arch Linux, with Linux custom Fallback' --class archlinux --class gnu-linux --class gnu --class os {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='(hd0,gpt5)'
search --no-floppy --fs-uuid --set=root b704b054-8280-4d22-b7a8-692af41a9947
echo 'Loading Linux mba4 ...'
linux /vmlinuz-linux-mba4 root=UUID=e70bc54a-ebe6-43ee-9674-c9ba269b9d3b ro quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux-mba4-fallback.img
}
menuentry 'Arch Linux, with Linux linux' --class archlinux --class gnu-linux --class gnu --class os {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='(hd0,gpt5)'
search --no-floppy --fs-uuid --set=root b704b054-8280-4d22-b7a8-692af41a9947
echo 'Loading Linux linux ...'
linux /vmlinuz-linux root=UUID=e70bc54a-ebe6-43ee-9674-c9ba269b9d3b ro quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux.img
}
menuentry 'Arch Linux, with Linux linux Fallback' --class archlinux --class gnu-linux --class gnu --class os {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='(hd0,gpt5)'
search --no-floppy --fs-uuid --set=root b704b054-8280-4d22-b7a8-692af41a9947
echo 'Loading Linux linux ...'
linux /vmlinuz-linux root=UUID=e70bc54a-ebe6-43ee-9674-c9ba269b9d3b ro quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux-fallback.img
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
Thanks.
|