Welcome to the most active Linux Forum on the web.
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 04-01-2005, 02:00 PM   #1
Registered: Feb 2005
Location: Pennsylvania
Distribution: Debian (maybe)
Posts: 237

Rep: Reputation: 30
Debian install with 2 Hard Drives

I've been away for a couple of weeks and since I had such a difficult time trying to get Debian to recognize or mount a second HDD, which it would never do no matter what instructions I followed, after the initial installation I decided to just reinstall Debian Sarge from scratch.

But, during the install Debian only allowed me to clean the SCSI HDD for its use and wouldn't let me do anything with the second IDE HDD. Instead Debian insisted on a Dual Boot installation with GRUB.

I do not want a Dual Boot system, so now I am trying to find out how to have Debian repartition the second drive so it can be used by Debian.

Any help will be greatly appreciated.

Old 04-01-2005, 04:58 PM   #2
Senior Member
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 46
Does the system see the second drive? If it does you can partition it with fdisk /dev/hdX (where X is your disk's ID), then just mkfs on it and add it to fstab.

Last edited by sigsegv; 04-02-2005 at 07:35 AM.
Old 04-02-2005, 03:59 AM   #3
Registered: Nov 2004
Location: Turku, Finland
Distribution: Debian, Ubuntu, Gentoo
Posts: 388

Rep: Reputation: 30
You can put your another harddrive to use like this (in this example first HD is /dev/sda, second /dev/hda). You'll have to do all of this as root.

1) Optional: Install "cfdisk" and/or "qtparted" (last one works in XWindows only)

2) Run "cfdisk /dev/hda", "fdisk /dev/hda" or run "qtparted" and choose "hda"

3) Erase all existing partitions

4) Create a new partition(s), make sure it's partition type is "Linux", pay attention to the partition number(s)

5) Commit changes (write partition table to disk)

6) Run mkfs.ext3 /dev/hda1 (or several times, once for each partition number)

7) Add a mountpoint for your new partition, for example "mkdir /newpartition"

8) Add an entry to /etc/fstab. Basically simple copy-pasting, but check "man 5 fstab" to be sure

9) Try mounting the partition with "mount /newpartition" or "mount /dev/hda1"

If that does not work then nothing will
Old 04-04-2005, 09:24 AM   #4
Registered: Feb 2005
Location: Pennsylvania
Distribution: Debian (maybe)
Posts: 237

Original Poster
Rep: Reputation: 30
How to not have Dual Boot installed.

Thanks for the info.

But, how do I get the Debian to install without the Dual Boot GRUB? I do not want a dual boot system. I will only be using Linux on this machine.

I figured out that I had to boot with a Windows 98 floppy and use Microsofts FDISK to remove all hard Drive partitions.

Something Linux would not allow me to do. So, I guess I'll keep the Microsoft utilities handy for little work-arounds like this.

And I thought Linux made things easier without having to use Microsoft software.

Last edited by AndeAnderson; 04-06-2005 at 10:18 AM.


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
How to install more than 2 hard drives on PC ? TigerLinux Linux - Hardware 5 09-27-2005 04:19 PM
Help mounting firewire hard drives in debian sarge touser Linux - Hardware 1 05-07-2005 03:26 PM
No hard drives on install? FraQture Linspire/Freespire 3 12-21-2004 06:51 PM
Debian not detecting my hard drives. brynjarh Debian 2 10-21-2004 07:48 PM
Mandrake 10 install, can't read hard drives? Watch Mandriva 1 07-05-2004 05:40 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:59 AM.

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