LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-07-2001, 05:30 PM   #1
eelee
LQ Newbie
 
Registered: Dec 2001
Posts: 5

Rep: Reputation: 0
dual boot question


I'm trying to set up a win2k/linux dual boot using 2 separate hard drives.

i have win 2k on one hard drive and have bought a second hard drive for linux.

my specific question is:

my second new hard drive is setup as a primary slave
can i install GRUB onto the /boot of the slave and get the dual boot option?

or does GRUB have to be installed on a master HD.

appreciate any help
 
Old 12-07-2001, 06:15 PM   #2
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
No, if you want to dual boot you need to use the boot loader on the MBR.
 
Old 12-08-2001, 03:37 PM   #3
eelee
LQ Newbie
 
Registered: Dec 2001
Posts: 5

Original Poster
Rep: Reputation: 0
win2k dual boot

thanks for the response.

however, i've read that installing a bootloader onto the Win2k MBR doesnt work because win2k "has to own the MBR".

am i mistaken?

what kind of partition do i need to create then on the master HD that has Win2k on it.

i've read that it is a "boot" or "root" partition but i'm not sure what it is.
 
Old 12-08-2001, 04:20 PM   #4
lolmc
Member
 
Registered: Nov 2001
Location: Wirral.Merseyside - UK
Distribution: Mandrake 10.0 on desktop and 9.2 laptop
Posts: 60

Rep: Reputation: 15
Talking Happy news - maybe

Hi I have written a guide on dual booting linux with windows 2k/nt and xp and you can have a look at it with this link - http://homepage.ntlworld.com/lolmcbride/linxp.html
It uses LILO as the bootloader but it should work with grub as well as the principles are sound.
 
Old 12-08-2001, 04:23 PM   #5
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
The references to a /boot partition on the master HD is news to me, or a /root, even stranger. Since the bootloader HAS to be in the masters MBR to dual boot, that does pose a good question as to whether or not win2k needs it's own private record or not. I've not heard that to be the case, and as i'm biased towards LILO, it should take care of business just fine. I don't know much about Grub outside of it being prettier. If you really aren't sure, install your bootloader to a floppy and boot off of that for linux and you won't have any worries. But I say go for the MBR...
 
Old 12-09-2001, 12:50 AM   #6
lolmc
Member
 
Registered: Nov 2001
Location: Wirral.Merseyside - UK
Distribution: Mandrake 10.0 on desktop and 9.2 laptop
Posts: 60

Rep: Reputation: 15
Taz I know the idea of a boot or root partition is not known to everyone ( I didn't know you could boot from anywhere else till I had to on my new laptop which came with XP already installed).Never the less this does actually work and as far as I can make out booting from a location other than than the MBR is the ONLY way to get these two o/s's to work in harmony.
 
Old 12-09-2001, 05:50 AM   #7
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
taz, what lolmc is doing is using the boot loader of w2k/nt/xp to dual boot. What you do is install lilo or grub into the boot sector of the root ' / ' or /boot ( if you have a separate boot partition ) partition. Then you make a copy of the boot sector using ' dd ' and you copy this into the root directory of w2k/nt/xp and edit w2k/nt/xp's boot loader program. This is explained here .
 
Old 12-09-2001, 01:24 PM   #8
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
Nevermind me then...LOL I understand know what the question was. Thanks. I didn't know he wanted to use win2k's bootloader. Ahh well, it'll go into the memory bank upstairs..
 
Old 12-09-2001, 02:48 PM   #9
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Rep: Reputation: 46
the mighty grub

Grub is called the grand unified bootloader because it will load anything.

I use it from a floppy, because WinME (eughh!) also doesn't like to share the MBR. I understand there is a version is for Free BSD which can be loaded onto the MBR (depnding on what else you're running) but I don't bother, because the bootloader is a very small program.

When you compile the program, you get a 7.4KB file called e2fs_stage1_5 and a menu.lst which it reads from which boots the compressed image. From switching on to unpacking the image it takes about 7 seconds.

Some kids just won't share whatever. Let them alone.
 
Old 12-09-2001, 04:19 PM   #10
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
I had no problems with LILO on the MBR and now I am using GRUB on some machines, no problem there either.


win2k does not seem to care one way or the other.
as long as windows is installed before you install linux it should be able to boot.
 
Old 12-09-2001, 06:24 PM   #11
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
Quote:
Originally posted by DavidPhillips
I had no problems with LILO on the MBR and now I am using GRUB on some machines, no problem there either.


win2k does not seem to care one way or the other.
as long as windows is installed before you install linux it should be able to boot.
This is the point I was trying to make...You don't need any special /boot partitions with win2k. But alas, until i do it myself, i'll keep the piehole shut...
 
Old 12-10-2001, 05:34 AM   #12
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
this is all you need for grub to boot win2k

title Windows 2000
rootnoverify (hd0,0)
chainloader +1
 
Old 12-12-2001, 11:45 AM   #13
lolmc
Member
 
Registered: Nov 2001
Location: Wirral.Merseyside - UK
Distribution: Mandrake 10.0 on desktop and 9.2 laptop
Posts: 60

Rep: Reputation: 15

Ooops, am I right in thinking that win2K uses a FAT32 filesystem and not NTFS as NT and XP use?If this is the case then I may have led people up the garden path as the method I have been referring to is only necessary if NTFS is the windows filesystem used as Linux does not as yet recognise NTFS and cannot read or write files to this filesystem.It is possible to pass data between them but you have to use a FAT32 partition as a swap area as both NTFS and Linux can read and write to FAT32 filesystems.

FAT32 is not a problem so putting LILO or GRUB on the MBR of the HD is perfectly alright - I will amend my "so-called" help file to reflect this and my apologies to anyone if I muddied the water somewhat.
I also promise to research more thoroughly,be nice to children and small animals and seek world peace through Linux - NOT!

Sorry.

Last edited by lolmc; 12-12-2001 at 11:48 AM.
 
Old 12-12-2001, 12:00 PM   #14
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Linux can read NTFS but writing to it is experimental and you have to compile it into your kernel to get it working, not recomended by anyone. Win can read linux ext2 with the help of explore2fs but writing is not supported. Both win2k and XP can use fat32 but it slows them down, I don't know about NT4 but as win2k is really NT5 and XP is NT6 then I expext 4 can as well.
 
Old 12-14-2001, 11:31 PM   #15
eelee
LQ Newbie
 
Registered: Dec 2001
Posts: 5

Original Poster
Rep: Reputation: 0
Cool

thanks for all the helpful replies. especially the ones with the links to webpages devoted to this common linux challenge.

i got the dual boot to work great and it was much less painful than anticipated.

as outlined in the above replies, i ended up installing the Grub boot loader on the /boot partition of the slave hard drive i installed linux on (hdb1).

then, using the instructions given by LOLMC and LINUXCOOL
to copy the sectors of the linux \boot partition onto the windows 2000 \root directory (C:\) and then modify the win 2000 boot.ini.

thanks all.
i was afraid i would end up trashing one or both of my hard drives.

----

i have ended up with a new issue, however.
i think i ended up installing linux without a SWAP file.
all i see is hdb1 and hdb2.

if this is so, what is the most painless way of adding a SWAP file? short of reinstalling (took forever off ftp) and buying partition magic. is there a way?

again appreciate all the advice.
 
  


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
Dual Boot Question spaceballs Slackware 11 03-28-2005 02:54 PM
Dual Boot Question caps_phisto Linux - General 1 11-03-2004 12:41 PM
Another dual boot question flira Slackware 2 05-29-2004 02:23 AM
Dual Boot Question jwjody Linux - Newbie 3 10-23-2003 11:57 PM
Another dual boot question doug5544 Linux - Software 2 03-11-2003 08:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:13 PM.

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