Software :: NFS Configuration Between Fedora & Debian On Vfat Partition?
Mar 14, 2010
I have performed NFS installation on debian(as server) and fedora(as client). I made tests for 2 directories. The first one(from a debian home/somedir directory worked perfectly) but the second one not. This second directory is a hard disk partionned on fat32(vfat in my /etc/fstab file).
I have no error with both command :
in debian and
Debian 8.2 .... Desktop is lxde BTW. It auto-mounts the drive, and sometimes it's writeable for a while, but then it all goes read-only out of the blue. su doesn't work. I tried installing autofs and it doesn't mount at all.
Nov 20 11:05:37 debian kernel: [589471.166033] scsi31 : usb-storage 1-3:1.0 Nov 20 11:05:37 debian mtp-probe: checking bus 1, device 41: "/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-3" Nov 20 11:05:37 debian mtp-probe: bus: 1, device: 41 was not an MTP device Nov 20 11:05:40 debian kernel: [589474.217399] scsi 31:0:0:0: Direct-Access PNY USB 2.0 FD 8192 PQ: 0 ANSI: 0 CCS
syslog looks much the same.
I'm not an lxde fan. The file manager always was crashy. But I'm on an Acer Aspire, and too many desktop managers just can't deal with the screen ratio.
I partitioned my drive to dual boot with XP, and I also added in a fat32 partition so both Windows and Linux can read/write to there to share files. I now have a problem with permissions (I know that fat32/vfat does not support permissions.) I can as my normal user read/write to this partition, but I want to set-up a CodeBlocks project on there and this is where I run into my permissions error.I can create it and the .cbp file is there ect. but I can not save any work, it will complain ('could not write', or sometimes with 'maybe this drive is write protected'.) I have something like
UUID=1234-1A23 /repo vfat defaults,umask=000 0 0 in my /etc/fstab
I have a 320GB external HDD with 2 partitions, both primary:
1. vfat 100GB 2. ext3 remainder
Both were formatted when I created them with qtparted. Windows 7 sees them, and says they are healthy, but does not recognize the vfat partition. Is it too big, perhaps? Short of moving everything off the vfat partition and recreating it with W7, how do I fix it? I think W7 uses some sort of extended fat32 now?
I was attempting to format a flash drive, and well, used the wrong sdX device. I've run DiskInternals Partition Recovery tool, and all my files are still there (you have to pay $139 to have it restore the files). Is there any way using tools in linux to restore the ntfs partition/files? It was a single disk with the partition taking the entire drive. I've tried mounting it with the -t option, but it says invalid ntfs signature. Man, two lessons the hard way, make sure you backup (duh) and be careful what you type as root.
How to mount vfat partition automatically after boot? After login it it will mount all vfat partition and the icon of those parition will be at desktop. How can it be done. udisks is installed. If i click a vfat partition from pcmanfm it prompts for password to mount.I don't want to click. It will be automatically mounted and i will get the icon of that mounted vfat partition at desktop
I have a vfat partition under RedHat RHEL5 that I currently must mount manualy after each boot. I would like it to auto-mount but I cannot find a way to do this without it becoming ro except for root. My other partitions auto-mount just fine. I have tried the vfat as a separate partition and as a VLM logical drive (as it currently is).
is what I use for other VLM partitions, but for the vfat it seems to only allow root access. Manually mount this partition is OK, it's just that I have sometimes forgotten and then it is not included in backups. What do I need to do to make the vfat auto-mount as accessible for a user?
I have 250 GB HDD, 150 GB has CentOS installed,I have formatted the rest 100 GB in vfat, mounted on /data/ folder, now the issue is only root have the write permission on that folder, i have tried all the commands, however i have reformatted it with ext3 and now issue is resolved, i just want to know that why it is not possible to set the permissin to everyone +w on vfat partition.
I know that boot partition is possible to create within debian distribution that has grub 2.0, as I have done before with ubuntu. I have been trying many different options with my preseed file but it keeps taking the boot partition out of LVM and creating and extended partition too and then creates the LVM primary partition.
### Partitioning. # you can specify a disk to partition. The device name can be given in either # devfs or traditional non-devfs format. For example, to use the first disk
I got a mistake during my installation on my server. I put the "/tmp" folder to the 2nd disk without thinking. My 2nd disk has only this folder and partition. How can I move the "/tmp" folder to my first disk in a different partition safely? It would be great if I won't destroy the server.
I would like to do the following:
1. move "/tmp" to disk 1 (sda). I will resize the "/home" partition(reduce) and put the "/tmp" there.
My laptop has /dev/sda5 mounted on /. It has 10GiB and almost full. I formated Windows XP partition and it is now /dev/sda1 ext4 45GiB free space.When I mounted /dev/sda1 to root (/) directory, df commands showed still the original partition size. (81% used).
I would like to resize the /home partition but it is mounted and when umount is run, it errors with 'busy'.
I installed jessie on a laptop with one SSD. I used guided partitioning and selected the whole drive with multiple partitions. The /home now takes up 420 GB. I would like to reduce that to 20 GB to make room for another partition.
I have Debian and Virtual Box with another Debian. I have resized max size of vdi file with VBoxManage modifyhd but now I need to resize partition on virtual machine's system. I've downloaded GParted and I can run machine from this ISO as CD. Partition is encrypted on machine.Unfortunately GParted doesn't start with X so I have to use it in terminal. I can see partitions:
So I though maybe I need to use this (URL...). I couldn't find similar tutorial about Debian or GParted but OK, it's just executing these commands, not modifying its source.list.But I cannot even do the update:
Code: Select allroot@debian:/# sudo apt-get update Err: http://free.nchc.org.tw/debian sid InRelease Temporary failure resolving 'free.nchc.org.tw' Err2: http://free.nchc.org.tw/drbl-core drbl InRelease Temporary failure resolving 'free.nchc.org.tw' Reading package lists... Done W: Failed to fetch http://free.nchc.org.tw/debian/dists/sid/InRelease Teporary failure resolving 'free.nchc.org.tw' W: Failed to fetch http://free.nchc.org.tw/drbl-core/dists/drbl/InRelease Temporary failure resolving 'free.nchc.org.tw' W: Some index files failed to download. They have been ignored, or old ones used instead.
So I check my internet connection. VirtualBox has 'attached to NAT' and before I run out of space on virtual machine, Debian could access internet. So it's only something about this GParted. I have modified /etc/resolv.conf with vi (even vim is not available). And it has two valid nameservers. I haven't restarted anything, as I'm not sure if I need to, after modifying resolv.conf file.But even in that case I cannot ping anything from GParted:
Is there a way where I can take like 50GB from my home folder (I have 375 avail., but using only 22GB) and put it to the root partition? Twice now my system has almost ran out of space on root, so luckly I was able to clear out old stuff so I don't have login issues after finding the hardway the first round lol. I just want to make sure I can login with out being forced back out because root don't have space to let me login.
concerning Linux, mdadm, and creating RAID Array's in Debian. I've done a lot of reading and research on RAID both on this board and elsewhere (The Linux Documentation Project's Software-RAID HOWTO is especially good), but I've run across something that no one seems to explain, and I'm not sure why. I'm instructed to create partitions on the drives I wish to add to my array. These partitions inevitably take up the whole disk, and are always have their system IDs set to "Linux raid autodetect". What I don't understand is why, after creating these partitions, some guides then go on to create an array (say a RAID5 one) with just the disks themselves as members, while others go on to create the RAID5 array with the previously created partitions as members. E.g.,
After upgrading from Fedora 12 ot Fedora 13 I now get this message when mounting a FAT32 partition in /etc/fstab: mount: unknown filesystem type 'vfat' Does not Fedora recognized FAT32 partitions anymore ? Am I missing a package which adds 'vfat' filesystem support ? This worked without problems in Fedora 12 and the upgrade to Fedora 13 from a Fedora 13 installation DVD ran without problems or errors.
I want to customise an amnesic Debian environment (like Kali Live CD) with everything (Users, background, icons, etc.) set up to work the way I need. This OS should be inside a memory stick, and, most important, it has to have an encrypted partition I can mount and unmount whenever I want to save persistent data.
My root filesystems flooded so I'm trying to move it to another (bigger) partition but I'm not sure of the best method. I just tried to use "dd if=/dev/sda1 of=/dev/sda6" to copy it but all that did was give me a brand new partition with no freespace available presumably because the filesystem is smaller than the partition. Is it possible to make the filesystem bigger?
I have a external harddisk attached to my linux PC.I have a laptop having windows 7 on my network.I want to to be able to open up the folder in the external harddisk(linux partition) and check the files from my laptop. People suggest samba. But I am not able to configure correctly. Please excuse me and give me few detailed instructions.
I installed Ubuntu successfully using rescue mode on the alternate cd, and let Ubuntu use an internal boot and home. At the final stage grub refused to install to the MBR, and then refused to install to my /boot partition on /dev/sda2. It said: No boot loader has been installed, either because you chose not to or because your specific architecture doesn't support a boot loader yet. You will need to boot manually with the /vmlinuz kernel on partition /dev/mapper/volumegroup-natty and root=/dev/mapper/volumegroup-natty passed as a kernel argument. Returning to debian, I did a update-grub, which detects Windows and Ubuntu:
How do I make grub decrypt the LUKS partition before attempting to load the Ubuntu kernel?
I am running Fedora 14 with kernel 22.214.171.124 x86_64 and I am having an issue with a Vfat partition that is shared with Windows 7 on a dual boot setup. this partition contains my mozilla profiles and it occasionally mounts as read only in Fedora. I wont be able to write to it and root doesnt seem to be able to write to it when this happens. I checked this by trying to redirect an output of ifconfig. My fstab entry looks like this.
Code: UUID=5830-75A8 /home/joe/share_storage vfat rw,umask=0000,uid=500,gid=joe 0 0 and ls -l
Code: drwxrwxrwx. 8 joe joe 4096 Dec 31 1969
These two (fstab and ls -l) always look the same whether the partition behaves as read only or not.
Does anyone know if there's a way to create an ext4 image on top of a vfat volume? I know how to create a disk image file and mount it on the loopback device, but a vfat volume allows a max file size of 4 GB so is there a way to make a spanning disk image?For example you'd have disk1.img through disk3.img where each one is 4 GB, but when mounted via loopback it would appear as one complete 12 GB ext4 volume. Is this possible?
I can't seem to mount my local VFAT partition with username ownership; it is consistently mounted as daemon. I've tried to CHOWN and CHGRP the mount point of /media/SHARED (its location), but that doesn't work. I should include the reason in case you have other suggestions that are alternative to changing ownership on the mounted VFAT drive:
In my old Fedora 9, I ran Eudora under Wine. The program lived on my VFAT partition. I could hence run Eudora under both Windows and Fedora, which was really nice - even though I hardly boot into Windows anymore. While I did notice the username and group name were the same as they are under Fedora 14 fstab mounting - daemon - it still worked without a hitch. To note, the partition was also automounted in Fedora 9 in fstab.I just upgraded to Fedora 14. When I automount the drive through fstab, Eudora will not launch. Yet when I manually mounted the drive (and I noticed that the username and group are my local username, not daemon), Eudora launches fine. So while my solution, mounting the drive manually when Fedora 14 starts, does in fact work, it is a bit of a pain. Luckily I don't reboot too often!
In any case, I wanted to see if anyone has any suggestions. Maybe it's just a mounting syntax issue; but as for mounting syntax in fstab, I used the same line as my F9 fstab.The line I used was: /dev/sda3 /media/SHARED vfat umask=0000,dmask=0000,uid=0002,gid=users,users 0 0
I have a Western Digital 3TB USB drive connected to a Raspberry Pi 2 running Raspbian Jessie. I created an 30GB ext4 system partition and a NTFS Data partition using the remainder of the drive. I formatted the NTFS partition as follows:
sudo mkfs.ntfs -Q -L Data /dev/sda2
The drive works fine on the Pi but when I connect it to a Windows 7 pc the pc doesn't recognise the format of the Data partition and can't access it.