-
Can not Access Hard Drives through Disc Utility.
I have 2 Windows 7 hard drives in my tower and I can not access either one through Disc Utility. I used to be able to do it when I had Kubuntu 8.04 and even Trinity Kubuntu. I have Mepis 11 x64 on this box now and I get an error when I try to access either hard drive. The error states: Error mounting vloume an error occured while performing an operation on "HP" (Partition 1 of ATA ST3500620AS): The operation failed Details: Error mounting: mount exited with exit code 1: helper failed with:
Error opening '/dev/sdc1': Permission denied
Failed to mount '/dev/sdc1': Permission denied
Please check '/dev/sdc1' and the ntfs-3g binary permissions,
and the mounting user ID. More explanation is provided at
http://ntfs-3g.org/support.html#unprivileged
Is this a win7 vs Linux issue or Mepis in particular?
Pepse.
Registered Linux User: 364162.
Just about the time you think you can make ends meet somebody moves the ends.
-
The security has caught up with Win7 and Linux.
Every file has an ownership so those who does not own the file may de denied by the operating system to access it.
In Linux this can be overcome by using a root terminal. A root user is like the Windows Admin who has privilege to access all files.
-
Okay, so if I understand you correctly I cannot access either Win hard drive through Linux?
I kinda figured that win made it hard to access.
Pepse.
Registered Linux User: 364162.
Just about the time you think you can make ends meet somebody moves the ends.
-
No. You misunderstood.
An operating system, be it a Windows or a Linux must have a terminal mode and a desktop.
The LInux desktop has evolved that only an ordinary user can log in to it. Nowadays a secure Linux disallows the root user to log in to a desktop like Mepis, Ubuntu, Mint etc as it is easy to damage the system by a wrongly clicking mouse.
However in terminal mode a user can log in as root by providing the root password first. A root user in root terminal has the priviege to access everything. I believe when Mepis is installed it would have asked the root account set up. It it has not just click a terminal type "su" and supply the password "root". The method to become a root user can be different in each Linux and the distro site would publish the details as this is required for a Live CD.
You can access every drive and partition in Windows as a root user in a terminal. This is a more secure arrangement.
Up to about 10 to 15 years ago every Linux when installed with have both root and normal user accounts created. The modern trend is do away with the root account (like Ubuntu) by preceeding a system command with "sudo" and then supply the normal user password.
Here is an example of a Mint terminal.
Code:
saikee@Mint15 ~ $ fdisk -l
saikee@Mint15 ~ $ sudo su
[sudo] password for saikee:
Mint15 saikee # fdisk -l
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sda: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders, total 5860533168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 1 4294967295 2147483647+ ee GPT
Partition 1 does not start on physical sector boundary.
Disk /dev/sdb: 240.1 GB, 240057409536 bytes
255 heads, 63 sectors/track, 29185 cylinders, total 468862128 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000d52f7
Device Boot Start End Blocks Id System
/dev/sdb1 63 225279359 112639648+ 83 Linux
/dev/sdb2 * 225280000 225484799 102400 7 HPFS/NTFS/exFAT
/dev/sdb3 225484800 443701247 109108224 7 HPFS/NTFS/exFAT
/dev/sdb4 443703294 468860927 12578817 5 Extended
/dev/sdb5 443703296 468860927 12578816 82 Linux swap / Solaris
Mint15 saikee #
When I issued a system command "fdisk -l" the operating system ignore me because I was an ordinary user and has no privilege. The command "fdisk -l" is equivalent to Windows' "dir" where every disk and partition is listed.
However I could become the root user or super user by issue the command "su" and preceed it with "sudo" (this is special to Ubuntu and Mint whereas Mepis does not need "sudo" ). AFter I supplied the ordinary user password I become the root user indicated by the change of the prompt from saikee@Mint15 ~ $ to Mint15 saikee #.
As a root user you can mount every Windows partition manually and therefore read/write it afterward.
Last edited by saikee; 07-02-2013 at 04:09 PM.
-
Okay, so apparently I can still access the win7 hard drives but I have to be in a Konsole. What commands do I use?
Pepse.
Registered Linux User: 364162.
Just about the time you think you can make ends meet somebody moves the ends.
-
What commands to use depend on what you want.
If I use my previous post as an example and the Windows NTFS partition sdb3 is the one I want to access then after claiming "super User" in a Konsole by command "su" I will have the privilege to mount it. Therefore I shall creat a mount point first and mount the device /dev/sdb3 on it as follow
Code:
mkdir /mnt/my_win7_partition
mount /dev/sdb3 /mnt/my_win7_partition
ls /mnt/my_win7_partition
The last command is to list the contents of sdb3. At this point your desktop should shown up the partition if you search the /mnt directory.
I believe at this point you can read it in a desktop but to change the content you have to use the root terminal.
Most of the power in Linux is in its terminal and knowing how to mount a hardware device to access it in a directory is one of the many wonderful features of Linux.
Last edited by saikee; 07-03-2013 at 02:58 PM.
-
Well I finally got another hard drive and successfully cloned the bad hard drive. Now I have issues with the commands you gave so I could mount that hard drive. I will post the problem from the Konsole and let you see what is what.Disk /dev/sdc: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 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: 0x1549f232
Device Boot Start End Blocks Id System
/dev/sdc1 1 59124 474913498+ 7 HPFS/NTFS
/dev/sdc3 * 59125 60801 13470502+ 7 HPFS/NTFS
Disk /dev/sdb: 500.1 GB, 500106780160 bytes
255 heads, 63 sectors/track, 60801 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: 0x98ad98ad
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 60800 488375968+ 7 HPFS/NTFS
[root@mepis1 Pepse]# mkdir /mnt/lynette_win7_partition
[root@mepis1 Pepse]# mount /dev/sdc3 /mnt/lynette_win7_partition
mount: you must specify the filesystem type
[root@mepis1 Pepse]# mount /dev/sdc3 /mnt/HPFS/NTFS
mount: mount point /mnt/HPFS/NTFS does not exist
[root@mepis1 Pepse]# mount /dev/sdc3 /mnt/lynette_win7_partition/HPFS/NTFS
mount: mount point /mnt/lynette_win7_partition/HPFS/NTFS does not exist
Registered Linux User: 364162.
Just about the time you think you can make ends meet somebody moves the ends.
-
If you try to read the manual page of the command "mount" by
you will see the explanation of specifying the partition filing type is by -t follow by the filing type like
Code:
mount -t ntfs /dev/sdc3 /mnt/lynette_win7_partition
Try also to mount sdc1 to see if you can access both partitions.
When a partition gets bad it will have problem in the mounting operation. If you can see the full output of "fdisk -l" without a complaint that means its partition table is still intact. Only a successful mount can determine its contents is still sound. If you read a cloned disk the files should be OK except the bad ones may not have been transferred. So extracting the data from the cloned drive should be easier and a lot quicker.
-
Okay, through Konsole I set it so that I can see what is in sdc1: mount /dev/sdc1 /mnt/mysis
[root@mepis1 Pepse]# ls /mnt/mysis
a la mode eula.1040.txt install.res.1036.dll Qoobox
AuroraCD eula.1041.txt install.res.1040.dll $RECYCLE.BIN
Boot eula.1042.txt install.res.1041.dll SentriLockCardUtil.err
bootmgr eula.2052.txt install.res.1042.dll SWSetup
BOOTSECT.BAK eula.3082.txt install.res.2052.dll System Volume Information
COMBOFIX FINIS_IT.TXT install.res.3082.dll updatedatfix.log
ComboFix.txt globdata.ini Intel Users
Config.Msi hp MSOCache VC_RED.cab
Documents and Settings HP PCL5 Universal Print Driver pagefile.sys vcredist.bmp
eula.1028.txt install.ini PerfLogs VC_RED.MSI
eula.1031.txt install.res.1028.dll ProgramData Windows
eula.1033.txt install.res.1031.dll Program Files
eula.1036.txt install.res.1033.dll Program Files (x86)
So now when I go to Disk Utility and look at sdc1 it shows a Mount Point: mounted at my/sis but when I click om it I get a similar error as before: Failed to execute child process "nautilus" (No such file or directory)
What did I miss, if anything? Now I can view whatever I want through my win7 hard drive but I am trying to free myself of windows again and want to mainly deal with Linux.
Later.
Registered Linux User: 364162.
Just about the time you think you can make ends meet somebody moves the ends.
-
Okay, I read the man mount before and again and I understand what is saying in reference to the need for " -t ". Now as for this hard drive it is the Cloned hard drive. And Disk Utility says it is a good healthy hard drive. So, through Mepis I cannot mount sdc1 through Disk Utility. I will show you the fdisk -l for sdc; Disk /dev/sdc: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 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: 0x1549f232
Device Boot Start End Blocks Id System
/dev/sdc1 1 59124 474913498+ 7 HPFS/NTFS
/dev/sdc3 * 59125 60801 13470502+ 7 HPFS/NTFS
Now I mounted sdc1 because looking at the "start" and "end" I have more "blocks" so I presume it is where all of the win7 info is. And Disk Utility has sdc1 in the "volumes" section.
If you want I could create a directory for sdc3 and see what happens.
Later.
Registered Linux User: 364162.
Just about the time you think you can make ends meet somebody moves the ends.
-
Your post #16 shows a list of file names inside sdc1 when it is mounted on /mnt/mysis. They look like a boot partition for me as bootmgr which is the boot loader for Vista/Win7/Win8.
Post #17 indicates that the partition table of sdc is healthy but this information cannot show make-up of the files inside.
The two posts together would suggest there are files still readable at least in terminal mode for sdc1 partition.
Your sdc3 has been marked active in Windows term (or bootable in Linux term) with a *. This is the first partition bootmgr would boot up. Show us the contents inside.
-
Sorry for the delay. Anyway, I cannot get sdc3 to work. Here is the bash:
d?
[root@mepis1 Pepse]# mount -t ntfs /dev/sdc3 /mnt/mysis
NTFS signature is missing.
Failed to mount '/dev/sdc3': Invalid argument
The device '/dev/sdc3' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
[root@mepis1 Pepse]# mount -t ntfs /dev/sdc3* /mnt/mysis
NTFS signature is missing.
Failed to mount '/dev/sdc3': Invalid argument
The device '/dev/sdc3' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
Later.
Registered Linux User: 364162.
Just about the time you think you can make ends meet somebody moves the ends.
-
Your sdc3 may have been damaged.
NTFS is a M$ proprietary filing system and its inner working is not available to the public. Thus there is a limited assistance that can be carried out by a Linux.
My suggestion is submit the partition to a MS Windows to see if it can be repaired. If the damage isn't severe a MS Windows may be able sort the partition out by CHKDSK. It is always the OS's responsibility to ensure the integrity of the filing system.
-
Okay, I will see what I can do about that. Thanks for the help.
Later. Pepse.
Registered Linux User: 364162.
Just about the time you think you can make ends meet somebody moves the ends.
-
Interesting item just came up. I just tried to setup my own win7 hard drive through Disk Utility and I have encountered the same issue as I had with my sister's hard drive. I made a dir called myharddrive and the mount point is sdb1 (because there is only 1 partition). I go to Disk Utility and click on the mount point of /mnt/myharddrive and the error is: Failed to execute child process "nautilus" (No such file or directory).
What am I missing? Here is the info on that drive from fdisk -l: Disk /dev/sdb: 500.1 GB, 500106780160 bytes
255 heads, 63 sectors/track, 60801 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: 0x98ad98ad
Pepse.
Registered Linux User: 364162.
Just about the time you think you can make ends meet somebody moves the ends.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|