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 am new to linux. After installing fedora 10 I wanted to mount an additional ext3 partition (I forgot to mount it during installation). after editing fstab and rebooting, I found all other partitions are unmounted.
Code:
#
# /etc/fstab
# Created by anaconda on Thu Jan 29 20:33:54 2009
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or vol_id(8) for more info
#
UUID=03ad6587-8d90-47f5-85cb-f46300e7f5da / ext3 defaults 1 1
#UUID=0ceedde0-8d4a-44bb-870e-01bd85bec04e /media ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
UUID=3302e00c-724d-480a-b054-50e1755d25fb swap swap defaults 0 0
/dev/sda1 /media/c_drive ntfs-3g rw,defaults,umask=0000 0 0
/dev/sda5 /media/d_drive ntfs-3g rw,defaults,umask=0000 0 0
/dev/sda8 /media/l_drive ext3 defaults,umask=0000 0 0
I don't know what you mean by "all other partitions are unmounted". I think that would mean the computer would not function.
Assuming that you are able to boot up OK, try "mount -a". That should mount everything in fstab. Also try mounting the partition manually.
I'm confused as to why you are mounting something to /media---and then also to /media/xxxx.
Please post the output of "fdisk -l" (run as root....ell, not one)
I mean that after rebooting, only filesystem partition is mounted but the other two NTFS partitions are not mounted (cannot access them).
when doing mount -a nothing happen and everything still the same.
I am mounting only to /media/xxxx not to /media alone. However, I feel the problem in this part as I see all the mouniting points repeating in the folder l_drive (i.e. when I open l_drive I found c_drive and d_drive l_drive which should not be like this)
Code:
Disk /dev/sda: 80.0 GB, 80026361856 bytes
240 heads, 63 sectors/track, 10337 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Disk identifier: 0x03c503c4
Device Boot Start End Blocks Id System
/dev/sda1 * 1 3387 25605688+ 7 HPFS/NTFS
/dev/sda2 3388 10337 52542000 f W95 Ext'd (LBA)
/dev/sda5 3388 6774 25605688+ 7 HPFS/NTFS
/dev/sda6 6775 8468 12806608+ 83 Linux
/dev/sda7 8469 8746 2101648+ 82 Linux swap / Solaris
/dev/sda8 8747 10337 12027928+ 83 Linux
If you aren't able to finish booting, comment out entries for the ntfs partitions so you can finish booting.
Then boot up and try to mount them manually using the same arguments that are in the commented out entries. Note any errors. Don't use the "umask" option for the ext3 filesystem. It is just for vfat, ntfs and samba shares.
Make sure that the ntfs-3g package is installed. Also make sure that the fuse package is installed. It contains utilities and configuration files. Also check that the fuse kernel module is loaded, (E.G. lsmod | grep fuse)
That should work ... I myself, use the second option.
Let me guess, that you have already created the directories
/media/c_drive and /media/d_drive. Right ? Or Else you cannot mount on them ...
I have seen some "unusual" behavior with ntfs-3g when it is not the last item in fstab. I would rearrange (and drop umask) the ext3 mount that precedes (in fstab) the ntfs-3g partitions. A reboot should not be needed, just use a umount -a after any fstab changes.
If you aren't able to finish booting, comment out entries for the ntfs partitions so you can finish booting.
Then boot up and try to mount them manually using the same arguments that are in the commented out entries. Note any errors. Don't use the "umask" option for the ext3 filesystem. It is just for vfat, ntfs and samba shares.
Make sure that the ntfs-3g package is installed. Also make sure that the fuse package is installed. It contains utilities and configuration files. Also check that the fuse kernel module is loaded, (E.G. lsmod | grep fuse)
I am booting okay. I have no problems with NTFS. So, I think ntfs-3g is installed.
I have seen some "unusual" behavior with ntfs-3g when it is not the last item in fstab. I would rearrange (and drop umask) the ext3 mount that precedes (in fstab) the ntfs-3g partitions. A reboot should not be needed, just use a umount -a after any fstab changes.
I followed your advice and now NTFS partitions are not auto mounted!
Why did you switch from the /dev/sda8 form to the uuid form? And change mount pts? Not that either should matter but changing more than one thing at a time makes it much more difficult to trouble shoot. Is sda8 being working now?
Why did you switch from the /dev/sda8 form to the uuid form? And change mount pts? Not that either should matter but changing more than one thing at a time makes it much more difficult to trouble shoot. Is sda8 being working now?
I switched as I thought I should keep what fedora was writing in fstab (UUID) and not what I typed (sda8).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.