LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices

Reply
 
Search this Thread
Old 07-27-2004, 09:48 AM   #1
cragwolf
Member
 
Registered: Jan 2004
Location: arse-end of the world
Distribution: Zenwalk 2.8
Posts: 73

Rep: Reputation: 15
Tips on installing Linux on a seperate hard drive?


I'm about to install Slackware on to my computer. Currently, it is running WinXP on one hard drive. The other hard drive I haven't physically installed just yet, but I will do so shortly. It is on this latter hard drive that I plan to install Linux (I think I'm right in believing that it's a good idea to have WinXP and Linux on seperate hard drives). I'm pretty sure that I'll be able to follow the install instructions, but I was wondering if there was any extra instructions or tips that my situation (i.e. two OS's, each on their own hard drive) warrants. Or can I simply boot from the Slackware CDs, log in as root, and issue the "fdisk /dev/hdb" command (assuming that I'm going to use fdisk - I think I might use cfdisk instead - and that my new hard drive will be the primary slave), and then create partitions and follow the rest of the standard install instructions?

I just had a thought. Let's say I do the following:

1) I physically install the second hard drive.
2) I install Slackware on to this hard drive.

I assume now that on reboot I will get a choice of which OS to start up? Oh wait, this is the job of LILO isn't it? Would LILO have any problems with my setup? What happens when I start up WinXP the first time after I've done steps 1 and 2? Will WinXP go into a fit and trash the data on my Linux hard drive?
 
Old 07-27-2004, 10:07 AM   #2
jkobrien
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slackware, LFS, Ubuntu, RedHat, Slamd64
Posts: 507

Rep: Reputation: 30
Hi,

I have a dual boot with win98 on one drive and slackware on another. To set that up I moved the already installed windows drive to the slave position and installed the new drive as the master. You can then install slackware very easily, and the installation program will recognise your windows drive and add it to /etc/fstab so that you can read if from linux.

It will also take care of setting up lilo so that you can choose which one to boot into.

John
 
Old 07-27-2004, 10:10 AM   #3
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
Lilo is installed to MBR (Master Boot Record) of the first harddisk.

In general, I think you probably don't get into very big problems, because that is quite a common way to install a dualboot system nowadays.
 
Old 07-28-2004, 06:16 AM   #4
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,775

Rep: Reputation: 481Reputation: 481Reputation: 481Reputation: 481Reputation: 481
If you have important stuf in your win install and don't know exactly how to restore MBR's and boot.ini files, then the safest thing, no matter how you move/place the HD's, at first install lilo to a FLOPPY. It's a reaal pain to boot this way, but if you have problems(common) with installing lilo or whatever, you may be unable to boot EITHER OS. if you put lilo on a floppy you'll take less chances. once you get up and tunning good, then turn your mind to the detail of installing lilo to MBR and let it boot windows. Or let windows ntldr boot lilo which you've put installed on the super-block of the linux partition. Also, stick to having your box boot into runlevel 3 (No GUI login), for similar dead-loop-avoidance reasons. And use reiserfs for best recoverability of file system after any crashes or foul-ups.
 
  


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
seperate internal hard drive cerealdaemon Linux - Hardware 2 08-06-2005 01:05 PM
Installation on a seperate hard drive with win XP on the other fedoracorechris Fedora 2 04-19-2004 11:45 AM
Having problems installing linux on seperate hard drive.... Croatian0 Linux - Software 2 02-18-2004 09:34 AM
Mandrake Install on Seperate Hard Drive mbracken Mandriva 6 09-09-2003 05:20 PM
Mandrake Install on Seperate Hard Drive mbracken Linux - General 2 09-09-2003 11:41 AM


All times are GMT -5. The time now is 11:46 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration