PDA

View Full Version : Boot Disk Problem



qa1433
07-18-2003, 11:42 AM
This would only happen to me! :oops:

I use GRUB as my boot-loader. I have Knoppix, JAMD Linux and Win 2k installed. When I installed Knoppix I chose only to make a boot disk.

The boot disk worked fine but now the floppy is bad. So no Mepis boot disk.

Knoppix is located on drive partition /dev/hda7

Can Knoppix be added to my grub boot loader. How would it be done?

Below is my GRUB file. It looks like this._
__________________________________________________ _____________
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,5)
# kernel /boot/vmlinuz-version ro root=/dev/hda6
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,5)/boot/grub/splash.xpm.gz
title JAMD Linux (2.4.20-9)
root (hd0,5)
kernel /boot/vmlinuz-2.4.20-9 ro root=LABEL=/
initrd /boot/initrd-2.4.20-9.img
title DOS
rootnoverify (hd0,0)
chainloader +1
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,5)
# kernel /boot/vmlinuz-version ro root=/dev/hda6
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,5)/boot/grub/splash.xpm.gz
title JAMD Linux (2.4.20-9)
root (hd0,5)
kernel /boot/vmlinuz-2.4.20-9 ro root=LABEL=/
initrd /boot/initrd-2.4.20-9.img
title DOS
rootnoverify (hd0,0)
chainloader +1
__________________________________________________ ________________

Thanks for the help,

qa1433
07-20-2003, 03:15 AM
Well nobody replied. Thats OK. I dug around and found the fix.

This is finally what worked.I underscored the fix lines.

default=0
timeout=10
splashimage=(hd0,5)/boot/grub/splash.xpm.gz
title JAMD Linux (2.4.20-9)
root (hd0,5)
kernel /boot/vmlinuz-2.4.20-9 ro root=LABEL=/
initrd /boot/initrd-2.4.20-9.img
title Windows 2K and 98
rootnoverify (hd0,0)
chainloader +1
__________________________________________________ __
title Knoppix Linux (2.4.xx)
root (hd0,6)
kernel /boot/vmlinuz-2.4.xx ro root=/dev/hda7
initrd /boot/initrd.xx-2.4.xx
__________________________________________________ __

Anyway that seems to work.

As it boots, I notice that auto-mount wants to mount a non existent file in the var directory called auto. This may have been happing before but I did not notice. It does not seem to be causing any problems yet.
Other then the above auto-mount issuet all is working as before.

Hope this helps someone else if they run into a boot disk thta goes south.