struddel
Joined: 04 Apr 2008 Posts: 1
|
Posted: Fri Apr 04, 2008 2:04 am Post subject: My external disk doesn't like the Lunar iso... |
|
|
Hi all,
I wanted to install Lunar Linux but I got a problem.
I have a cd-burner but no CD, so I tried another way to install Lunar-Linux.
I wanted to mount the iso on a disk but I missed a key and I've done :
Code: | cat lunar.iso > /dev/sda2 |
and sda2 is my ... external USB disk ...
I can no more mount it, i get this issue :
Code: | struddnux:/home/struddel# mount /mnt/data/
mount: wrong fs type, bad option, bad superblock on /dev/sda2,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so |
sda2 is usually mounted in /mnt/data by fstab and since I've made this mistake, i can't mount it
I've finally tried a chroot install and it worked for Lunar but how can I get my files back on my external USB disk ?
It's a vfat disk and dmesg | tail says :
Code: | struddnux:/home/struddel# dmesg | tail
sd 3:0:0:0: [sda] 320173056 512-byte hardware sectors (163929 MB)
sd 3:0:0:0: [sda] Write Protect is off
sd 3:0:0:0: [sda] Mode Sense: 27 00 00 00
sd 3:0:0:0: [sda] Assuming drive cache: write through
sda: sda2
sd 3:0:0:0: [sda] Attached SCSI disk
FAT: bogus number of reserved sectors
VFS: Can't find a valid FAT filesystem on dev sda2.
FAT: bogus number of reserved sectors
VFS: Can't find a valid FAT filesystem on dev sda2. |
For now, I have a beautiful iso on my disk instead of my docs :
Code: |
struddnux:/home/struddel# mount -o loop /dev/sda2 /mnt/data/ && cd /mnt/data/ && ls
bin boot dev etc home isolinux kernels lib media mnt proc README root sbin srv sys tmp usr var |
Thanks for help ... I really need you ... |
|
engelsman
Joined: 21 Aug 2005 Posts: 131 Location: Netherlands
|
Posted: Sat Apr 05, 2008 8:38 am Post subject: recovering an external disk :-( |
|
|
I could be wrong, and I frequently am, but unless you have a backup of your external USB disk I think that you are going to be out of luck to recover everything. The cat lunar.iso > /dev/sda2 will probably have overwritten the administrative records that point to the file system as well as some of the data blocks for the files themselves.
You might be able to recover some of the files if they are outside the overwritten area using the foremost or magicrescue modules in the moonbase. This is only a suggestion: I've never used them and maybe there are better tools available. Good luck. |
|