grub2 error : out of disk

Posted by Nostradamnit on Server Fault See other posts from Server Fault or by Nostradamnit
Published on 2010-11-25T16:28:12Z Indexed on 2011/01/05 10:55 UTC
Read the original article Hit count: 251

Filed under:
|

Hi everyone,

I recently install ArchBang on a machine with Ubuntu and XP. I ran update-grub from Ubuntu and it found the new install and created an entry. However, when I try to boot it, I get:

error: out of disk
error: you need to load kernel first

I've tried several things, including adding a new entry in 40_custom, but nothing changes. Here are the entries I have: default found by update-grub

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "ArchBang Linux (on /dev/sda4)" {
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos4)'
    search --no-floppy --fs-uuid --set 75f96b44-3a8f-4727-9959-d669b9244f2a
    linux /boot/vmlinuz26 root=/dev/sda4 rootfstype=ext4 ro xorg=vesa quiet nomodeset swapon
    initrd /boot/kernel26.img
}
menuentry "ArchBang Linux Fallback (on /dev/sda4)" {
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos4)'
    search --no-floppy --fs-uuid --set 75f96b44-3a8f-4727-9959-d669b9244f2a
    linux /boot/vmlinuz26 root=/dev/sda4 rootfstype=ext4 ro xorg=vesa quiet nomodeset swapon
    initrd /boot/kernel26-fallback.img
}
### END /etc/grub.d/30_os-prober ###

custom entry in 40_custom based on various ideas found on the internets

menuentry "ArchBang Linux (on /dev/sda4)" {
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos4)'
    search --no-floppy --fs-uuid --set 75f96b44-3a8f-4727-9959-d669b9244f2a
    linux /boot/vmlinuz26 root=/dev/disk/by-uuid/75f96b44-3a8f-4727-9959-d669b9244f2a rootfstype=ext4 ro xorg=vesa quiet nomodeset swapon
    initrd /boot/kernel26.img
}

I think the problem has something to do with the sda4 not being mounted at boot-time...

Thanks in advance for you help,

Sam

© Server Fault or respective owner

Related posts about grub

Related posts about grub2