Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am new to Linux and I installed a dual boot with windows XP
I removed Red Hat 9 and when I restarted the grub loader of course is no longer there and I can't get back into windows.
If someone can help me get around this Please.
I don't know if reinstalling Redhat would fix the problem or not.
I believe RH9 disk1 includes a rescue feature. You should be able to install a bootloader with this rescue feature. At least you can with mandrake 9.2.
I just want to get it to boot back into windows so I can save some of my info, then I can reformat and setup Linux differently.
I just want to get the boot loader to boot into windows.
that would work, all it does is detect OS's, and makes entries in them for the boot loader. So it takes like no time at all to reinstall the bootloader. If you just want to read some stuff from the disk you could try RIP linux as well, it will mount an ntfs partition (I think, check to make sure) and you can copy it whereever....to another partition or something.
The simplest way to repair or re-create MBR is to run Microsoft's standard utility called FDISK with a parameter /MBR, like
A:\> FDISK.EXE /MBR
FDISK is a standard utility included in MS-DOS, Windows 95, 98, ME.
If you have Windows NT / 2000 / XP, you can boot from startup floppy disks or CD-ROM, choose repair option during setup, and run Recovery Console. When you are logged on, you can run FIXMBR command to fix MBR.
Do a google search for NT Grub boot howto.
You may not need to reinstall. I have WindowXP/Mandrake dual boot and use the NT loader (XP is NT by the way) to boot into linux.
I think you need to do what Eqwatz suggests. When either Grub or Lilo install, they copy the Master Boot Record (MBR) to a save file and replace it. You then need the Linux system installed to boot. (BTW, if you didn't hose your /boot partition, the MBR may still be saved there. Get in with a rescue disk and copy it off to something before you do anything else.) Before you delete Linux, you need to restore the MBR. You could try to boot the RH 9 CD in rescue mode or see if you can use something like Knoppix as a rescue.
Distribution: Slack Puppy Debian DSL--at the moment.
Posts: 341
Rep:
If you have a successful install of linux, there will be a backup of the original MBR. Frankly though, it is easier if everything gets hosed up to restore XP MBR with above technique. Then, you can boot up RIP (do a search on http://www.google.com/linux for: recovery is possible) I have personally never successfully re-installed grub using Rip. I have successfully edited a mounted old_system/etc/lilo.conf with the correct information; mounted that over /etc using the --bind arguement with mount; cp mounted /sbin/lilo to /sbin/lilo (on RIP); mounted old_system-/boot over /boot (again using --bind); then running /sbin/lilo.
People tell me that the process for grub is almost identical, but I never held my lips in the exact right position to make it work.
Stage 1.5, and stage 2 of grub is the "boot.b" binary file you see in your /boot directory of Linux.
1- Insert RH9 cd1
2- In the first menu type "linux rescue"
3- Follow on screen instructions
4- You don't need to edit grub.conf
5- Type "grub-install /dev/mbr" or "grub-install /dev/hda"
6- Reboot your system.
7- You system should now work without doing other changes.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.