Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-21-2021, 10:32 PM
|
#1
|
LQ Newbie
Registered: Jan 2021
Posts: 4
Rep: 
|
Is reformatting external hard drive required when switching from windows to Linux os? WD My passport 500gb Hd
Soon to be Linux convert.I have external hard drives for pictures and files. All data on drives was written using windows os. Can I continue to use same hard drives with out reformatting? Thank you for your time, assistance and coaching. I didn’t see this question already asked, if I missed it I will happily search again
|
|
|
01-22-2021, 10:27 AM
|
#2
|
Member
Registered: Sep 2008
Location: The Netherlands
Distribution: Slackware64 current
Posts: 594
Rep: 
|
No formatting required.
|
|
1 members found this post helpful.
|
01-22-2021, 11:25 AM
|
#3
|
Senior Member
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
|
If your drive is formatted with the NTFS filesystem, depending on the Linux distribution you choose, you may need to install the ntfs-3g package. Because not all Linux distributions install the ntfs-3g package by default. The ntfs-3g package contains the required NTFS filesystem driver needed to be able to mount an NTFS formatted drive on Linux with full read-write access.
|
|
1 members found this post helpful.
|
01-22-2021, 03:40 PM
|
#4
|
Moderator
Registered: Mar 2008
Posts: 22,351
|
Using external Windows drives is usually transparent to the user.
Two things to know. One is your distro may require your user to have rights to mount, read and write.
As noted above.
Some older distro's may not have NTFS-3g but almost all can and do have it to write to NTFS formats.
Exfat may be similar where you might need to add in some support.
|
|
1 members found this post helpful.
|
01-30-2021, 01:19 PM
|
#5
|
LQ Newbie
Registered: Jan 2021
Posts: 4
Original Poster
Rep: 
|
Issues opening HD-Probably because of HD Password
Kubuntu is seeing the HD when I use blkid but it won't see the UUID. My guess is because I put a password on the HD several years ago. From what I have read and watched, it appears that the only way to remove the password is to reformat (Not a linux problem or issue of course). Can anyone confirm that the HD must not have a password protection for linux to mount and open? Thank you again for any guidance.
|
|
|
01-31-2021, 10:55 AM
|
#6
|
Senior Member
Registered: Aug 2016
Posts: 3,345
|
Quote:
Originally Posted by Dpres71
Kubuntu is seeing the HD when I use blkid but it won't see the UUID. My guess is because I put a password on the HD several years ago. From what I have read and watched, it appears that the only way to remove the password is to reformat (Not a linux problem or issue of course). Can anyone confirm that the HD must not have a password protection for linux to mount and open? Thank you again for any guidance.
|
I cannot confirm one way or another, since you say that is an NTFS drive and I have no clue about how windows handles that. I doubt that Kubuntu will cleanly handle that form of windows security.
What I would suggest is that you copy all the data off it to a flash drive. Use linux to repartiton and format it the way you want, then put the data back on it. This would eliminate any conflicts in the way linux handles windows form of drive security.
|
|
|
01-31-2021, 11:00 AM
|
#7
|
Senior Member
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
|
Quote:
Originally Posted by Dpres71
Kubuntu is seeing the HD when I use blkid but it won't see the UUID. My guess is because I put a password on the HD several years ago. From what I have read and watched, it appears that the only way to remove the password is to reformat (Not a linux problem or issue of course). Can anyone confirm that the HD must not have a password protection for linux to mount and open? Thank you again for any guidance.
|
Windows UUID's/serial numbers don't look the same as Linux UUID's - Linux UUID's are a much longer string. Unless the drive is actually encrypted, then you should still be able to mount it under Linux provided you have the relevant filesystem drivers installed on your system.
Why don't you post the output from the following command within CODE tags,
and we can give a better answer.
|
|
1 members found this post helpful.
|
02-01-2021, 06:02 AM
|
#8
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,308
|
Quote:
Can anyone confirm that the HD must not have a password protection for linux to mount and open?
|
I don't use drive passwords but it doesn't matter which OS you are using if you have a drive password, you need to enter it on boot to access it. So just enter the password for the drive, get your data off. Or have you forgotten the password, you haven't indicated that's the case? A problem with using an ntfs filesystem if you are only going to be using a Linux OS is that if the ntfs filesystem is corrupted, you won't be able to repair it without windows or a windows repair disk at minimum. The only thing available in Linux is ntfsfix which only works for minor problems.
The link below discusses hard drive password protection and some possible ways around it if you have forgotten the password.
https://www.howtogeek.com/186881/har...re-your-files/
|
|
|
02-01-2021, 11:46 AM
|
#9
|
Senior Member
Registered: Jun 2015
Location: Tucson, AZ USA
Distribution: Linux Mint 22
Posts: 1,227
|
I didn't see anyone mention another issue. If you don't mount the drive with proper permissions then it will be root only. Windows doesn't understand *nix permissions so everything is root by default. You need to mount it with uid / gid options in the fstab if I recall or you won't be able to write to it. Should be able to read just fine though.
|
|
1 members found this post helpful.
|
02-01-2021, 09:36 PM
|
#10
|
LQ Newbie
Registered: Jan 2021
Posts: 4
Original Poster
Rep: 
|
Response with lsblk -f
Code:
~$ lsblk -f
NAME FSTYPE LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
loop0 squash 0 100% /snap/brav
loop1 squash 0 100% /snap/brav
loop2 squash 0 100% /snap/core
loop3 squash 0 100% /snap/gtk-
loop4 squash 0 100% /snap/snap
sda
├─sda1
│ vfat 6115-BE17 511M 0% /boot/efi
├─sda2
│
└─sda5
ext4 a25a96ac-4a3e-4bb8-9899-64b892e7b34a 80.6G 21% /run/times
sdb
sr0
sr1 udf WD SmartWare 4afdfb0f00000000
|
|
|
02-02-2021, 02:41 PM
|
#11
|
Moderator
Registered: Mar 2008
Posts: 22,351
|
I assume it is not mounted by that ???
|
|
|
02-02-2021, 08:46 PM
|
#12
|
Senior Member
Registered: Aug 2016
Posts: 3,345
|
Quote:
Originally Posted by Dpres71
Code:
~$ lsblk -f
NAME FSTYPE LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
sda
├─sda1
│ vfat 6115-BE17 511M 0% /boot/efi
├─sda2
│
└─sda5
ext4 a25a96ac-4a3e-4bb8-9899-64b892e7b34a 80.6G 21% /run/times
sdb
|
Looking at that I see sda which would be your primary disk, and sdb which has no partitions. If sdb is the disk you are asking about then linux does not even recognize a partition. That would likely indicate that it will be impossible to get any data off it using linux, and partitioning it would destroy any data there.
Use windows to recover (backup) the data then bring it back to linux and partition it to wipe out the password protected partition so linux can see it.
|
|
1 members found this post helpful.
|
02-09-2021, 10:33 PM
|
#13
|
LQ Newbie
Registered: Jan 2021
Posts: 4
Original Poster
Rep: 
|
Quote:
Originally Posted by computersavvy
Looking at that I see sda which would be your primary disk, and sdb which has no partitions. If sdb is the disk you are asking about then linux does not even recognize a partition. That would likely indicate that it will be impossible to get any data off it using linux, and partitioning it would destroy any data there.
Use windows to recover (backup) the data then bring it back to linux and partition it to wipe out the password protected partition so linux can see it.
|
I think that is exactly what is happening. My guess is that because the HD is password protected, linux can't recognize anything on the it (sdb). I purchased a 4TB HD and linux automatically mounted and opened it for me to use. I have also been able to utilize usb flash drives as well. It seems the password is the common problem. Thank you again for all the guidance!
|
|
|
All times are GMT -5. The time now is 02:42 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|