Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-01-2008, 03:49 AM   #1
LQ Newbie
Registered: Mar 2007
Location: bangladesh
Distribution: Ubuntu 6.06
Posts: 12

Rep: Reputation: 0
dual boot

i have i have two hd. one have winxp installed and in other fedora 6 with win 98. i can dual boot win98 or fedora using the 2nd hd but when i use both the hd winxp starts automatically.

my question is can i configure grub in some way so that i can boot winxp, fedora , win98. how should i connect my two hd then.
Old 02-01-2008, 04:33 AM   #2
Registered: Apr 2005
Location: France
Distribution: Debian
Posts: 128

Rep: Reputation: 19
Yes, of course it is possible.

What I would do, if I were you, would be to use the windows bootloader with grub here, that way you do not have to change much hardware-wize ...

First, find out what your drive is called with fedora/windows98 ... I guess it is hdb - but there is no way I could know ;-) - it could also be sdc.

to find out, boot into fedora and type

check to see which drive is mounted as /boot, if there is non, check wich drive is mounted as /

dd if=/dev/hdb1 of=/path/to/windows98/partition/bootsec.lnx bs=512 count=1

(make sure you replace hdb with whatever you find)

you take the /path/to/windows98/partition/bootsec.lnx file and put it onto your c drive in windows xp, you should be able to access the windows98 partition from within xp.

In windows xp, open cmd.exe and type

attrib -R -S -H C:\boot.ini

In notepad open c:\boot.ini and you add a line like the following:
c:\bootsec.lnx="Linux and Windows 98"

save, once that is done, go back to cmd.exe

attrib +R +S +H C:\boot.ini
attrib +R +S +H c:\bootsec.lnx
Old 02-01-2008, 07:40 AM   #3
Larry Webb
LQ Veteran
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
I may be misunderstanding, but here is an article explaining the boot system and how to's.

There are several different ways to accomplish the same thing but the best about this setup is that any upgrades won't bother your boot. You boot the partitions instead of the operating systems.
Old 02-12-2008, 04:40 AM   #4
LQ Newbie
Registered: Mar 2007
Location: bangladesh
Distribution: Ubuntu 6.06
Posts: 12

Original Poster
Rep: Reputation: 0
here is the reply i got from mount

/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hdc7 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/dev/hdc1 on /mnt/Windows/C type vfat (rw,umask=0000)
/dev/hdc5 on /mnt/Windows/D type vfat (rw,umask=0000)
/dev/hdc6 on /mnt/Windows/E type vfat (rw,umask=0000)

where should i put

dd if=/dev/hdb1 of=/path/to/windows98/partition/bootsec.lnx bs=512 count=1

and i can not find bootsex.lnx



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 linux boot and dual windows boot together? Stuart36 Linux - General 8 05-02-2007 12:53 AM
When I boot my comp. (dual boot sys-Suse 10.1 & Win XP) the first boot stalls. philip niedermeyer Linux - Desktop 5 11-13-2006 07:04 PM
Installing dual Boot 98/Linux - WONT 'LILO' Dual Boot !? L1nux3d Linux - Laptop and Netbook 15 02-11-2006 06:36 AM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 02:44 PM
hOw to dual boot linux suse with a dual boot win98/xp pc walterkai SUSE / openSUSE 1 12-14-2004 06:04 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:17 AM.

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