LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 01-21-2021, 10:32 PM   #1
Dpres71
LQ Newbie
 
Registered: Jan 2021
Posts: 4

Rep: Reputation: Disabled
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
 
Old 01-22-2021, 10:27 AM   #2
whizje
Member
 
Registered: Sep 2008
Location: The Netherlands
Distribution: Slackware64 current
Posts: 594

Rep: Reputation: 141Reputation: 141
No formatting required.
 
1 members found this post helpful.
Old 01-22-2021, 11:25 AM   #3
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
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.
Old 01-22-2021, 03:40 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,351

Rep: Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690
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.
Old 01-30-2021, 01:19 PM   #5
Dpres71
LQ Newbie
 
Registered: Jan 2021
Posts: 4

Original Poster
Rep: Reputation: Disabled
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.
 
Old 01-31-2021, 10:55 AM   #6
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486
Quote:
Originally Posted by Dpres71 View Post
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.
 
Old 01-31-2021, 11:00 AM   #7
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by Dpres71 View Post
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,

Code:
lsblk -f
and we can give a better answer.
 
1 members found this post helpful.
Old 02-01-2021, 06:02 AM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,308

Rep: Reputation: 2693Reputation: 2693Reputation: 2693Reputation: 2693Reputation: 2693Reputation: 2693Reputation: 2693Reputation: 2693Reputation: 2693Reputation: 2693Reputation: 2693
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/
 
Old 02-01-2021, 11:46 AM   #9
jmgibson1981
Senior Member
 
Registered: Jun 2015
Location: Tucson, AZ USA
Distribution: Linux Mint 22
Posts: 1,227

Rep: Reputation: 439Reputation: 439Reputation: 439Reputation: 439Reputation: 439
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.
Old 02-01-2021, 09:36 PM   #10
Dpres71
LQ Newbie
 
Registered: Jan 2021
Posts: 4

Original Poster
Rep: Reputation: Disabled
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
 
Old 02-02-2021, 02:41 PM   #11
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,351

Rep: Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690
I assume it is not mounted by that ???
 
Old 02-02-2021, 08:46 PM   #12
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486
Quote:
Originally Posted by Dpres71 View Post
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.
Old 02-09-2021, 10:33 PM   #13
Dpres71
LQ Newbie
 
Registered: Jan 2021
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by computersavvy View Post
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!
 
  


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
[SOLVED] Can't re-partition and reformat WD My Passport Ultra external hard drive penyuan Linux - Hardware 4 10-14-2015 02:49 PM
[SOLVED] I have a SSD a 500GB drive and a 2TB drive and want to move Ubuntu from 500GB to SSD greatormesby Linux - Newbie 12 07-06-2015 09:58 AM
[SOLVED] trouble installing linux mint to 500gb external hard drive due to normal.mod error beenlord Linux - Newbie 153 02-09-2015 02:47 PM
Freecom 500GB External Hard Drive not visible gilbertt Linux - Hardware 3 11-13-2008 08:02 PM
Help with reformatting external hard drive Fastwalker Linux - Hardware 3 02-21-2007 09:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:42 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