LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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-18-2006, 10:43 PM   #1
macbet
LQ Newbie
 
Registered: Mar 2006
Posts: 2

Rep: Reputation: 0
Question Linux - Windows on two Hardisk?


After several days and plenty of mistakes I made, I could install Linux Suse 9.3 on my 10GB hard disk.

I was very happy until I had he Idea to mount another 10GB HD, where I installed Windows 98. as Master1 / Linux as Master2

Have mount it with group but it has start always in window. So I installed Linux new. It has worked but some parts of my windows were missing.

Unfortunately my hard disk with the windows pass away, and I have to do the same game again.

Before I due this game again please help
I would like to Install windows on the first and Linux on the second Drive.
Do I have to make a partition in the first Drive for the boot loader? If yes how many MB? And do I have to use the first or second partition for this?

If I Install Linux on the second drive, where will be the boot loader installed?

Thanks in advance for your help
macbet

Last edited by macbet; 03-18-2006 at 10:47 PM.
 
Old 03-18-2006, 11:15 PM   #2
pcweirdo
Member
 
Registered: Oct 2004
Location: Melbourne-ish, Australia
Distribution: Gentoo, Windows XP Pro
Posts: 58

Rep: Reputation: 15
I assume you're dual-booting and not somehow running Linux and Windows at once. That would make me cry.

My BIOS lets me choose which drive to boot from at boot-time. I think I hit F8 when I used to dual-boot. The delete key is also good, so you can tell the BIOS to boot from the second or first hard drive as you see fit.

You will need to tell Windows to infest the first hard drive and spread its hellspawn bootloader(s) all over that disk.

You can then tell Linux to politely, quietly and gently install on the second hard drive, with grub (or some kind of non-grub bootloader, if such a thing exists in this dimension) on that drive's MBR (master boot record[1]). You can set up a /boot partition as you normally would, with 30MB or 100MB or however much space your kernel and boot files normally take up. (My /boot partition on my Gentoo server takes up 5.9MB, but then Gentoo uses witchcraft and cannot be trusted.) The /boot partition will, of course, be on the second hard disk, away from Window's EVIL CAPITALIST CLUTCHES OF DEATH.

When Windows boots (that is, when you tell the BIOS to use the first disk), it will say to itself, "I am teh leet owner; I do not know what this extra disk is doing, but I can't see any pirated music on it so I shall ignore it for now." When Linux boots (that is, when you tell the BIOS to use the second disk), Linux shall say to itself, "Aha, I am running this computer! I see an NTFS partition over there, maybe the user will mount it later, but for now, I shall ignore it. NOW LET'S DOWNLOAD PORN".

I look forward to hearing how it goes.

-pcweirdo.

[1] To date I have never seen a "slave boot record", so I assume that the term MBR refers to it owning you. NOW SHINE ITS SHOES!
 
Old 03-18-2006, 11:28 PM   #3
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
The BIOS won't ask to boot from which hard drive if you have made one the master and second one as slave. It will automatically boot from the master ( obviously you will have to set the priority of booting devices).


Quote:
I would like to Install windows on the first and Linux on the second Drive.
Do I have to make a partition in the first Drive for the boot loader? If yes how many MB? And do I have to use the first or second partition for this?
no partition for the boot loader......let it go to MBR of the 1st(master) drive ( i'm not sure whether there is any slave MBR or not)

Quote:
Have mount it with group but it has start always in window. So I installed Linux new. It has worked but some parts of my windows were missing.
your windows part was missing b'coz u didn't noticed that your Suse did some resizing process with your windows partition. So better take care of it next time.
opt for the expert level when installing it......otherwise it will try to resize the primarty partition.

regards
 
Old 03-19-2006, 01:20 AM   #4
shakaz
LQ Newbie
 
Registered: Jul 2005
Posts: 3

Rep: Reputation: 0
Quote:
your windows part was missing b'coz u didn't noticed that your Suse did some resizing process with your windows partition. So better take care of it next time.
What a great "feature" ... maybe i should go back to the first distro i tried some years ago after all ;-) Reminds me of that guy who created a linux distro that looked for windows in order to erase it without any warning.


The good thing about having a /boot partition is that it's much easier to solve boot problems when they occur (after a new installation for instance). Then you can install grub/lilo on the partition of whatever linux os you're adding without risking to destroy your functional Grub on the mbr, all you have to do is update your menu.lst to reflect the new configuration.

The advantage of the 2 disk setup is that grub doesn't necesarily have to overwrite the mbr on the windows disk, so no more need to restore it if something goes wrong...
If you have the option to choose which disk to boot from in the Bios, use it!!!
First install windows on the first disk, then tell Bios to boot the 2nd disk first & install Linux on that disk & Grub on the mbr if it's not done already. However you'll have to use the swap command in menu.lst for grub to find the correct disk to boot Windows & the hard drives' notations must be adapted too, just experiment in the grub shell & you'll get it.
If the bios can't select which disk to boot you can achieve the same result by placing the Windows disk as slave once installion is completed & then installing linux on the new master.

Last edited by shakaz; 03-19-2006 at 01:23 AM.
 
Old 03-19-2006, 06:41 PM   #5
macbet
LQ Newbie
 
Registered: Mar 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for all the good tips
So soon as I have some spare hours I will try again.
If it works I let you know what I have done.

macbet
 
  


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
adding new hardisk to my linux system vikrambhimbar Linux - Software 4 12-05-2005 11:03 AM
about installing linux on a usb hardisk samgu3990 Linux - Hardware 12 11-28-2005 04:59 PM
linux setup from hardisk jasmeet93 Linux - Software 1 05-29-2005 05:27 AM
"which files to copy to hardisk for Hardisk installation " Rehan1 Linux - Newbie 9 08-21-2004 04:11 PM
problem conecting 2 hardisk with linux OS prai Linux - Hardware 2 07-18-2003 03:53 PM


All times are GMT -5. The time now is 05:04 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration