Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    boot problem (Win XP) after Mandrake 10 install.

    First of all hello to everyone

    Well.... i can't say i'm totally new to Linux since I have had twice a dual boot system in the past but it seems that this time I really messed up during partitioning.
    I hope that someone can offer a little help

    i had one hard drive with Windows XP installed and I used Partition Magic 8 to create a partition for Linux + swap. The problem is that Part. Magic wizard said that I should turn the new (Linux) parttion active and so i did.

    So, after installing Mandrake10 + lilo , I can't boot windows XP when I choose it from the lilo menu. Linux is working fine and I can access the windows partition from Linux but I can't boot on windows.

    Is there a way to set the windows partition active again (will that affect data?)...or any kind of solution to boot windows?
    I don't have a boot disk for windows but I have the installation CD for XP... problem is that I have no idea of how or whether the rescue console could be of any use
    I just hope I can avoid reformatting

    well....thanx to everyone in advance

    P.S. sorry for the mistakes but english is not my language

  2. #2
    Just Joined!
    Join Date
    Oct 2004

    If all you did is make it active...

    Then you should be ok.

    I recommend you mount the partition within linux to make sure that you still have the Windows directory and that you haven't accidentaly formatted. If you don't know which partition it is (hda1, hda2, etc) then find out with fdisk -l /dev/hda and look for the fat32 of ntfs partition.

    mkdir /mnt/windows/
    mount -t vfat (or ntfs) /dev/hda(number from above) /mnt/windows

    IF you can see everything in there, then proceed.

    You can run fdisk /dev/hda (or whatever HD you are using.)

    Then type p to see the partition table. If you see a fat32 or NTFS partition, that should be your windows partition. Make note of which one it is.

    Type m to get help and see which option makes the partition active (I believe it's a) Then you can make it active by pressing a within fdisk it will ask which partition you want to make active, just press 1 or 2 or whatever the partition is that you've selected.

    Then type w to write and exit the partition information.

    It'll say it syncs disks. Reboot - that should allow your boot into Windows. I recommend you create a linux boot floppy if you haven't done so already.

  3. #3
    hello again to all

    well..thanks for replying pbulteel

    ---i did the procedure with fdisk but even though I set the windows partition as bootable with the -a option ... windows still won't boot.

    ----apart from that when I run fdisk /dev/hda it says:

    The number of cylinders for this disk is set to 2434.
    There is nothing wrong with that, but this is larger than 1024,
    and could in certain setups cause problems with:
    1) software that runs at boot time (e.g., old versions of LILO)
    2) booting and partitioning software from other OSs
    (e.g., DOS FDISK, OS/2 FDISK)

    ----through the XP CD the windows partition still appears as inactive..

    --- a friend told me to try to reset the mbr through the XP cd so now when i try to boot from the hard drive it says invalid partition tables .. luckily enough I still have linux coz I have a boot disk from lilo

    --- I guess I will try a program I saw in net (active partition recovery...or something like that ) and if that doesn't work either I guess I will go for the format

    well...thanx for the help though

  4. $spacer_open
  5. #4
    hello evreyone and sorry to bother again

    I'm posting this just in case anyone has same problem any
    i'm so happy coz I didn't have to format eventually!

    well... after all the things I described above fdisk showed my windows
    partition us "hidden NTFS" . I wasn't very confident on how to change that
    with fdisk but luckily enough I discovered some really old rescue disks
    for partition magic, so I was able to "unhide" the partition and after that
    I could use my lilo boot disk to boot both to windows and linux ! MBR
    was really messed up but then I configured lilo to boot from hard drive
    and everything was fine again !

    P.S someone told me about a bug in Mandrake 10 that creates boot
    problem or something like that but I think that my problem had to do
    with messing up partitioning with Partit. Magic. (I will never use a wisard
    to anything again in future )

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts