LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-30-2010, 10:16 AM   #1
Tedward
LQ Newbie
 
Registered: Dec 2009
Distribution: Slackware 13.1 x86_64
Posts: 26

Rep: Reputation: 0
NTFS drive stopped working in linux, still boots fine


I have had my computer set to dual boot Windows 7 for months now with no issue. Now today when I logged on to Slackware (13.1 x86_64) it suddenly stopped recognizing that my Windows 7 drive has anything on it. Fdisk cannot see any partitions anymore. Yet I can reboot the computer and run Windows 7 off it just fine. The windows drive should be /dev/sdb with sdb1 being its system reserved partition and sdb2 being the actual Windows partition.

Dmesg sees that it is there like my other drives, but it appears that the Windows 7 partition is not unaccessable to anything in Linux.

How could this work yesterday yet today it doesn't? I didn't change anything.
 
Old 09-30-2010, 10:45 AM   #2
basheer
Member
 
Registered: Mar 2009
Location: Bangalore, India
Distribution: CentOS6.5, CentOS7, Ubuntu14.04
Posts: 182

Rep: Reputation: 29
check your /etc/fstab file.
 
Old 09-30-2010, 01:53 PM   #3
Tedward
LQ Newbie
 
Registered: Dec 2009
Distribution: Slackware 13.1 x86_64
Posts: 26

Original Poster
Rep: Reputation: 0
Quote:
/dev/sda1 swap swap defaults 0 0
/dev/sda2 / ext3 defaults 1 1
/dev/sdd1 /media/x ext3 defaults 1 0
/dev/sdb2 /media/windows ntfs-3g umask=000 0 0
/dev/sde1 /media/external ntfs-3g umask=000 0 0
#/dev/sde1 /media/external vfat rw,uid=1000,gid=1000 0 0
#/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
This is my fstab file. It worked with this exact file yesterday. It's messed up because even when i run fdisk on /dev/sdb it shows there are NO partitions on it, even though it used to read them and the partitions ARE there, I can still run Windows 7 off it just fine.
 
Old 09-30-2010, 03:36 PM   #4
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,663

Rep: Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786
try to mount manually and see the results
 
Old 09-30-2010, 05:44 PM   #5
Tedward
LQ Newbie
 
Registered: Dec 2009
Distribution: Slackware 13.1 x86_64
Posts: 26

Original Poster
Rep: Reputation: 0
I do and it tells me the partition does not exist. I've been playing with linux for 5 years now so I do know a thing or 2 about mounting drives, I can usually figure that out. The problem is that it's not letting me see the partitions on /dev/sdb, which is my windows drive.

Quote:
# fdisk /dev/sdb
Shows me that it recognizes that a drive is there, but p prints out that the drive doesn't have any partitions on it.

I thought the drive went bad or something, but when I boot up the drive from LILO it starts windows normally and there are no problems with the drive.

I have been able to mount it consistantly on any distro until today. I upgraded my kernel to 2.6.35.3 weeks ago, but how could it have been working until today, without me changing anything?
 
Old 10-01-2010, 03:46 AM   #6
STDOUBT
Member
 
Registered: May 2010
Location: Stumptown
Distribution: Slackware64
Posts: 583

Rep: Reputation: 242Reputation: 242Reputation: 242
Please show us output of following commands:

mount

and

fdisk -l

and

mount /dev/sdb2 /mnt/hd

(assuming you have nothing already mounted on /mnt/hd)
I wonder if it's possible for Windows to have an update
that munges the way Linux sees NTFS? I wouldn't be too
surprised.
 
Old 10-01-2010, 09:28 AM   #7
Tedward
LQ Newbie
 
Registered: Dec 2009
Distribution: Slackware 13.1 x86_64
Posts: 26

Original Poster
Rep: Reputation: 0
mount
Quote:
ntfs-3g: Failed to access volume '/dev/sdb2': No such file or directory

ntfs-3g 2010.3.6 integrated FUSE 27 - Third Generation NTFS Driver
Configuration type 1, XATTRS are on, POSIX ACLS are off

Copyright (C) 2005-2007 Yura Pakhuchiy
Copyright (C) 2006-2009 Szabolcs Szakacsits
Copyright (C) 2007-2010 Jean-Pierre Andre
Copyright (C) 2009 Erik Larsson

Usage: ntfs-3g [-o option[,...]] <device|image_file> <mount_point>

Options: ro (read-only mount), remove_hiberfile, uid=, gid=,
umask=, fmask=, dmask=, streams_interface=.
Please see the details in the manual (type: man ntfs-3g).

Example: ntfs-3g /dev/sda1 /mnt/windows

Ntfs-3g news, support and information: http://ntfs-3g.org
fdisk
Quote:
sudo fdisk -l /dev/sdb

Disk /dev/sdb: 160.0 GB, 160000000000 bytes
255 heads, 63 sectors/track, 19452 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xe686f016

Device Boot Start End Blocks Id System
mount /dev/sdb /mnt/hd
Quote:
mount: special device /dev/sdb2 does not exist
It's just acting like it isn't there at all. Yet windows boots just fine off it...
 
Old 10-03-2010, 02:17 AM   #8
STDOUBT
Member
 
Registered: May 2010
Location: Stumptown
Distribution: Slackware64
Posts: 583

Rep: Reputation: 242Reputation: 242Reputation: 242
In case you're still hammering at this problem, here's a simple way
to find out if it's specific to the kernel or configs in Slackware.
Might be worth a try to see if you can mount that drive (normally)
under a live Ubuntu CD. Difference between 2.6.33 and 2.6.35.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB Pen Drive not detected in Linux (suse & Ubuntu) working fine in windows XP Ayyappan Linux - Newbie 9 02-22-2012 09:43 AM
[SOLVED] Linux boots fine but finally screen displays nothing stefanolima Linux - Hardware 4 07-28-2008 01:26 AM
Fedora 9 boots (long delay) as single core if I go to GRUB menu, otherwise boots fine saravkrish Fedora 1 05-27-2008 07:59 AM
Hard drive stopped working.. pilot1 Linux - Hardware 0 03-27-2003 07:26 AM

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

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