I have a bit of a problem in my new install of Lenny (5.0.1). The machine in question was running XP and has a C: drive (system) and two other had drives (ide) one with music on and the other with videos. All were NTFS naturally.
I installed Lenny and re partitioned the system drive accordingly with swap and root partitions, no problems there.
The next phase was to convert the other two drives to ext3. The music drive has been backed up so the plan was to re-partition that to ext3, copy the video files to it and then re partition the now ex video drive and restore the music files to that.
I ran Gparted and partitioned the old music drive to ext3 but could not then mount it, it didn't do this after formating. I did not have permissions to mount the drive.
I read on a forum how to mount the drive from Terminal, going to /mnt, mkdir VideoDrive, mount /dev/hdb1 VideoDrive and presto it was mounted. However I still did not have permissions to it and could therefore not create directories.
Right clicking on the drive and showing properties now showed owner as root ~ create and delete files, group as root ~ access files, others ~ access files. All of these drop-downs are unavailable for changing.
I went into users and groups. There were groups there called mike and root so I selected both root user and mike user as members of both of these groups. Nope.
In the drive properties I entered Mount Point as /mnt/VideoDrive, File System as ext3, and Mount Options as defaults,unmask=000 0 0. The other forum I read stated that unmask is used to allow access to all users.
I then transfered these options to the Volume properties, again no joy.
I have added entries into the fstab and mtab files still no joy.
Right so I reformated my windows partition to ext3. Now ubuntu tells me there is a problem with it when I start the system. It says it cand find it and asks me if I want to: s ignore this or m fix it manually. Well that or something quite similar. how I make it understan I don't have a windows partition any more?
Having just moved to Linux from Windows, I have never considered whether or not to partition my 250 GB external hard drive. As of right now it will only be used for data storage. Should it be partitioned? If so, what size partitions?
I want to mount the old partitioned drive with all my data as a slave and then transfer to the new system. Have fiddled around with settings in fstab without the required result. As I remember, disk was partitioned with home, root and swap.
I partitioned my hard drive on my computer with G-parted, the second partition (sda3) has data stored on it. I use to have Karmic Koala on sda1, but something went wrong and I want to install it back on sda1. How would I do this without losing my data on sda3? When I use the live disc, it want to install it onto sda3. I cannot figure out how to install it only on sda1.
Also, when I stored data, I want to store it on the sda3 partition. I already have on that partition a /jason file which was my old Karmic Koala.
I am getting ready to install Ubuntu 9.04 on my Dell laptop, only because 10.04 won't work. I have the hard drive partitioned as C: and D: . I am keeping Windows on C: for a couple of applications that need it. I still have a few things on the D: drive. Do I need to have it completely clean and formatted? And, will Ubuntu ask where I want it to be installed or will it just take the largest contiguous space available? After the install, does the system automatically ask if I want Windows or Ubuntu or how do I tell it which system to bring up?
New gateway laptop with a 330M nvidia card and windows 7. I partitioned the drive and made a dual boot with the 64bit 10.04. Everything seemed to be running fine. I installed the recommended drivers for the nvidia card (and also ran an update). I rebooted. Now I get the same thing whether in recovery mode, normal boot or even to a liveCD, first ubuntu with the five dots (with an odd green halo around them) then a few screens flash by and then blackness.
None of the f keys do anything, nor does holding shift during the boot and ctrl+alt+anything does not have an affect except ctrl+alt+delete will shut down still. Once in my frustrated button bashing I did somehow get a stretched out window saying there seems to be some graphics problem, from there I did get to a somewhat normal looking desktop. I didn't to do anything then, foolishly thinking I could do it again in the future (for some presumably unrelated reason I could not get online = no updates and no Internet help) I haven't gotten back there since.
I regret to see the lack of facility for Guided install into the 'largest unpartitioned space on the drive'. I cannot find it either in the Desktop CD, or the Alternate CD. It seemed to disappear in Ubuntu 10.04 Desktop CD but did stay in the Alternate CD. But in 10.10 it seems to have gone completely.I found it a really *very* useful facility for myself, and also when helping others - when all I had to say to them was - 'delete the existing partition/s, do nothing more expect then, install using the facility 'Install into the largest unpartitioned space on the drive'.
I just partitioned and installed slack on a 1TB hard drive. I then run KDiskFree under KDE, and saw that I am missing about 300Gig! Is it just a simple thing between bytes and bits like MS. Or is this an issue I can not ignore? I have 3 partitions. One is my swap, one is ext4(slackware is on) the last is a jfs partition.
You know the great thing about having a debian system is that you have to reinstall so rarely you miss all the new changes that happen in the system until you have to do something like install a new piece of software and realize that fstab has been turned into spaghetti and you no longer have the slightest idea what is going on.I just got a new 1TB USB2 drive to use for backups. I plugged in it and it was recognized fine but it was formatted in NTFS which I didn't particularly want so I reformatted it as ext4FS. It automounts fine but only with all permissions set to root. I tried doing a direct chmod on the drive but that wasn't recognized. Where in the hodgepodge of HAL settings and whatnot do I set it to make the drive user accessible and mount to somewhere other than /media/disk?
I copied a couple of small files to it, and it seemed to copy fine, I was sure to unmount before removing, but those two files ended up being corrupted and although they appear on the stick, they can't be opened any more. Almost all the other files on the stick are still fine apart from one or two other ones, which definitely used to be openable but now are not. So perhaps it's got some bad blocks or something? So I hunted around for ways to check the stick, I'm guessing maybe it can mark those bits as bad and keep on using the other bits maybe?
I search, and I find fsck, so I run that on the stick and it doesn't seem to find anything, or complain about errors or anything, so I figure it's done nothing. (The stick is formatted as VFAT and can be read by both linux and windows). I remount the stick and see a new, extra file there, a deleted pdf from a few weeks ago apparently recovered by fsck. No problem, I delete it. But I guess that means fsck did do something after all. Then I unmount and remove the stick, and plug it in again just to check that things are working. And here's where it gets weird.
When I remount the stick, the files which were there before are no longer there. Instead, there's just a single png file, apparently from 2006, which I haven't seen since then I don't think. And I can open that file fine. Bizarre, where are my files gone? I unmount the stick, remount it, and all my files are back again! What the? Finding this curious, I run gparted on the stick to see if there is maybe more than one partition, and some glitch caused it to mount some hidden partition or something (I'm stabbing wildly in the dark, as you see). But gparted says that the whole drive is "unallocated", and fdisk seems to be saying it hasn't got a partition table. So I guess I've got a few questions coming out of this:
- Is this a problem that the stick doesn't seem to be partitioned? Should I partition it with gparted? - Is there a way to do a proper check of the disk to check for bad blocks/sectors/clusters/whatever they're called, and mark them? fsck seemed to finish too quick to have really checked things properly. - Is this stick dying and in need of replacement?
I accidentally wiped my 120GB external hardrive clean ( it was at about 95% capacity ) and I was able to recover 111.80GB back using ddrescue and all of those files now sit in a Recovery.img file.
1 ) I know I have to mount this file... yet every time I try to mount it back on my external HD permissions jump down my neck, and to add to it when I try to give my user full permissions for that drive it never works and resets to how it was.
2 )I have tried copying to .img to my drive so I could jsut worry about it later and free up some local HD space yet I don't have those permissions as well...
i have sevrel hard drives among 3 pcs all (root of the drive)re shared (except os drive)one pc i use for captureing tv this drive has no write permission from my local pc but all other hard drives have read/write permissions
I looked through the guides and didn't find what I was looking for. Here is what I have so far:
That's the drive I am wanting to mount with full permissions for anyone. Right now the folder only has root permissions. Is there a specific group ID I assign this in fstab so it's automatically mounted with full permissions for anyone who logs in?
I use a USB drive to store most of my personal and work files, and I use it both at home and at work (two different machines, both running Ubuntu). The drive is encrypted, and is accessed using TrueCrypt (the entire drive is encrypted as a device rather than an encrypted file on the device). The TrueCrypt device is formatted as ext3/ext4.
I have a problem with certain file permissions being changed to read-only (rw-r--r--) after mounting the drive. This happens after I have used it on one computer, and then I mount it on the other. Even though I have been setting write permissions to all (chmod -R a+rw *) to get around this problem, when I mount on the other machine the write access is gone. I don't want to keep manually changing permissions; I would like the file permissions to stay as I set them.I'm using the same version of TrueCrypt at work and at home. I'm running Ubuntu 9.04 at work, and 9.10 at home.I do have different usernames on these computers, and I suspect that is the problem (but don't see why this would change file permissions for all users).
I put my 8 Gb USB drive in the slot tonight to rearrange some pictures (jpg and gif). When I attempted to cut and paste the cut function was not available. I checked the file properties and the files were all read only. I tried to change the permissions, but was presented with a message box: [[The permissions could not be changed. Sorry, could not change the permissions of "115.jpg": Error setting permissions: Read-only file system]] How to get back my permissions?
I am having a few security issues with fedora15. they are like i cannot modify any folder in orher partitions of my HDD unless i am a root user. i have tried the GUI approach bt it doesnt help. there are more than a few hundred folders with thousands of files in total. tell me a way so that i can change permissions for one drive at once.
I have four internal harddrives on my system. On the first HD i've installed Debian 5.0 AMD. I'm trying to write to my other HD to backup my files,but i get a message that this HD doesn't have permision to be writen to. How do i change the permission for Harddrives.
I'm trying to change the permissions of my external USB drive that i've plugged into my machine. It still reads user root and group root. I've tried chown -R kuier /home/kuiper/file Then chgrp -R users /home/kuiper/file But it still doesn't change permissions. I've also tried editing /etc/group and adding my name to plugdev group. nothing seems to be working?
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:
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?
When I mount an external usb drive on linux (CentOs4), the permissions are by default set to read-only. Since there are multiple users on the computer who need to use the external drive, I want everybody to have rw permission for the entire drive. I also want them to be able to mount the drive if the computer has accidentially been shut down. They can use sudo mount to mount the drive, but this will only give them read permission, and I obviously don't want to allow sudo chmod.
Is there a default setting that I can change so that every new external usb disk automatically gets rw permissions?
I am running Ubuntu Server 10.04 LTS with Kernel 2.6.32-22-generic-pae I was originally using usbmount to autmont the western digital external usb drive I had attached to the system and it was working great. However, while I was adding files to the drive i deleted all of the directories and files that came on the drive out of box such as 'autorun.inf' and an autorun directory containing an icon for the drive.. when I rebooted the drive was no longer mounted, I tried to un/reinstall usbmount a few times but it still didnt work, so I wound up adding the drive into my fstab, my fstab line reads like this
The issue I am having is that Virtual Box does not recognize my USB drives. I understand that it is related to the fact that Ubuntu cannot recognize the permissions on the USB NTFS drive. So how do I mount the ntfs drive and gain full permissions?
One post suggested that I have to join my user to the 'vbuser' group in users and groups to fix this in 9.04, but I do not have a "vbuser" group in my list of groups. I am running 10.04.
What should I do if I want to allow access to USB flash drive selectively - Say for e.g. All permissions for "root", "Read/Write" for user "A", Only "Read" for user "B" and user "C" shouldn't be able to access or mount (no permissions) the USB flash drive at all.Also I want to do it by modifying entries in some files or by some commands (so that it can be done programatically if needed)
when you attache a pen drive with windows you can drag from the pen drive to the desk top, and visa versa. with Linux logged in as normal user I can drag files from pen drive to Desktop but not the other way around. my pen drive is TITANIUM and at /dev/sdb1 mounted at /media/TITANIUM so I have to use
cp /home/user/Desktop/file /media/TITANIUM as root
If I log in as root I can drag files from pen drive to desktop and also from Desktop to pen drive. is there an easy way to give permissions for normal user. I had a look a groups and it has scanner, printer etc listed ,can I amend groups somehow to enable same permissions for pen drive access as root?
I am running Linux Mint on my primary hard drive, and I would like to access some folders I have on my second hard drive, which has Windows XP installed on it. However, whenever I try to use these folders, I am greeted with the error message, "The file is not marked as executable." While I know how to set files as executable whenever I am using folders on my Linux drive, whenever I try to set such permissions on my XP folders, I can't seem to make it work. The files revert to their former status, and I'm told that I don't have permission. Should I set the files as sharable from within XP, so that they aren't marked as read-only? Or is there another solution I've missed?
I've been installing/tweaking F12, and I've found something that I can't say I've ever seen or expected to find before: the contents of my ~/Documents folder has lost its permissions and ownership info. I restored it from a backup last night/this morning, and I've rebooted a few times since then. Other folders from the backup are OK, just Documents.I don't know what my options are. I could try to blow it away and restore it, but that doesn't answer what caused it. If there's a "relabel" or something, that might help... though I've never had to do it before. Could it be that after these two-and-some-change years, my hard drive is giving out? Good thing I have a recent backup... but it'd be a shame to lose all my work getting F12 to work again.