Helpful Information
Category: Windows Help
getting XP to recognize Linux as an OS so i can boot to it

Ok... i officially hate linux

Alright here's the deal. I had win98 and Redhat 7.1 dualbooted. Then I backed up 3 gigs of mp3s and personal documents from my win98 partition to my redhat partition. Then i installed Windows XP on my c: drive (hda1). Redhat is still on hda6.

Problem is... windows XP deleted my bootloader when it was installed. now I can't boot into linux to get my mp3's back over to the windows partition.

I saw some other posts about going into the Control Panel -> System -> Advanced -> Startup and Recovery -> Settings. You can obviously select what you want your computer to boot to by default. This is the only way I can see to do this. So can anyone tell me how to add linux to that list, so that it will show up on the windows bootloader, and then actually be able to boot into it?



the easy way:
use your rh cds to boot the installed system then make a boot disk and boot from the floppy.

the hard way:
boot linux (like above)

install lilo in the root partition (hdaX)

copy the first sector from the root partition into a file (say with

dd if=/dev/hdaX of=/tmp/ bs=512 count=1

copy this file to c:

open (under windows) the file boot.ini (it's hidden)
and add another line (depends on your configuration)

c:\"Boot Linux :-)"

save the file and reboot

i only tried it under winNT, but it should work under XP
hope it works

Or, the really SUPER easy way:

I got a linux bootdisk called Toms Root Boot, booted from that, mounted both hda6 and hda1 as a drive, then copied the files from one mount to the other.

Problem solved :)

privacy (GDPR)