PDA

View Full Version : Grub/lilo boot problems



madape
02-03-2004, 08:46 AM
I made a new computer (yay), and proceeded install the Fedora Core. After playing with it for a little while, I thought "No, I don't think so", and did a hard disk install of my trusted knoppix CD (which served me so well in the past).

Everything was fine until reboot time, when it booted into grub, and stayed there. No kernel or os booted, I just got this grub prompt.
It goes into knoppix when I use the boot floppy, but not when it boots from hd. I'm assuming this is because Fedora wrote a boot sector that wasn't deleted by the knoppix install.

I tried looking into fdisk and cfdisk to see if I could wipe the hd and start again, but all the talk of cylinders and partitions confused me. If you write a partition, does it delete all data on the hd?

I also tried uninstalling grub using dselect. I assume that the grub that I uninstalled was a debian grub, not the one that is booting my system.

Is there an easy way to make the hd blank, as new, so that I can install knoppix again? Or a way to make lilo boot instead of this grub thing?

baldyeti
02-03-2004, 09:55 AM
Did you let the knoppix installer proceed with lilo? If so, it might be installed, but another boot partition may be left active from fedora. Check with (c)fdisk that the partition onto which you installed knoppix is (the only one) marked active. If that does not suffice, post the result of "fdisk -l", and possibly your /etc/lilo.conf file. Alternatively, you could also edit the menu.lst file from your apparently working grub copy, and add your knoppix kernel there...

madape
02-03-2004, 10:07 AM
I did see a boot partition for fedora on cfdisk, but I deleted all partitions and rewrote two partitions, one for the swap and one for the main.

Should I have written the deletion before I wrote the new partition system? I thought writing a new partition system would do that anyway.
I set the main partition (not the swap) to be the boot partition, so I don't see where the problem is.