[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#456578: debian-installer: after first reboot, grub says: "unknown filesystem type" and then hangs



> At that time the system restarted but the grub halted with the
> following error:
>
> Grub.....
> root (hd0,0)
>   Filesystem type unknown, partition type 0x7
> kernel 7boot/vmlinuz-2.6.18-5-k7 root=/dev/hda1 ro
>
> Error 17: cannot mount selected partition
>
> The system is equipped with the following disks:
> /dev/hda1 = Micro$oft 2000
> /dev/hda2 = the /boot partition directory (ext3)
>
> /dev/hdc = CDRW 400 - Philips: CD recorder
> /dev/hdd1 = seagate barracuda disck mounted on /mnt/D (ext3)
>
> /dev/sda1 = the / partition (ext3)
> /dev/sda2 = the swap partition


Few things spring to mind.

1) I think your root (hd0,0) is pointing to hda1 and not hda2. 0x7 is
the NTFS partition type and GRUB has no idea how to handle NTFS. Try
setting root to (hd0,1)

2) Given you have a separate boot partition, the kernel (vmlinuz)
entry needs to be relative to  '/boot' and not to '/'. GRUB doesn't
care how the partitions are later mounted in linux, it just works with
the file system in that partition.

3) Check your root entry on the kernel line. That option tells the
kernel which device contains the root filesystem. hda1 is the boot
filesystem, not root.


Try this and see what happens:

---
root (hd0,1)
kernel /vmlinuz-2.6.18-5-k7 root=/dev/sda1 ro
initrd /initrd.img-2.6.18-5-k7
---


-Drew



Reply to: