Slackware This Forum is for the discussion of Slackware Linux.
|
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
03-22-2006, 02:04 PM
|
#1
|
Senior Member
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526
Rep:
|
Mounting another linux partition
Hi Everyone,
I am trying to add an entry to my fstab file to mount the FC4 linux partion on a separate drive (SATA, shown as sdb). I made the entry as follows:
/dev/sdb1 /dev/FC4 noauto defaults 0 0
However, when I attempt to mount the partition, I get the error that it is not found in fstab. What am I missing? I have the NTFS driver installed and the Windows partition mounts fine.
Any thoughts?
Thank you in advance for your help.
Bob
|
|
|
03-22-2006, 02:35 PM
|
#2
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
Fstab only exists for automounting. You can also mount your partition manually. And why are you mounting at /dev/FC4? I think, it should be /mnt/FC4 (FC4 directory must be created). Try this:
#mount -t filesystem_type /dev/sdb1 /mnt/FC4
|
|
|
03-22-2006, 02:49 PM
|
#3
|
Senior Member
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526
Original Poster
Rep:
|
Thank you for your reply. Your suggestion does indeed mount the filesystem, but it contains nothing. What I want to be able to do mount the Fedora partitions in Slack and vice versa to open and edit files. Isn't this possible. After mounting:
ls -l FC4
Total 0
Thank you for your help.
Bob
|
|
|
03-22-2006, 02:54 PM
|
#4
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
Did you put correct filesystem type?
|
|
|
03-22-2006, 03:15 PM
|
#5
|
Senior Member
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526
Original Poster
Rep:
|
Yes, ext3. Looked like a normal operation, but no files in the directory. Same result from FC4 trying to mount the Slack partition:
#mount -t filesystem_ext3/dev/sda2 /mnt/slack
The directories exist (I created them). I am sure I am just missing some part of the process.
Thank you for your help.
Bob
|
|
|
03-22-2006, 03:22 PM
|
#6
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
Stupid question but nobody else came to my head. Did you compile ext3 support in your Slackware kernel (if you are not using ext3 in Slackware)?
|
|
|
03-22-2006, 03:29 PM
|
#7
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
you're not literally typing " mount -t filesystem_ext3/dev/sda2 /mnt/slack" are you? use "mount -t ext3 /dev/sda2 /mnt/slack". You don't actually need the -t option, mount will nearly always detect the right fs type.
|
|
|
03-22-2006, 03:33 PM
|
#8
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
Good suggestion But I believe that after specifying incorrect filesystem type mount shows error. BobNutfield could you show us what mount prints into the screen after your command?
Last edited by Alien_Hominid; 03-22-2006 at 03:35 PM.
|
|
|
03-22-2006, 03:38 PM
|
#9
|
Senior Member
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526
Original Poster
Rep:
|
Thank you for the replies. But to answer the question, yes, I am running 10.2 with ext3 filesystem (at least that is what it reports at boot sda2 ext3). The mount commands you suggest appear to be working, but the resulting mounted directory has no files. Again, I am sure I am just doing something wrong. I will read up on it further. By the way, is the directory /slack OK, because when I attempt create mkdir /mnt/slack it reports the /mnt directory already exists and will not create it.
Thanks for your help.
Bob
|
|
|
03-22-2006, 03:57 PM
|
#10
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
once you think you have mounted the device, run "mount" or "df -h" to see that 1) the device IS mounted and 2) there is space there
|
|
|
03-22-2006, 04:06 PM
|
#11
|
Senior Member
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526
Original Poster
Rep:
|
Thank you very much. I will try that. Everytime I think I am becoming an "intermediate" user, my noobness shows up again.
Thanks
Bob
|
|
|
All times are GMT -5. The time now is 04:40 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|