LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Format new drive with GParted ext4 Error
#13
In Linux, permissions are built into the filesystem itself.  So when you initially mount the new partition as root, root becomes the owner on the filesystem of the partition.  Root will remain the owner of files there until you purposely change the permissions.  Even on a new installation attempt, when you again mount something that had prior permissions already set, those prior permissions stick with it until you change them.

You just need to change ownership to yourself.  Once you do that, then that new ownership permission status will also stick with the filesystem.  If it were a removeable drive, you could take it to another Linux computer and plug it in and have no problem accessing and using it as long as you are using same username on both computers.  (There is a possible exception to this, but don't want to confuse things by going into it.)

Answer a few questions first, then we'll take care of the problem.  It will be pretty easy to do.

1.  Is your new drive installed permanently in the computer, or is it a removeable drive that you will not always have attached?

2.  If it is permanently installed inside computer, do you want to set it up to be accessible every time you boot into LL, or did you only want it available every once in a while?

3.  If it is permanently installed, did you run through any of the steps in that tutorial I referenced before in an attempt to set it up?  If so, what steps did you perform?


In preparation for the fix, do the following to make things much easier on yourself:

*  Boot computer, attach new drive (if not installed); then start GParted program (Menu -> System -> Partition Drives).

*  In upper right corner of GParted window, choose the device name of the new drive from the drop-down menu (will be something like /dev/sdb, /dev/sdc, etc.).

*  When correct drive is showing in GParted window, right-click on the partition you made and choose "Label".  (If that choice is grey'd out and unavailable, choose "Unmount" first; then right-click and choose "Label" again.)

*  Make yourself a descriptive label for the partition.  Don't use spaces or special characters in the name and don't make it more than 12 characters long.  (I don't remember limit on length of name, but think 12 or less is fine.)

*  Click "OK" to make the label.  (This will not damage anything on the partition.)

*  Close GParted when done.


Now, instead of showing the partition as some long miscellaneous string of characters, you'll see it by it's new descriptive label.  That will make it a lot easier when you go to run the chown command to change ownership.
Try Linux Beginner Search Engine for answers to Linux questions.
Reply


Messages In This Thread
Re: Format new drive with GParted ext4 Error - by gold_finger - 08-09-2014, 03:58 PM

Forum Jump:


Users browsing this thread: 5 Guest(s)