RE: Dual Booting Linux and XP

From: Paul Crossman (pcrossma_at_orange.us)
Date: 06/25/04

  • Next message: Jason Staudenmayer: "RE: Router/Firewall Recommendation"
    Date: Fri, 25 Jun 2004 10:00:09 -0400
    To: "General Red Hat Linux discussion list" <redhat-list@redhat.com>
    
    

    I've read your problems with this... before reading on... would it be
    possible to borrow a floppy device from someone that would make life
    better for you?

    I haven't seen anyone pose this solution on this yet, so I'll put it out
    there.

    >From the following How-To: Please keep in mind that the Windows XP boot
    loader is almost the same as the Windows NT boot loader.

    http://www.linux.org/docs/ldp/howto/Linux+NT-Loader.html

    Keep in mind, that this is for LILO, make the appropriate changes for
    GRUB.

    Under Linux
    ==============

    Boot the Linux install with the rescue CD.

    Now you have to peel the bootsector from your Linux-root-Partition. With
    /dev/hda2 as your linux-partition, the dd-command is:

    # dd if=/dev/hda2 of=/bootsect.lnx bs=512 count=1

    There is something wrong if your bootsect.lnx has more than 512 bytes.

    Now copy the file bootsect.lnx to a location where you can get it within
    windows xp.

    Under Windows
    ===============

    Copy the file from the saved location to C:\\bootsect.lnx.

    What lilo.conf is for linux is c:\\boot.ini for Windows NT. Remove the,
    system- and the read-only-attribute before you can modify it with:

    C:\attrib -s -r c:\boot.ini

    Now change the file boot.ini with an editor, notepad for example, as
    follows:

    [boot loader]
    timeout=30
    default=multi(0)disk(0)rdisk(0)partition(1)\WINNT
    [operating systems]
    multi(0)disk(0)rdisk(0)partition(1)\WINNT="Windows NT Workstation ...
    multi(0)disk(0)rdisk(0)partition(1)\WINNT="Windows NT Workstation ...
    C:\BOOTSECT.LNX="Linux"

    Only the last line has been added in this example. Restore the
    attributes after you have saved boot.ini with:

    C:\attrib +s +r c:\boot.ini

    After a shutdown of your Windows NT and a restart your should see the
    following:

      OS Loader V4.00
     
      Please select the operating system to start:

      Windows NT Workstation Version 4.0
      Windows NT Workstation Version 4.0 [VGA mode]
      Linux

    Select Linux and see

      LILO loading zImage ....

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Jason Staudenmayer: "RE: Router/Firewall Recommendation"

    Relevant Pages

    • Re: Windows Domain auth for Linux boxes
      ... Our servers are a mix of Windows ... > 2000/2003 and Linux, and our primary authentication is against Windows ... > workstation on the domain, ...
      (Fedora)
    • Re: F7-x86-64 Stopped Booting - GRUB Issue
      ... with Windows XP and Fedora 7 x86-64 on my machine. ... to load WinXP or to load GRUB which in turn loads Linux. ... the Windows boot loader lists the ...
      (Fedora)
    • Timeout on network
      ... I have a Caldera V3.1.1 workstation that prints via Samba to a Windows 98 ... My Linux workstation is running software that is never intended to use the ... trying to resolve some sort of DNS name? ...
      (comp.os.linux.misc)
    • Re: Pirated XP, means-test everyone and every product with "income
      ... Thanks again for all your posts and I will seriously consider a third hard ... :> will I have any worries about the Linux partition hurting Windows in any ... It restores the Windows boot ... : third party boot loader. ...
      (microsoft.public.windowsxp.general)
    • Re: A rambling discourse on the last hurdle.
      ... I did not use Linux as my primary desktop until ... > Windows would have blue screened on the first access. ... So they have a server they want to replace, ... mounted ISO image dir on the server and NFS mount it on the workstation. ...
      (alt.os.linux)