Can't access Windows hard disk files with Debian live - disk is mounted
Hi everyone.
I'm trying to access an iso file on a Windows hard disk. I want to do a check on the iso file to see if it's not corrupted. I'm running a live debian OS on a USB. For some reason, I can't access the Windows directory holding the iso file. I get the error message 'No such file or directory'. A live usb distro apparently automatically mounts all the hard disks connected to the pc. I can access the hard disk through the GUI and even make changes to Windows files and folders. But when I try to get into a Windows directory through the terminal, I get the error message. I really can't understand this. I've done 'ls' on the /media file and it shows 2 hard disk names and a dvd-rom. But when I try to get into the hard disk folder name with 'cd', it won't let me in! Can anyone please help with this weird problem? |
Hi Higgsboson,
What specific error are you getting? can you post the output of the 'cd' you are trying? this will give us a clue as to what is actually happening. |
Have you mounted the drive. You can use the Disk Utility to mount it, also the file manager. As far as getting around in directories from the terminal you may have to modify your cd command because linux doesn't use the space in directory name.
For instance: "Documents And Settings" the spaces within the name aren't recognized. I can't remember but I think you have to wrap thr directory with " or ' to get cd to work with the spaces. It's explained here http://trinityhome.org/Home/index.ph...g=en&locale=en |
Thanks for your reply.
Here are the commands I'm using with the output at the end: root@debian:/# cd /media root@debian:/media# ls 070819_2057 B8A8C9D6A8C992F4 BCC04A84C04A44BC root@debian:/media# cd /BCC04A84C04A44BC bash: cd: /BCC04A84C04A44BC: No such file or directory Is the 'cd /BCC04A84C04A44BC' command correct? |
Sorry, seems I've misread the above posts.
Deleted. |
Quote:
root@debian:/media# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 150G 17G 133G 11% /media/B8A8C9D6A8C992F4 /dev/sdb1 932G 213G 719G 23% /media/BCC04A84C04A44BC /dev/sr0 1.9G 1.9G 0 100% /media/070819_2057 I haven't shown the rest of the output, but it seems to be saying that the hard disks and dvd-rom are mounted. The hard disk name doesn't have any spaces in it thankfully. |
Quote:
The BCC04A84C04A44BC directory is not in '/', it's in '/media/'. If your terminal is already in /media (which it is because you ran "cd /media; ls"), then you can just give the relative path: cd BCC04A84C04A44BC or cd ./BCC04A84C04A44BC # the '.' means "here" If you want to give the full path, you can do that too, but you need to include /media cd /media/BCC04A84C04A44BC |
...
|
Quote:
I really need to remember this bit! Thanks so much dude! |
All times are GMT -5. The time now is 06:30 AM. |