Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
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 just recently purchase a Panasonic Tougbook cf-29 and set it up with MSDOS and Debian Squeeze. Because the toughbook doesn't have a 3 1/2" floppy drive I need to be able to transfer files etc over from the Squeeze partition to the MSDOS partition. Every time I try I am getting an error saying I don't have permissions to do this. I have checked my fstab file and the MSDOS partition isn't listed at all so I am assuming this may be the culprit, my problem is I don't know what to place in my fstab file to make Squeeze let me place things in the MSDOS partition.
This is my fstab
Code:
# /etc/fstab: static file system information.
#
# Use 'vol_id --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 defaults 0 0
# / was on /dev/sda5 during installation
UUID=79113b21-4ea4-4cf5-9143-fab7a91ef438 / ext4 errors=remount-ro 0 1
# /home was on /dev/sda7 during installation
UUID=c9f45ae4-f7b5-469e-9af3-a5ac4719a23b /home ext4 defaults 0 2
# swap was on /dev/sda6 during installation
UUID=83c5b399-d717-4d29-bd77-de677d94aa12 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
No need to update /etc/fstab. You should only need to mount the MSDOS partition. If you want this partition mounted at boot time, then yes, you need to add it to /etc/fstab.
Have a look at your Deb file system. Most systems have a /mnt directory. That is a good place to mount the partition. You have to make a empty directory where you want to mount the partition. ie in /mnt, 'mkdir sda1' ( you can call it anything you like ). Then as root, issue a mount command. 'mount /dev/sda1 /mnt/sda1' That should do it. If you get en error, you might have to specify the fstype. (vfat). See the man page for mount.
Permissions are not preserved when copying files to a vfat partition.
Only other thing I can think of, is if you still get permission issues, look at who owns the files, and groups.
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
Original Poster
Rep:
Thanks for your post. I have to mount it to see where I am trying to put the files and I get a permissions error that I why I thought the fstab may be the issue. You can also set permissions in fstab can't you?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.