I have made a USB with ALT Linux Rescue on. I am using photorec to recover files. I am having problems mounting a USB external for the recovered files.
All it seems to allow is recovery to the original disc. In the photorec manual it says: File system from external disk may be available in a /media, /mnt or /run/media sub-directory. Mount your destination drive if necessary.
I cannot find the external disk in /media, /mnt or /run/media sub-directory. I have found the drive (called LIVE) however in /dev/disk/by-label/LIVE but it puts the recovered files in the by-label directory and not onto LIVE.
How do I mount the external drive? (It is listed in photorec but will not allow recovery to the external drive)
Help would be appreciated
cannot mount external drive on ALT rescue USB
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
- cgrenier
- Site Admin
- Posts: 5439
- Joined: 18 Feb 2012, 15:08
- Location: Le Perreux Sur Marne, France
- Contact:
Re: cannot mount external drive on ALT rescue USB
In command line, use the "mount" command.
http://linux.die.net/man/8/mount
http://linux.die.net/man/8/mount
Re: cannot mount external drive on ALT rescue USB
how do you read what is in fstab?
thanks for your help
thanks for your help
Re: cannot mount external drive on ALT rescue USB
I have the usb in the list when I first run photorec as Disk /dev/sdc usb flash drive named LIVE. Does this mean the device is mounted?
I select for the recovered files dev/disk/by-label/LIVE but when I enter this the directory / reappears
where am I going wrong?
The manual says, File system from external disk may be available in a /media, /mnt or /run/media sub-directory.
There is no disc under /media, /mnt or /run where there is no media just; mount, tmpfiles.d, udev
I select for the recovered files dev/disk/by-label/LIVE but when I enter this the directory / reappears
where am I going wrong?
The manual says, File system from external disk may be available in a /media, /mnt or /run/media sub-directory.
There is no disc under /media, /mnt or /run where there is no media just; mount, tmpfiles.d, udev
- cgrenier
- Site Admin
- Posts: 5439
- Joined: 18 Feb 2012, 15:08
- Location: Le Perreux Sur Marne, France
- Contact:
Re: cannot mount external drive on ALT rescue USB
What is the output of the "mount" command ?
Re: cannot mount external drive on ALT rescue USB
There is no mount command. There is dev media and mnt in the directory listing. (media mnt gives nothing) dev gives disk which gives by-label which lists the usb's none of which is accepted they return to the / directory.
Thanks for your help.
Thanks for your help.
Re: cannot mount external drive on ALT rescue USB
I am not sure I answered your post about the mount command correctly.
I'am not sure of the mount command my device is /dev/sdc what should the correct mount command be?
I did mount -t partlabel=LIVE which it accepts but still I cannot find it in the directory
I tried mount -t /dev/sdc / but it said can't find / in /etc/fstab.
I can't read fstab how do I do that?
I'am not sure of the mount command my device is /dev/sdc what should the correct mount command be?
I did mount -t partlabel=LIVE which it accepts but still I cannot find it in the directory
I tried mount -t /dev/sdc / but it said can't find / in /etc/fstab.
I can't read fstab how do I do that?
Re: cannot mount external drive on ALT rescue USB
Just type mount at the $ prompt, what is the output?
Re: cannot mount external drive on ALT rescue USB
I have typed mount
which gives
udefs on /dev type devtmpfs (rw, realtime,size=8192k,nr_inodes=451961,mode=755)
/dev/sdb1 on /image type iso9660 (ro,realtime)
/dev/loop0 on /.ro type squashfs (ro,realtime)
/dev/sdb3 on / .rw type ext4 (rw,noatime,nodiratime, nobarrier, commit=30,min_batch_time=100000)
none on / type aufs (rw,rekatime,si=5609db57274d4794)
sysfs on /sys type sysfs (rw,relatime)
proc on /proc type proc (rw,relatime)
tmpfs on /tmp type tmpfs (rw,relatime)
runfs on /run type tmpfs (rw,relatime, size=5120k,mode=755)
devpts on /dev/pts tpe devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxdmode=000)
shmfs on /dev/shm type tmpfs (rw,relatime)
there is no mention of my external 500gbyte drive disk /dev/sdc which is listed under Select a media under photorec
what can I do? Sorry for the delay in the reply I have been ill.
which gives
udefs on /dev type devtmpfs (rw, realtime,size=8192k,nr_inodes=451961,mode=755)
/dev/sdb1 on /image type iso9660 (ro,realtime)
/dev/loop0 on /.ro type squashfs (ro,realtime)
/dev/sdb3 on / .rw type ext4 (rw,noatime,nodiratime, nobarrier, commit=30,min_batch_time=100000)
none on / type aufs (rw,rekatime,si=5609db57274d4794)
sysfs on /sys type sysfs (rw,relatime)
proc on /proc type proc (rw,relatime)
tmpfs on /tmp type tmpfs (rw,relatime)
runfs on /run type tmpfs (rw,relatime, size=5120k,mode=755)
devpts on /dev/pts tpe devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxdmode=000)
shmfs on /dev/shm type tmpfs (rw,relatime)
there is no mention of my external 500gbyte drive disk /dev/sdc which is listed under Select a media under photorec
what can I do? Sorry for the delay in the reply I have been ill.
Re: cannot mount external drive on ALT rescue USB
I have successfully mounted a Toshiba 500GB usb with a ntfs file system.
I used the command: mount -t ntfs /dev/sdc1 /media then ran photorec
I then found the device in the media directory and it works saving the files.
I have since tried to do the same using a 64GB usb stick which has the fat32 lba file system.
I tried using the command: mount -t fat32 /dev/sdc1 /media it says there is no such file system.
Will it work with USB sticks using fat32 lba? If so what should the mount command be?
I used the command: mount -t ntfs /dev/sdc1 /media then ran photorec
I then found the device in the media directory and it works saving the files.
I have since tried to do the same using a 64GB usb stick which has the fat32 lba file system.
I tried using the command: mount -t fat32 /dev/sdc1 /media it says there is no such file system.
Will it work with USB sticks using fat32 lba? If so what should the mount command be?