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.
"If you have multiple hard drives (disks), /boot must be on the same hard drive (probably the first hard drive) that has the Windows boot loader (NTLDR) on the MBR."
I was planning to install a linux distribution onto a second harddrive and not mess with the windows partition at all. Is there no way to both install LILO or GRUB on the Linux drive and use that to boot the windows partition on the other drive? Must LILO/GRUB in a boot sector be on the same drive as Windows? I can make the linux drive master and the windows drive slave if that would help...
You can do whatever you want butkeep in mind that Windoze must be (or think it is) installed on your first hard drive. So you have the following alternatives:
1. Put Windoze on the first drive and use ntldr to boot linux on the 2nd drive
2. Put Linux in the first drive and use lilo/grub to boot Windoze. To fool Windoze that it's on your 1st disk you must use the map-drive option in /etc/lilo.conf (I don't use grub so I don't know the grub option).
3. If you have a recent BIOS you can boot whatever drive you want. Again put Windoze on the primary disk.
Windoze... is that like falling asleep halfway through a window? It doesn't look cool, I promise you.
In answer to the question, /boot doesn't need to be on the first drive. I have a seperate partition for my /boot and it's on the second drive and running quite happily. Mind you I don't have Windows on my first drive it's FreeBSD but well, you get the picture
"If you have multiple hard drives (disks), /boot must be on the same hard drive (probably the first hard drive) that has the Windows boot loader (NTLDR) on the MBR."
Is wrong.....
I wonder if they are referring to using NTLDR to dual-boot Linux? Even then, I think it is wrong
So I can tell bios to boot my second hard drive and then simply install LILO to the /boot on the second drive and tell LILO to boot Windows on the first disk?
Quick follow up question. How big should I typically make the /boot partition?
A /boot partition can be small - its basically a matter of how many kernel-images you want to store there.
Mine is 32 MB
If I read you correctly:
you got something wrong!
Quote:
simply install LILO to the /boot on the second drive
this will not work!
If you want to it like described - set BIOS to boot off the second HD and use lilo to boot your system then it must be installed to the MBR of the disk - else nothing will boot.
No.
It is just convenient to have one.
This way, when you have multiple operating-systems installed, the administration is easier, because there is just one place where you can keep all kernels - and in particular useful if you use grub as boot-loader, since it installs its files also to /boot.
Any boot-loader is best installed to the MBR - one at least, be it lilo or grub or NTLDR - this one then has to be set up to be able to get to the others.
If you like to, you can do all this with NTLDR from windows - but I personally don't know how this would be done exactly.
To me, grub is the easiest to set up and very reliable. You can even boot a OS which is not in the configuration-file because it has a command-line interface right at the boot-prompt.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.