LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do I access my Windows Formatted Hard Drive in Knoppix? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-access-my-windows-formatted-hard-drive-in-knoppix-4175600811/)

MarkissJameseJohnson 02-28-2017 09:56 PM

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.

Rickkkk 02-28-2017 10:10 PM

Quote:

Originally Posted by MarkissJameseJohnson (Post 5677376)
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.

jefro 03-01-2017 03:18 PM

What knoppix version do you have?

How are you trying to access it, by mount command or thorough a gui file manager?

MarkissJameseJohnson 03-01-2017 06:13 PM

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.

MarkissJameseJohnson 03-01-2017 06:23 PM

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.

Rickkkk 03-01-2017 06:37 PM

Quote:

Originally Posted by MarkissJameseJohnson (Post 5677817)
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

Habitual 03-01-2017 06:48 PM

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 ;)

jefro 03-01-2017 07:50 PM

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.

Rickkkk 03-01-2017 08:30 PM

Quote:

Originally Posted by Habitual (Post 5677826)
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 ;)

:doh:

MarkissJameseJohnson 03-01-2017 11:13 PM

Quote:

Originally Posted by Rickkkk (Post 5677824)
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.

MarkissJameseJohnson 03-01-2017 11:28 PM

Quote:

Originally Posted by MarkissJameseJohnson (Post 5677885)
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.

yancek 03-02-2017 07:14 AM

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.

Mill J 03-02-2017 08:38 AM

Quote:

Originally Posted by MarkissJameseJohnson (Post 5677376)
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

Rickkkk 03-02-2017 12:04 PM

Quote:

Originally Posted by MarkissJameseJohnson (Post 5677890)
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.

dave@burn-it.co.uk 03-02-2017 01:34 PM

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.


All times are GMT -5. The time now is 11:55 AM.