Jonathan Nieder wrote: > Setting up grub-pc (1.97+20091125-1) ... > grub-probe: error: cannot stat (null) > Auto-detection of a filesystem module failed. > Please specify the module with the option `--modules' explicitly. > Generating grub.cfg ... > > I have not tried booting with the result; too scared. :) > > This is an x86 system, /boot is a normal directory in the root > filesystem, and os-prober is not installed.
More to the point I guess, the root filesystem is in ext3 format. Bug script output from grub-pc_1.97+20091115 (I downgraded) attached.
*********************** BEGIN /proc/mounts /dev/disk/by-uuid/9dd1f668-ec78-4bd3-9bc3-b6f6073468f7 / ext3 rw,relatime,errors=remount-ro,data=writeback 0 0 *********************** END /proc/mounts *********************** BEGIN /boot/grub/device.map (hd0) /dev/sda *********************** END /boot/grub/device.map *********************** BEGIN /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 ### set default=0 insmod ext2 set root=(hd0,1) search --no-floppy --fs-uuid --set 9dd1f668-ec78-4bd3-9bc3-b6f6073468f7 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 set timeout=5 ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/05_debian_theme ### set menu_color_normal=cyan/blue set menu_color_highlight=white/blue ### END /etc/grub.d/05_debian_theme ### ### BEGIN /etc/grub.d/10_linux ### menuentry "Debian GNU/Linux, with Linux 2.6.32-rc8-00003-gf1d48cc" { insmod ext2 set root=(hd0,1) search --no-floppy --fs-uuid --set 9dd1f668-ec78-4bd3-9bc3-b6f6073468f7 linux /boot/vmlinuz-2.6.32-rc8-00003-gf1d48cc root=UUID=9dd1f668-ec78-4bd3-9bc3-b6f6073468f7 ro quiet initrd /boot/initrd.img-2.6.32-rc8-00003-gf1d48cc } menuentry "Debian GNU/Linux, with Linux 2.6.31-1-686" { insmod ext2 set root=(hd0,1) search --no-floppy --fs-uuid --set 9dd1f668-ec78-4bd3-9bc3-b6f6073468f7 linux /boot/vmlinuz-2.6.31-1-686 root=UUID=9dd1f668-ec78-4bd3-9bc3-b6f6073468f7 ro quiet initrd /boot/initrd.img-2.6.31-1-686 } ### END /etc/grub.d/10_linux ### ### 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 ### *********************** END /boot/grub/grub.cfg