Fedora :: Formatting Flash Drive With Ext4 - Partition Accessible By Root Only
Nov 13, 2010
I've a flash drive that it's partitions formatted as fat32, ex4 and encrypted ext4. It works fine on the system that I've formatted it on, but when I try to use it on my other Linux distributions I get these problems:
* ext4 partition accessible by root only.
* after entering my pass-phrase I get
Code: /dev/mapper/udisks-luks-uuid-***** uid1000 is mounted What I'm asking for is a way to create the ext4 file system without being attached to some UID and to be accessible by any user.
View 1 Replies
ADVERTISEMENT
Sep 2, 2011
Tired of fat32 fragility, I reformatted a 4GB pen-drive as ext4 using Yast's partitioner. I chose format as ext4 and checked fstab options "can be mounted by user", "no access time" and "ordered journaling". I thought that these fstab options would be ineffective since a removable device won't be added to fstab. when I insert the pen-drive it auto-mounts and the folder /media/EMTEC is created (EMTEC is the volume name). The relevant mount entries are:
Code:
:~> cat /etc/fstab | grep sde
:~> cat /etc/mtab | grep sde
/dev/sde1 /media/EMTEC ext4 rw,nosuid,nodev,relatime,barrier=1,data=ordered 0 0
:~>
There's no fstab entry, as it should be, and there is a mtab entry corresponding to the pen-drive, /sde1. However the /media/EMTEC as created (by udev, I suppose) is owned by root, I can't write to it. But if I change (as root) the /etc/EMTEC folder permissions so it belongs to the regular user, i can (obviously) write to it *and* it stays so *between* remounts. Haven't tried a reboot yet. What I'm not sure is if ordered journaling is OK for a pen-drive - or any kind of journaling, for that matter. Or will this significantly decrease flash memory life? Also, the fstab options set in Yast appear to be remembered by whatever creates mtab, as well as /media/EMTEC permissions. Is that so? Where are these settings kept? How does this work?
View 2 Replies
View Related
Jul 10, 2011
i had an ntfs partition..i formatted it to ext4 with gparted..w i cant write any files to it..i think because gparted executed with root previliges so it has now made root the owner of the drive.
View 1 Replies
View Related
Oct 31, 2010
I have a usb flash drive and according to sources I found out after the fact that I should have used ext2 instead of ext4 due to the extra write operations.
Is it possible to convert the ext4 root partition to ext2 or do I need to backup, reformat, and restore?
View 1 Replies
View Related
Aug 2, 2010
I need to make my root partition bigger to add more free space. Is there a Linux version that will fit on a small usb flash drive that has the tools I need? I plan to boot a Linux distro from a flash drive in order to resize the partition.
View 1 Replies
View Related
Jul 20, 2010
I have a flash drive that I use to sync my work- and home-computers. Rsync has occasional issues syncing between FAT32 (which I use on my flash drive b/c it's universal) and EXT3.
I decided to create an EXT3 partition on the flash drive in an attempt to alleviate the rsync woes. My problem is that when I create the partition using GParted, Ubuntu auto-mounts it with Root as the owner. I had GParted check the drive, and it found no errors to repair.
One other weird thing is that the EXT3 partition shows 84.7MB being used immediately after creating the new partition.
The FAT32 partition mounts fine, is read/write, and only shows 4KB used after the new partition scheme.
I tried doing new partitions a number of times, with EXT2, EXT3, and EXT4 just to see if that mysteriously made a difference. Each time that partition would mount w/ Root as owner.
View 6 Replies
View Related
Dec 11, 2010
I just picked up a 1.5TB external drive. I want to wipe the NTFS partition (I assume that's what it is) that is there and replace it with an encrypted ext4 partition.
Is there a HOW-TO somewhere for this?
View 3 Replies
View Related
Dec 31, 2010
Running Lucid - was an LTS upgrade from 8.04.
I have a usb webcam (off brand). When installed, /dev/video0 is properly created and I can access the webcam through cheese as a regular user.
Code:
crw-rw----+ 1 root video 81, 0 2010-12-31 16:00 /dev/video0
The regular user is already a member of the video group, and I have checked all permissions under System->Admin->User/Groups->Advanced.
However, when as this regular user, I go to a website that tries to access my webcam via flash (ie, chatroulette or omegle), it does not detect the cam. (Firefox 3.6.13 with Flash 10)
I've already set the LD_PRELOAD as suggested elsewhere.
HOWEVER, if I LD_PRELOAD and run Firefox as root, all works fine and the flash plugin sees the webcam.
[Code]....
View 1 Replies
View Related
Jun 12, 2010
I just installed F13 x86_64 on a system that used to be running Windows 7.
The boot drive is a SATA drive attached to the motherboard which is working fine.
However, my data drive is an NTFS partition filling a 3.6TB SATA raid.
It's GPT--Gparted sees 3 unknown partitions, and gdisk shows:
Code:
How do I mount this in Fedora 13? I had intended to shrink the NTFS partition so that I can create an ext4 partition to move the data to. Will this be possible?
I've got a LOT of valuable data on this drive, and nothing else big enough to store it.
View 3 Replies
View Related
Feb 20, 2011
I bought a cheap 32 gb usb flash drive in China which worked just fine on Ubuntu. However, when I attempted to tranfer som files to a Windows7 computer I got a message saying I had to format the flash drive before using. I did this, but the formating failed. When inserting the flash drive in Ubuntu again it was it was detected but unable to mount. I tried to format it again using GParted, but again it was unable to format. Now Ubuntu won't detect the flash drive when inserting. Windows7 does detect, but I get the message saying it needs formating.
View 4 Replies
View Related
May 24, 2011
I'm trying to install SL6 to a pair of 2TB harddisks in a RAID 1 array. The problem is that when the "Formatting" progress window that says "Creating ext4 filesystem on /dev/mapper/pdc_eahgdeafbgp1" comes up it appears to eventually freeze. It's been like that for 6 hours without the progress bar moving at least. I have another identical system that I booted up using the gparted live cd to see if I could get any more information using that. I first created a 500MB ext4 partition and mkfs.ext4 ran almost instantly. I then tried 5GB and it seemed to take maybe about a second or two and worked fine. I then jumped up to 500GB and it's been running for about 5 hours now. I'm pretty sure that I remember the creation of an ext4 filesystem occuring extremely fast even for very large partitions, but this is the first time I've played with RAID.
View 3 Replies
View Related
Jan 14, 2010
I made a new partition on my hard drive, and installed Windows XP on it. However, because of space shortage on the disc (didn't bring my external HDD's with me) I could not "afford" to make the partition bigger than about 7GB. Turns out that's not quite enough. So I thought I'd try to resize the partition. Booted from my Ubuntu LiveCD and entered the partition manager. I'm able to tell the program that I want to resize the Linux-partition (so it sets the now freed space as "unused", but when I chose to "resize/move" on the XP-partition I do not have any free space. Does this mean that I have to resize the Linux-partition (until now I didn't actually resize it, only set the job as "pending" hoping that I could select both to shrink the Linux-partition and extend the XP-partition in one session), or do I have to format the XP-partition and make a new one (larger this time), then reinstall XP?
/dev/sda1 is XP; /dev/sda2 is Linux Mint
View 4 Replies
View Related
Jul 2, 2011
I installed 2 new hard disks and created one ext 4 partition on each of them. After rebooting busybox tells me that there is no /sbin/init.
View 7 Replies
View Related
Sep 27, 2010
I didn't know how to Make a cd image out of the Ubuntu iso so I made a seperate partition in my drive.Now I'm wondering how to delete the windows partition without formatting the whole hard drive.how to create a bootable cd image
View 2 Replies
View Related
Jan 26, 2011
I want to install Ubuntu to a USB Flash drive (so I have my Desktop everywhere and can customize it as I want). I'm still choosing what's the best filesystem for the USB; Ext2 with no journaling or Ext4 with journaling but performance increase? I know that journaling will probably reduce the life of the USB flash drive dramatically, so is Ext2 the obvious choice? Or is it a bad idea to install Linux (Ubuntu probably) on a USB Flash drive? I tried running a live CD from the USB drive, but it wasn't very customizable - which is the point of carrying my OS with me.
View 3 Replies
View Related
May 20, 2010
With the release of CentOS 5.5 ext4 is considered stable in this distribution so I decided to migrate to it. Luckily I started from migrating fresh server with CentOS 5.5 using some instruction I found on the internet. I think I shouldn�t say, that I screwed the whole thing up ;) After about 6 hours cursing, kicking, and crying I solved the task and figured the correct sequence of actions. The small problem with migrating root partition is that you can�t unmount it BTW.
During migration task, I found, that CentOS 5.5 rescue mode is somewhat broken a little in terms of ext4 support. It can mount ext4 partitions successfully. But its e2fsprogs package (tune2fs, e2fsck etc.) doesnt see ext4 partitions and say, that superblock is corrupted on a partition once is converted to ext4 (at least it did it for me. May be I should force filesystem type with -t ext4 switch?). Keep in mind, that if you screw your system up too badly, you will not be able to run tune2fs and e2fsck on it from rescue modeBut you will still able to mount it if it is not corrupted badly. In all below examples,Boot your system normally and login as root. Upgrade kernel if you wish (I usually use yum upgrade to upgrade all on new machines). Then upgrade/install some other packages
View 8 Replies
View Related
Apr 29, 2010
how to boot Ubuntu from USB flash drive that is formatted ext4?That is, making a portable ubuntu. But not merely a LiveUSB created using the 'Universal USB Installer' or 'UNetbootin' because the LiveUSBs created using these applications are formatted in FAT32 and uses a persistent partition just to save the changes and files.If I have your attention, what we want to achieve is a portable and bootable Ubuntu in a flash drive that is formatted in ext4.
View 9 Replies
View Related
Oct 22, 2010
I'm having some problems with errors reported by fsck on my EXT4 root partition on my Ubuntu 10.10 installation... If I run fsck I get the following output:
Code:
# fsck -n /dev/sda1
fsck from util-linux-ng 2.17.2
e2fsck 1.41.12 (17-May-2010)
Attenzione! /dev/sda1 montato.
[Code]....
View 4 Replies
View Related
May 22, 2011
I would like to ask you if there is a robust way to mount as a drive a ext4 partition inside windows 7 and if it is possible to use it also to storing window's 7 data.
View 3 Replies
View Related
Aug 30, 2011
is there a way of sharing an ext3/ext4 formatted partition on an external USB drive between different users (uids) on different Linux machines without creating a group for this purpose, setting the group ownership of the partition to this group and adding each respective user to the group on every machine?This would mean that I need to have root privileges on every machine... which I may not have in some cases.I'm using the partition to store the code I'm developing on Linux and I would like the option to be safe... if possible.I could use a vfat partition but then I have no control of the rw rights + I cannot develop directly in the dir: I would always have to tar.gz the directory, extract, work, tar.gz, copy to the external drive.
View 2 Replies
View Related
Apr 7, 2011
Easiest way to auto mount an ext4 partition on my hard drive?
View 3 Replies
View Related
Jun 10, 2010
I recently installed Fedora 13 on an 80 gigabyte hard drive, and it split the space in two, giving root and the normal partition both 36 gigabytes. I need at least 60 gig or more for my home partition. What can I do to shrink the root one? I currently do not have accsess to the install media or a rescue disk.
View 4 Replies
View Related
Jan 4, 2011
I'm having problem in formatting the newly added hard drive to my Ubuntu 64 bit server, is there any explanation why I got stuck to this error ?
Code:
root@isuzu:~# fdisk -l
Disk /dev/sda: 21.5 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
[Code].....
View 9 Replies
View Related
May 2, 2010
Recently my laptop broke down and wont start up. I'm currently trying to recover my files to my mac with an IDE to USB cable. It recognized my windows partition fine and I was able to get all my files off of that, but the majority of my stuff is on the ext4 partition that I have on it. Does anyone know how to access the ubuntu partition of this hard drive from my mac?
View 2 Replies
View Related
Aug 2, 2010
I would like to format my current NTFS drive to EXT4. I've searched and found there are two commands to do this, mkfs or mke2fs.
What are the proper steps to do format an NTFS to EXT4 ?
If you recommend EXT3 over 4,
View 4 Replies
View Related
Dec 19, 2010
I was thinking about reformatting my thumbdrives and external HDs from NTFS or FAT32 over to ext4. Anyone know if this could potentially cause any problems? They won't be used on a win machine.
View 1 Replies
View Related
Feb 19, 2010
I just installed Fedora 12 and after booting up to Gnome, I put in my install DVD and it says no media is detected. When I view the hardware on the system, it lists my DVD drive. I had the same problem in Fedora 9. I assumed it was a bug in the system and always used my laptop to download and burn media (Fedora 11). I can't burn to empty media or read data from a readable disc.
View 2 Replies
View Related
Dec 29, 2009
How can I format a USB hard drive to ext3/ext4 or whatever file format and have full permission to read, write and execute all files afterwards? When using the command line (as ROOT of course) mkfs.ext3 /dev/sdb? Restricts the rights to ROOT as does the procedure gParted. The man mkfs did not help much. Configuring the fstab- file is a bit of a hassle, so it would be nice, if there was an option to set the permissions "correctly" right from the beginning. Setting Ubuntu (I'm using Ubuntu 9.10) up, so that it mounts USB devices not as ROOT as default but giving all users all permissions seems to be really complicated, as a guy from my local LUG told me.
View 10 Replies
View Related
Jun 12, 2011
I have just purchased a 2TB drive for my server and I was trying to get an idea of the differences between these file systems or other file systems out there. What is the amount of space after formatting for ext4, ext3, and ntfs?
View 4 Replies
View Related
Feb 27, 2010
I have a Western Digital 1TB USB Drive. It is detected,but can only be seen and accessed by the first user account that logs in after boot. If I right click "My Book" (the name of the drive) then look at permissions it says that the permissions are unknown. I looked around and could find nothing about this problem. I did find some information about udev and saw a mention that you could use it to set permissions. However when I try to input the command the terminal gives me a command unknown, then asks if I want to install udev, I say yes and am then told that udev is installed. I found the command to update udev, but it says that updates are not needed. Help I want this drive to be at least readable by all users, and it would be nice if I could allow write access only to me. I did do a "dmesg" right after I plugged this drive in
View 3 Replies
View Related