Mounting a hard disk
Preston Hagar
prestonh at gmail.com
Fri Nov 30 18:02:23 UTC 2007
On Nov 30, 2007 11:19 AM, Paul Smith <phhs80 at gmail.com> wrote:
> On Nov 30, 2007 5:12 PM, Preston Hagar <prestonh at gmail.com> 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?
> >
> > 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.
>
> Thanks, Preston. I am trying the following but with no success:
>
> # mount /dev/sdb2 /media/iso
> mount: unknown filesystem type 'LVM2_member'
> root at mypc:/home/paulus# mount -t ext3 /dev/sdb2 /media/iso
> mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
> missing codepage or helper program, or other error
> In some cases useful info is found in syslog - try
> dmesg | tail or so
>
> #
>
> Any ideas?
>
Well, it looks like /dev/sdb2 is part of an LVM setup. Possibly this
drive was setup previously using LVM, or maybe this drive is a member
of your main LVM setup and the drive you actually want is something
different. Unfortunately, I haven't used LVM very much, so I am not
very familiar with it. Here are a couple of How-Tos and guides to
hopefully help out:
http://www.tldp.org/HOWTO/LVM-HOWTO/index.html
http://www-128.ibm.com/developerworks/library/l-lvm/
http://www-128.ibm.com/developerworks/library/l-lvm2.html
You may also try posting the output from dmesg (without the | less) or
the output from the lshw -class disks command. It might help me or
someone else figure out exactly what is setup.
Sorry I can't be of more help.
Preston
More information about the ubuntu-users
mailing list