LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-13-2005, 05:25 PM   #1
MSBeckman
LQ Newbie
 
Registered: Mar 2005
Distribution: Ubuntu 4.05
Posts: 10

Rep: Reputation: 0
Mounting Hard Drives In Ubuntu


Ok I am a total noob when it comes to Linux. I just installed Ubuntu last night and I have been messing around with it. I see that it doesnt automatically mount hard drives. I currently have 3 hard drives and 1 DVD drive in my computer. There are 2 hard drives on the primary cable and the hard drive and DVD drive are on the secondary cable. I have been reading and I really still have no idea what to do. This is what I have so far.

Applications -> System Tools -> Root Terminal
"mkdir mnt/edrive"

These hard drives have other stuff on them but I really dont want any of it. I just want them to be clean drives with nothing on them so I can load files on to them using Ubuntu. This is the point I am stuck at. Like I said I am a total noob. Please help me! Step by step would be for ever appreciated!

Thanks, MSBeckman
 
Old 03-13-2005, 06:10 PM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Quote:
Originally posted by MSBeckman
These hard drives have other stuff on them but I really dont want any of it. I just want them to be clean drives with nothing on them so I can load files on to them using Ubuntu.
Right...well first you need to use cfdisk to repartition those drives the way you want them. The drive you've installed ubuntu on is probably /dev/hda so perhaps start with /dev/hdb? With the root terminal,

cfdisk /dev/hdb

resize the partitions how you want then reboot to re-read the partition table. Then, again in the root terminal, make a filesystem on the partition you've created. You could use fat, ext3 or several others but I'll suggest reiser

mkreiserfs /dev/hdb1

then you need to edit /etc/fstab so that it gets mounted

gedit /etc/fstab

add a line like this

/dev/hdb1 /mnt/edrive reiserfs defaults 0 0

then mount it

mount -a
 
Old 03-13-2005, 06:21 PM   #3
MSBeckman
LQ Newbie
 
Registered: Mar 2005
Distribution: Ubuntu 4.05
Posts: 10

Original Poster
Rep: Reputation: 0
FATAL ERROR: Cannot open disk drive
Press any key to exit cfdisk
 
Old 03-13-2005, 06:22 PM   #4
MSBeckman
LQ Newbie
 
Registered: Mar 2005
Distribution: Ubuntu 4.05
Posts: 10

Original Poster
Rep: Reputation: 0
that is with /dev/hdb
 
Old 03-13-2005, 06:26 PM   #5
TxLonghorn
Member
 
Registered: Feb 2004
Location: Austin Texas
Distribution: Mandrake 9.2
Posts: 702

Rep: Reputation: 231Reputation: 231Reputation: 231
The mkdir /mnt/edrive creates a directory to use as a mount point for your drive.
The next step is to mount the drive to that location, well, actually you are mounting the file system...
Open the terminal and enter at the command line:
su
(root password)
mount -t vfat /dev/hde1 /mnt/edrive
That is assuming the drive has a vfat file system. Linux would be ext3
 
Old 03-13-2005, 07:02 PM   #6
MSBeckman
LQ Newbie
 
Registered: Mar 2005
Distribution: Ubuntu 4.05
Posts: 10

Original Poster
Rep: Reputation: 0
WOW I am dumb. My hard drives werent even connected... I remember why though. When the others are connected it says Operating System Not Found. How do I fix this??
 
Old 03-13-2005, 07:04 PM   #7
MSBeckman
LQ Newbie
 
Registered: Mar 2005
Distribution: Ubuntu 4.05
Posts: 10

Original Poster
Rep: Reputation: 0
By the way in BIOS when all the HD are connected it says
Primary Master [None]
Primary Slave [None]
Secondary Master [TOSHIBA DVD-ROM]
Secondary Slave [None]


Whats wrong?
 
Old 03-13-2005, 07:35 PM   #8
MSBeckman
LQ Newbie
 
Registered: Mar 2005
Distribution: Ubuntu 4.05
Posts: 10

Original Poster
Rep: Reputation: 0
I have messed with the jumper cables a bit and it just randomly shows up..
 
Old 03-13-2005, 07:41 PM   #9
MSBeckman
LQ Newbie
 
Registered: Mar 2005
Distribution: Ubuntu 4.05
Posts: 10

Original Poster
Rep: Reputation: 0
Is there a special way they have to be set up?
 
  


Reply



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
Help Mounting Hard Drives on Ubuntu! MSBeckman Linux - Newbie 3 03-13-2005 05:37 PM
mounting sata drives in ubuntu linux nathj72 Linux - Hardware 0 01-16-2005 09:59 PM
mounting hard drives sturgeonman Linux - Newbie 13 05-31-2004 09:13 AM
mounting hard drives deathl Linux - Hardware 3 01-16-2004 01:17 AM
Mounting Hard Drives Q12321 Linux - Newbie 5 11-26-2003 08:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:18 AM.

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