Results 1 to 4 of 4
Hi. i re installed windows and now grub isnt working. i dot know how to reinstall the bootloader. i forgot to make a recovey disk. I tried starting my computer ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-29-2004 #1
- Join Date
- Sep 2003
Grub Not Working
Hi. i re installed windows and now grub isnt working. i dot know how to reinstall the bootloader. i forgot to make a recovey disk. I tried starting my computer on knoppix (this is were im typing this message) but i try the grub-install command and it doesnt work it says "cannot create directory /boot/grub: read only file system". when i chroot to the partition that has redhat 9 on it and try it. i get an error message that says " /dev/hda7 does not have a corresponding BIOS drive" Help anyone??
- 03-29-2004 #2
- Join Date
- Jul 2003
- Uppsala, Sweden
you need to mount /boot before you can read it properly do that then run:
grubProud to be a GNU/Gentoo Linux user!
- 03-30-2004 #3
read the tutorial section on recovering from what you have done.
It's in the GRUB howto section that I wrote.
Use Suse 10.1 and occasionally play with Kubuntu
Also have Windows 98SE and BeOS
- 03-30-2004 #4
- Join Date
- Apr 2003
- Pontypridd, Wales
boot to knoppix and create a grub floppy like so:
Creating a GRUB boot floppy
To create a GRUB boot floppy, you need to take the files `stage1' and `stage2' from the image directory, and write them to the first and the second block of the floppy disk, respectively.
Caution: This procedure will destroy any data currently stored on the floppy.
On a UNIX-like operating system, that is done with the following commands:
# cd /usr/share/grub/i386-pc
# dd if=stage1 of=/dev/fd0 bs=512 count=1
1+0 records in
1+0 records out
# dd if=stage2 of=/dev/fd0 bs=512 seek=1
153+1 records in
153+1 records out
at the command line example:
#root $BOOT PARTITION
Replace $BOOT PARTITION with your boot partition e.g. (hd0,3)
This should allow you to boot into redhat.
Once you have done this re-install grub to your mbr and all should be well.
GRUB how to can be found at http://www.mcc.ac.uk/grub/grub_toc.html#SEC_Contents
Good luck, and keep the grub floppy for any future problems - leaning how to manipulate the GRUB command line is a usefull skill.
nomar.\"One World, One Web, One Program.\" -- Advertisement for Internet Explorer.
\"Ein Volk, Ein Reich, Ein Fuehrer.\" -- Adolf Hitler.