LinuxQuestions.org
Help answer threads with 0 replies.
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 07-31-2006, 10:37 PM   #1
mrzack
Member
 
Registered: Jun 2006
Location: Pennsylvania
Distribution: Slackware 12, Ubuntu 7.10, OpenSuse 10.3, Fedora 7, Backtrack 3 (beta)
Posts: 31

Rep: Reputation: 15
Linking two hard drives, one formatted with Slackware 10.2 the other Windows XP


I have a hard drive with Slackware Linux v10.2 and another with Windows XP Pro. I was wondering if there was any software or a way to allow me to connect my two hard drives without having to reinstall.
 
Old 07-31-2006, 11:09 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 19,705

Rep: Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548
Better explain (further) what you are trying to achieve - then maybe we can help.
 
Old 07-31-2006, 11:35 PM   #3
mrzack
Member
 
Registered: Jun 2006
Location: Pennsylvania
Distribution: Slackware 12, Ubuntu 7.10, OpenSuse 10.3, Fedora 7, Backtrack 3 (beta)
Posts: 31

Original Poster
Rep: Reputation: 15
Sorry about being vague. I want to do something like a dual boot, but I wasn't sure if that would be possible to do with two seperate hard drives. Currently I have been opening up my computer and swapping drives each time I need to access either Windows or Linux, and it's becoming moderately frustrating.
 
Old 08-01-2006, 01:01 AM   #4
zetabill
Member
 
Registered: Oct 2005
Location: Rhode Island, USA
Distribution: Slackware, Xubuntu
Posts: 348

Rep: Reputation: 32
Install lilo to the slackware drive:

Set up lilo.conf to look for your slackware kernel(s) and to look at the windows "partition" I don't have a windows partition/hard drive on this computer so my lilo.conf doesn't have that syntax and I don't want to misinform you... but it's on the site here. Then run lilo. If it doesn't have any errors then reboot and change your bios settings so that the boot setup looks at the slackware drive before the windows drive and it should work.

I'm not sure but I would leave the windows drive where it was when you installed it originally... i.e. if it was on primary-master (hda) when you use windows than you should leave the windows drive on primary-master. It's just easier to change slackware's /etc/fstab before you reboot.
 
Old 08-01-2006, 02:54 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 19,705

Rep: Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548
Physically moving the drives in nuts - things break that way.
As suggested, the same can be achieved by changing the BIOS boot disk order. Best solution is to (permanently) change it to allow the Linux disk to boot, than add a windows option. I don't use lilo, but when I did it was simple - a quick search should find it.
And yes, the Windows disk should remain as the primary master (i.e. on the actual cable).
Be aware that if you ever update XP via a service pack or new version (say Vista), you'll need to change the boot order to have the Windows disk as the boot disk prior to doing the update.
After that you can safely swap back to your Linux disk.
 
Old 08-01-2006, 01:19 PM   #6
zetabill
Member
 
Registered: Oct 2005
Location: Rhode Island, USA
Distribution: Slackware, Xubuntu
Posts: 348

Rep: Reputation: 32
Quote:
Originally Posted by syg00
Be aware that if you ever update XP via a service pack or new version (say Vista), you'll need to change the boot order to have the Windows disk as the boot disk prior to doing the update.
After that you can safely swap back to your Linux disk.
Do you mean that the Windows bootloader needs to be there or that the computer boots to the bootloader on the windows disk regardless of what it is?
 
Old 08-01-2006, 04:37 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 19,705

Rep: Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548
No, the loader code isn't the problem - the installer looks for windows on the (BIOS) boot disk.
If it doesn't find it, the install fails. If it does work, it re-writes the MBR - so the scenario suggested above avoids problems all round.
 
Old 08-01-2006, 04:46 PM   #8
slantoflight
Member
 
Registered: Aug 2005
Distribution: Smoothwall
Posts: 283
Blog Entries: 3

Rep: Reputation: 35
Its even easier with two seperate harddrives. That way you don't even have to worry about resizing partitions. And if either drive is fried you still have one working OS.

Simply fdisk to find out your partition names. And edit lilo.conf

boot=/dev/your device name here
prompt

Then run lilo. Your done.
 
Old 08-01-2006, 05:09 PM   #9
harrygraham
Member
 
Registered: Apr 2001
Location: Ottawa, Canada
Distribution: Mint Cinnamon AMD64
Posts: 157

Rep: Reputation: 18
bootpart

There are a number of ways to solve this problem. One is to use a little windows program like bootpart (http://members.aol.com/gvollant/bootpart.htm) to boot the Linux partition from Windows. Another is to boot the windows partiton from Linux, which is the best. Another is to boot you Linux partition from a floppy boot disk. Whatever you choose, make sure that only one hard disk drive (the Windows disk) is active.

What I think is best is if you, as suggested, do not change your Windows setup. Keep Windows as your first hard drive. Reinstall Linux on the second hard drive and when setting up the partitions, toggle its active switch to off. There should only be one MBR per computer or you end up having to do a lot of juggling, as you've experienced. After Linux installs, choose to install the bootloader to the master boot record (MBR) of the Windows hard disk if you want Linux to boot both Windows and Linux. If you'd rather play it safe and boot into Windows first, install the bootloader to the root partition of second hard drive and then use either a floppy, or the bootpart program to boot into Linux.

Hope this helps,


Harry
 
Old 08-07-2006, 12:46 AM   #10
mrzack
Member
 
Registered: Jun 2006
Location: Pennsylvania
Distribution: Slackware 12, Ubuntu 7.10, OpenSuse 10.3, Fedora 7, Backtrack 3 (beta)
Posts: 31

Original Poster
Rep: Reputation: 15
Thank you all for the help. I went with the LILO boot loader option. I was also referred to a video and article explaining how to set up the hard drives on a switch. I now have that working along with the boot loader.
 
  


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
x86 Linux that reads Mac formatted hard drives? Kushan Linux - Newbie 1 12-26-2005 03:37 PM
Partitioning two hard drives for slackware m.vanes Slackware 9 09-23-2005 08:35 AM
windows formatted hard drive motaguense Linux - Hardware 3 09-15-2004 04:49 PM
How to mount windows drives (NTFS formatted) to linux? djadhav Linux - Software 5 03-28-2004 11:23 AM
installing slackware with two hard drives jonnyfive Linux - Newbie 6 09-23-2003 08:22 AM

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

All times are GMT -5. The time now is 06:56 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
Open Source Consulting | Domain Registration