Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I need help learning how to access the second hard drive on my fc3 machine. The machine has two hard drives, hda (30 GB) and hdb (6448 MB). I have reproduced the output from fdisk -l below:
[root@localhost dev]# /sbin/fdisk -l
Disk /dev/hda: 30.0 GB, 30020272128 bytes
16 heads, 63 sectors/track, 58168 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 203 102280+ 83 Linux
/dev/hda2 204 58168 29214360 8e Linux LVM
Disk /dev/hdb: 6448 MB, 6448619520 bytes
255 heads, 63 sectors/track, 784 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 * 1 13 104391 83 Linux
/dev/hdb2 14 784 6193057+ 8e Linux LVM
Originally, I had installed fc3 on the smaller hard drive (6448 MB) but quickly ran out of room. Then I installed the 30 GB drive, and re-installed fc3 onto it.
I had hoped to transfer over some files from the hdb drive to the hda drive. The problem is, I cannot mount it. When I try to use the mount -t ext3 /dev/hdb2 /dev/fc3-old I receive the following error message: [root@localhost dev]# mount -t ext3 /dev/hdb2 /mnt/oldfc3
mount: /dev/hdb2 already mounted or /mnt/oldfc3 busy
Can anyone help me learn what I am doing wrong?
I have also reproduced my /etc/fstab file in case that offers any clues as to what is going on.
It is not present in /etc/fstab.. there is no mention of /dev/hdb
Add /dev/hdb information to /etc/fstab and thn try mounting it. Something like
/dev/hdb /mnt/new_drive ext3 defaults 0 0 should work.
Thanks for your help, ksgill. I did what you suggested, and then re-booted the computer. As the system loaded, it provided an error that /dev/hdb and/or /mnt/new_drive were already mounted or were in use. When I tried to unmount them (using the umount command as su) I was told that neither are mounted. However, trying to mount /dev/hdb produced the same error, that it was already in use or mounted.
Any ideas on what is going on? I appreciate the help you have given.
michaelk - your suggestion worked! Once I made that change to my /etc/fstab file I was able to access the drive without problem. Thank you, and ksgill , for taking the time to help me out.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.