LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 0
Question Help Mounting Hard Drives on 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, 05:28 PM   #2
Engmar
Member
 
Registered: Oct 2003
Location: The Forest
Distribution: Ubuntu, LFS, DSL
Posts: 127

Rep: Reputation: 16
In a terminal type "mount" and paste up here what response you get. Which filesystem are these other drives formatted with?
 
Old 03-13-2005, 05:33 PM   #3
avarus
Member
 
Registered: Apr 2004
Location: Oxford, UK
Distribution: Ubuntu, Debian, various
Posts: 230
Blog Entries: 5

Rep: Reputation: 33
Hi there,

The relevant document is the Linux partition HOWTO:

http://www.tldp.org/HOWTO/Partition/index.html

I won't say too much here since all that is covered in the document but the gist is that Linux auto-detects all the disk partitions and you can find out what they are by using fdisk or looking at the virtual file /proc/partitions.
For regular IDE drives you will find the drives on the primary cable are /dev/hda and /dev/hdb. The one on the secondary and the DVD are then /dev/hdc and /dev/hdd. The first partition on the first drive is /dev/hda1. DVDs do not have partitions so there will not be a /dev/hdd1 - you get the idea.
You format partitions with the mkfs command (Linux supports many file system types).
The list of drives registered to be mounted on the system is in /etc/fstab.
The command 'mount' will tell you about the currently mounted disks.

Hope that was useful,

TIM
 
Old 03-13-2005, 05:37 PM   #4
MSBeckman
LQ Newbie
 
Registered: Mar 2005
Distribution: Ubuntu 4.05
Posts: 10

Original Poster
Rep: Reputation: 0
root@linux:/home/matthew # mount
/dev/hda1 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
root@linux:/home/matthew #

Engmar thats what came up...
 
  


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
Mounting Hard Drives In Ubuntu MSBeckman Linux - Hardware 8 03-13-2005 07:41 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


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