Re: Mounting a hard disk



On Nov 30, 2007 6:02 PM, Preston Hagar <prestonh@xxxxxxxxx> 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@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.

That is fine, Preston. Maybe someone else will help me.

Paul

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: Mounting a hard disk
    ... How can I mount it manually? ... If you new disk is SATA or SCSI, ... drive was setup previously using LVM, or maybe this drive is a member ...
    (Ubuntu)
  • Re: Cannot mount old drive with LVM partition - help!
    ... I want to mount /dev/hdb2, that is where the LVM is located, containing ... I don't remember being asked if I wanted LVM or not. ... and took the default install and ended up with an LVM again. ... Disk /dev/hda: 200.0 GB, 200049647616 bytes ...
    (alt.os.linux)
  • SUMMARY: Creating bare-metal recovery disks
    ... Copy system disk ... To create an ADVFS root and /usr partition, ... Next you are going to need to make the following mount points: ... mkdir /rootclone ...
    (Tru64-UNIX-Managers)
  • Re: having trouble mounting disk image on loopback device
    ... a dd image taken from a physical disk. ... Therefore, to mount each partition, I used these commands: ... mount command will not suffice...For that matter, ... The device must contain a filesystem recognizable ...
    (comp.os.linux.misc)
  • Re: NFS mounts not largefiles by default?
    ... > That's simply because there is no such mount option for nfs filesystems. ... >>up several terminal sessions on the console which appeared to be hung ... three Sun Rays, and I don't normally use its console, just the Rays. ... directories are on a separate disk. ...
    (comp.unix.solaris)