LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-25-2018, 03:28 PM   #1
MrGrimm
LQ Newbie
 
Registered: Nov 2018
Location: Portland Oregon Canada
Distribution: Mint Cinnamon 19
Posts: 27

Rep: Reputation: 0
Converting NTFS Drives To EXT4 And Remounting


i have two external ntfs formatted drives and i want to convert them to ext4. currently i have 6 of their partitions mounted to folders in /home/mc2635599/(name of partition) so plex will read the files on them. i know i need to shrink the ntfs partitions, create ext4 partitions, move the data, delete the ntfs partitions, and expand the ext4 partitions. what i want to know will i still have to change their mount points for plex, or if once they are ext4 plex will no longer have a issue seeing the data on them without changing the mount points to my user folder? thanks
 
Old 11-25-2018, 04:46 PM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: FreeBSD/Slackware-14.2+/ArcoLinux
Posts: 9,141

Rep: Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939
gparted and a command line, for me would be the easiest. open gparted, and move my partition over as much as I could, then using that added space format it using gparted, then move file via CLI (or a file manager, cut - paste), oh and change ownership on the ext4, and maybe permissions, depending on the whatever.

issues no matter what you use to partition your drives, is drive partition limits, if MBR Partition Table that yes, if GPT Partition Table not so much. personally, I'd get another drive that can hold as much as I can get a hold of then move it onto that and redo my other drives. Because moving, establishing an new partition, formatting it,moving data onto it,and then dealing with the left over ntfs partition, you could then format that into ext4 and merge it into the other partition. it is going to take awhile.

And with you needing someone to tell you how to do this, you'd should autta better back up anyways, just in case you screw up and lose everything. even I still have after having a good amount of experience with using Gparted, one wrong oops wrong partition, oh Sh&t too late.

So if you back up, then you might as well wipe the other drive and set it up how you want it, then copy your back up onto it.

Last edited by BW-userx; 11-25-2018 at 04:56 PM.
 
1 members found this post helpful.
Old 11-25-2018, 05:34 PM   #3
MrGrimm
LQ Newbie
 
Registered: Nov 2018
Location: Portland Oregon Canada
Distribution: Mint Cinnamon 19
Posts: 27

Original Poster
Rep: Reputation: 0
i did not say i needed some one to instruct me on how to move the data, what i wanted to know was am i still going to have to change the mount point to /home/ user name/partition name, or will plex finally be able to view and access the files at the default location? the below link may help to clarify what i'm referring to. i do agree if i had the drive and space to spare i'd rather move all the data, wipe and recreate my partitions as ext4, move the data back.


https://forums.plex.tv/t/files-and-f...mint-19/334653

mainly look at the 11th post.
 
Old 11-25-2018, 06:26 PM   #4
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: FreeBSD/Slackware-14.2+/ArcoLinux
Posts: 9,141

Rep: Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939
you are going to have to match them with whatever they are called, the destination should be the same though.

UUID will change. and /dev/sdxx will change as you will see whence you get into it. fstab also needs updating for sure, from ntfs to ext4.
 
1 members found this post helpful.
Old 11-25-2018, 06:50 PM   #5
MrGrimm
LQ Newbie
 
Registered: Nov 2018
Location: Portland Oregon Canada
Distribution: Mint Cinnamon 19
Posts: 27

Original Poster
Rep: Reputation: 0
they're usb so each ext4 partition i create should automount. the only thing i should have to do is point plex at the new partitions instead of the old ones. all i'm asking is if plex is still going to have it's issue of reading the files, or since the filke will be on ext4 partitions plex will see them without any problem at the default mount point?
 
Old 11-25-2018, 08:00 PM   #6
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: FreeBSD/Slackware-14.2+/ArcoLinux
Posts: 9,141

Rep: Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939
if it is needingext4 then I do not see why not, you should then just do as you are planing on. if you can only do one partition for testing purposes then I'd personally do that.
 
1 members found this post helpful.
Old 11-25-2018, 08:11 PM   #7
MrGrimm
LQ Newbie
 
Registered: Nov 2018
Location: Portland Oregon Canada
Distribution: Mint Cinnamon 19
Posts: 27

Original Poster
Rep: Reputation: 0
ok sounds good. thanks
 
Old 11-26-2018, 11:57 AM   #8
MrGrimm
LQ Newbie
 
Registered: Nov 2018
Location: Portland Oregon Canada
Distribution: Mint Cinnamon 19
Posts: 27

Original Poster
Rep: Reputation: 0
o.k. i shrunk one partition down, vreayed a ext4 partition, monted it, tried to copy the data to it and was told i don't have permission to do so. it's mounted /media/mc2635599/TV Specials 2. any chance of a quick walk through on what i need to do? thanks
 
Old 11-26-2018, 12:14 PM   #9
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 8,604

Rep: Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772
Most likely, change ownership of the drive/partition. Run: ls -ld "/media/mc2635599/TV Specials 2" to see the owner and permissions for that directory. You need the quotes if doing this in a terminal as you have spaces in the directory name. Linux systems are designed for multiple users and as such, restrict ownership permissions to the /home/user directory for each user. You could also likely copy as the root user on whatever Linux system you are using?
 
1 members found this post helpful.
Old 11-26-2018, 12:24 PM   #10
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,556

Rep: Reputation: 314Reputation: 314Reputation: 314Reputation: 314
Check the ext4 partition is mounted as read-write - identified as rw.
Code:
mount | grep /media
Check that you have rwx authorities (for your username) for each of /media/mc2635599 and "/media/mc2635599/TV Specials 2" directories.
That is not the minimal set of permissions - but it should suffice.

Last edited by JeremyBoden; 11-26-2018 at 12:27 PM.
 
1 members found this post helpful.
Old 11-26-2018, 12:37 PM   #11
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: FreeBSD/Slackware-14.2+/ArcoLinux
Posts: 9,141

Rep: Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939
did you change permissions on your new ext4 partition? Root owns it after creating it.
Code:
sudo chown user:group /path/ -R
 
1 members found this post helpful.
Old 11-26-2018, 01:08 PM   #12
MrGrimm
LQ Newbie
 
Registered: Nov 2018
Location: Portland Oregon Canada
Distribution: Mint Cinnamon 19
Posts: 27

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by JeremyBoden View Post
Check the ext4 partition is mounted as read-write - identified as rw.
Code:
mount | grep /media
Check that you have rwx authorities (for your username) for each of /media/mc2635599 and "/media/mc2635599/TV Specials 2" directories.
That is not the minimal set of permissions - but it should suffice.
this is whati'm seeing "/dev/sdc9 on /media/mc2635599/TV Specials 2 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)"


Quote:
Originally Posted by BW-userx View Post
did you change permissions on your new ext4 partition? Root owns it after creating it.
Code:
sudo chown user:group /path/ -R
so i am truly at a loss.
 
Old 11-26-2018, 01:20 PM   #13
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,556

Rep: Reputation: 314Reputation: 314Reputation: 314Reputation: 314
Wouldn't it be better to create a mount point for sd9 of /media/mc2635599 (for example),
You could then create a sub-directory such as "TV Specials 2" - this is much more flexible.

Last edited by JeremyBoden; 11-26-2018 at 01:28 PM.
 
1 members found this post helpful.
Old 11-26-2018, 01:30 PM   #14
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: FreeBSD/Slackware-14.2+/ArcoLinux
Posts: 9,141

Rep: Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939
ls -l on your partition, you'll see who owns it. if you're looking at root, then you need to change it to you or whatever user you want , and whatever group you want to own the partition. thus
Code:
sudo chown user:group /path to USB drive/ -R
-R is for recursive to change everything on the partition ownership
 
1 members found this post helpful.
Old 11-26-2018, 01:55 PM   #15
MrGrimm
LQ Newbie
 
Registered: Nov 2018
Location: Portland Oregon Canada
Distribution: Mint Cinnamon 19
Posts: 27

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by JeremyBoden View Post
Wouldn't it be better to create a mount point for sd9 of /media/mc2635599 (for example),
You could then create a sub-directory such as "TV Specials 2" - this is much more flexible.
yes i could create a folder in / and mount to it but i would like to avoid that this time if i can.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change file system from ext4 journeying to ext4 writeback ? 5883 Linux - Newbie 6 03-10-2014 08:04 AM
modprobe: Module ext4 not found. no dependencies for kernel module 'ext4' found TheIndependentAquarius Linux - Newbie 6 01-25-2012 05:07 AM
Is it safe to format USB flash to ext4 or ext4? joham34 Linux - Newbie 2 01-08-2011 11:58 AM
Remounting USB Flash Drives in KDE Woodsman Slackware 22 10-09-2008 06:42 PM
Remounting NTFS drives NDR008 Linux - Hardware 7 11-17-2006 06:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration