How can you load Vista using the XP bootloader (boot.ini)?

Discussion in 'Windows Vista Installation' started by Norsak, Sep 25, 2008.

  1. Norsak

    Norsak Guest

    There is a reason I'm doing things in this peculiar way, bear with m
    and tell if you know the answer, please tell

    The test system has one harddrive with 2 primary partitons

    - FAT 100M
    - NTFS 100G
    The 1. partition has DOS installed, and uses the old XP bootloade
    The 2. partition has Vista Business 32bit installed, with the new Vist
    Bootloader

    Using a partitioning program, I can make partition 1. hidden an
    partition 2 active; now Vista boots using it's bootloader

    If I make partition 1. active, DOS boots

    Now for dual booting. I want to make partition 1. active and use th
    XP bootloader to point at the Vista bootloader; thus being able to dua
    boot between DOS and Vista

    This may very well be possible
    Here are tutorials which use first partition GRUB to jumpstart a secon
    partition Vista Bootloader
    Stands to reason that with the correct boot.ini settings I can mak
    this work
    So far my attempts have resulted in a blank screen, and a reboot
    If you know the answer, help me out
     
    Norsak, Sep 25, 2008
    #1
    1. Advertisements

  2. Norsak

    Fuzawuza Guest

    Fuzawuza, Sep 25, 2008
    #2
    1. Advertisements

  3. Norsak

    barman58 Guest

    Hi Norsak,

    Maybe not the exact answer yo are looking for but if you want to Dual
    Boot DOS and Vista this is quite possible using EasyBCD to control
    Vista's Bootloader.

    information here
    'Legacy Windows Versions - NeoSmart Technologies Wiki'
    (http://neosmart.net/wiki/display/EBCD/Legacy+Windows+Versions)

    Download Here
    'Download EasyBCD 1.7.2 - NeoSmart Technologies'
    (http://neosmart.net/dl.php?id=1)

    There are links from the WIKI on the first link to guide you through
    many other options including tweaking the Grub loader if you Have to use
    that

    hope this helps


    --
    barman58

    Regards,
    *Nigel*
    the beginning of knowledge is the discovery of something we do not
    understand.,- frank herbert
     
    barman58, Sep 25, 2008
    #3
  4. Norsak

    Norsak Guest

    Ok, the question is how to use the XP boot loader(boot.ini) to boot
    Vista.
    Not the otherway around, that's easy but of no use in my scenario.

    The reason this can work, is that the second partition has a fully
    functional Vista bootloader.

    I have recently Installed GRUB/Linux on this second partition, and was
    able to use the XP bootloader to start GRUB.

    Boot.ini -----------------------> Grub---------------------->CentOS
    [1st Partition boot sector]....[2nd Partition boot sector]...[2nd
    partiton OS]

    so why not

    Boot.ini -----------------------> Vista Boot Loader---------->Vista
    [1st Partition boot sector]....[2nd Partition boot sector]...[2nd
    partiton OS]
     
    Norsak, Sep 26, 2008
    #4
  5. Norsak

    barman58 Guest

    OK Norsak

    If you -have -to call the Vista bootloader to work your scenario
    think you will have to use Grub to chain the XP bootloader and the Vist
    bootloader.

    I don't think you will be able to chain the vista bootloader from th
    XP one due to the simple fact that the XP bootloader has no point o
    reference to work with as the vista Bootloader did not exist when the X
    bootloader was written.

    Grub has the point of reference to chain both bootloaders. What yo
    need to do is install grub on your XP partition and use that to chai
    the XP bootloader and your first OS and also to chain the vist
    bootloader and your second OS

    Am not that familiar with the grub syntax but there are some goo
    sources of information try .

    'GRUB bootloader - Full tutorial
    (http://www.dedoimedo.com/computers/grub.html

    'Grub4dos tutorial - Grub4Dos Wiki
    (http://grub4dos.sourceforge.net/wiki/index.php/Grub4dos_tutorial

    hope this help

    --
    barman5

    Regards,
    *Nigel*
    the beginning of knowledge is the discovery of something we do no
    understand.,- frank herbert
     
    barman58, Sep 26, 2008
    #5
  6. Norsak

    dennis Guest

    ntldr is actually able to do that. This is also how you you dual boot
    with win9x. It works by extracting the boot sector you want to use, and
    point boot.ini to it.

    The problem in this case, is the location of the boot files. It will
    look for bootmgr on the current partition.
     
    dennis, Sep 26, 2008
    #6
  7. Norsak

    Norsak Guest

    Thank you barman58 !

    Grub4dos was the missing puzzel piece!

    I had read that you can use GRUB to chain the vista bootloader.
    But since I was starting in DOS I didn't think that would be part of
    the solution.

    The working sequence is as follows:

    ----> grldr -----------------
    | [file on 1st partition] |
    | V
    Boot.ini --- Vista Boot
    Loader---------->Vista
    [1st Partition boot sector]....[2nd Partition boot sector]...[2nd
    partiton OS]


    The steps were:


    - download grub4dos, and copy all files (except config.sys) to first
    partition
    - edit boot.ini to read

    timeout=10
    default=c:\grldr
    [operating systems]
    c:\grldr="Vista Business 32bit"
    c:\ = "Recovery Console"
    - edit menu.lst to read

    rootnoverify (hd0,1)
    chainloader (hd0,1)+1
    Easy once you know how.

    Thanks Again
     
    Norsak, Sep 26, 2008
    #7
  8. Norsak

    barman58 Guest

    Thanks for posting back Norsak Glad to see you got it working how yo
    wanted it

    (can you edit your first post to add Solved to the front of the titl
    to help future users find the solution Thanks

    --
    barman5

    Regards,
    *Nigel*
    the beginning of knowledge is the discovery of something we do no
    understand.,- frank herbert
     
    barman58, Sep 26, 2008
    #8
  9. Norsak

    Vani273 Guest

    I want to do the following, please help me out, if possible.
    1) I want to change my default OS as XP from Vista
    2) vice versa..
    I want to automate a task, which requires booting to XP if in Vista and
    vice versa without human intervention. This i can do if i'm able to set
    the default OS and in "timeout" seconds, it will load that OS.
     
    Vani273, Apr 16, 2009
    #9
  10. Norsak

    Chad Harris Guest


    Hi Vani273:

    Change the default operating system for startup (multiboot)
    http://windowshelp.microsoft.com/Windows/en-US/Help/92fc21e5-3b29-4b09-aa11-33478ae172761033.mspx

    Easily Set Default OS in a Windows Vista and XP Dual-boot Setup
    http://www.howtogeek.com/howto/wind...os-in-a-windows-vista-and-xp-dual-boot-setup/

    Enjoy,

    CH
     
    Chad Harris, Apr 16, 2009
    #10
  11. Norsak

    Vani273 Guest

    Hi CH,

    Thanks for your reply.
    I guess my exact problem was not conveyed by me, so here it goes.
    1) Firstly, i want access my multiboot system remotely. so need to
    eliminate the "human intervention" part for my automation.
    2) I do not want to access data from different OS, but i need to reboot
    in different OS, and do some driver testing. If i am in w2k3, and i want
    to test drivers for w2k8, i need to first boot into w2k8 and then i can
    test.
    Now the exact problem is, from Vista, u can very well choose "Earlier
    versions of Windows" and set that as default. And when u reboot ur
    system, it will boot in w2k3. But from "earlier versions, eg, w2k3", you
    cannot find an entry in "boot.ini" for Windows Vista.
    Now, if u add an entry of Vista in boot.ini, it doesnt serve the
    purpose.
    U still can not load w2k8(vista). Manually, i need to go to the system
    (through KVM), and from the startup menu, i need to chose Vista, then
    it'll boot in vista.

    I want to eliminate this, and want to find a way, where by i can
    somehow modify my bootloader and boot in Vista from Earlier versions of
    windows.

    I hope i'm conveying my task properly.
    Feel free to question me.. :)

    Thanks
     
    Vani273, Apr 17, 2009
    #11
  12. Norsak

    andy Guest

    Microsoft Windows [Version 6.0.6000]
    Copyright (c) 2006 Microsoft Corporation. All rights reserved.

    D:\Windows\system32>bcdedit

    Windows Boot Manager
    --------------------
    identifier {bootmgr}
    device partition=C:
    description Windows Boot Manager
    locale en-US
    inherit {globalsettings}
    default {current}
    resumeobject {96425791-2a1d-11de-a493-b8e377c1f23c}
    displayorder {ntldr}
    {current}
    toolsdisplayorder {memdiag}
    timeout 30

    Windows Legacy OS Loader
    ------------------------
    identifier {ntldr}
    device partition=C:
    path \ntldr
    description Earlier Version of Windows

    Windows Boot Loader
    -------------------
    identifier {current}
    device partition=D:
    path \Windows\system32\winload.exe
    description Microsoft Windows Vista
    locale en-US
    inherit {bootloadersettings}
    osdevice partition=D:
    systemroot \Windows
    resumeobject {96425791-2a1d-11de-a493-b8e377c1f23c}
    nx OptIn

    D:\Windows\system32>bcdedit /set {bootmgr} default {ntldr}
    The operation completed successfully.

    D:\Windows\system32>bcdedit

    Windows Boot Manager
    --------------------
    identifier {bootmgr}
    device partition=C:
    description Windows Boot Manager
    locale en-US
    inherit {globalsettings}
    default {ntldr}
    resumeobject {96425791-2a1d-11de-a493-b8e377c1f23c}
    displayorder {ntldr}
    {current}
    toolsdisplayorder {memdiag}
    timeout 30

    Windows Legacy OS Loader
    ------------------------
    identifier {ntldr}
    device partition=C:
    path \ntldr
    description Earlier Version of Windows

    Windows Boot Loader
    -------------------
    identifier {current}
    device partition=D:
    path \Windows\system32\winload.exe
    description Microsoft Windows Vista
    locale en-US
    inherit {bootloadersettings}
    osdevice partition=D:
    systemroot \Windows
    resumeobject {96425791-2a1d-11de-a493-b8e377c1f23c}
    nx OptIn

    D:\Windows\system32>
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.

    C:\Documents and Settings\ned>bcdedit

    Windows Boot Manager
    --------------------
    identifier {bootmgr}
    device partition=C:
    description Windows Boot Manager
    locale en-US
    inherit {globalsettings}
    default {ntldr}
    resumeobject {96425791-2a1d-11de-a493-b8e377c1f23c}
    displayorder {ntldr}
    {96425790-2a1d-11de-a493-b8e377c1f23c}
    toolsdisplayorder {memdiag}
    timeout 30

    Windows Legacy OS Loader
    ------------------------
    identifier {ntldr}
    device partition=C:
    path \ntldr
    description Earlier Version of Windows

    Windows Boot Loader
    -------------------
    identifier {96425790-2a1d-11de-a493-b8e377c1f23c}
    device partition=D:
    path \Windows\system32\winload.exe
    description Microsoft Windows Vista
    locale en-US
    inherit {bootloadersettings}
    osdevice partition=D:
    systemroot \Windows
    resumeobject {96425791-2a1d-11de-a493-b8e377c1f23c}
    nx OptIn

    C:\Documents and Settings\ned>bcdedit /set {bootmgr} default
    {96425790-2a1d-11de-a493-b8e377c1f23c}
    The operation completed successfully.

    C:\Documents and Settings\ned>bcdedit

    Windows Boot Manager
    --------------------
    identifier {bootmgr}
    device partition=C:
    description Windows Boot Manager
    locale en-US
    inherit {globalsettings}
    default {default}
    resumeobject {96425791-2a1d-11de-a493-b8e377c1f23c}
    displayorder {ntldr}
    {default}
    toolsdisplayorder {memdiag}
    timeout 30

    Windows Legacy OS Loader
    ------------------------
    identifier {ntldr}
    device partition=C:
    path \ntldr
    description Earlier Version of Windows

    Windows Boot Loader
    -------------------
    identifier {default}
    device partition=D:
    path \Windows\system32\winload.exe
    description Microsoft Windows Vista
    locale en-US
    inherit {bootloadersettings}
    osdevice partition=D:
    systemroot \Windows
    resumeobject {96425791-2a1d-11de-a493-b8e377c1f23c}
    nx OptIn

    C:\Documents and Settings\ned>
     
    andy, Apr 17, 2009
    #12
  13. Norsak

    Vani273 Guest

    I guess BCDEDIT doesnot work with 2003 or XP..
    Are u using any tool for that?
    Because when i try BCDEDIT with 2003, what i am getting is this -

    C:\Documents and Settings\Administrator>bcdedit
    'bcdedit' is not recognized as an internal or external command,
    operable program or batch file.
     
    Vani273, Apr 17, 2009
    #13
  14. Norsak

    GTS Guest

    I don't have a solution for you, but this may clarify what's involved.

    BCDEDIT (as you speculate) only runs in Vista.
    BOOT.INI is not used in the boot process and will be ignored in the dual
    boot process.

    The MSDN article below clarifies these points. Note particularly "BCD
    replaces the traditional Boot.ini text file in BIOS-based systems." On my
    dual system the BCD store in the C:\boot folder (and there is a sharing
    violation if I try to view the file contents.)

    Boot Options in Windows Vista
    http://msdn.microsoft.com/en-us/library/aa468626.aspx

    The problem is how to modify the BCD store from XP. We know this can be
    done (e.g. the EasyBCD gui program can be run in both Vista and XP to change
    boot options). It should be possible to create a command line program to
    do the same, but to my knowledge no one has as yet.
     
    GTS, Apr 17, 2009
    #14
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.