LinuxQuestions.org
Review your favorite Linux distribution.
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-21-2003, 01:21 PM   #1
poison5151
Member
 
Registered: Mar 2003
Distribution: Red Hat 8.0
Posts: 60

Rep: Reputation: 15
Arrow Triple booting?


I am trying to get a single boot loader to boot 3 operating systems - windows ME, windows XP, and Linux redhat 8.0
Right now I have the option of booting either ME or XP with the xp boot loader - ntldr. However, I also need to boot linux. The thing is NTLDR doesnt support non-microsoft operating systems, and GRUB would just give the option for booting linux or windows and then another prompt by NTLDR would ask me if I want to boot me or xp. Is there anyway to boot all 3 operating systems from a single screen? Right now I would rather use GRUB although I don't mind LILO. Any suggestions will be appreciated.
 
Old 04-21-2003, 01:52 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Ye grub can do it - search the forum there are lots of questions about booting xp from GRUB.
 
Old 04-21-2003, 02:03 PM   #3
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
Although you can do it, still if you choose to boot XP you'll be prompted to boot either XP or ME, because the XP loader will prompt you to do so. There is a work around for this:
Under the system (right click my computer) and where the VM and Registry settings are (do not remember right now the name of the tag) you can choose if you want the boot loader to wait so you can choose another OS, you can specify the number of seconds for it wait, just set it to 0, so you can boot automatically to XP

To boot ME, just add an entry to your grub.conf similar to that of XP, but pointing to the partition ME is installed in

Last edited by Thetargos; 04-21-2003 at 02:04 PM.
 
Old 04-21-2003, 02:27 PM   #4
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 52
if your linux installation is in hda4 and you have installed
lilo in the boot record of hda4, from linux you can
dd if=/dev/hda4 of=bootlin.bs bs=512 count=1
and copy the bootlin.bs file to the windows partition

to your boot.ini on the windows boot drive add,
c:\pathtofile\bootlin.bs="Linux"

you can name the file whatever you wish, but add
the path to it in ntloader's boot.ini

Last edited by whansard; 04-21-2003 at 02:29 PM.
 
Old 04-21-2003, 02:41 PM   #5
poison5151
Member
 
Registered: Mar 2003
Distribution: Red Hat 8.0
Posts: 60

Original Poster
Rep: Reputation: 15
Thanks a lot -- excellent help. So far I can either use grub or ntldr. I think I will use NTLDR. The only problem is I can't boot Linux. Grub got fried when NTLDR was put in my MBR. Even though I know this is a newb question -- how do I boot Linux without the rescue diskette? I still have the original cd's but they get me to a shell prompt that doesn't do anything. Thanks in advance
 
Old 04-21-2003, 02:44 PM   #6
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
At that shell prompt you have to either edit your boot loader, reinstall it to the MBR, or run the atypical set of dd options to add the image to your NTLDR (mentioned if you search for ntldr)

Cool
 
Old 04-21-2003, 03:11 PM   #7
poison5151
Member
 
Registered: Mar 2003
Distribution: Red Hat 8.0
Posts: 60

Original Poster
Rep: Reputation: 15
ok, what i will do is go and get me a floppy disk and then make it bootable. the shell prompt that the cdrom provides doesn't even support the dd or grub commands. my only other question is how to install grub on the first section of the linux partition (not in the mbr)?
 
Old 04-21-2003, 03:16 PM   #8
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
With the CD you can get into the rescue console by typing "linux rescue" (without " ") at the main boot screen. Then chroot /mnt/sysimage.

Then type grub-install /dev/hdxx<-- your linux partition here.

Last edited by Thetargos; 04-21-2003 at 03:17 PM.
 
Old 04-22-2003, 06:29 AM   #9
poison5151
Member
 
Registered: Mar 2003
Distribution: Red Hat 8.0
Posts: 60

Original Poster
Rep: Reputation: 15
dd: opening 'dev/fd0/bootlin.bs': Not a directory
??????????????????????????????????????
 
Old 04-22-2003, 06:32 AM   #10
poison5151
Member
 
Registered: Mar 2003
Distribution: Red Hat 8.0
Posts: 60

Original Poster
Rep: Reputation: 15
p.s. grub is installed and boots just fine when I activate the linux boot partition. However, I have to reactivate my Windows ME partition every time I want to boot windows. This is a temporary problem though, until I figure out how to write that image file on a floppy.
 
Old 04-22-2003, 02:49 PM   #11
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
With mkbootdisk.
Code:
man mkbootdisk
To see where are you failing
 
Old 04-22-2003, 02:53 PM   #12
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
PS: Why are you using a Floppy disk to boot if you can activate your partition through grub directly within linux? Just add an entry simlar to that of windows XP, but with the partition number of ME, that would be all.
I suppose your initial boot loader is grub, then it starts ntload and from then you can go to ME, right?

Last edited by Thetargos; 04-22-2003 at 02:54 PM.
 
Old 04-22-2003, 02:57 PM   #13
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 52
that dd command would write a file to a directory.
in that case, you should have mounted the floppy,
perhaps at /mnt/floppy, and written the file there,
not to a device node.
mount /dev/fd0 /mnt/floppy
dd if=/dev/hda4 of=/mnt/floppy/bootlin.bs bs=512 count=1

keep in mind that if you didn't already install lilo or grub
into the bootsector of hda4, this command will just
be copying crap to a file.
in general, i would suggest,
booting the cdrom in rescue mode.
mounting your root partition somewhere ( /mnt/root)
for example mkdir /mnt/root ; mount /dev/hda4 /mnt/root
then editing your lilo.conf ( pico /mnt/root/etc/lilo.conf )
to boot from /dev/hda4 instead of /dev/hda (this is just for example. i don't know where your linux partition is)
then reinstalliing lilo. ( chroot /mnt/root lilo ) would probably work.
then running the dd command to make a copy of the bootsector to a file, and putting it in your windows partition and adding the entry to boot.ini
 
Old 04-22-2003, 03:14 PM   #14
poison5151
Member
 
Registered: Mar 2003
Distribution: Red Hat 8.0
Posts: 60

Original Poster
Rep: Reputation: 15
To thetargos -- no, my boot loader is NTLDR and I am trying to configure it to recognize Linux. whansard - thanks for the help I will try it out now. My linux /boot partition is /dev/hda2 and I have grub installed in there. Going to switch to Windows now and hope this works. Once again thanks for everyone who replied to this thread.
 
Old 04-22-2003, 03:20 PM   #15
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 52
i thought i saw from your first post that grub overwrote your xp loader, so i have my doubts about your grug installing in the root of your linux partition. i'm no good at configuring grub, so i can't tell you what line to chage before reinstalling it, before you copy the bootsector.


sorry, my mistake, don't read the above.

Last edited by whansard; 04-22-2003 at 03:21 PM.
 
  


Reply


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
Triple booting - Is it possible?? JSLayton Linux - Newbie 34 10-07-2006 11:16 PM
triple booting jag2000 Mandriva 2 02-02-2005 01:23 PM
Help with triple booting frontier1 Linux - General 2 12-19-2003 06:15 AM
Triple booting conquered...and I did it my way! rberry88 LinuxQuestions.org Member Success Stories 2 10-21-2003 12:25 AM
Help with triple booting eculbert Linux - Newbie 7 09-13-2003 11:28 AM


All times are GMT -5. The time now is 09:30 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration