Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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 02:30 PM.
Reason: Royeo: http://gag.sourceforge.net/ DL the file, burn to CD &/or make floppy. I do not know anything about `rhgb'
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
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.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.