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 guess I'm asking a real basic question here but I thought I would seek some wise advice before trashing by bootblock.
I am completely new to Linux in general, and have been playing with knoppix, and I felt that I would like to progress to a full distro. Having read around a few forums I decided to go for SuSe (although I would accept alternative advice if any were to be offered), it seems to be the most friendly for new users and is easy to set up with server software if I should need to (future project).
Anyway, on to my question, I already have a dual-boot option installed to boot between my Windows XP and Windows Vista installs (which are both installed on my primary drive), and I would like some advice on the safest way to install SuSe (or other) and incorporating it into the existing boot menu without losing my Windows boot-options. Will grub over-write the existing bootsector or will it create it's own and just chain to it? I would like some advice on this please
I have a completely seperate empty 120Gb hard drive to play with for the SuSe install, which is installed on a seperate ide controller, so my Windows installs are confined to my primary drive.
Also, do I need to create all three partitions for SuSe or can I take the option of having the swap partition on my primary drive, and a single partition on my other drive?
Do some research on how to configure the ntldr to add an option to boot SuSE, (or any other Linux distro). When you install Linux, be careful that the Linux bootloader is installed to the root partition, and not the MBR.
Linux doesn't care where the swap partition is, so long as it can access it. Indeed, if you have enough ram, you probably don't need a swap partition.
SuSE can be installed into one partition, if that's what you want. If you want to install it into several partitions (or install several distros), I'd suggest you make the entire second disk an extended partition, then subpartitions inside that to hold the distro(s) you choose to install.
Or, you can install SuSE, and install the grub bootloader to the MBR. SuSE should write the config file (/boot/grub/menu.lst) to include the windows installations. If it doesn't (I've never known it to fail), the menu.lst is easily edited manually to add windows menu entries.
Setting the default OS to boot is done in the menu.lst also. The line 'default=0' means that the first OS in the menu list is default. Change the default to 1 (second) or 2 (third) for some other OS. Or, cut and paste to rearrange the order so that the default of your choice is first in the list.
Search these boards to find thousands of threads on the issue of dual boot: windows and Linux.
There is a timeout (usually 'timeout=8') which gives you 8 seconds to choose which to boot, or let the default boot when the timeout expires. Change the timeout to any value you choose.
Last edited by bigrigdriver; 02-28-2007 at 12:34 PM.
Thank you, that is very helpful. I wasn't aware that I could install SuSe without installing grub into the mbr, I assumed that I had to use the grub bootloader and then chain to the windows bootloader.
My original thinking was to install SuSe to the second drive, then use the bios boot priority option to boot the pc to the first or second drive independantly, thus by-passing any tri-boot problems.
I did try an install "dry run" before posting to this forum, but I got a little concerned when I chose the option not to install the grub bootloader, and a message came up telling me the system may not boot, so I cancelled and came here for help before I broke something
I will certainly examine the boards closely for similar issues and will post a general reply back as to my success (or failure).
I will, of course, mirror my primary drive before trying any of this
Just a quick note for other members, if you need to mess about with bootloader options for Windows Vista, and you are already dual-booting with xp (like me ), then DON'T play with the boot.ini file in the xp partition!
If you want to manually add a menu item to the Vista bootloader to include your Linux distro (as kindly suggested above) in the Vista bootloader, then boot into Vista and use the bcedit.exe program to do so. Failure to do this will result in a trashed bootblock!
I haven't trashed mine but I share this info for other newbies who may want to use this method. I think it would be safer and easier to use the grub option as suggested above and let it deal with the bootloader options. I will be trying this as soon as I have backed up my primary drive.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.