LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 12-26-2015, 01:22 PM   #1
Deerslayer
Member
 
Registered: May 2005
Distribution: CentOS 7
Posts: 34

Rep: Reputation: 15
Unable to read NTFS partitions in CentOS 7


I installed CentOS 7 yesterday, and grub2 didn't make an entry for Win 7. I then discovered that gparted can't read my NTFS partitions. I've installed ntfs-3g and even *ntfs*.

I've searched here and elsewhere, and everything I found indicated that ntfs-3g should have fixed this problem.

Any suggestions appreciated.
 
Old 12-26-2015, 04:57 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Can you be more specific?

Which commands are you using to read the partitions.
What error messages.
Any error message in the journal?
Also, is Windows shut down or did you just hibernate it?
 
Old 12-26-2015, 08:08 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
are you 100 sure that you did not install CentOS7 to the WHOLE disk
that is the default setting


as in

did you use win7 and the tools in win7 to SHRINK the windows partition

leaving it unpartitioned

then installing CentOS 7 to "THAT" unpartitioned space


and install GRUB to the first LINUX partition , leaving win7 to the MBR

cent would than AT the time of install asked you IF you wanted to list "other" as win7

Last edited by John VV; 12-26-2015 at 08:10 PM.
 
Old 12-26-2015, 09:42 PM   #4
Deerslayer
Member
 
Registered: May 2005
Distribution: CentOS 7
Posts: 34

Original Poster
Rep: Reputation: 15
After re-reading my post, I realized that I left out some potentially useful info.

sda is my SSD drive, which contains my Win 7 installation. sdb is my hard drive, which is where I installed CentOS.

Windows will still boot, if I interrupt the boot sequence to tell the BIOS to boot from that drive. If I don't, my default boot order is the hard drive first, so I get the grub2 menu, which contains only CentOS boot options.

I tried running grub2-mkconfig after installing ntfs-3g, but it still doesn't see the Windows partitions on sda. Same with fdisk and blkid. gparted sees the NTFS partitions, but it says it can't read them.

berndbausch: Thanks for responding. I haven't seen any error messages when reading the partition info. I ran journalctl, but didn't see anything that seemed to be related to this problem. Windows was shut down (not hibernated). Please let me know if I can provide more info.

JohnVV: Thanks also for responding. I've tried to answer your questions above; please let me know if I can provide more info.
 
Old 01-11-2016, 09:01 PM   #5
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
isn't there like a
Code:
 update-grub #or grub-update
this usally picks up what it might have missed in an install or forwhatever reason. Ntfs-3g is for mounting NTFS FS in fstab. from what I know of it, at least that is what I used if for.

if you're getting into your Linux , two me, I install grub(2) on MBR.
Code:
install-grub /dev/sda
update-grub
it will not hurt it if your re-install grub where ever you put it the first time. or somewhere else, but if you are going to install it somewhere else, I'd unInstall it where ever it is now first, then install it in the somewhere else place next. this is done without rebooting, or loging out then in again , part one then part two right afterwords.

when I had dual boot, I went with MBR, update-grub searches to see if you have other OS's installed and adds them to the conf boot listing file thingy so you can pick one during boot up. it's either install-grub /dev/sdx or grub-install /dev/sdx x being whatever Partition/hdd you want to put it on.

but you knew that didn't you?

Last edited by BW-userx; 01-11-2016 at 09:14 PM.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to mount ntfs partitions sundoe Linux - Desktop 3 01-26-2008 05:06 AM
Mounting NTFS partitions for read/write in Debian comiconomenclaturist Linux - Newbie 1 10-28-2007 01:23 PM
read/write ntfs partitions!!!! mlu Linux - Software 2 01-20-2005 01:42 PM
Linux can read NTFS partitions...how? Quew Linux - Newbie 4 12-28-2003 04:32 PM
Read multi partitions in Windows NTFS from linux java8964 Linux - General 5 11-19-2003 11:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

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