PDA

View Full Version : [ubuntu_studio] error: load kernel first



k33bz
February 4th, 2010, 05:28 AM
I have both backtrack 4 and ubuntu studio on this laptop. It was working great for a few weeks perfectly. Then all of a sudden I am getting this error. I done some research, each time it was put hd0,1 instead of hd0,0 or hd0,2. Obvisouly my config already has this. So what do I need to change.

I can run my backtrack 4 it is when i try to boot up my ubuntu studio I get this error.


grub.cfg

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s /boot/grub/grubenv ]; then
have_grubenv=true
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
saved_entry=${prev_saved_entry}
save_env saved_entry
prev_saved_entry=
save_env prev_saved_entry
fi
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set eafbf296-ef96-4a8a-a927-1fa7fb589829
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/white
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-9-rt" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set eafbf296-ef96-4a8a-a927-1fa7fb589829
linux /boot/vmlinuz-2.6.31-9-rt root=UUID=eafbf296-ef96-4a8a-a927-1fa7fb589829 ro splash quiet splash
initrd /boot/initrd.img-2.6.31-9-rt
}
menuentry "Ubuntu, Linux 2.6.31-9-rt (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set eafbf296-ef96-4a8a-a927-1fa7fb589829
linux /boot/vmlinuz-2.6.31-9-rt root=UUID=eafbf296-ef96-4a8a-a927-1fa7fb589829 ro single splash
initrd /boot/initrd.img-2.6.31-9-rt
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "HAXOR (on /dev/sda5)" {
insmod ext2
set root=(hd0,5)
search --no-floppy --fs-uuid --set a5b7f28d-f044-47c2-9a86-2b58784f1252
linux /boot/vmlinuz-2.6.29.4 root=UUID=a5b7f28d-f044-47c2-9a86-2b58784f1252 ro vga=0x317 vga=0x317
initrd /boot/initrd.img-2.6.29.4
}
menuentry "BACKTRACK 4 (recovery mode) (on /dev/sda5)" {
insmod ext2
set root=(hd0,5)
search --no-floppy --fs-uuid --set a5b7f28d-f044-47c2-9a86-2b58784f1252
linux /boot/vmlinuz-2.6.29.4 root=UUID=a5b7f28d-f044-47c2-9a86-2b58784f1252 ro single
initrd /boot/initrd.img-2.6.29.4
}
menuentry "Ubuntu 8.10, memtest86+ (on /dev/sda5)" {
insmod ext2
set root=(hd0,5)
search --no-floppy --fs-uuid --set a5b7f28d-f044-47c2-9a86-2b58784f1252
linux /boot/memtest86+.bin
}
menuentry "Ubuntu 9.04, memtest86+ (on /dev/sda5)" {
insmod ext2
set root=(hd0,5)
search --no-floppy --fs-uuid --set a5b7f28d-f044-47c2-9a86-2b58784f1252
linux /boot/memtest86+.bin
}
menuentry "Ubuntu 8.04.2, kernel 2.6.24-23-server (on /dev/sdb1)" {
linux /boot/vmlinuz-2.6.24-23-server root=UUID=ca07e836-dc12-4a90-a630-af7ff82aeef3 ro quiet splash
initrd /boot/initrd.img-2.6.24-23-server
}
menuentry "Ubuntu 8.04.2, kernel 2.6.24-23-server (recovery mode) (on /dev/sdb1)" {
linux /boot/vmlinuz-2.6.24-23-server root=UUID=ca07e836-dc12-4a90-a630-af7ff82aeef3 ro single
initrd /boot/initrd.img-2.6.24-23-server
}
menuentry "Ubuntu 8.04.2, memtest86+ (on /dev/sdb1)" {
linux /boot/memtest86+.bin
}
### 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 ###

k33bz
February 4th, 2010, 01:23 PM
bump