LinuxQuestions.org
Review your favorite Linux distribution.
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 03-08-2006, 03:41 AM   #1
mrvikki
LQ Newbie
 
Registered: Mar 2004
Posts: 21

Rep: Reputation: 15
Yet another dual-boot question...


Hi I found this really good web page http://www.geocities.com/epark/linux...w2k-HOWTO.html and it answered many of my questions. However, it said one thing I was hoping isn't true anymore:

"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...

thanks for the advice!
 
Old 03-08-2006, 06:37 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,762

Rep: Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587
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.

Regards
 
Old 03-08-2006, 08:08 AM   #3
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 57
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
 
Old 03-08-2006, 08:58 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by mrvikki
"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
 
Old 03-08-2006, 04:11 PM   #5
mrvikki
LQ Newbie
 
Registered: Mar 2004
Posts: 21

Original Poster
Rep: Reputation: 15
I see, thanks for the advice.

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?
 
Old 03-08-2006, 04:39 PM   #6
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 54
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.
 
Old 03-08-2006, 05:15 PM   #7
mrvikki
LQ Newbie
 
Registered: Mar 2004
Posts: 21

Original Poster
Rep: Reputation: 15
if I install lilo to the mbr on the second drive do I even need a /boot partition?
 
Old 03-08-2006, 05:35 PM   #8
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 54
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.

Last edited by jomen; 03-08-2006 at 05:43 PM.
 
  


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
Yet another dual boot question nonoitall Linux - Newbie 5 03-03-2005 05:04 AM
Dual Boot question eggoz Linux - General 4 03-28-2004 09:00 PM
Another Dual Boot QUestion goodwyne Linux - General 8 12-03-2002 02:53 PM
question about dual-boot linuxnewbie00 Linux - Newbie 3 03-20-2002 12:22 PM
Dual Boot question (?) wolfze Linux - General 1 02-10-2002 11:45 AM


All times are GMT -5. The time now is 05:57 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