Find the answer to your Linux question:
Results 1 to 4 of 4
hi! this morning I've (re)installed windows xp professional on this machine, but on a separate hd (SDB) so, the windows installer erased the MBR on SDA (the disk where my ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2012
    Posts
    6

    Dual boot grub2 windows xp problem


    hi!
    this morning I've (re)installed windows xp professional on this machine, but on a separate hd (SDB)
    so, the windows installer erased the MBR on SDA (the disk where my linux system is) to install his bootloader.

    when the installation finished the system booted with windows without problems

    so I've reinstalled grub2 on SDA's MBR
    linux boot perfectly
    but now windows on boot keeps flashing whit a strange cyan effect

    my partition table now looks like:
    SDA:
    -sda1 (linux partition EXT4) ~70GB
    -sda2 (windows partition required on installation NTFS) ~100MB

    SDB:
    -sdb1 (windows partition NTFS) ~70GB

    what can i do?
    Thanks!

    p.s. sorry for my bad English!

  2. #2
    Just Joined!
    Join Date
    Dec 2007
    Location
    Alabama, USA
    Posts
    30
    Windows will always rewrite the boot loader when you reinstall it. With windows up working well just use your linux iso and boot it up, I do not what version linux you are using but it should have a target to click to repair bootloader, That will rewrite the mbr for you and you can dual boot windows and linux.

    SDA:
    -sda1 (linux partition EXT4) ~70GB
    -sda2 (windows partition required on installation NTFS) ~100MB

    SDB:
    -sdb1 (windows partition NTFS) ~70GB

    what can i do?
    Thanks!

    p.s. sorry for my bad English! [/QUOTE]

  3. #3
    Just Joined!
    Join Date
    Mar 2012
    Posts
    6
    Quote Originally Posted by zrdc28 View Post
    Windows will always rewrite the boot loader when you reinstall it. With windows up working well just use your linux iso and boot it up, I do not what version linux you are using but it should have a target to click to repair bootloader, That will rewrite the mbr for you and you can dual boot windows and linux.
    i have the dual boot stuff!
    linux in fact boots perfectly!
    but when i boot windows from the grub(2) menu, it loads...then begin to flash on the screen with a strange effect... ( some randoms horizontal lines of a light blue color )
    then windows stuck and i need to hard reboot the machine...

  4. #4
    Just Joined!
    Join Date
    Apr 2008
    Location
    Denmark
    Posts
    7
    You will have problems if Windows are not installed on the firdt partition of the first harddisk.

    I have no experience with grub2 but when using the old grub you could solve the problem by mapping the partitions in the Windows menuentry in this way:

    map (sda0) (sda1)
    map (sda1) (sda0)

    or in your case it might be:

    map (sda1) (sda2)
    map (sda2) (sda1)

    as you have a Windows boot partition on sda2.

    Othervise search the internet for Grub 2 tutorial and search for mapping.

Posting Permissions

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