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 have followed the steps as good as I could. The main difference that I think is causing me problems is the fact that I am now trying to do this (explained in that thread) with a Fat32 instead of the ext3.
I THINK I know where my mistake is, but not sure how to fix. In the fstab, and in the mkdir, I am not sure how to address the fat filesystem.
To recap my intentions:
I want my FAT32 partition to mount automatically, and have a presence in my /home. In my other machine, where this is working flawlessly, my "file storage" partition (named "DATA" in the other thread, and was an ext3), this partition looks and behaves just like any other subdirectory under /home.
Right now, with my attempt at a setup, and with my error, the partition is not accessible anymore.
I hope all this makes sense. Sorry if it is confusing.
Please take me step-by-step so i can understand the process much better.
Thank you
Neal
Last edited by Bhakta Neal; 08-20-2011 at 09:58 AM.
How are you doing buddy? Let's see if we can fix this thing that's giving you headaches. First of all, sorry for the late reply, I was out whole day yesterday.
bhakta@Krishna-PC:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda6 during installation
UUID=fe1ab25d-1c6c-4297-a18b-8f9571d8dbdc / ext4 errors=remount-ro 0 1
# swap was on /dev/sda7 during installation
UUID=fe43f7fe-9944-4085-b515-4747e3d92195 none swap sw 0 0
/dev/sda8 /mnt/data fat32 auto,user,rw 1 2
and
Quote:
bhakta@Krishna-PC:~$ mount
/dev/sda6 on / type ext4 (rw,errors=remount-ro,commit=0)
proc on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
/dev/sr0 on /media/Within Temptatio type iso9660 (ro,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,iocharset=utf8,mode=0400,dmode=0500)
Im doing great bud, just so anxious to get things done before the trip, so this mistake I made is not helping!
Eventually you will see that I tried to follow your instructions in that old thread, but I hit the wall because Im working with FAT32 on this one, and I remember vaguely that fat32 has a little bit different process?
In my Dolphin, in the "Places" margin, there is the drive "Fatass32" (which I named with gparted during initial setup), which is my FAT32 prtition. This is correct behavior.
Also, under my /home directory, there is a "FatAss32" directory.
When I click to open .......
Wait, I just noticed something important.
My partition is named Fatass32, and my file manager directory is FatAss32. They have different names, which is probably why when I try to open FatAss32, I get a new, blank empty folder, instead of seeing the files already in place on Fatass32.
I am sure I made the mistake during the mkdir instruction. How can I fix it?
Most likely you created two directories. Delete the one you don't use/which doesn't contain data, check that your mountpoint in /etc/fstab refers to the correct one and run:
Hi Eric, hope you had a nice weekend! Sounds like it!
Hope this part looks right:
Quote:
bhakta@Krishna-PC:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda6 during installation
UUID=fe1ab25d-1c6c-4297-a18b-8f9571d8dbdc / ext4 errors=remount-ro 0 1
# swap was on /dev/sda7 during installation
UUID=fe43f7fe-9944-4085-b515-4747e3d92195 none swap sw 0 0
Yeah, I had a very nice weekend. Hope you did too. Your /etc/fstab looks OK to me. But you mount your vfat to /mnt/data. Does that mean you created a symbolic link in your home directory? I'm a bit confused with your explanation of the two directories Fat... Did you create two directories and a symbolic link as I suspect or did you mount your partition under one of those directories?
The behavior:
To access the partition, I simply navigated via gui to /home/DATA. /DATA was a folder under /home, as if it were simply just a subdirectory. Therefore, my intuition tells me this is a symbolic link. Is that correct? I did not need to navigate to /mnt or /media.
You know, I can still turn on that machine, and view the settings, then replicate...
In my GUI I have 2 different folders: Fatass32 and FatAss32.
Fatass32 currently opens the FAT32 partition, while FatAss32 opens a blank folder (and should be erased, it is not needed.)
The other machine is running now, so let me know if an fstab or other would help
According to your fstab you're mounting /dev/sda8 on /mnt/data. So I assume you made a symbolic link. You can confirm that with the output of
Code:
ls -l
in your home directory. Better practice would be to mount the disk directly on /home/Fatass32 if that's the directory you want to use in combination with your FAT32 partition.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.