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

Re: Dual-boot with kFreeBSD and Linux cannot find Linux kernel



Am Donnerstag, 29. März 2012 schrieb David Banks:
>   menuentry 'squeeze' --class debian --class gnu-linux --class gnu
> --class os {
>       insmod part_msdos
>       insmod ext2
>       set root='(hd1,msdos1)'
>       linux /boot/vmlinuz-2.6.32-5-amd64 root=/dev/sdb1 ro quiet
>       initrd /boot/initrd.img-2.6.32-5-amd64
>   }
> 
> However, when I boot this I get this error three times:
> 
>   error: file not found.

What is before the file not found? Does it give a hint as to which file it 
did not found? Or what it was trying to do before printing the error 
message? I suggest you to lookup whether GRUB 2 can run with more 
verbosity if not.


In GRUB console what does

find /boot

find /boot/vmlinuz-2.6.32-5-amd64

find /boot/initrd.img-2.6.32-5-amd64

say?


Also

find /etc/debian_version

find /boot/grub/core.img

find /boot/grub/ext2.mod


On GRUB console does

insmod ext2.mod

work?



If you can´t get it to work easily, then you may try the other way around: 
Install GRUB on the Linux side and copy over the menu entry for kFreeBSD 
to it.


Ciao,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7


Reply to: