LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 05-21-2016, 08:42 AM   #1
susja
Member
 
Registered: May 2011
Posts: 125

Rep: Reputation: 1
Failed to mount and see Windows from Linux


Hello,
I have a laptop with one drive C: and Windows 7
I use systemrescuecd utility, boot and select default option.
Then I run:
fdisk -l
Then I see a list like this:
Device Boot Start End Sectors Size Id Type
/dev/sda1 63 2047 1985 992.5K 422 SFS
/dev/sda2 * 2048 616447 614400 300M 42 SFS
/dev/sda3 616448 260075519 259459072 123.7G 42 SFS
/dev/sda4 260075520 488395119 228319600 108.9jG 42 SFS
Then I do the following:
mkdir /media/windows
mount /dev/sda3 /media/windows/
cd /media/windows
ls
And I see only:
$RECYCLE.BIN and System Volume Information
Then I try to mount /dev/sda4
And I see:
Boot bootmgr pagefile.sys Recovery $RECYCLE.BIN system.sav System Volume Information HP_WINRE
My goal is to access C: drive e.g. C:\Temp BUT I don't see it.
My question: what I'm doing wrong and how to see Windows fs e.g. C: ?
Thanks
 
Old 05-21-2016, 12:18 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
You should be able to see and mnt your Windows from your Linux Home directory.
It should appear on the left hand side of your Home directory in your file manager.

Try these links-
https://help.ubuntu.com/community/Mo...dowsPartitions
http://www.psychocats.net/ubuntu/mountwindowsfstab
http://www.howtogeek.com/236807/how-...rive-on-linux/

Hope that helps-
 
Old 05-21-2016, 12:27 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
A SFS partition is a windows dynamic disk similar to linux's LVM. system rescue CD does not appear to contain ldmtool which is required access a windows dynamic disk. I know it is available in Ubuntu repositories so it might be easier if you install it to a USB drive then get the ldmtool.
 
Old 05-21-2016, 12:29 PM   #4
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Quote:
My goal is to access C: drive e.g. C:\Temp BUT I don't see it.
You have booted the system with a linux system. Linux and windows have different ways of showing file systems. Things like partition tables, and partitions are similar. You have a hard drive with 4 partitions. The first one looks small, I would bet this will be a recovery partition or possibly diagnostic programs put there by the manufacturer.

Linux is showing you all four partitions. What windows calls C: is where it was installed. It could be any of the other partitions.

Understanding how linux displays partitions and hard drives will help you understanding.

The hard drive is identified as sda, a second drive would be sdb, a third sdc. The number 1 after sda indicates the first partition on the first drive, sda2 is the second partition on sda, and do on.

Since this is Win7, most often the partitions are NTFS file system. Windows uses NTFS and fat file systems. Linux has its own sets of file systems.

In order to mount the file system with linux, you need a driver loaded for that file system.

What exactly is this CD you are using?
Quote:
I use systemrescuecd utility,
Can you provide some information where you got it, name of it, and the release? Since it is a rescue CD, it probably has what you need, but I don't know that from your description.

I would guess sda2 is your C: drive, since it shows the * character.

To mount the drive, you need to create an empty directory first. Don't change into it before you try to mount it. Next, run the mount command.

This command may work:
Quote:
mount /dev/sda2 /media/windows/
if the rescue CD has the necessary support, and linux can guess the correct file system type.

Once mounted, try changing into the mount point directory, and see if you can see your files.

I see michaelk has explained SFS, didn't know what it was myself. So, let us know how you make out.

Last edited by camorri; 05-21-2016 at 12:32 PM. Reason: Added acknowledgement.
 
Old 05-21-2016, 04:26 PM   #5
susja
Member
 
Registered: May 2011
Posts: 125

Original Poster
Rep: Reputation: 1
Smile

Quote:
Originally Posted by camorri View Post
You have booted the system with a linux system. Linux and windows have different ways of showing file systems. Things like partition tables, and partitions are similar. You have a hard drive with 4 partitions. The first one looks small, I would bet this will be a recovery partition or possibly diagnostic programs put there by the manufacturer.

Linux is showing you all four partitions. What windows calls C: is where it was installed. It could be any of the other partitions.

Understanding how linux displays partitions and hard drives will help you understanding.

The hard drive is identified as sda, a second drive would be sdb, a third sdc. The number 1 after sda indicates the first partition on the first drive, sda2 is the second partition on sda, and do on.

Since this is Win7, most often the partitions are NTFS file system. Windows uses NTFS and fat file systems. Linux has its own sets of file systems.

In order to mount the file system with linux, you need a driver loaded for that file system.

What exactly is this CD you are using?
Can you provide some information where you got it, name of it, and the release? Since it is a rescue CD, it probably has what you need, but I don't know that from your description.

I would guess sda2 is your C: drive, since it shows the * character.

To mount the drive, you need to create an empty directory first. Don't change into it before you try to mount it. Next, run the mount command.

This command may work: if the rescue CD has the necessary support, and linux can guess the correct file system type.

Once mounted, try changing into the mount point directory, and see if you can see your files.

I see michaelk has explained SFS, didn't know what it was myself. So, let us know how you make out.
Well ... thanks for all replies ..
Answering your request:
I am using utility that I've got from http://www.system-rescue-cd.org/SystemRescueCd_Homepage and it's called SystemRescueCD. I use it first time
I am not inclined to modify something on my Windows system in order to make it visible to Linux. I'm rather going to change something on my USB drive to do it.
I understood that in my case the culprit is 'Dynamic' Type of partition i.e. SFS which does not allow to be seen from SystemRescueCD utility .
I like the idea of michaelk to install ubuntu on my USB drive and try to use ldmtool. I'm not familiar with it ... but I'll play with it.
Before downloading and installing ubuntu on my USB drive - which ubuntu distribution would you recommend to try?
Thanks

Last edited by susja; 05-21-2016 at 04:48 PM. Reason: New info
 
Old 05-21-2016, 04:49 PM   #6
susja
Member
 
Registered: May 2011
Posts: 125

Original Poster
Rep: Reputation: 1
Well I already downloaded ubuntu 12.10 64 bit and installed it on my USB drive.
Now will try to boot into ubuntu and look for ldmtool
 
Old 05-21-2016, 08:08 PM   #7
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,502

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Quote:
Well I already downloaded ubuntu 12.10 64 bit and installed it on my USB drive
I'm not sure that will do you much good. If the tool you need isn't on the installation medium and it probably is not, you will not be able to get it from the repositories as 12.10 has not been supported and it's repositories haven't been available for two years. Better to use a current supported system, 12,04, 14.04, 15.10 or 16.04.

https://wiki.ubuntu.com/Releases
 
Old 05-21-2016, 10:42 PM   #8
susja
Member
 
Registered: May 2011
Posts: 125

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by yancek View Post
I'm not sure that will do you much good. If the tool you need isn't on the installation medium and it probably is not, you will not be able to get it from the repositories as 12.10 has not been supported and it's repositories haven't been available for two years. Better to use a current supported system, 12,04, 14.04, 15.10 or 16.04.

https://wiki.ubuntu.com/Releases
Well .. you are my hero today
First I tried 12.10 and it didn't have ldmtool
Then I tried 16.04. I did not want to install it ... and I simply ran it from USB drive 'live'.
In terminal it stated that I don't have ldmtool installed and suggested me to install it. I tried to install but it failed ..
And suddenly I realized that 16.04 automagically mounted all Windows partitions for me.
That means to me that it's capable to recognize Dynamic partitions as well and I could see all my Windows stuff.
Well I did not expect that easy ...
I'm not planning to install Ubuntu ... I'm going just use this USB in case I need to access Windows with Dynamic type of partition.
I'm not even sure that I need to have on my thumb drive SystemRescueCD ... maybe 16.04 has those tools as well ...
Anyway ... thanks so much for your help
 
  


Reply

Tags
mount point, systemrescuecd, windows 7



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
Ubuntu 12.04 Cronjob failed to mount ftp share using gvfs-mount BlackMoon Linux - Newbie 8 05-15-2014 11:40 AM
[SOLVED] Dual Boot Windows 7 and Linux Mint 13, Windows failed jasperbuckens Linux - Software 6 12-21-2012 01:37 PM
failed to mount windows share gearmouse Linux - Networking 4 03-27-2010 12:53 PM
automount: mount(generic): failed to mount (null) (type iso9660) on /mnt/media/ vasudevadas Slackware 5 10-17-2005 03:05 PM
Linux mount successful but copy/paste failed cbjhawks Linux - General 1 12-21-2003 01:25 PM

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

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