I can now finally boot into linux (Thanks Steve and ~/rik) Just for future reference though you might like to know how I fixed it.
I tried steves instructions after booting of the Install/rescue CD
Had a good start till I got to step 1 and couldnt work out what /target ment.
Finally figured out steve was meaning my existing linux partition on my hard drive and found it under /mnt/
Got step 1 to work
Step 2 there were about 4 or 5 initrd lines in the /etc/lilo.conf file, which one do I delete?
Answer in the end I removed them all (Probably not the best solution but hey what have I to loose, I can just reinstall if it gets to bad)
Step 3 ran lilo and it came up with another error something about more than one instance of hda2 or some thing. Any way to fix that I just deleted a couple of image/other sections from the lilo.conf file.
I dont know why it worked but it worked.
Then I just told the computer to reset
Any way thanks
steve wrote:
Brendan Greer wrote:
Ok just tried that
Booted off CD1 pressed F1 and started into the recuse part selected reinstall bootloader option (Why hadnt I seen this before) pressed enter a few times
then the following came up: Added linux Added linux-nonfb Added failsafe Added windows* Fatal Kernel dosent support initial RAM disks
Are you using lilo? If so, you can edit the file etc/lilo.conf.
Do what you did before, and once you've got started, press ctrl-alt-f3 and you should get to a console prompt ( if not, try f2, f4, etc ). df will show you theold filesystem mounted under /target or similar.
1. chroot /target /bin/bash
2. vi /etc/lilo.conf. Use the down arrow until you're the initrd line, and type dd
the line will disappear. tyle :wq to exit the editor.
3. lilo - this will give you informational messages about the kernel(s) being loaded.
4. exit
5. ctrl-alt-f7 (f8? f1 ) should get you back to the graphical installer. abort and reboot
Good luck (:
Steve
PS. I;'ve just checked. delete the same line from /etc/grub.conf if you're using that bootloader. Can't remember if you need to run anything to install grub though. Can anyone enlightem the OP on this?
then a message box came up: Program Exited Abnormally (return code 1)
make any sense?
InfoHelp wrote:
Do you still have your install CDs?
Repair can be effected by booting from disk #1
~/rik
