PDA

View Full Version : Need help editing GRUB for Kanotix - adding knoppix to list



rrfish72
10-21-2004, 07:06 PM
I am trying to edit grub to get it to load knoppix as a boot choice and I does not see it. Here is what I have in boot/grub/menu1st:

## ## End Default Options ##

title Linux
root (hd0,1)
kernel /boot/vmlinuz root=/dev/hda2 ro ramdisk_size=100000 lang=us apm=power-off hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi nomce vga=791 alsa
savedefault
boot

title Kanotix
root (hd0,1)
kernel /boot/vmlinuz-2.6.8.1-kanotix-5 root=/dev/hda2 ro ramdisk_size=100000 lang=us apm=power-off hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi nomce vga=791 alsa
savedefault
boot

### END DEBIAN AUTOMAGIC KERNELS LIST
title Knoppix
root (hd0,2)
kernal /boot/vmlinuz-2.4.27 root=/dev/hda3 ro ramdisk_size=100000 lang=us apm=power-off hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi nomce vga=791 alsa
boot

title WindowsXP
rootnoverify (hd0,0)
makeactive
chainloader +1
savedefault

I added the knoppix entry. Is it in the wrong place? Can I get some help so I can boot Knoppix from the hd also.

mzilikazi
10-21-2004, 08:26 PM
Well for starters you misspelled kernel. ;) The other problem is it's not looking for your kernel in the right place.

Try this instead:

title Knoppix
kernel (hd0,2)/boot/vmlinuz-2.4.27 root=/dev/hda3 ro ramdisk_size=100000 lang=us apm=power-off hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi nomce vga=791 alsa
boot