LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-28-2017, 10:56 PM   #1
MarkissJameseJohnson
LQ Newbie
 
Registered: Feb 2017
Posts: 6

Rep: Reputation: Disabled
How do I access my Windows Formatted Hard Drive in Knoppix?


I am using Knoppix to access my data on my Windows Formatted Hard Drive but it does not allow me in. It pops up as sdc1 and displays a weird message displayed below when I click on it. Does not give me any other options.




mount: /dev/sdc1 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sdc1,
missing codepage or helper program, or other error

In some cases useful info is found in syslog - try
dmesg | tail or so.





How can I access the hard drive and pull my data out of the download folder?


please help.
 
Old 02-28-2017, 11:10 PM   #2
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec, CANADA
Distribution: Arch
Posts: 1,234

Rep: Reputation: 451Reputation: 451Reputation: 451Reputation: 451Reputation: 451
Quote:
Originally Posted by MarkissJameseJohnson View Post
I am using Knoppix to access my data on my Windows Formatted Hard Drive but it does not allow me in. It pops up as sdc1 and displays a weird message displayed below when I click on it. Does not give me any other options.




mount: /dev/sdc1 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sdc1,
missing codepage or helper program, or other error

In some cases useful info is found in syslog - try
dmesg | tail or so.





How can I access the hard drive and pull my data out of the download folder?


please help.
Hi - just for clarity and in order to recommend the best mounting options, is this an internal drive or an external (USB ...) attached drive ? Also, the "wrong fs type" part of the message suggests that you don't have support in your linux installation for the file system used on the drive, most probably NTFS. You need to install the ntfs-3g package, using your distro's package manager.

With that and the proper mount options or fstab entry, you should be good afterward.

Last edited by Rickkkk; 02-28-2017 at 11:29 PM.
 
Old 03-01-2017, 04:18 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 19,514

Rep: Reputation: 3016Reputation: 3016Reputation: 3016Reputation: 3016Reputation: 3016Reputation: 3016Reputation: 3016Reputation: 3016Reputation: 3016Reputation: 3016Reputation: 3016
What knoppix version do you have?

How are you trying to access it, by mount command or thorough a gui file manager?
 
Old 03-01-2017, 07:13 PM   #4
MarkissJameseJohnson
LQ Newbie
 
Registered: Feb 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
To Rickkkk

It is connected by a USB adapter to SATA. Where do I or how can I download ntfs-3g package? I am running Knoppix 7.7 off of a USB stick.
 
Old 03-01-2017, 07:23 PM   #5
MarkissJameseJohnson
LQ Newbie
 
Registered: Feb 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
Jefro

I believe it is Knoppix 7.7 that is what it says on the desktop screen. I was trying to mount it but the path to destination does not matter. Or that matters is me getting their.

I like to access the folder/files the original way it was organized in Windows. I ran recovery software in Windows and it just throughs the data all over the place. Organizes it based on what it is/Was instead of how I had originally organized. I would have spend years reorganizing everything if I chose the recovery software way.
 
Old 03-01-2017, 07:37 PM   #6
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec, CANADA
Distribution: Arch
Posts: 1,234

Rep: Reputation: 451Reputation: 451Reputation: 451Reputation: 451Reputation: 451
Quote:
Originally Posted by MarkissJameseJohnson View Post
To Rickkkk

It is connected by a USB adapter to SATA. Where do I or how can I download ntfs-3g package? I am running Knoppix 7.7 off of a USB stick.
Hey Markiss - I'm afraid I'm unfamiliar with Knoppix. Do you know which package manager it uses ? Also, I understand that you're running it as a "live distro" (booting a full system off of removable media) - I'm quite surprised that it doesn't include ntfs support ...

*** time passing *** .. OK, after a quick search, it appears that Knoppix live DOES include ntfs support. So this is odd. We need to determine the file system of the disk you are trying to read ... Could you please try this command and show us the result :

$ lsblk -f
 
Old 03-01-2017, 07:48 PM   #7
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Yawnstown, Ohio
Distribution: Mojave
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Having recently been crushed in another thread along these same lines, I have to ask,
Are any of the hosts a virtual machine?

Hi Rikkkk
 
Old 03-01-2017, 08:50 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 19,514

Rep: Reputation: 3016Reputation: 3016Reputation: 3016Reputation: 3016Reputation: 3016Reputation: 3016Reputation: 3016Reputation: 3016Reputation: 3016Reputation: 3016Reputation: 3016
NTFS-3G should be in Knoppix. Use the built in file manager to open the internal drive. Read on ntfs has been in linux forever. In this case you don't really need to write to it, just read. Don't attempt to add ntfs-3g in yet.

The drive sdc1 seems odd to me. Think we need to verify that.

Guess you can run the partition manager in knoppix.

Guess you could see if testdisk would see anything.

Last edited by jefro; 03-01-2017 at 10:18 PM.
 
1 members found this post helpful.
Old 03-01-2017, 09:30 PM   #9
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec, CANADA
Distribution: Arch
Posts: 1,234

Rep: Reputation: 451Reputation: 451Reputation: 451Reputation: 451Reputation: 451
Quote:
Originally Posted by Habitual View Post
Having recently been crushed in another thread along these same lines, I have to ask,
Are any of the hosts a virtual machine?

Hi Rikkkk
 
Old 03-02-2017, 12:13 AM   #10
MarkissJameseJohnson
LQ Newbie
 
Registered: Feb 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Rickkkk View Post
Hey Markiss - I'm afraid I'm unfamiliar with Knoppix. Do you know which package manager it uses ? Also, I understand that you're running it as a "live distro" (booting a full system off of removable media) - I'm quite surprised that it doesn't include ntfs support ...

*** time passing *** .. OK, after a quick search, it appears that Knoppix live DOES include ntfs support. So this is odd. We need to determine the file system of the disk you are trying to read ... Could you please try this command and show us the result :

$ lsblk -f

I am not familiar with Linux let alone Knoppix. Is there a user guide some where on the internet? I ran the command in Knoppix LXTerminal and it stated bash command not found.
 
Old 03-02-2017, 12:28 AM   #11
MarkissJameseJohnson
LQ Newbie
 
Registered: Feb 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by MarkissJameseJohnson View Post
I am not familiar with Linux let alone Knoppix. Is there a user guide some where on the internet? I ran the command in Knoppix LXTerminal and it stated bash command not found.
If it helps, the hard drive is coming of a Windows 10 PC. A corrupted boot process was caused by forcing the computer to shutdown while installing content for a HP Office jet Pro 6968 printer. After a series of trouble shooting the problem with people over the Internet the situation only got worse. I still cannot believe Windows allows regular users to force shut down that will cause so many problems.


At this point I just want my downloads from the download folder. Many people on the Internet say what you cannot do in Windows you can do in Linux. And the #1 Linux for data recovery is Knoppix which brings me here.
 
Old 03-02-2017, 08:14 AM   #12
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 8,902

Rep: Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859
I'm surprised the "lsblk -l" command returned the message it did. Try running the fdisk -l or gdisk -l commands (Lower Case Letter L in the command). I'm not sure if Knoppix uses sudo, so try preceding each of the commands with sudo and if that fails enter: su - and hit the enter key and if prompted for a password, hit the enter key again. I don't think a Knoppix Live DVD has a password but I guess you'll find out.

With windows 10, you have hibernate always on unless you manually turn it off. That leads to problems accessing from any Linux but the output you posted doesn't look like that is the problem. More likely, from your last post, you have a corrupted filesystem on your windows partition and will probably need your windows DVD or some other windows software to repair that.

Do an online search "how to use knoppix" and you will get countless results, pick one.
 
Old 03-02-2017, 09:38 AM   #13
Mill J
Member
 
Registered: Feb 2017
Location: 127.0.0.1 Sweet 127.0.0.1
Distribution: Void, MX, Haiku, Icaros, Puppy and many others
Posts: 981
Blog Entries: 2

Rep: Reputation: 408Reputation: 408Reputation: 408Reputation: 408Reputation: 408
Quote:
Originally Posted by MarkissJameseJohnson View Post
I am using Knoppix to access my data on my Windows Formatted Hard Drive but it does not allow me in. It pops up as sdc1 and displays a weird message displayed below when I click on it. Does not give me any other options.




mount: /dev/sdc1 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sdc1,
missing codepage or helper program, or other error

In some cases useful info is found in syslog - try
dmesg | tail or so.





How can I access the hard drive and pull my data out of the download folder?


please help.
I wonder if you have a hibernation file blocking you. Did you turn off fast-start in Windows? if you didn't it could be your problem. recent Windows have a hybrid shut-down which is almost like Hibernation by default. If that is the case you have to either reboot to Windows and hit restart then as soon as it starts to boot. ESC into Linux or you can remove the hibernation file if you're not afraid of wrecking Windows. It can corrupt the bootloader. It can be fixed too...

http://www.webupd8.org/2015/06/workarounds-for-not-being-able-to-mount.html?m=1
 
Old 03-02-2017, 01:04 PM   #14
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec, CANADA
Distribution: Arch
Posts: 1,234

Rep: Reputation: 451Reputation: 451Reputation: 451Reputation: 451Reputation: 451
Quote:
Originally Posted by MarkissJameseJohnson View Post
If it helps, the hard drive is coming of a Windows 10 PC. A corrupted boot process was caused by forcing the computer to shutdown while installing content for a HP Office jet Pro 6968 printer. After a series of trouble shooting the problem with people over the Internet the situation only got worse. I still cannot believe Windows allows regular users to force shut down that will cause so many problems.


At this point I just want my downloads from the download folder. Many people on the Internet say what you cannot do in Windows you can do in Linux. And the #1 Linux for data recovery is Knoppix which brings me here.
... this information does indeed help ... A couple of comments and suggestions given this situation:

- As you may have already experienced, one can sometimes worsen a situation while trying to fix a problem. That doesn't mean you shouldn't try to fix things yourself, just that if you have absolutely no experience with the issue, it is best to do some research before starting.

- That said, in my experience, it is rare that events such as you describe would lead to not being able to recover ANY data from the affected disk ... so keep the faith for now ;-)

- Not being familiar with linux is not a weakness - everyone starts somewhere. Your instinct to ask for help (from this community, for example) is a good one.

- Concerning the problem at hand: I agree with the suggestion made by at least 2 other members here, that Windows' hybrid/hibernation function may have made the disk temporarily inaccessible. As suggested by yancek, I believe the safest way to troubleshoot this issue is by booting the Windows 10 installation DVD or accessing the recovery partition at boot. This would mean reinstalling the disk into the system it is normally part of and restarting. You may want to consult folks either in this thread (if they are willing to help - this is after all a linux forum ...) or on a Windows-based forum before trying things you are unfamiliar with. Personally, I would be happy to continue to help you, since I dual-boot Windows 10 and linux on most of my computers and have extensive experience on both OS'es.

- If that doesn't yield any results, and we're getting a little ahead of ourselves here, we may have to try resolving this with a different version of linux. I echo yancek's surprise at the lsblk command being absent from knoppix, or from ANY version of linux .. It is a fairly basic command going back to the Unix roots of all 'nix systems ...

Those are my comments and suggestions - best of luck, keep us informed and don't hesitate to get back to us for help.
 
Old 03-02-2017, 02:34 PM   #15
dave@burn-it.co.uk
Member
 
Registered: Sep 2011
Distribution: Puppy
Posts: 601

Rep: Reputation: 172Reputation: 172
I suspect the drive is formatted as NTFS and the "dirty" bit is set - which it would be if the file system wasn't closed properly when it crashed.
You will need to get the file system checked either using Windows CHKDSK /F or a packaged NTFS file utility in Linux.
 
1 members found this post helpful.
  


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
can't mount external windows formatted usb hard drive markyramone Linux - Hardware 4 01-21-2013 10:36 PM
[SOLVED] Access files in Windows from partly formatted SATA drive (linux) lanceshaw Linux - Newbie 1 03-16-2011 01:50 PM
Formatted the Drive with Fedora.. Now can't access Windows karthik.sigma Linux - Software 1 03-27-2007 12:17 AM
how to access hard drive using Knoppix live CD izquierdista Linux - Software 3 12-09-2005 05:46 PM
windows formatted hard drive motaguense Linux - Hardware 3 09-15-2004 05:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:24 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration