Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-14-2004, 12:21 PM   #1
LQ Newbie
Registered: Feb 2004
Posts: 3

Rep: Reputation: 0
Dual Booting - Please Reply Fast

I have downloaded my set of 7 Debian 3.0r2 installation discs and am ready to install. I just want to know, how will i know which hard drive i will install to during the installation? I have a master and a slave drive and wish to install debian to the slave drive. Also after installing Debian will i still be able to boot windows xp? I accidentally installed xp on the wrong partition but on the same hard drive as my old os a while ago and it allowed me to select between windows me and xp at boot up, will this be the same if i dual boot with windows xp and debian but on seperate hard drives or will i have to do something to be able to do this and if so what?

Old 02-14-2004, 12:26 PM   #2
Registered: Jul 2003
Distribution: Fedora Core 4
Posts: 107

Rep: Reputation: 15
I'm not SURE, but, hda should be your main drive, and hdb should be your slave.. Not positive though...

However, I do know the answer to your second question

Install lilo for a boot loader. In order to boot windows from that, just put the following at the bottom of /etc/lilo.conf


Then run /sbin/lilo

Thats assuming windows is on hda. If its on hdb, then change it to /dev/hdb.
Old 02-14-2004, 12:57 PM   #3
LQ Newbie
Registered: Feb 2004
Posts: 3

Original Poster
Rep: Reputation: 0
thanks alot
Old 02-14-2004, 07:04 PM   #4
Senior Member
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Debian + Ubuntu
Posts: 4,358

Rep: Reputation: 57
Just to clarify:

Unlike Windows where the 'drives' have semi-arbitrary names, Linux gives sensible names to your devices, but you need to know what you have in order to understand them.

Most computers come with 2 IDE controllers, so you can have 4 devices. These are called as follows:
/dev/hda = Primary Master
/dev/hdb = Primary Slave
/dev/hdc = Secondary Master
/dev/hdd = Secondary Slave

Partitions on your harddrive(s) will also be shown. These, too, are numbered sensibly:
/dev/hda1 = First partition on your primary master
/dev/hda2 = second partition on your primary master

The only thing to look out for is if it suddenly jumps from /dev/hda2 to /dev/hda5. This is not a problem. If your system looks like that, then it is likely that you have set up hda1 as a primary partition, hda2 as an extended partition and hda5+ will be logical partitions held within hda2. Makes sense?

As for booting Windows after you've installed Debian. Shouldn't be a problem. If the bootloader doesn't detect Windows and add an entry for it automagically, you can do so when you boot up into Debian. And please make a boot floppy. Please.


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
Need reply as fast as possible:My up2date is stalled,don't know if I should reboot LeiGet Linux - Newbie 1 07-19-2005 09:56 PM
Fast Booting Boffy Linux - General 2 07-14-2004 07:59 AM
Fast booting in Linux saurya_s Linux - Software 10 01-17-2004 03:36 AM
post reply & submit reply buttons annehoog LQ Suggestions & Feedback 10 01-05-2004 06:43 PM
changing file permissions(fast reply required) Xing Linux - Software 11 09-18-2003 11:44 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:44 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration