Mounting a hard disk

Preston Hagar prestonh at gmail.com
Fri Nov 30 17:12:21 UTC 2007


On Nov 30, 2007 10:49 AM, Paul Smith <phhs80 at gmail.com> wrote:
> On Nov 30, 2007 4:39 PM, Isuru Samaraweera <isuru at opensource.lk> wrote:
> > > I am new to Ubuntu, and I would like to mount a hard disk that Ubuntu
> > > did not mount automatically. How can I mount it manually?
> > >
> > try this
> >
> > sudo mount /dev/hdd1 /media/yournewdrive
>
> Thanks, Isaru. The point is that I do not know whether it is hdb, hdc,
> hdd, etc.? How can I learn that?
>
>
> Paul
>

Two different ways to do this (there are probably more than two, these
are just the two off of the top of my head):

run this command:

dmesg | less

and look for hd or sd entries.  If you new disk is SATA or SCSI, it
will start with sd, not hd.

Way 2:

sudo apt-get install lshw
sudo lshw -class disk

This should list all of the disks in your machine.

Hope this helps.

Preston




More information about the ubuntu-users mailing list