LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 07-30-2006, 05:31 PM   #1
angry_red_penguin
LQ Newbie
 
Registered: Jul 2006
Posts: 12

Rep: Reputation: 0
installing second harddrive


in ubuntu how do you get it to recognise a second harddrive? it doesnt seem to see it, how do i get it to see it? this stuff is easy in windows
 
Old 07-30-2006, 05:56 PM   #2
Dionysian
LQ Newbie
 
Registered: Aug 2005
Location: Earth
Distribution: Ubuntu 6.06 AMD64
Posts: 24

Rep: Reputation: 15
Was this hard drive added after you installed? The installation usually gives you a chance to mount it.
 
Old 07-30-2006, 05:59 PM   #3
angry_red_penguin
LQ Newbie
 
Registered: Jul 2006
Posts: 12

Original Poster
Rep: Reputation: 0
it was in when i installed ubuntu, but it didnt seem to see it, any ideas how i could make it see it? ideally id like to be able to just access it and format it clean from inside ubuntu, ive read a few posts about mount points, do i need to do something to do with that?

thanks
 
Old 07-30-2006, 06:12 PM   #4
Dionysian
LQ Newbie
 
Registered: Aug 2005
Location: Earth
Distribution: Ubuntu 6.06 AMD64
Posts: 24

Rep: Reputation: 15
Assuming it's an IDE drive it should be under /dev/hdb with a number for each partition on it. You have to mount each partition at a mount point, which is basically another file/directory in the filesystem. So if you used the command

sudo mkdir /mnt/second

We could create a directory to mount it in. Assuming it has only one partition, we can then use the command

sudo mount /dev/sdb1 /mnt/second

It should automatically recognise the filesystem and mount it there. You can now browse that folder which will contain the contents of the hard drive. This will only mount it for the session you're logged in, though. You need to edit fstab to make sure it mounts when you boot up. So:

sudo gedit /etc/fstab

Should load up Gnome's text editor with the fstab file. The contents already there should give you a good idea of how to enter it properly. First the device, in this example /dev/hdb1. Then the second column where you want to mount it, in this example we wanted to mount it at /mnt/second. Then type in the filesystem type, it should tell you what it was assuming it mounted successfully. Then add the mount options, and the dump and fsck options. For detailed options on these try reading something like this since there's various options for you to tune it to.
 
Old 07-30-2006, 06:28 PM   #5
angry_red_penguin
LQ Newbie
 
Registered: Jul 2006
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Dionysian
Assuming it's an IDE drive it should be under /dev/hdb with a number for each partition on it. You have to mount each partition at a mount point, which is basically another file/directory in the filesystem. So if you used the command

sudo mkdir /mnt/second

We could create a directory to mount it in. Assuming it has only one partition, we can then use the command

sudo mount /dev/sdb1 /mnt/second

It should automatically recognise the filesystem and mount it there. You can now browse that folder which will contain the contents of the hard drive. This will only mount it for the session you're logged in, though. You need to edit fstab to make sure it mounts when you boot up. So:

sudo gedit /etc/fstab

Should load up Gnome's text editor with the fstab file. The contents already there should give you a good idea of how to enter it properly. First the device, in this example /dev/hdb1. Then the second column where you want to mount it, in this example we wanted to mount it at /mnt/second. Then type in the filesystem type, it should tell you what it was assuming it mounted successfully. Then add the mount options, and the dump and fsck options. For detailed options on these try reading something like this since there's various options for you to tune it to.


thanks for the advice, is there any way to do this via point and click programs inside ubuntu or when ubuntu is being installed?
im very much a point and click kinf of guy!
 
Old 07-30-2006, 06:32 PM   #6
Dionysian
LQ Newbie
 
Registered: Aug 2005
Location: Earth
Distribution: Ubuntu 6.06 AMD64
Posts: 24

Rep: Reputation: 15
I'm not sure, I'm not running Gnome at the moment. There might be some applications that can do it.
 
Old 07-30-2006, 06:39 PM   #7
angry_red_penguin
LQ Newbie
 
Registered: Jul 2006
Posts: 12

Original Poster
Rep: Reputation: 0
are you using kubuntu? i have that installed too if thats any help.
 
Old 07-30-2006, 06:40 PM   #8
Dionysian
LQ Newbie
 
Registered: Aug 2005
Location: Earth
Distribution: Ubuntu 6.06 AMD64
Posts: 24

Rep: Reputation: 15
I'm using fluxbox at the minute, although I have both Gnome and KDE installed.
 
Old 07-30-2006, 08:13 PM   #9
binary_y2k2
Member
 
Registered: Jul 2005
Location: England, UK
Distribution: Ubuntu 8.04 Server, Kubuntu 12.04
Posts: 698
Blog Entries: 1

Rep: Reputation: 31
I know in Kubuntu it usually shows it in (open in konqueror) system:/media
Also in System Settings, if you click on "Disk & Filesystems" you can setup mount points and stuff.
 
  


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
Installing linux on harddrive with xp already on? mastervampire Linux - Newbie 5 12-22-2004 11:47 PM
Installing linux on 2nd harddrive(dual boot) windows on seperate harddrive lysol Linux - Software 25 08-03-2004 09:33 AM
Installing from second harddrive dvdljns Slackware 9 09-24-2003 04:34 AM
need help installing second harddrive rmuhammad Linux - Hardware 7 05-17-2003 12:02 PM
Installing a second harddrive da woo Linux - Newbie 2 09-28-2001 03:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 07:41 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
Open Source Consulting | Domain Registration