LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-24-2007, 08:37 PM   #1
harley51
Member
 
Registered: Nov 2003
Location: Downey Ca
Distribution: Fedora 11
Posts: 230

Rep: Reputation: 30
Duel Booting using Windows XP Boot Loader


Has anyone done this and if so can you provide step by step instructions.
 
Old 06-24-2007, 10:05 PM   #2
Volhv
Member
 
Registered: Sep 2006
Distribution: Debian 4.0 and Ubuntu 7.04
Posts: 50

Rep: Reputation: 15
Quote:
Originally Posted by harley51
Has anyone done this and if so can you provide step by step instructions.

Use this link
http://www.aboutdebian.com/dualboot.htm

It worked flawlessly for me.
Good luck.
 
Old 06-25-2007, 08:39 PM   #3
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
You don't want to dual boot using the windows bootloader. It is (intentionally) really poor at booting anything except multiple versions of windows.

If you insist on doing it, (it's the wrong choice, as google will be glad to confirm) google for ntbootloader and linux.

The default way to dual boot using grub keeps the windows bootloader in place, but puts grub in the MBR. When you select windows, all grub does is hand off the boot process to the windows booter, and it proceeds "normally" for windows. The advantage of doing things this way is should you decide you don't like linux, then you put the XP CD in the computer, boot with it, get to repair mode, and do "fixboot /mbr" or something like that (google again) and it restores the windows bootloader to the MBR without a reinstall.

Peace,
JimBass
 
Old 06-25-2007, 09:37 PM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
The procedure is well-documented. I have not tried it, but the principle is straightforward.

First, you make a copy of GRUB that points to the correct partition in you Linux setup. Then you install this in the Windows directory and make an entry in boot.ini to point to it.

Search here or on Google for something like: "boot linux using Windows boot.ini"

Also, search here for Saikee and look in his sig for relevant stuff.
 
Old 06-25-2007, 10:33 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,133

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Works fine - there's no need for any other software.

Basically, just
1) install grub to the root partition, not the MBR
2) copy the boot sector record (the first sector) off to a shared partition/USBkey/floppy
3) copy it to Windoze system partition
4) update boot.ini

I *highly* recommend grub - if you use lilo you have to repeat 2) and 3) every time you run the lilo command. Serious PITA.
 
Old 06-26-2007, 06:28 AM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,133

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
It should perhaps be mentioned that Vista is (surprisingly) even easier.
Go get easyBCD, and you don't even have to do the copy - it'll find Linux install(s) and build the (Vista) boot entries for you.

Of course, I still prefer grub as my loader - but it is do-able.
 
Old 06-26-2007, 09:11 AM   #7
Volhv
Member
 
Registered: Sep 2006
Distribution: Debian 4.0 and Ubuntu 7.04
Posts: 50

Rep: Reputation: 15
Quote:
Originally Posted by JimBass
If you insist on doing it, (it's the wrong choice, as google will be glad to confirm) google for ntbootloader and linux.

I never had any problems using ntldr for both windows and linux.
 
Old 06-26-2007, 09:19 AM   #8
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by harley51
Has anyone done this and if so can you provide step by step instructions.
Hmmm---look at this thread:
http://www.linuxquestions.org/questi...d.php?t=545900
It seems that OP was answering this question?????
 
Old 06-26-2007, 10:12 AM   #9
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Quote:
Originally Posted by JimBass
<snip>If you insist on doing it, (it's the wrong choice, as google will be glad to confirm) google for ntbootloader and linux.
Sometime you have little choice: My Gateway laptop boots a "MiniNT" that verifies the MBR and barfs when it doesnt't find the Windows loader. When it finds it, it transfers control to the ntloader on "C:" which, of course, must also be there.

When I first got the laptop, I thought I'd just deactivate hda2 (where the MiniNT lives) but, if I recall correctly, the BIOS continued to boot to hda2 even after it was no longer the active partition.

Since,at that time, I had one application that needed XP, it was easier to just split the drive and let XP have some and Fedora the rest.

One of these days I may see what if I can do better, but with fuse and the ntfs-3g driver, the XP formatted part of the drive is available from, and usable by, Fedora. In fact, I keep a lot of text file on the XP partition in an XP compressed directory. That saves some space, and I don't need to do an explicit tar before accessing a file.

Oh, note the comment about ntfs-3g. I you install that driver, your NTFS drives can be accessed with rw permission from your Linux system. So, for example, you can directly write the GRUB boot sector image to a file on the XP C: drive. No floppy, usb drive, etc., needed.

On the other side, there is an ext2fsd driver available that you can use to access ext2 or ext3 file systems from an XP system. (There is, as far as I know, no support for access to Logical Volumes from the XP side.)
 
Old 06-26-2007, 10:21 AM   #10
harley51
Member
 
Registered: Nov 2003
Location: Downey Ca
Distribution: Fedora 11
Posts: 230

Original Poster
Rep: Reputation: 30
Thank you all for your response. But volhu had the answer by using bootpart. It did what I needed to do.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Duel Booting Windows XP and Ubuntu 7.04 harley51 Ubuntu 2 05-09-2007 04:34 PM
Duel Booting Windows XP and Fedora 6 with a CD Burner Only harley51 Fedora 1 04-13-2007 08:17 PM
Booting Fedora from the Windows Boot Loader pklicnik Linux - Software 4 09-15-2004 02:09 PM
Duel Boot XP With Linux Booting From Slave Drive Toje Linux - Newbie 9 02-08-2004 03:42 AM
how to hide GRUB bootloader while booting a duel boot system ( linux/windows ) ? dommini Linux - General 0 12-03-2003 03:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration