Ubuntu :: New EXT3 Partition On Flash Drive Mounts W Root Owner

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


ADVERTISEMENT

General :: Ubuntu - Resize Root Partition From A Flash Drive?

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

Ubuntu :: USB Drive Owner Seen As Root And I Can't Write To It?

May 29, 2011

When I installed Ubuntu, I was asked to enter a user name and password. I chose one that would be a sort of "administrator alias" and gave it a strong password. This is my "su" name and password. That works fine for most things, such as installing software, etc.. Every so often, however, something comes up that can only be accessed by "root" and that is not me, even logged in with my "administrator alias" and password. This happened when I inserted a USB flash drive and tried to copy some files to it that I wished to transfer from my desktop my laptop. The only way I could do this was to format the flash drive. and then add my files to it.

This morning I inserted the flash drive and tried to add another file to it, using "copy" and "paste". Again I got "permission denied" and the owner of the flash drive, seen as "usb0", was again "root", and I could not change its permissions, because I am not "root". It also says the device is not listed in etc/fstab. I have read the Ubuntu paper on mounting USB drives, but I'm not sure that applies here. The drive seems to be mounted, but with the wrong owner.

This problem has also occurred with some software when I tried installing it. I usually give up and don't install it. This flash drive problem, however, is driving me crazy. I need to transfer those files. Is there something I'm missing? Despite installing and upgrading Ubuntu on 2 machines, I'm still pretty much a newbie, and if it involves using the terminal, I need step-by-step instructions,

View 3 Replies View Related

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 View Related

Fedora :: Reformat Flash Drive Mounts As Tempfs?

Oct 15, 2009

In trying to get rid of GPT I somehow hosed my flash drive - now when plugged in and I run df - I see tempfs /dev/shm - is there anyway I can somehow repartition, reformat my flash drive ?

View 1 Replies View Related

CentOS 5 :: 5.5: Migrating Root (and Any Other) Partition From Ext3 To Ext4?

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

Software :: Move A Tar File From My Ext3 Box Onto A FAT32 Usb Flash Drive But Keep Getting?

Jul 3, 2010

I'm trying to move a tar file from my ext3 linux box onto a FAT32 usb flash drive but keep getting

mv: failed to preserve ownership for `/dir/blah.tar.gz': Operation not permitted

View 3 Replies View Related

Ubuntu :: User (vs. Root) Cannot Move To Trash, Only Delete, On Ext3 Partition?

Jan 9, 2010

I just wanted to post this in case it helps anyone else. I have all my personal files (photos, documents, etc.) saved on a separate ext3 partition (so I don't have to worry about them on new installs, etc.). When I tried to delete files, however, I always received the message: "Cannot move file to trash, do you want to delete immediately?".

After much searching and failed fix attempts (mostly unnecessary messing with fstab), I found this post, which is now archived (or I would have replied there):ttp://ubuntuforums.org/showthread.php?t=759544. And frediE's solution, with a couple tiny modifications, finally solved the problem! (So huge thanks to frediE! ). irst, I found my user id, which is 1000, by going to the System > Administration > Users and Groups menu, selecting my user name (e.g. jnewm), clicking "Properties", andselecting "Advanced".

Second, I created a folder on the root of my partition called ".Trash-1000". (I may have needed to use "gksu nautilus" from a terminal to create the folder, I don't recall.)Third and last, I navigated to the root of the partition in my terminal and ran: sudo chown -R jnewm:jnewm .Trash-1000. Followed by: sudo chmod -R jnewm .Trash-1000 (I doubt this second step was necessary, but I'm listing it just in case). (confirmed unnecessary)

View 4 Replies View Related

General :: Allowing Read Write To Ext3 Partition To Non-root Users

Mar 18, 2010

I need to allow non-root users to read/write on an ext3 partition.

Below is the relevant output from fdisk -l

Code:

The partition in question is /dev/sda4 and it is mounted as /Data (setup during installation).

View 2 Replies View Related

Ubuntu :: Ext3 Partition : Fdisk Is Not Showing Any Partitions On The Drive?

Apr 24, 2010

I had a 500gb hard drive that I wanted to use on my Ubuntu system as a media storage drive. The drive originally had two partitions on it,one was a Dell Recovery partition and the other was a Windows Vista partition. Using the Palimpsest Drive Utility that comes with Ubuntu, I deleted both partitions,created a Ext3 partition using 100% of the space and copied my data to the drive. After I finally got fstab to load the drive, I found another problem. First of all, when Grub loads, two options it offers are:

Windows Vista (loader) on sdc1
Windows Vista (loader) on sdc3

Aside from that, 100% of the drive is not being used by the Ext3 partition.It is showing 434.6gb available on the drive. Fdisk is not showing any other partitions on this drive, so A) why are the Windows loader options showing up under Grub and B) why do I not have 500gb available?Here is a copy of the output fdisk -l:

Code:
Disk /dev/sda: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes[code]....

View 5 Replies View Related

General :: Sharing An Ext3/ext4 Partition On External Drive?

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

Slackware :: Change Owner Partition For NTSF Partition

Mar 26, 2010

I'm trying to samba share my NTSF partition in slackware 13. I chose for root to have read/write access only.
How can I change this to allow samba share for my regular non-root account?

View 1 Replies View Related

General :: Removing Flash Drive - Root Folder Turned Red

Sep 16, 2010

I took some videos off a usb flash drive, then went and selected " safely remove usb" and the light continued to blink on the flashdrive, I pulled it out any way, and the root folder turned red... everything seems ok, but how do you know when it's ok to safely remove a usb devise ?

View 3 Replies View Related

Software :: Using Flash Drive As Root FS At Boot Time Fails

Nov 29, 2008

I have a flash drive that I want to mount as my root filesystem at boot time. When I'm in linux, I can run `mount /dev/sda1 /mnt`, and the kernel will mount the ext3 FS on the flash drive at /mnt with no problems. From this I assumed I could boot my system with the kernel option 'root=/dev/sda1', but this doesn't work. My kernel has no initrd, and is booted directly by a bootloader. It has no modules, so I know that's not the issue.

The current setup that works consists of a ramdisk that the bootloader loads into RAM before booting the kernel. The kernel detects this ramdisk and the current kernel root option ('root=/dev/ram') mounts the ramdisk as the root fs with no problems.I can see where the kernel detects the flash driveat startup, and I can't think of a reason why I couldn't just mount it as root. I can copy/paste startup logs here if necessary.

View 2 Replies View Related

Ubuntu :: USB Drive Mounts But User Can't Write To Drive?

Apr 6, 2010

I've got a bare bones Ubuntu 10.04 set up (xorg, openbox, usbmount). My (vfat32) stick drive mounts, and I can see what is in the one directory on the drive, but I can't write to the drive unless I use sudo. I tried the obvious step of attempting to change permissions on the drive..

Code:
keith@quiet:~$ sudo chmod -R 777 /media/usb0
[sudo] password for keith:

[code]...

View 9 Replies View Related

Ubuntu :: Change Owner From Root On NTFS Filesystem?

Feb 4, 2011

I use a mounted NTFS filesystem as my main data storage drive. I then symlink all my Windows folders (Documents, Pictures, etc.) into my Ubuntu home folder. Works great, because it means I can share files between Windows and Ubuntu hassle-free. However, any file created on or saved to the NTFS partition automatically has its owner set as "root". Is it possible to set the default owner to me (aaron)? Or does it have to be root on NTFS?

View 3 Replies View Related

Ubuntu :: Make A Single Fat32 Partition On Usb Flash Drive?

Jun 3, 2010

I am installing Debian on my netbook. I need to make a single fat32 partition on my usb flash drive. I really love linux and want it on my netbook.

View 4 Replies View Related

Ubuntu :: Cannot Change Owner Of Partition

Apr 9, 2011

I cannot write files to an ext4 partition I created unless using gksu nautilus, so I tried Code: sudo chown my_user /dev/sda3 but the owner is still reported in the properties to be root. /dev/sda3 is the path I see in gparted.

View 6 Replies View Related

Ubuntu :: Cannot Login After File Owner Changed From Root To User

Mar 21, 2011

I used to use the root account for everything for more than a year then I moved to a user account for security reasons but almost all files had root as owner so I could not go 5 minutes without having to change to root and then change the owner of a file to my username to make it usable. I got fed up with this so I just changed the owner of every file on the system to my username instead of root.

command chown -R myusername * in the base directory /

Everything was fine until I restarted and the login screen became non functional and I got 2 error messages related to xsession and gnome errors. I think this is because the login screen might have its own user account and it cant access the files for the login process because it is owned by myusername. So my question is what is the user-name of the login account and what folders/files need to have their owner changed so the login process can work? I'm on 10.04 lucid.

View 6 Replies View Related

Ubuntu :: Change A 'media' Partition's Owner?

Jul 2, 2010

I have all my music/photos etc. on a different partition to my Ubuntu and Windows partitions.

However, I can't make any changes like deleting files/renaming etc. because I'm not the partition's 'owner' or i'm not in root.

change the ownership of the partition so I can change files from Ubuntu.

View 2 Replies View Related

Ubuntu :: Change Partition Owner To User

Jul 16, 2010

Just intalled Ubuntu 10.4 but one of my partitions /media/extra is owned by root, i would like to chance the owner to my user. I've tried sudo chown -Rf username:usergroup /media/extra but i stil have no permissions.

View 1 Replies View Related

Networking :: Configure The Network Interface Under The Owner (not ROOT)?

Apr 20, 2011

i have ubuntu 10.10 and i want to configure my interface eth0 with the commande line with owner (not the Root)$ifconfig : this commande works and listed all interface with some description -> thats goodbut when i use some parametre like @ip and netmask

$ifconfig eth0 10.10.10.1 netmask 255.255.255.0
SIOCSIFADDR: Permission denied
SIOCSIFFLAGS: Permission denied

[code]...

View 6 Replies View Related

Ubuntu :: Put A Line In /etc/fstab To Mount One Of Partitions With Owner And Group Not Root

Jan 9, 2010

According to a couple of different places, it's not possible for me to put a line in /etc/fstab to mount one of my partitions with owner and group not root; instead, I have to mount it in /etc/fstab, then chown & chgrp to my user. That seems ridiculously tedious and silly... is it true? I'm sure a short script could be written to get around it, but it seems obtuse for Linux not to allow that to be set in /etc/fstab.

View 9 Replies View Related

Debian Installation :: Add Partition To USB Flash Drive Bootable Installer

May 19, 2015

I created a bootable Debian installer on my USB flash drive. The Debian Installation Guide advises;

The hybrid image on the stick does not occupy all the storage space, so it may be worth considering using the free space to hold firmware files or packages or any other files of your choice. This could be useful if you have only one stick or just want to keep everything you need on one device. Create a second, FAT partition on the stick, mount the partition and copy or unpack the firmware onto it.

I want to put non free firmware packages on the stick but when I try to create a FAT partition in the free space using Disk Utility I get the following error;

Error creating partition: helper exited with exit code 1: In part_add_partition: device_file=/dev/sdb, start=661837824, size=7507093504, type=
Entering MS-DOS parser (offset=0, size=8168931328)
MSDOS_MAGIC found
looking at part 0 (offset 0, size 657457152, type 0x00)
new part entry

[Code] ....

I formatted the drive to clear it, created a new FAT partition and copied the Debian.iso to it again. When I tried again to create a partition in the free space the same error occurred.

View 7 Replies View Related

Ubuntu :: Cloning Root Drive From Large To Small Partition?

Nov 12, 2010

i am running ubuntu 10.10 and windows7 on a asus eee 1015. currently i have two partitions: 80GB for windows (NTFS) and 160Gb for Ubuntu (ext4).

I want to:

- shrink the windows partition (easy, no worries);

- Shrink the ubuntu partition

- join the space thus created in a third partition that i can use for storage, media etc accessible by both windows and ubuntu

The problem:

- i could not manage to get gparted live to run off USB stick (i get the unable to find medium.... error)

- even if i would get gparted to work and i succeed in shrinking the ubuntu partition as well, the two spaces reclaimed will be divided by the ubuntu partition, which means they cannot be joined in a third partition.

so here is what i want to do:

- shrink windows and create a new partition;

- format this new partition as ext4;

- somehow "clone" the data on my current ubuntu root into the new partition;

- format the current root as NTFS and use it as the storage partition

i am aware this may mean i would have to re-set grub etc but would the cloning of the partition be possible? that i would need to clone data from a 160G partition into a 40G partition.

BY THE WAY - forgot to mention that i have tried to load clonezilla off an USB drive and i get the same error: "unable to find medium..."

View 3 Replies View Related

Software :: Running 'dd' To A FLASH Drive Results In Corrupted Volume/partition?

Oct 13, 2010

I am trying to install an ARM version of Ubuntu onto an SD card for a BeagleBoard from a .img file downloaded from http://releases.ubuntu.com/lucid/. I have tried several files of .img and .raw downloaded from several places. I am using 'dd' on a PC running Ubuntu 10.0.4. My question doesn't relate to the BeagleBoard at all since I never get that far. The files for Angstrom that I copy directly onto a formatted SD card boot up fine on the BeagleBoard, but I need Ubuntu on there and can't do it with these image files. The command I use is:

sudo dd if=<the downloaded file> of=/dev/sdb1 After it asks the root password, it chugs along for some time and then gives what appears to be a successful response like the following. (This time it was for the Maverick version of Ubuntu in a .raw file):

leiphasw@dell-linux:~/Downloads/ArmMaverickUbuntu$ sudo dd if=maverick-preinstalled-netbook-armel+omap.raw of=/dev/sdb1
4090632+0 records in
4090632+0 records out
2094403584 bytes (2.1 GB) copied, 167.38 s, 12.5 MB/s

[Code]...

View 6 Replies View Related

OpenSUSE Install :: SUSE Studio: Owner Of /home/tux/Desktop Is Root?

Aug 12, 2011

After something happened in SUSE Studio, in any appliances I build the owner of /home/tux/Desktop is root which makes impossible to create desktop icons. This happens even in those appliances which previously were build normally with normal ownership (i.e. tux as owner of /home/tux/Desktop). Something changed abruptly and in all these appliances the ownership of this folder changed.

View 1 Replies View Related

Software :: Gparted: Joining 2 Partition Ext3 Within One Partition (data Saved)?

Dec 11, 2009

I usually repartition a disk by backing up, deleting the partitions, formatting them and repartition. I just did a 200 gig backup (so i am safe) and i want to join 2 (ext3) partition together, sdb1 (data4) and sdb5 (data5) into one big partition. Is there a way to do it without scraping the data in sdb5 (data5). It would save me from rewriting the data back to that new partition (200 gig is time consuming).

View 1 Replies View Related

CentOS 5 :: External Usb Hard Driver Mounts Root?

Sep 22, 2010

I have created a 2nd user account on my system and when that user accesses the external hard drive it's permissions are root.

@one ~]$ ls /media -l
total 13 dr-xr-xr-x 1 root root 8192 Sep 19 11:49 External Drive 1TB

View 4 Replies View Related

Fedora :: Installed 13 On An 80 Gigabyte Hard Drive - Root Partition Too Large

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







Copyrights 2005-15 www.BigResource.com, All rights reserved