deleted bootloader
im running fedora core 1
I used fdisk to remove what I thought was a useless empty partition but it had my bootloader on it now i just get a grub command prompt when I try to boot. I tried using the fedora cds to upgrade my fedora and create a new bootloader but since no packages get upgraded it refuses to create a new bootloader. can anyone help me out here? |
boot your kernel probably linux with the command prompt
use help command if you don't know what to do |
um huh?
I am not quite following you? |
Try using your installation CD to boot. If you go to the install part, there might be an option to boot the existing system. Then you can just create it again.
|
there isnt an option like that all i can do in setup is upgrade (which does nothing) and clean install which would require me to delete my partitions.
|
You can find how to recreate your bootloader in the gentoo install instructions - just go to the bootloader section. Cliff's notes:
grub sees your drives as an array indexed from 0, so if /dev/hda is your first hard drive, grub sees it as hd0. If /dev/hdc is your first hard drive, grub also sees it as hd0. If /dev/hdb is a CDROM and /dev/hdc is a hard drive, again, grub sees your hard drive as hd0. In the same way, grub sees partitions indexed from 0, so /dev/hda1 = /hd0,0 get it? ok.... so, assuming your boot partition is on the first partition of your first hard drive, at the grub prompt, you'd type something like this (grub has tab auto-completion for *everything*) Code:
root (hd0,0) assuming you still have a grub.conf located in hd0,0 everything should be fine. if your boot partition is anywhere else, I'm sure you can figure it out, but, say, for instance, your boot partition is on your second drive, third partition, you would do something like this: root (hd1,2) setup (hd1) make sense? |
All times are GMT -5. The time now is 07:07 PM. |