On SÃb, 2003-10-04 at 17:03, Klaus Zahradnik wrote:
On Sat, Oct 04, 2003 at 04:44:38PM +0100, Paula Fernandes wrote:
Hi list,
I need to mount a disk with a windows system to recover some files from the disk. I plug it into the secondary IDE has slave.
I have created a new directory this way:
mkdir /mnt/alf
Then I try to mount the disk this way:
mount /dev/hdd /mnt/alf
And I get this answer: /dev/hdd is not a valid block device
Then I try /dev/hdd0 and hdd1, and the answer still the same.
Are you sure hdd is the right device? Do you see the drive in with 'cat /proc/devices' ?
WELL, I GET A BIG LIST. AT BLOCK DEVICES I GET THIS:
1 ramdisk
2 fd
3 ide0
9 md
12, 14, 38 and 39 unnamed 22 ide1
Do I need to give any other instruction the the mount command?
Usually not. Mount complains about a device which isn't there.
regards Klaus
If you're absolutely sure that what you want is on hdd, make certain of which partition it is on. First partition is hdd0, second partition is hdd1.....and so on.
Assuming that you do have a directory in /mnt named 'alf' and the partition is the second one (hdd1)---take a look at /dev to make sure there is a hdd1.
go root then type: (one continuous command)
mount -t vfat /dev/hdd1 /mnt/alf; cd /mnt/alf; ls -aF --color=auto
This should display the contents of alf.
After you do whatever, unmount with: cd; umount /mnt/alf
This all depends on hdd1 (second partition) being where your files are. If the files are on the first partition use hdd0.
The commands listed above make excellent aliases.
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list