#1
  1. No Profile Picture
    graphics monkey
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2001
    Location
    Georgia Tech, Atlanta, GA
    Posts
    70
    Rep Power
    14

    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?

    Thanks.
    Brian
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2001
    Location
    Vienna, Austria
    Posts
    12
    Rep Power
    0
    hi

    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 bootlin.bot) with

    dd if=/dev/hdaX of=/tmp/bootlin.bot 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:\bootlin.bot="Boot Linux :-)"

    save the file and reboot

    i only tried it under winNT, but it should work under XP
    hope it works
    alex
  4. #3
  5. No Profile Picture
    graphics monkey
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2001
    Location
    Georgia Tech, Atlanta, GA
    Posts
    70
    Rep Power
    14
    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
    Brian

IMN logo majestic logo threadwatch logo seochat tools logo