I’ve just installed openSUSE 11.3 but because I already have Ubuntu 10.04 on the same computer, I installed it without the bootloader. On Ubuntu I’ve done “update-grub” and then I’ve run openSUSE by the GRUB installed with Ubuntu but the system doesn’t start with the error:
modprobe FATAL could not load /lib/modules/2.6.34-12-default/modules.dep: No such file or directory
More input please, from ubuntu:
cat /boot/grub/grub.cfg
sudo /sbin/fdisk -l -u /dev/sda
sudo mount /dev/sd[NrSuse] /mnt
ls /mnt/lib/modules/2.6.34-12-default
ls /mnt/boot
michele@michele-desktop:~$ cat /boot/grub/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 $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 recordfail {
set recordfail=1
if -n ${have_grubenv} ]; then if -z ${boot_once} ]; then save_env recordfail; fi; fi
}
insmod ext2
set root='(hd1,2)'
search --no-floppy --fs-uuid --set 62e5c80a-47ea-48c6-8434-11ace34841be
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=1024x768
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
insmod ext2
set root='(hd1,2)'
search --no-floppy --fs-uuid --set 62e5c80a-47ea-48c6-8434-11ace34841be
set locale_dir=($root)/boot/grub/locale
set lang=it
insmod gettext
if ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
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/light-gray
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, con Linux 2.6.32-23-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd1,2)'
search --no-floppy --fs-uuid --set 62e5c80a-47ea-48c6-8434-11ace34841be
linux /boot/vmlinuz-2.6.32-23-generic root=UUID=62e5c80a-47ea-48c6-8434-11ace34841be ro quiet splash nomodeset video=uvesafb:mode_option=1024x768-24,mtrr=3,scroll=ywrap
initrd /boot/initrd.img-2.6.32-23-generic
}
menuentry 'Ubuntu, con Linux 2.6.32-23-generic (modalità ripristino)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd1,2)'
search --no-floppy --fs-uuid --set 62e5c80a-47ea-48c6-8434-11ace34841be
echo 'Caricamento Linux 2.6.32-23-generic...'
linux /boot/vmlinuz-2.6.32-23-generic root=UUID=62e5c80a-47ea-48c6-8434-11ace34841be ro single
echo 'Caricamento ramdisk iniziale...'
initrd /boot/initrd.img-2.6.32-23-generic
}
menuentry 'Ubuntu, con Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd1,2)'
search --no-floppy --fs-uuid --set 62e5c80a-47ea-48c6-8434-11ace34841be
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=62e5c80a-47ea-48c6-8434-11ace34841be ro quiet splash nomodeset video=uvesafb:mode_option=1024x768-24,mtrr=3,scroll=ywrap
initrd /boot/initrd.img-2.6.32-21-generic
}
menuentry 'Ubuntu, con Linux 2.6.32-21-generic (modalità ripristino)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd1,2)'
search --no-floppy --fs-uuid --set 62e5c80a-47ea-48c6-8434-11ace34841be
echo 'Caricamento Linux 2.6.32-21-generic...'
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=62e5c80a-47ea-48c6-8434-11ace34841be ro single
echo 'Caricamento ramdisk iniziale...'
initrd /boot/initrd.img-2.6.32-21-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd1,2)'
search --no-floppy --fs-uuid --set 62e5c80a-47ea-48c6-8434-11ace34841be
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd1,2)'
search --no-floppy --fs-uuid --set 62e5c80a-47ea-48c6-8434-11ace34841be
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Home Edition (on /dev/sda1)" {
insmod ntfs
set root='(hd0,1)'
search --no-floppy --fs-uuid --set b830eb0b30ead004
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "openSUSE 11.3 (i586) (on /dev/sda2)" {
insmod ext2
set root='(hd0,2)'
search --no-floppy --fs-uuid --set e2d9882c-4567-4987-b49e-43f50aa725bd
linux /boot/vmlinuz-2.6.34-12-default root=/dev/sda2
initrd /boot/initrd-2.6.34-12-default
}
menuentry "openSUSE 11.3 (i586) (on /dev/sda2)" {
insmod ext2
set root='(hd0,2)'
search --no-floppy --fs-uuid --set e2d9882c-4567-4987-b49e-43f50aa725bd
linux /boot/vmlinux-2.6.34-12-default.gz root=/dev/sda2
}
### 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 ###
michele@michele-desktop:~$
michele@michele-desktop:~$ sudo /sbin/fdisk -l -u /dev/sda
[sudo] password for michele:
Disco /dev/sda: 160.0 GB, 160041885696 byte
255 testine, 63 settori/tracce, 19457 cilindri, totale 312581808 settori
Unità = settori di 1 * 512 = 512 byte
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Identificativo disco: 0x1549f232
Dispositivo Boot Start End Blocks Id System
/dev/sda1 * 63 300447629 150223783+ 7 HPFS/NTFS
La partizione 1 non termina al limite del cilindro.
/dev/sda2 300447630 312576704 6064537+ 83 Linux
La partizione 2 non termina al limite del cilindro.
michele@michele-desktop:~$
I think you just have given openSUSE too little space, only 6 GiB!
When mounted via:
sudo mount /dev/sda2 /mnt
df -h
ls -ll /mnt/lib/modules/2.6.34-12-default
shows you needed info. Option -ll shows you if there are some bytes in modules.deb!
I do need more than 6 GiB for my openSUSE…
And I am unsure about your grub2 install:
You have installed ubuntu on your second disk, but installed grub2 into mbr of your first WinXp disk, is that possible? I don’t have much experience using grub2 with two harddisks…