LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-16-2002, 08:14 PM   #1
ssg
LQ Newbie
 
Registered: Apr 2002
Location: India
Posts: 1

Rep: Reputation: 0
Dual Booting


Yesterday I tried to install Win XP Pro along with Red Hat 7.2. the hard disk is 40 GB.I installed XP in the primary partition with NTFS format and alloted 30 GB to it.Then I installed Red Hat 7.2 in the rest of the drive.
I distributed the files like this:-
/dev/hda
start
HDA 1 end size type mount point
1 3825 30004 NTFS/HPFS
HDA 2
3826 3832 55 EXT 3 BOOT
HDA 3
3833 4798 7578 EXT 3 /
HDA 4
4799 4865 526 EXTENDED
HDA 5
4799 4865 526 SWAP
I used GRUB in the MBR.
ADDED THE FOLLOWING LINE TO
/etc/grub.conf
title windows xp
root(hd0,0)
make active
chain loader +1
After installation I am getting only Red Hat option.XP is totally missing.Any help will be appreciated.Thanks in advance.
 
Old 04-16-2002, 08:31 PM   #2
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
Make your windows xp section:

title windows xp
root(hd0,0)
make active
chain loader +1

Look like this:

title windows xp
rootnoverify=(hd0,0)
makeactive
chainloader +1

Note that there are no spaces in ' makeactive ' and ' chainloader '.
 
Old 04-16-2002, 08:32 PM   #3
pbharris
Member
 
Registered: Apr 2001
Location: chicago, IL
Distribution: debian, redhat
Posts: 280

Rep: Reputation: 30
i have never tried it- i don't use windows, but the people at techimo wrote this:

Quote:
Want to dual boot W2K & Linux ? -thanks linux_guru

(originally posted by linux_guru)


OK. Here's how you do it. No 3rd party boot managers required.

1. Install W2K first. Leave enough room for Linux. (2 Gb +) This can be on the same disk, or a separate disk.

2. Install Linux, using "expert" mode. This gives you greater control over your installation.

3. When you install your Linux boot loader, choose LILO, not grub. DO NOT select MBR. Choose first sector of your root ( / ) partition. This will be /dev/hda2 if on the same disk, or /dev/hdb1 if on your second disk, etc.

4. Make the boot floppy, during the Linux installation.

5. When the Linux install is complete, reboot using the floppy created during installation.

6. With Linux up, insert a fresh DOS formatted floppy and mount it with "mount -t msdos /dev/fd0 /mnt/floppy".

7. Enter "dd if=/dev/hdb1 of=/mnt/floppy/bootsect.lin bs=512 count=1". This may vary, depending where your / partition is. Unmount the floppy & reboot.

8. W2K will come normally. Copy a:\bootsect.lin to c:\bootsect.lin

9. Edit c:\boot.ini to include: C:\bootsect.lin="Linux"

10. Done ! You should now have the option of booting W2K or Linux, using the W2K bootloader.

I have tested this with W2K Pro and Mandrake 7.2 and it works great.

Good luck.
 
  


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
Dual Booting SuSE 9.2 & XP Pro/dual hard drives The_Bug Linux - General 3 01-04-2006 05:44 PM
dual booting with 2 hd longbow99 Linux - Newbie 14 11-20-2004 01:47 AM
Dual dual booting with Suse 9.1 pro and windows 98SE UDflyer Linux - General 1 07-30-2004 02:37 PM
Are you dual booting and Windows stopped working (booting) then here's the answer: rberry88 Linux - General 1 02-12-2004 09:05 AM
booting ,dual booting kmadhukar Linux - Newbie 1 02-02-2002 09:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:32 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