Unable to boot Windows XP in a dual boot setup

I have Windows XP installed on my desktop, and decided to install Arch onto the desktop's second hard drive (space considerations), and installed Grub2 as the bootloader onto the second hard drive. I'm not able to boot Windows XP from the Grub2 menu on boot (I can boot the other entries, and can still boot XP by switching the order of the hard drives around in BIOS).
I've used Grub2 on my laptop for over a year now, and I've never had problems using it to triple boot Ubuntu, Arch and Windows Vista.
I created a custom entry for Windows XP (from various forum posts on this site and elsewhere):
40_custom:
menuentry "Windows XP (loader)" {
insmod ntfs
insmod part_msdos
insmod chain
set root=(hd1)
drivemap -s hd0 hd1
chainloader +1
When I select the Windows XP entry, all I get is a black screen, and all I can do is reboot with ctrl+alt+del.
I went ahead and installed os-prober from the AUR:
### BEGIN /etc/grub.d/09_os-prober ###
menuentry "Microsoft Windows XP Home Edition (on /dev/sdb1)" --class windows --class os {
insmod part_msdos
insmod ntfs
set root='(hd1,msdos1)'
search --no-floppy --fs-uuid --set=root 50ACE008ACDFE68E
drivemap -s (hd0) ${root}
chainloader +1
### END /etc/grub.d/09_os-prober ###
But I get the same black screen when I select this entry from the grub menu. Can anyone tell me what the correct entry to boot Windows XP should be?
Last edited by Ploink (2011-10-27 08:26:33)

I'd honestly just recommend installing legacy grub, or better yet LILO, the people who work on GRUB/A lot of gnu software seem to think it's a great idea to just add and add and add pointless and bloated features to things that don't need it, GRUB is a perfect example of this, and so is the coreutils, 750 lines of code is used for 'cat' whereas on an operating system such as plan9 about 40 lines of code is used to do exactly the same thing.
On legacy grub it's as simple as
title Windows
rootnoverify (hd0,0)
makeactive
chainloader +1
Which would be able to let you boot into windows on /dev/sda1
Last edited by boydey1 (2011-10-31 06:04:13)

Similar Messages

  • Can't get windows 8.1 with dual boot for fedora (linux) . system is UEFI .

    Can't get  windows 8.1 with  dual boot for fedora (linux) . system is UEFI .

    Hi,
    Any update here?
    We may seek help at Fedora forum as Milos suggested, if convenient we could share the related thread link here for reference.
    In addition, please also check the information in the similar thread:
    Dual Boot Windows 8 and Linux?
    Best regards
    Michael Shao
    TechNet Community Support

  • [Solved] Windows 7 and Arch Dual boot- unable to boot into Windows7

    Had to reformat computer and reinstall windows and Arch on two separate hard drives (Dual boot) .
    Windows 7 was the first install on SDA: (/dev/sda1 - system reserved 100mb, /dev/sda2 - 20gb)
    Arch on SDB: (/dev/sdb1- boot 94mb, /dev/sdb2- swap, /dev/sdb3 - root, /dev/sdb4 - /home)
    Installed grub2 on /dev/sda. now grub bootloader loads Arch fine. Also shows Windows 7 (on /dev/sda1).
    But when chosen Windows 7, it does not load and loops back again to boot loader screen.
    In BIOS i have set disk drive SDB as first boot option.
    If i choose SDA as first boot option in BIOS, same scenario is repeated.
    I have gone through mostly all the pages related to the topic but i can not co-relate the solution
    to my exact situation due to limited knowledge.
    Can somebody pls help me as to how to edit grub.cfg so as to point it to load windows 7?
    the entry related to windows 7 reads as follows:-
    quote
    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry 'Windows 7 (loader) (on /dev/sda1)' --class windows --class os $menue$
            insmod part_msdos
            insmod ntfs
            set root='hd0,msdos1'
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint$
            else
              search --no-floppy --fs-uuid --set=root F010D97410D941F0
            fi
            chainloader +1
    unquote
    for Arch set root value is hd1,msdos1 and working fine.
    Thanks and regards.
    Last edited by commsanjay (2012-10-14 08:08:54)

    This is exactly why I have chosen to use windows MBR and syslinux
    https://wiki.archlinux.org/index.php/Wi … oot-loader
    Last edited by ackt1c (2012-10-14 02:32:55)

  • Windows 8.0 new dual boot GUI disappeared and replaced with text menu after installing updated 8.0 and 8.1

    I upgraded my windows xp to windows 8.0 and my windows 7 to windows 8.1 for a dual boot environment. I am using BCDEDIT program. I had no problem when booting to the GUI menu OF WINDOWS 8 when I first INSTALLED Windows 8. But after the second time
    I booted from a cold start it defaulted back to the old text version of the dual boot menu from the old windows xp and 7 . I have tried many times to restore the boot mgr TO GET BACK THE WINDOWS 8 GUI but I can't seem to put my
    finger on the root cause remedy  that would over-ride the default TEXT VERSION STYLE. I really like the Windows 8 GUI interface. Remember I am not having any problems with booting into the OS of my choice ----- just the BOOTMENUPOLICY.
    Here is where I need to resolve the new from the old command. By the way Does the Bcdedit program need to be installed in both OS'S? And when original Windows 7 was installed the os partitioned a Boot 100mb. I cannot remove or delete it in my Disk Management.
    Just some other tidbits to ponder from any help I would appreciate.
    Thanks
    Michael   

    Hi,
    What's the status of your current system boot option? Please check and make sure Windows 8.1 or Windows 8 was first boot.
    Roger Lu
    TechNet Community Support

  • Windows 7 / Arch Linux Dual-Boot - win7 keeps changing the boot flag!

    Greetings!
    Its been a long while since I had to dual-boot with windows on the same machine.
    I 've installed windows 7 and then arch linux and installed GRUB on my sda1 where the /boot partitions is located at.
    I've managed to boot into arch successfully and later into windows also successfully.... but when i tried to boot into arch again I wasn't greeted with the typical GRUB boot screen... grub was ignored completely and win7 booting began as if it was the only OS in my hard drive.
    I've used the gparted live cd and realized that the boot flag has changed from my /boot partition (sda1) to my windows partition (sda2). I've changed it back and I was able to boot into arch again. but when I rebooted to win7 and then to arch the same thing has happened. The boot flag keeps changing whenever im rebooting into windows making impossible for me to boot with GRUB unles I manually change the flag again.
    I haven't installed GRUB into the MBR because I hear  it is a bad practice when you have a windows OS also installed (something with service packs not being able to install, among other things). I also don't want to use the easyBCD method to boot arch using the win7 loader.
    here is the partition scheme on my 500gb sata drive :
    /dev/sda1      /boot                 250mb    (primary)
    /dev/sda2      windows 7 ntfs   100gb     (primary)
    /dev/sda3      swap                  4gb        (primary)
    /dev/sda5     /                       16gb        (logical)
    /dev/sda6     /var                   8gb         (logical)
    /dev/sda7     /home               the rest of the hd space   (logical)
    What am I doing wrong and how do i prevent the boot flag from changing?
    Thanks in advance for any help you can give me!
    Last edited by kamigr (2010-01-12 14:35:07)

    naequs wrote:
    bumping this because i have the EXACT same problem !
    however i installed grub to sda1 because i didnt want my installs to mess with each other  (not that ive had any problems with grub in mbr though...) .
    this just looked cleaner to me.
    if anyone has figured out how to prevent windows from automagically changing the bootgflag, id like to know !
    but maybe this is a question more suitable for a windoze forum
    tia
    /edit: seriously, ive been searching the net for some time now, including irc chans and there seems to be no solution to this ! all threads similar to this just end dead !
    i hate how windows claims to own my computer!
    1. don't necrobump
    2. as mentioned in the thread, just install grub to mbr and chainload windows. It works just fine and is the easiest way to get it working reliable.

  • Windows 7 & 8.1 Dual Boot Problem

    In my pc dual booting system is generated.
    Both os windows 7 & 8.1 are separatly partitioned.
    I have used it several day,but during 2 days windows 7 has been disrupting.
    For that,i have only formated & reinstalled windows 7.
    But now i can see that windows 7 is directly started but there are no options for windows 8.1 after opening my pc.
    At early days options for both 8.1 & 7 can be seen.
    But now that can't be seen.
    Only windows 7 is started directly.
    I have tried a lot,but can't understand the problem.
    Please help me....

    Hi,
    Please using the command below to fix system boot loader for test.
    Open Command Prompt with administrator.
    Type bcdboot x:\windows, press Enter.
    After that, restart your computer to check if problem resolved.
    Roger Lu
    TechNet Community Support

  • Install windows 8 64bit on 64bit architecture tablet(acer iconia w4-820) by removing the preloaded 32bit windows 8.1 or dual boot

    Hi,
    I need to install windows 8 64bit on a 64bit architecture Tablet(acer iconia w4-820) by removing the preloaded 32bit windows 8.1 or should make it as dual boot. For a project purpose.
    I tried booting the tablet from windows 8 64bit DVD for installation but it does't even detect the DVD Drive. when i insert the recovery DVD which came with acer it gets detected. 
    The windows 8 64bit DVD which am trying to install is volume licensed which we use to install on our laptops. That works fine with Laptops.
    Is their any different version of windows 8 do i need to try for installing on Tablet(acer iconia w4-820) or where am i going wrong.
    Thank for your help. 

    SM
    DISCLAIMER.  I would contact Acer about this to be safe, but if you only have one HD in the tablet you are going to have to do a clean install by formatting the HD.  You cant run 64 bit & 32 bit on the same drive AFAIK.
    Wanikiya and Dyami--Team Zigzag

  • Windows 7 Pro + Enterprise dual boot and BitLocker

    Hi,
    For testing purpose, I'm working on a machine I prepared for dual booting 2 differents "flavors" of Windows 7. 
    On single HD, I have 3 partitions:
    1- BDE
    2- Windows 7 Enterprise, connected in AD
    3- Windows 7 Pro, workgroup.
    Everything is working fine, until I try to encrypt my whole drive with BitLocker. Encryption goes fine for both Windows partitions and, on restart, selecting the first partition to boot into Windows 7 enterprise in AD will work fine too.
    The problem comes out when trying to boot the Windows 7 Pro partition: BitLocker will ask the recovery key on each boot. 
    Is there any solution to this? Thanks a lot.

    Hi,
    The Bitlocker Drive Encryption is only supported in Windows 7 Enterprise and Windows 7 Ultimate.
    Karen Hu
    TechNet Community Support

  • Window 10 Technical Preview Dual Boot warning popup message saids:

    I'm running Windows 8.1 Pro and I'm trying to setup a dual boot with Windows 10 Technical Preview
    I had problems using both Diskpart and Windows 7 USB/DVD Download Tool, but I finally got a usb stick ready to run and install Windows 10 Technical Preview.  It wasn't easy but I found another third party iso to usb tool called Rufus to finally get
    my bios to boot into the usb drive. Anyway that's not the problem i'm inquiring about, its more about a warning popup message during the dual boot installation.
    After selecting the keyboard layout and language and Microsoft user agreement screens, I select the custom installation to select the partition i want to install Windows 10. A warning message saids," The partitions on the disk selected for installation
    are not in the recommended order for additional information about installing to gpt disk go to the Microsoft website and search for gpt." , and then it asks if you want to proceed with installation?  

    Hi,
    According to the warning message, this sentence means that the type of current drive  is not GPT disk suggested, while Windows installation process recommend you install it at other GPT disk drive. Generally speaking, this message won’t influence
    Windows installation.
    How about your installation? Is it finished?
    Roger Lu
    TechNet Community Support

  • Installing the Windows IoT insider preview on SD card when booting Windows 10 from VHD Native Boot

    The setup instructions for the raspberry pi 2 mention that "you
    will need to follow these instructions on a physical Windows machine (and not a VM) because you need access to the SD card reader."
    Will this work if you boot Windows 10 natively from a VHD (like
    this) or does the virtualization still get in the way?

    If you insert the SD card and can see it in explorer or when you perform the diskpart command to list drives, then it should work, since in effect the VHD is the native OS at that point.  If you don't see the card, then you'll have to perform a local
    install.
    Jonathan Tanner | Microsoft | Windows 10 IoT Core Insider Preview Support | This posting is provided 'as is' with no warranties and confers no rights.

  • Dell XPS 13 (2015) - Windows 7/8.1 Dual Boot Audio Issue

    Specs:  I have the i5 FHD XPS 13 9343 with 8gb of ram and 256gb SSD.
    I bought the computer for dual personal and business purposes.  My company uses citrix to access virtual desktops and the security requirements are Windows 7/IE 9.  Upon purchase, I partitioned part of the hard drive and installed Windows 7 alongside Windows 8.1.  
    Installing Windows 7 through UEFI mode to avoid having to wipe my Windows 8.1 install was challenging but I succeeded and installed all the Windows 7 drivers on Dells website.  I got IE 9 and remote access up and running and thought I was good to go.  The touchpad is a little rough in Windows 7, however when I am remote working I always have a mouse so it's not a big deal.
    Then the issue began.  I noticed that in Windows 8.1, when I put the computer to sleep, I would lose my audio device.  When I restarted it would still be gone, only a full shutdown would bring it back.  I also began to lose my audio device in Windows 7 either after sleep or entirely from a cold startup.
    I have tried everything.  Uninstalled and reinstalled the realtek drivers under windows 7 and 8.1 multiple times, tried to get microsoft HD audio drivers to install, even attempted a regedit fix I found on pcgamer.com.  Nothing has gotten me to the point where I can consistently sleep the computer in both OSes and regain sound, or restart between OSes and keep the sound.  Sometimes I can sleep the computer and keep sound, however once I lose it, I must shutdown and startup again to regain it.  
    The hard drive still has the original partitions from Dell.  I don't know if this has any effect.  My Windows 7 partition is 60 GB.  
    Anyone who has any idea what may be happening I would love some help.  I really don't want to wipe the HD since my remote access is so finicky and I would rather not lose that Windows 7 install at this time.  

    Well every so often the audio device stops working and it seems to disappear and reappear periodically. No audio will play and audio tests fail.
    Have just uninstalled / reinstalled drivers (again) and it's back working, however I'm not getting my hopes up!

  • Windows 8 and ArchLinux dual-boot - Failed to open file: arch\boot\...

    Hey!
    I have a problem where I don't know how to configure the EFISTUB to boot ArchLinux along Windows 8. I have read the instructions on the wiki and tried for two days and the only thing I've come up with is copying some files into the /boot/efi/EFI/arch/ folder, and adding the entry into the UEFI boot menu. I can select it when Restarting Windows8 through the shift-restart thing and stuff but when it attempts to boot it says:
    Failed to open file: arch\boot\archiso.img
    I don't know how to set this up and fix it. I am so confused with everything right now due to the instructions on the wiki basically being "You can either do it this way, that way or any other way." but does not specifically expain how each works (at least so that I understand it fully) and what has to be done to complete these steps. Like, I need a complete tutorial from Start to Finish, to do this because I'm too nervous messing up my partitions. I have understood some parts thought and what I want is to be able to boot it from the EFISTUB instead of chain-booting like I usually do. I just don't know how to connect the entry in the list to the proper files to boot the system.
    What I have done:
    Installed the base system.
    Istalled grub in the base system but has not used grub to install on the /boot yet because I don't know if it is to be used if I'm supposed to use the EFISTUB (I was thinking efibootmgr would be enough)
    Tried to use efibootmgr to make the entry, but the entry does not work. (If this is how I should do it, can you explain which partition to target and what the different values would mean when answering?)
    I don't know which one is right, or if both shall be done (I guess Grub is used if I want to chain-load. I guess I can do it if it's the only way)
    Anyway, I hope you guys can answer me so I can fix this. Thanks

    What you're trying to do now is:
    EFI->kernel (EFI stub)
    This is appealingly direct, but it's tricky to get working. What the wiki now recommends is:
    EFI->gummiboot->kernel (EFI stub)
    ...or...
    EFI->GRUB->kernel
    These approaches are less direct, but they're easier to configure. The trouble is that both the EFI's built-in boot manager and the EFI stub loader are tricky to configure. For a newbie to get them both configured correctly on a first attempt at installing Arch is very difficult. Getting the EFI to launch gummiboot or GRUB is easier because these programs don't require the complex parameters that the EFI stub loader requires. Those parameters can instead be specified in the gummiboot or GRUB configuration file, which is easier to manage for quite a few reasons.
    If you want to pursue using the EFI stub loader directly, you certainly can. I've learned from experience, though, that it's not worth my time to try to help with users who want to do this. Using an intermediary program is easier to get working. IMHO, the direct approach has no real benefits except that it gives you bragging rights that you've done it. Your system won't boot any faster or more reliably in the more direct approach. (Well, technically it will be faster, by only by a matter of milliseconds, assuming you use a 0 timeout value in gummiboot.) In fact, it will be less reliable, because gummiboot, GRUB, and rEFInd all offer ways to adjust boot options on a boot-by-boot basis, which is very helpful when fixing problems. You can't do this with the direct approach.

  • Windows 8 Pre-Load Dual Boot with Windows 7 (T430)

    I ave created Recovery Media for WIndows 8 Preload using the following instructions:
    http://support.lenovo.com/en_US/downloads/detail.page?DocID=HT076024
    I have deleted GPT partition where Windows 8 Preload was installed leaving other partitions, including recovery partition, intact. Created smaller GPT partition for Windows 7 64-bit and after some drama with Windows 7 product key I was able to install anb boot into Windows 7.
    The next step was to create partition for Windows 8 Preload.
    After rebooting I followed steps at the link above:
    - F12 and boot from USB (Recovery Media)
    - Select Troubleshoot (Other options: Continue to Windows 7, Use a device (US Drive, network connection or Windows recovery DVD)
    - Select Reset your PC (Other oprions: Refresh you PC and Advanced Options)
    At this point on Resset your PC under "Choose a target OS" there's only Windows 7 option no choice for traget partition?
    Just for fun I go Next and I'm presented with Do you want to repartition the drives on your PC or keep existing partitions? Now is the time to politely decline since I don't want Windows 7 wiped out.
    What is the process to install Windows 7and then Windows 8 Preload?
    Thanks,
    Andre

    Also, some people have claimed success with shrinking existing Windows 8 preload and installing Windows 7 second. Is is possible on GPT style partition? If so, would reset of preload wipeout Windows 7 or would there be option to install over shrunk Windows 8 preload?
    Thank you,
    Andre

  • 3000 H230 Windows 7 and XP Dual Boot

    I am planning to buy this Lenovo H230 3022-1MU computer preloaded with Win7. However I'd want to make it dual-bootable to WinXP also. Is it possible? Does this model supports WinXP? The following link indicates there are drivers for XP I can get for this model:
    http://consumersupport.lenovo.com/in/en/driversdownloads/APR_Driver_List.aspx?CategoryID=667183&OS=W... XP
    Does anyone know for sure whether this approach can be done?
    Thanks.
    Mick

    Have you tried anything yet? (being that this is from APRIL) Per the link it does support XP. The only thing is that XP has to be installed first. Best way to do it is to install XP to at least a 10-20g partition. Then install Win7 to at least a 30-40g partition. Then format the rest of the partition to NTFS so that both XP and 7 can share it. If you do not have the win7 disk then you would need to create the recovery disk yourself. XP needs to be installed first, if not it will override the boot sector and it will only load XP.
    IT Specialist and Consultant
    Lenovo Tablet Evangelist
    Current Machines: IdeaCentre A300, ThinkPad Tablet, IdeaPad U410, and Yoga 3 Pro Touch
    Deutsche Community   Comunidad en Español
    Lenovo - the latest in DOtabs, DOpads, DOcentre's, DOstations and DOservers!

  • Photoshop CS5 for Windows not working on dual monitor setup

    If I try to open Photoshop CS5 while my second monitor is plugged into my laptop (via VGA cable), it loads normally, but won't display any opened images. I get a gray background and nothing else. (see screenshot here: http://screencast.com/t/f1bHcM3E )
    (I can even see the tiny image preview in the navigator, but not the image itself.)
    However, t'll work just fine if I open Photoshop with the second monitor disconnected and THEN plug it in, so it's not a problem with the dual monitors in general...just when first opening it. It's annoying because, if I'm working on a project and realize I have to make a quick image tweak in Photoshop, I have to unplug the monitor and then rearrange all my windows after Photoshop's done loading and I can plug it back in.
    Does anyone have any idea what's up with this? I can't seem to find any information online that specifically mentions this issue. For reference, I'm using Windows 7 on a Lenovo laptop.
    Thanks!

    Oh, that's possible. I went and read the detailed specs for my computer and it seems like it has both Intel and NVIDIA. Could that be it? (Computer hardware issues are not my area of expertise.)

Maybe you are looking for

  • Explain plan : need advice in improving performance

    Hi, DB : 10.2.0.4 platform: Solaris SGA: 8 G one of my query is taking too much time, explain plan gives below output. kindly advise what i can do to improve the performance PLAN_TABLE_OUTPUT Plan hash value: 430877948 | Id  | Operation              

  • .avi in a mac platform

    Hi, Can anyone tell me why .avi files work so well on a PC and not so well with FCP and Apple? To play .avi, you need to play them through VLC on a mac. When video editing on Adobe Premiere Pro on a PC, the files created are .avi which doesn't seem t

  • Exchange rate diffrences for procurement

    Hi Group I am trying to use SAP note 164505 to differentiate my actual PPV and Exchange rate diffrences. I changed my set up but still my entries are not changed at the time of Invoice. As per SAP system will change entries at the time of Invoice and

  • I'm trying to update iTunes from 10.2.2 (12) But it wont update to latest version!?

    Hi everyone, I have iTunes 10.2.2 (12) and now i want to update it to version 10.4. I tried the applicationupdate on the system menu, i tried the "look for updates" within iTunes, and i tried to download iTunes, and install it. But NOTHING works, it

  • Keep Macbook Pro w/Retina Display?

    So I recently went out and purchased (not even a week ago) a Mid Tier, Mid 2014 Macbook Pro with retina Display 13' because of my previous Macbook Pro 13, mid 2012 base model had reached the end of its life cycle. Or so I thought. I mustered up the c