LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 02-01-2008, 02:49 AM   #1
spagoti13
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, 03:33 AM   #2
thecarpy
Member
 
Registered: Apr 2005
Location: France
Distribution: Devuan, Suse, Slackware
Posts: 130

Rep: Reputation: 21
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
mount

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

cd\
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

cd\
attrib +R +S +H C:\boot.ini
attrib +R +S +H c:\bootsec.lnx
 
Old 02-01-2008, 06: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.

http://www.justlinux.com/forum/showt...hreadid=147959

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, 03:40 AM   #4
spagoti13
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

thanks
 
  


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 linux boot and dual windows boot together? Stuart36 Linux - General 8 05-01-2007 11:53 PM
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 06:04 PM
Installing dual Boot 98/Linux - WONT 'LILO' Dual Boot !? L1nux3d Linux - Laptop and Netbook 15 02-11-2006 05:36 AM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 01:44 PM
hOw to dual boot linux suse with a dual boot win98/xp pc walterkai SUSE / openSUSE 1 12-14-2004 05:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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