
Originally Posted by
digitalfriction
Hi, my version of GRUB is configured from grub.conf file.
I have followed your instructions, and entered the following into grub.conf:
title BackTrack 4 Beta
rootnoverify (hd0,4)
kernel /boot/vmlinuz rw root=/dev/sda5
initrd /boot/splash.initrd
but when I boot I get the grub menu, select backtrack 4 and get the following error:
Code:
Booting BackTrack 4 Beta
rootnoverify (hd0,4)
kernel /boot/vmlinuz ro root=/dev/sda5
Error 2: Bad file or directory type
Press any key to continue...
Is this suggesting an error when I was copying files over? or can you suggest any other causes?
It sounds like you're using grub from a different OS. If that is the case, then vmlinuz is on a different partition then the "/boot" directory of that OS. You could explicitly tell grub where the partition is located like this:
Code:
title BackTrack 4 Beta
rootnoverify (hd0,4)
kernel (hd0,4)/boot/vmlinuz rw root=/dev/sda5
initrd (hd0,4)/boot/splash.initrd
This has worked for me in the past with grub and previous installations of BT. This should work if the "/boot" directory from BT4 is located on the same partition as the "/" directory for BT4. Otherwise, change accordingly.