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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
02-28-2017, 09:56 PM
|
#1
|
LQ Newbie
Registered: Feb 2017
Posts: 6
Rep:
|
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.
|
|
|
02-28-2017, 10:10 PM
|
#2
|
Senior Member
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
|
Quote:
Originally Posted by MarkissJameseJohnson
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 10:29 PM.
|
|
|
03-01-2017, 03:18 PM
|
#3
|
Moderator
Registered: Mar 2008
Posts: 22,130
|
What knoppix version do you have?
How are you trying to access it, by mount command or thorough a gui file manager?
|
|
|
03-01-2017, 06:13 PM
|
#4
|
LQ Newbie
Registered: Feb 2017
Posts: 6
Original Poster
Rep:
|
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.
|
|
|
03-01-2017, 06:23 PM
|
#5
|
LQ Newbie
Registered: Feb 2017
Posts: 6
Original Poster
Rep:
|
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.
|
|
|
03-01-2017, 06:37 PM
|
#6
|
Senior Member
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
|
Quote:
Originally Posted by MarkissJameseJohnson
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
|
|
|
03-01-2017, 06:48 PM
|
#7
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep:
|
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
|
|
|
03-01-2017, 07:50 PM
|
#8
|
Moderator
Registered: Mar 2008
Posts: 22,130
|
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 09:18 PM.
|
|
1 members found this post helpful.
|
03-01-2017, 08:30 PM
|
#9
|
Senior Member
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
|
Quote:
Originally Posted by Habitual
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
|
|
|
|
03-01-2017, 11:13 PM
|
#10
|
LQ Newbie
Registered: Feb 2017
Posts: 6
Original Poster
Rep:
|
Quote:
Originally Posted by Rickkkk
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.
|
|
|
03-01-2017, 11:28 PM
|
#11
|
LQ Newbie
Registered: Feb 2017
Posts: 6
Original Poster
Rep:
|
Quote:
Originally Posted by MarkissJameseJohnson
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.
|
|
|
03-02-2017, 07:14 AM
|
#12
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,861
|
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.
|
|
|
03-02-2017, 08:38 AM
|
#13
|
Senior Member
Registered: Feb 2017
Location: @127.0.0.1
Distribution: Mint, Void, MX, Haiku, PMOS, Plasma Mobile, and many others
Posts: 1,258
|
Quote:
Originally Posted by MarkissJameseJohnson
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
|
|
|
03-02-2017, 12:04 PM
|
#14
|
Senior Member
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
|
Quote:
Originally Posted by MarkissJameseJohnson
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.
|
|
|
03-02-2017, 01:34 PM
|
#15
|
Member
Registered: Sep 2011
Distribution: Puppy
Posts: 601
Rep:
|
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.
|
All times are GMT -5. The time now is 08:05 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|