modprobe FATAL

Hi!

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

How can I solve this problem?

Thanks for help!

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:~$ 

michele@michele-desktop:~$ sudo mount /dev/sda2 /mnt
michele@michele-desktop:~$ ls /mnt/lib/modules/2.6.34-12-default 
kernel             modules.builtin.bin  modules.order        systemtap
modules.alias      modules.dep          modules.softdep      updates
modules.alias.bin  modules.dep.bin      modules.symbols      vdso
modules.builtin    modules.devname      modules.symbols.bin
michele@michele-desktop:~$ ls /mnt/boot
boot                      message
boot.readme               symvers-2.6.34-12-default.gz
config-2.6.34-12-default  System.map-2.6.34-12-default
grub                      vmlinux-2.6.34-12-default.gz
initrd                    vmlinuz
initrd-2.6.34-12-default  vmlinuz-2.6.34-12-default
memtest.bin
michele@michele-desktop:~$ 


Thanks.:wink:

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…

Additional tip, in /boot/grub/grub.cfg of ubuntu also use UUID for openSUSE:
linux /boot/vmlinux-2.6.34-12-default.gz root=UUID=e2d98…

Thank you for your help ulenrich!

Sorry but I haven’t understood what should I do with these commands:

michele@michele-desktop:~$ sudo mount /dev/sda2 /mnt
[sudo] password for michele: 
michele@michele-desktop:~$ df -h
File system            Dimens. Usati Disp. Uso% Montato su
/dev/sdb2              76G   25G   47G  35% /
none                 1001M  344K 1000M   1% /dev
none                 1007M  584K 1006M   1% /dev/shm
none                 1007M   96K 1007M   1% /var/run
none                 1007M     0 1007M   0% /var/lock
none                 1007M     0 1007M   0% /lib/init/rw
/dev/sda1             144G   89G   56G  62% /media/disk
/dev/sdb5              22G  4,5G   17G  22% /media/disk-1
/dev/sdb1             197G   67G  131G  34% /media/Maxtor
/dev/sda2             5,7G  2,8G  2,7G  52% /mnt
michele@michele-desktop:~$ ls -ll /mnt/lib/modules/2.6.34-12-default
totale 2588
drwxr-xr-x 13 root root   4096 2010-07-05 15:30 kernel
-rw-r--r--  1 root root 593931 2010-07-06 07:43 modules.alias
-rw-r--r--  1 root root 573838 2010-07-06 07:43 modules.alias.bin
-rw-r--r--  1 root root   2281 2010-07-05 15:25 modules.builtin
-rw-r--r--  1 root root   3190 2010-07-06 07:43 modules.builtin.bin
-rw-r--r--  1 root root 303874 2010-07-06 07:43 modules.dep
-rw-r--r--  1 root root 429527 2010-07-06 07:43 modules.dep.bin
-rw-r--r--  1 root root    196 2010-07-06 07:43 modules.devname
-rw-r--r--  1 root root 100940 2010-07-05 15:25 modules.order
-rw-r--r--  1 root root    131 2010-07-06 07:43 modules.softdep
-rw-r--r--  1 root root 261538 2010-07-06 07:43 modules.symbols
-rw-r--r--  1 root root 336073 2010-07-06 07:43 modules.symbols.bin
drwxr-xr-x  2 root root   4096 2010-07-06 07:43 systemtap
drwxr-xr-x  2 root root   4096 2010-07-06 07:43 updates
drwxr-xr-x  2 root root   4096 2010-07-06 07:43 vdso
michele@michele-desktop:~$ 

I don’t know much about my grub2 install. Ubuntu installed it by default.

Ok! This works!!! Thanks thanks thanks! You are great;)

Now: how can I made this option permanent? It goes away every time I do update-grub2

e.g. if you use self set labels edit ubuntu /etc/grub.d/40_custom

#!/bin/sh                                                                                                                         
exec tail -n +3 $0
#
#
menuentry "Desktop openSUSE 11.3 symlink" {                                                                   
        insmod ext2                                                                                                               
        search --no-floppy --label --set suse113                                                                                  
        linux /boot/vmlinuz root=/dev/disk/by-label/suse113 quiet
        initrd /boot/initrd                                                                                                       
}  

add in ubuntu /etc/default/grub:
GRUB_DISABLE_OS_PROBER=true
GRUB_DEFAULT=“Desktop openSUSE 11.3 symlink”