LinuxQuestions.org
Visit Jeremy's Blog.
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-20-2020, 12:08 PM   #1
lulle
LQ Newbie
 
Registered: Jan 2020
Posts: 5

Rep: Reputation: Disabled
win 7 denying access to hdd after being used with linux


I refuse switching from win 7 to win 10, so my solution is to gradually grow into Linux, and use Linux for surfing, but keep win 7 for my old programs.
I have my hdds on cassettes, so switching hdd is easy . I have one hdd dedicated for system ( one system ), and another hdd dedicated to data .
At first it seemed like I could switch system without problem, but suddenly the win 7 denied access to my data drive.
If windows and linux cant share a common data-hdd, then I am in trouble .
File system is ntfs . my linux is linux mint mate.
Grateful for help.
Hans
 
Old 01-20-2020, 12:56 PM   #2
baldur_1
Member
 
Registered: Sep 2010
Posts: 277

Rep: Reputation: 28
well, linux and windope can share an hdd but it needs to be formatted in ntfs and it needs to be formatted in ntfs by gparted or windows itself usually. there is no reliable ext(*) support for windope however there is reliable ntfs support in linux. it will allow you to read/write in both oses given you have configured the linux mount properly.
 
Old 01-20-2020, 12:58 PM   #3
baldur_1
Member
 
Registered: Sep 2010
Posts: 277

Rep: Reputation: 28
oh, i had an issue recently as i do the same thing, i dual boot windope (before 7 now 10) and fc now 31 where a drive formatted via win7 would not mount in win10 so i had to format the drive in win10 to get it to be mountable (or given a drive letter) in win10.
 
Old 01-21-2020, 03:19 AM   #4
lulle
LQ Newbie
 
Registered: Jan 2020
Posts: 5

Original Poster
Rep: Reputation: Disabled
File system is ntfs, but win7 denies access to data hdd after having used it with linux .
However it worked with an old xp system !!??
 
Old 01-21-2020, 10:50 AM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,438

Rep: Reputation: 2724Reputation: 2724Reputation: 2724Reputation: 2724Reputation: 2724Reputation: 2724Reputation: 2724Reputation: 2724Reputation: 2724Reputation: 2724Reputation: 2724
Quote:
File system is ntfs, but win7 denies access to data hdd after having used it with linux .
What exactly does 'used it with linux' mean? Linux systems can read/write to ntfs filesystems but since that is a proprietary microsoft filesystem it would obviously be expected to work better from windows. Simply copying data to/from an ntfs partition in windows should not cause a problem so you might want to provide more details. How old is this drive? Have you tried asking on a windows forum since it is your windows OS which has problems with your windows partition?
 
Old 01-21-2020, 11:55 AM   #6
dc.901
Senior Member
 
Registered: Aug 2018
Location: Atlanta, GA - USA
Distribution: CentOS/RHEL, openSuSE/SLES, Ubuntu
Posts: 1,005

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by lulle View Post
File system is ntfs, but win7 denies access to data hdd after having used it with linux .
However it worked with an old xp system !!??
If you go to disk management, does the drive still has valid partition?
What is the exact error when you try to read from the drive (in windows)?
Can you still access that drive in Linux?
 
Old 01-21-2020, 01:15 PM   #7
lulle
LQ Newbie
 
Registered: Jan 2020
Posts: 5

Original Poster
Rep: Reputation: Disabled
This drive is a brand new samsung ssd 500 GB.It is used exclusively for data .
I have used it from win 7 before , but now it is only accessible from linux .( and win XP !!?? )
It shows up in disk management as a working primary partition, but when I try to open it i get the message access denied .
Strangely it is accessible from an old xp system.
Unfortunately the linux system ( on a separate new ssd ) has freaked out . The resolution is like 500x300 ,Almost impossible to manage . My old monitor settings are ignored .
 
Old 01-21-2020, 02:33 PM   #8
baldur_1
Member
 
Registered: Sep 2010
Posts: 277

Rep: Reputation: 28
i went through the EXACT same thing as you. when i formatted my second drive initially, i formatted it i think with win 7 in ntfs. everything was fine with the drive. when i switched to win 10, win 10 would not recognize the drive. i think microcrap is doing something because it is not 100% universal ntfs will be accepted by win anymore. i have been doing this since win 2000. in the early days it was universally accepted as long as it was ntfs win would accept it. now, it is almost like windows will only accept some certain type of ntfs format or something...

after this happened to me, when i formatted it with linux, mkfs.ntfs, it would still not recognize the format in windows. it would find the drive but would not allow it to have a drive letter. so finally i saved the data onto another hd and formatted with drive in win10 and then it has worked but not until. i dont know if it is a ntfs structural thing or something else but windope now is very picky about its ntfs format and it started in win 7 and has gotten worse in win 10.

remember this is microsoft you are dealing with. for me, it just saves time to admit they are jacka***s and just format it in the new os and put the drive back. it is only a few 100 gigs at most anyway.
 
Old 01-22-2020, 03:20 AM   #9
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 22 MATE, Peppermint OS-Devuan, EndeavourOS, antiX
Posts: 4,552
Blog Entries: 51

Rep: Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673
lulle,

It appears to be a Microsoft permissions problem.

From XP to W7:
https://www.blogsdna.com/2159/how-to...-windows-7.htm

From W7 to W10:
https://answers.microsoft.com/en-us/...7-c7dc749cfe36

baldur_1's workaround could well solve this for you.
 
Old 01-22-2020, 06:10 AM   #10
lulle
LQ Newbie
 
Registered: Jan 2020
Posts: 5

Original Poster
Rep: Reputation: Disabled
So far, thanks for all suggestions.

Is there a possibility that installing linux could cause a change in bios settings ?

Now my number one priority and concern is to be 100% sure that my data is always secure . I will primarily rely on usb-sticks in the future .
Secondly I want to find a way to work with my old programs in win 7, ( I still refuse win 10 ).
If I can find a way of safely going linux, I would like to gradually abandon windows .
 
Old 01-22-2020, 06:50 AM   #11
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 22 MATE, Peppermint OS-Devuan, EndeavourOS, antiX
Posts: 4,552
Blog Entries: 51

Rep: Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673
lulle,

The BIOS settings will remain unchanged after installing Linux.
 
1 members found this post helpful.
Old 01-23-2020, 11:08 AM   #12
baldur_1
Member
 
Registered: Sep 2010
Posts: 277

Rep: Reputation: 28
well, if ensuring the data is secure for the future, you shouldnt be using a ssd to begin with. those are not really great (maybe proven) for long-term storage. they are great for speed and stuff but the long-term stability is important. platter drives are much better for that.

you are right to want to slowly switch to linux, that is what i did (granted like 15 years ago but...) and now i only use windope for gaming. linux is so much better because you can do so much more with it. the awesome things i have done with and you can do with it is amazing.

here is how i set-up my system so that i can deal with the windope garbage, i dual boot between fedora and windope. i put one os on each and give them at least 1 tb drives. i have one drive that i use just to transfer files betweeen windope and my linux system so that can be any drive any size because it is not permanent storage really. when i go to linux, i move whatever files to my linux drive which are more secure and stable in ext4 for their premanent storage and then i have bacula back-up that drive.

BUT, another way you can do it is you CAN mount via the mount command or your /etc/fstab file, your windope os to your linux system so that you do not have to have that second drive on there so then you can, from linux move files between windope and linux and not have that second drive and you have complete access to your windope mount. unfortunately, the only way i found to get a drive to mount in windope is to format it in windope since 7 though. also, there is no reliable way for windope to read AND write to a linux formatted drive though. there are programs that it can read to but writing is not reliable.
 
1 members found this post helpful.
Old 01-24-2020, 12:43 AM   #13
lulle
LQ Newbie
 
Registered: Jan 2020
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thank you all for your tips.

The imminent crisis is over since i have managed to backup my data to a usb stick .
I will gather still more information and then see if I can make win and linux coexist in some way.

Hans/lulle
 
Old 01-24-2020, 06:22 AM   #14
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,996
Blog Entries: 46

Rep: Reputation: 3233Reputation: 3233Reputation: 3233Reputation: 3233Reputation: 3233Reputation: 3233Reputation: 3233Reputation: 3233Reputation: 3233Reputation: 3233Reputation: 3233
Member Response

Hi,

Quote:
Originally Posted by baldur_1 View Post
well, if ensuring the data is secure for the future, you shouldnt be using a ssd to begin with. those are not really great (maybe proven) for long-term storage. they are great for speed and stuff but the long-term stability is important. platter drives are much better for that.
What basis do you have to state a 'SSD' is not reliable? Spinning disk have a chance for head crash and heat degradation.

Quote:
Originally Posted by baldur_1 View Post
you are right to want to slowly switch to linux, that is what i did (granted like 15 years ago but...) and now i only use windope for gaming. linux is so much better because you can do so much more with it. the awesome things i have done with and you can do with it is amazing.
Your use of 'windope' is just showing your prejudices. Some people do have to use MS Windows without choice. It is still widely used. I personally have to support clients that require MS products. My systems use Slackware but dual boots for MS in order supply support.


Quote:
Originally Posted by baldur_1 View Post
here is how i set-up my system so that i can deal with the windope garbage, i dual boot between fedora and windope. i put one os on each and give them at least 1 tb drives. i have one drive that i use just to transfer files betweeen windope and my linux system so that can be any drive any size because it is not permanent storage really. when i go to linux, i move whatever files to my linux drive which are more secure and stable in ext4 for their premanent storage and then i have bacula back-up that drive.

BUT, another way you can do it is you CAN mount via the mount command or your /etc/fstab file, your windope os to your linux system so that you do not have to have that second drive on there so then you can, from linux move files between windope and linux and not have that second drive and you have complete access to your windope mount. unfortunately, the only way i found to get a drive to mount in windope is to format it in windope since 7 though. also, there is no reliable way for windope to read AND write to a linux formatted drive though. there are programs that it can read to but writing is not reliable.
That is what is nice about dual boot that individuals can setup their system(S) they way they want.
Gnu/Linux support for NTFS has been available for a long time. I fall back to NTFS-3g and have no issues. Sure, I setup a ntfs drive/partition formatted for sharing with no problems. I have yet to experience any issues. Can you provide disk information when you use ntfs-3g to format;
Quote:
'man ntfss-3g'
ntfs-3g [-o option[,...]] volume mount_point mount -t ntfs-3g [-o option[,...]] volume mount_point lowntfs-3g [-o option[,...]] volume mount_point mount -t lowntfs-3g [-o option[,...]] volume mount_point DESCRIPTION ntfs-3g is an NTFS driver, which can create, remove, rename, move files, directories, hard links, and streams; it can read and write files, including streams, sparse files and transparently compressed files; it can handle special files like symbolic links, devices, and FIFOs; moreover it provides standard management of file ownership and permissions, including POSIX ACLs. It comes in two variants ntfs-3g and lowntfs-3g with a few differences mentioned below in relevant options descriptions. The volume to be mounted can be either a block device or an image file. Windows hibernation and fast restarting
Hope this helps.
Have fun & enjoy Gnu/Linux!
 
  


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
LXer: Microsoft herds biz users to Windows 10 by denying support for Win 7 and 8 on new CPUs LXer Syndicated Linux News 0 01-18-2016 07:50 AM
How to configure to show an empty listing instead of denying access - Linux SFTP rajaniyer123 Linux - Software 1 08-29-2014 10:24 AM
Web Server denying access. cjkeeme Linux - Networking 4 05-15-2005 04:38 PM
Denying access to SSH but allow access to FTP nemesisza Linux - Security 5 03-14-2004 10:25 PM
denying pop access remotely slack66 Linux - Security 1 01-28-2004 06:18 PM

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

All times are GMT -5. The time now is 08:53 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
Open Source Consulting | Domain Registration