LinuxQuestions.org
Visit Jeremy's Blog.
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 04-01-2020, 04:32 PM   #16
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952

Rep: Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148

yes ext4 is better, if that is a separate hdd on your system, just set it up to mount in fstab.
example as root, or su
Code:
#mkdir -p /media/data
#chown -R username: /media/data
#nano /etc/fstab
/dev/sdb1        /media/data ext4 defaults 1   2
or 
UUID=xxxx-qee-xvevevev /media/data ext4 defaults 1 2 

exit nano saving file.
#mount -a
if error in mounting, it will show up on the command line.
 
Old 04-02-2020, 04:48 AM   #17
anon026
Member
 
Registered: Jan 2018
Posts: 33

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by sevendogsbsd View Post
If you are only going to access this drive from Linux, ext4 is a better choice, but if you MAY access it from Windows or Mac, then FAT32 is a better choice. NTFS is a bad choice all around, unless it is only accessed from Windows.
Thanks for post, and, yes, definitely ext4 better. No chance I'd go anywhere near windows again. Just struggling with the terminal stuff, so at least can use drive for backups via fat32. Good to learn about NTFS; will definitely stay away from that, and can now understand why trying that out didn't work.
 
Old 04-02-2020, 04:54 AM   #18
anon026
Member
 
Registered: Jan 2018
Posts: 33

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by BW-userx View Post
yes ext4 is better, if that is a separate hdd on your system, just set it up to mount in fstab.
example as root, or su
Code:
#mkdir -p /media/data
#chown -R username: /media/data
#nano /etc/fstab
/dev/sdb1        /media/data ext4 defaults 1   2
or 
UUID=xxxx-qee-xvevevev /media/data ext4 defaults 1 2 

exit nano saving file.
#mount -a
if error in mounting, it will show up on the command line.
Thankyou for post. Really appreciate you writing out commands. Brain seizes up with anything like this, lol, but will take a look at it more a bit later and post back. Thanks again.
 
Old 04-02-2020, 11:18 AM   #19
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952

Rep: Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148
Quote:
Originally Posted by anon026 View Post
Thankyou for post. Really appreciate you writing out commands. Brain seizes up with anything like this, lol, but will take a look at it more a bit later and post back. Thanks again.
to try and help prevent brain freeze the commands to get the device address are/

to get old school mount source
Code:
lsblk
to get UUID
Code:
sudo blkid
 
1 members found this post helpful.
Old 04-02-2020, 12:56 PM   #20
anon026
Member
 
Registered: Jan 2018
Posts: 33

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by BW-userx View Post
to try and help prevent brain freeze the commands to get the device address are/

to get old school mount source
Code:
lsblk
to get UUID
Code:
sudo blkid
Thank you very much. Will add the commands to my notes ... lol, since coming to Linux I've needed to keep simple notes for installs/maintenance, so it's cool to add this in. Thanks!
 
Old 04-03-2020, 07:17 AM   #21
fjcp
LQ Newbie
 
Registered: Mar 2020
Location: Brazil
Distribution: Linux Mint
Posts: 3

Rep: Reputation: Disabled
Quote:
Originally Posted by anon026 View Post
Thank you very much for further replies. I'd tried to format it to fat32 after happening to see a video thumbnail today that said fat32 covers all platforms. Was surprised it worked, after all attempts at ext4 and ntfs etc. Previously formatting drives to ext4 didn't block normal access, so hitting whatever has changed hasn't been pleasant. Am fully linux, no dual boot, etc, but will need to settle for fat32 for this drive. Will be sure to remember about executables.
Hello, although it worked with FAT32 I wouldn't recommend you to format a 2TB Backup HDD with this file system due to its various limitations. The greatest problem with it is that individual files on a FAT32 drive canít be over 4 GB in size. If you have a 4.5 GB movie for example you can't copy it to your drive if it's FAT32.

I can't help with your problem, but I think it's worth expending a little more time trying to solve it before you move on. Eventually you have to reformat it in the future if you need bigger files on it and you'll have the same problem again.
 
Old 04-03-2020, 10:51 AM   #22
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952

Rep: Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148
I do not see why someone said not NTFS, I use NTFS always, when I use windows format, I pick NTFS,and a glass of Pepsi. I've never had issues with it what could not be fix running dual boot, and that is not to say I have issue with using NTFS. mostly on my external drives I use as NTFS is where I have to occasionally go into Windows and run its fix disk on it.

It gets past that size limits.
 
Old 04-03-2020, 11:06 AM   #23
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,256

Rep: Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000
I said no NTFS if not using Windows. If using Windows, sure, why not. If only using Linux, which OP is, there is no point to using NTFS. That's why I said that: use native file systems if possible.
 
1 members found this post helpful.
Old 04-03-2020, 12:31 PM   #24
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952

Rep: Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148
Quote:
Originally Posted by sevendogsbsd View Post
I said no NTFS if not using Windows. If using Windows, sure, why not. If only using Linux, which OP is, there is no point to using NTFS. That's why I said that: use native file systems if possible.
oh... K. so what is with the FAT16/32 stuff? you do not have to answer that, it is just one of them questions.
 
Old 04-03-2020, 12:59 PM   #25
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,256

Rep: Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000
NTFS is not universally seen from other platforms but FAT32 (mostly) is: Mac, Linux, BSD, etc. I think that is why OP used FAT32, plus the fact FAT32 has no permissions, which also solved their earlier issue with ownership of the mount. As mentioned by others, if the system is Linux only and they will never share the drive with another OS, just use ext4 and work out the ownership and permissions issues. Plus as someone else mentioned, FAT32 has file size limitations.

I wasn't disparaging NTFS, just that since it is native to only windows, there is no point to use it on a Linux only system.
 
1 members found this post helpful.
Old 04-03-2020, 01:31 PM   #26
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952

Rep: Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148
Quote:
Originally Posted by sevendogsbsd View Post
NTFS is not universally seen from other platforms but FAT32 (mostly) is: Mac, Linux, BSD, etc. I think that is why OP used FAT32, plus the fact FAT32 has no permissions, which also solved their earlier issue with ownership of the mount. As mentioned by others, if the system is Linux only and they will never share the drive with another OS, just use ext4 and work out the ownership and permissions issues. Plus as someone else mentioned, FAT32 has file size limitations.

I wasn't disparaging NTFS, just that since it is native to only windows, there is no point to use it on a Linux only system.
freeBSD 12+ does NTFS .. just not really stable as far as writing to it, but reading it I've hod no issues. I usually try to still to my ext4 and mount them ext2fs partitions on FreeBSD , but adding the right apps NTFS too can be used.
 
Old 04-03-2020, 02:16 PM   #27
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,256

Rep: Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000
I get that but I am not going to use or advise someone to use a non-native file system if they have no reason to. I only use native file systems on FreeBSD (UFS and ZFS) because they are native. I will never use a Microsoft file system of any sort if I don't have to, not because they are inferior in general but because they are not native.

That's all I am saying...
 
Old 04-03-2020, 02:21 PM   #28
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952

Rep: Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148
Quote:
Originally Posted by sevendogsbsd View Post
I get that but I am not going to use or advise someone to use a non-native file system if they have no reason to. I only use native file systems on FreeBSD (UFS and ZFS) because they are native. I will never use a Microsoft file system of any sort if I don't have to, not because they are inferior in general but because they are not native.

That's all I am saying...
agreed, for the faint hearted.
 
1 members found this post helpful.
  


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 access and decrypt LUKS encrypted SSD that has been moved from internal drive to external USB drive Chripcikas Linux - Newbie 8 02-21-2019 08:52 AM
Can only access USB external drive when in ROOT user bytebull Mandriva 15 01-06-2007 01:02 PM
ext3 partition on external USB hard drive mounted, but only root access allowed leontini Linux - Hardware 4 02-17-2006 02:54 AM
External Hard Drive --No Access as USER only ROOT (10.1) 1kyle Mandriva 1 10-31-2004 10:09 AM
Is it possible to mount an external mac formatted firewire drive? BrianK Linux - General 1 06-03-2004 08:08 PM

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

All times are GMT -5. The time now is 05:12 PM.

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
Open Source Consulting | Domain Registration