Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
Need some advice.
I have a PC with WINDOWS XP Home edition. I want to install SUSE 9.1 and have a dual boot option.
I have two hard disks in this machine. One for Windows XP and the second HD has been added for SUSE 9.1.
When I launch the intallation of SUSE 9.1 from the first disk (I have the CDs), SUSE by default try to install itself in the "first" hard disk (hda-the one with windows) proposing to resize the hard disk. So I manually configure SUSE so that it install in the "second " hard disk (hdb). No problem. It partitions automatically the hdb.
Then I look at the BOOT LOADER SETUP. By default it install the boot loader (GRUB) in the first hard disk (hda). I would prefer to make as little changes as possible to the hard disk with Windows.
So I would prefer changing where the boot loader is intalled. I have two choices:
1) instal it in the "Boot sector of boot partition" of the second hoard disk (/dev/hdb6)
2) install it in the floppy disk (/dev/fd0)
Any suggestion what is best?
There is also an option called "DEFAULT SECTION". Now is is LINUX.
There is another option called "AVAILABLE SECTIONS:" Linux (default), Windows, Floppy, Failsafe, Memory Test.
You could make a generic grub boot floppy which is kinda handy as you can use on most any system that I know of. This will allow you to repair your boot loader in the MBR.
Code:
fdformat /dev/fd0
mke2fs -m 0 /dev/fd0
dd if=/boot/grub/stage1 of=/dev/fd0 bs=512 count=1
dd if=/boot/grub/stage2 of=/dev/fd0 bs=512 seek=1
Boot the floppy to the grub prompt. ( grub > )
Enter root directory and mbr information. For example...
root (hd1,1)
setup (hd0)
In that example, my linux root (hd1,1) means the root partition is on the second hard drive and the second partition. You should have that information before hand.
Setup (hd0) means that I am using /dev/hda ( the MBR ) instead of a /boot partition.
hi:
i saw this question and had to reply.
i have some experience with this, since i've
spent about the last 10 hours messing around
with my stupid computer to get it to work.
i had windows xp on one hard drive.
i added another hard drive for suse 9.1.
i followed the installer's suggestions for everything,
which wanted to install grub on /dev/hda (xp drive)
and linux on /dev/hdb (suse drive).
when i rebooted, the computer just said "grub"
and wouldn't boot into either o.s.
very bad stuff.
i had to re-run the installer and change the boot loader options
to install not on the mbr but on the first sector of the boot record
or whatever.
incidently, at one point later on i was reinstalling windows xp
on the xp drive. can you believe that the xp setup kept saying that there were
"no xp compatible partitions available." there WERE, since i hadn't changed any partitions.
what's the issue?
i had a very suspicious thought which turned out to be correct:
i unplugged the linux drive from my computer and then tried to install xp,
and this time it had no problem with my partitions.
meaning, if windows xp can SEE a linux partition anywhere, EVEN IF it's not on
the drive you're installing windows xp to, it can/will refuse to install.
you have to hide the linux hard drive, then install windows xp, then install linux.
can somebody say lawsuit?
anyway, just a note to say that following all the suse recommendations can sometimes leave your computer unable to boot.
no need to freak out, just re-run the installer and change the boot loader location until you get it right. there's probably a way to just fix it by using grub-install
instead of reinstalling everything, but i don't know how yet.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.