mount second hard drive - Printable Version +- Linux-Noob Forums (https://www.linux-noob.com/forums) +-- Forum: Linux Noob (https://www.linux-noob.com/forums/forum-3.html) +--- Forum: Tips and Tricks (https://www.linux-noob.com/forums/forum-59.html) +---- Forum: Filesystem Management (https://www.linux-noob.com/forums/forum-26.html) +---- Thread: mount second hard drive (/thread-1082.html) |
mount second hard drive - Charles Anthony - 2007-11-30 How do I mount this second hard drive? All of the tutorials I find tell me to format the drive. The hard drive is from a previous Linux installation. I just want it for storage purposes because I have tons of media files on it. Therefore, I do not want to re-format it. It is IDE and I plugged it in as a slave to my optical drive. Where do I go from here? mount second hard drive - magikman - 2007-11-30 do this and return with the output: fdisk -l /dev/hdc mount second hard drive - Charles Anthony - 2007-11-30 Yikes! In both my root and my regular user, I get: Code: bash: fdisk: command not found Does that mean I have to install fdisk? ---- ADDENDUM: I typed in just fdisk -l and got this: Code: Disk /dev/sda: 40.0 GB, 40016019456 bytes The hard drive that I added is the /dev/sdb: 80.0 GB, 80026361856 bytes one. mount second hard drive - anyweb - 2007-11-30 well then just create some dir (mountpoint) mkdir /test and then try this Code: mount /dev/sdb /test if you then Code: ls -al /test does it list anything ? cheers anyweb mount second hard drive - Charles Anthony - 2007-11-30 After this: # mount /dev/sdb /mnt/backup I get this: mount: you must specify the filesystem type which suggests that it did not succeed. Now, after this: # ls -al /mnt/backup I get this: Code: total 16 How do I determine the file system? It should be ext2 but I tried the mount command like this: mount -t ext2 /dev/sdb /mnt/backup and got an error: Code: mount: wrong fs type, bad option, bad superblock on /dev/sdb2, With the dmesg | tail command, it yields: Code: SELinux: initialized (dev sdg1, type vfat), uses genfs_contexts Just noticed: how do i see what filesystem i have ADDENDUM: The mount command alone yields: Code: /dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw) mount second hard drive - znx - 2007-12-04 You must mount the partitions not the disk (i.e. sdb1 and sdb2). However: Code: Device Boot Start End Blocks Id System LVM .. you have a LVM partiton on the first disk as well, are you sure that it isn't already in use within the LVM? mount second hard drive - Charles Anthony - 2008-01-15 Unfortunately, I finally figured this out with some hands on help: my disk was damaged. Luckily, the essential data was recoverable. mount second hard drive - anyweb - 2008-01-15 well at least you got your data ! |