LinuxQuestions.org
Visit Jeremy's Blog.
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 09-06-2006, 05:19 PM   #1
royeo
Member
 
Registered: Jun 2006
Posts: 150

Rep: Reputation: 15
How to dual boot without using MBR


I had FC-5 dual booting successfully with Windows XP Pro, sp2. But FC-5 put Grub on the MBR. Eventually I couldn't get into Windows. I think FC-5 corrupted the MBR. I just reinstalled Windows and I won't reinstall FC-5 until I learn how to install it, for dual booting, without using the MBR.

I remember reading something about needing something like NT boot loader to load Linux so you wouldn't corrupt the MBR but I don't know the name of the article or where it is.

Can somebody please tell me, in depth, what I need to do or direct me to info that will. I "googled" dual booting but most of the examples were on old technology.

Thanks,

royeo
 
Old 09-06-2006, 05:32 PM   #2
digital8doug
Member
 
Registered: Aug 2006
Location: Near Binghamton, NY-the recent FLOOD zone
Distribution: Sabayon 351, Mepis8, oSuse11.3, Kubuntu8.1, Fed10, Slack12.1 #426299 RLU
Posts: 145
Blog Entries: 1

Rep: Reputation: 15
Arrow DL GAG 4.6. Or select Advanced, put Grub on the linux part, Not in MBR

Should be able to place Grub boot loader ON the linux partition, not in MBR. During installation, change partitioning, select Advanced.
What sizes are your existing partitions??
& those planned for FC5? btw, search Dual Boot in these forums, lot better info.
Did you try using "Graphical Boot Manager" [aka GAG 4.6] to fix Grub before wiping & reinstalling (GAG 4.6)? It helped me a lot! GL

Last edited by digital8doug; 09-08-2006 at 03:30 PM. Reason: Royeo: http://gag.sourceforge.net/ DL the file, burn to CD &/or make floppy. I do not know anything about `rhgb'
 
Old 09-07-2006, 06:24 AM   #3
lurko
Member
 
Registered: Jun 2006
Location: Ontario, Canada
Distribution: Debian
Posts: 448

Rep: Reputation: 35
google "bootpart" and hit the "I feel lucky" button for a win app that'll help

"linux ntldr" (not in quotes) would be a good google for info on using windows' loader to boot other loaders. add dd to the search for info on using the dd command instead of bootpart to copy the boot sector of a partition.

you want to install the linux boot loader to the "root superblock", which might be an option without going advanced (alternative to MBR or to no loader installation at all)... I haven't used Fedora though
 
Old 09-07-2006, 08:51 AM   #4
c)mcbrutal
LQ Newbie
 
Registered: Sep 2006
Posts: 10

Rep: Reputation: 0
Well I am a linux newbie myself, but here's how I did it.

I installed LILO on the Superblock(?) of my Linux partition. I also had a copy of Slax burned to CD. I booted into Slax from the CD and then copied the boot.lnx file onto my usb memory stick. to do this I went to terminal and typed:

dd if=/dev/hda2 of=boot.lnx bs=512 count=1
(my root is on hda2 but use whatevers appropriate for your setup)

Close down terminal and go find your root folder in linux then copy boot.lnx to floppy/memory stick.

Then I rebooted and went back into windows and copied the boot.lnx file to c:\.

Depending what version of windows you are using, you then need to find the windows boot.ini file. On XP got to start->Run-> type 'sysdm.cpl'. Click advanced tab, then under startup and recovery click settings.

Add a line at the end of all the text that says:

c:\boot.lnx="Your distro of Linux here"

save it and then reboot. voila, a dual boot linux/windows box.
 
Old 09-11-2006, 08:22 PM   #5
rewtedesco
Member
 
Registered: Oct 2005
Location: Massachusetts
Distribution: Suse 10.0 /XP/ FC5 & 6
Posts: 93

Rep: Reputation: 16
I ran in a similar problem with dual boot in an FC5 installation. There seems to be only problems if one has more than one disk. On a different PC I installed before various OS's, among them FC5, and it was always completely simple to get a dual boot: The install scripts would make it almost completely automatically.

Now with two disks, I don't know how to get dual boot:
I have a Dell Dimension 4100 with the original about 20 GB disk plus an added disk with about 80 GB. Windows is on a 8 GB partition of the old disk, that is, on hda1. I installed FC5, overwriting a previously installed Suse 8.2 system, and allowed complete overwriting of all linux partitions. Now I have a working FC5 system, but to my surprise I can't boot windows anymore. Also, the 2nd disk, hdb, is not directly visible, but instead mulled into some logical device that seems to contain both the linux part on the hda as well as the entire hdb disk. Here is what I get with df:

$df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
95003304 4932000 85167576 6% /
/dev/hda2 101105 14125 81759 15% /boot
tmpfs 257724 0 257724 0% /dev/shm
$

And the following is the file /boot/grub/menu.lst:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,1)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.17-1.2174_FC5)
root (hd0,1)
kernel /vmlinuz-2.6.17-1.2174_FC5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.17-1.2174_FC5.img
title Fedora Core (2.6.15-1.2054_FC5)
root (hd0,1)
kernel /vmlinuz-2.6.15-1.2054_FC5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.15-1.2054_FC5.img
title Other
rootnoverify (hd0,0)
chainloader +1

There is nothing of windows unless it's "Other". But Other can't boot, there is
no choice during bootup.

I wonder how I get it back: As little as I like windblows, I need it occasionally. This ought to work with grub, I don't see why one would have to go back to lilo. But what's the trick?
 
  


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
Suse 10.0 / XP dual boot = mbr wipeout? russell.dexter SUSE / openSUSE 2 04-16-2006 02:09 AM
problem with MBR / dual boot AdmiralFreezbee Linux - Newbie 11 03-31-2005 04:19 AM
MBR help dual boot xp and fc2 theconfused Fedora 7 09-03-2004 06:00 PM
Dual-boot on two Hard Disks, MBR, etc admanb Linux - Newbie 4 02-06-2004 05:45 PM
Dual boot without touching the MBR? senectus Linux - Newbie 4 07-14-2003 10:17 AM

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

All times are GMT -5. The time now is 07:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration