Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
A power surge took out my MB, CPU and hard disk.
I've managed to get my dual boot (suse 10.2/winXp) up and running but
now need to know how to get some of my data back.
I made an iso of /etc and /home prior to the accident.
I have no experience recovering data from an iso and would appreciate
some explicit advice here. I don't think that I want to restore the
/etc because certain things are different on the computer rebuild
(different HD's and partitions etc.) but I would like to restore my
personal data from /home.
How do I go about that?
As usual, any help is much appreciated.
Matthew
No worries... if the ISO is burned to a CD, mount the CD and copy the files over. If it is a file, you may mount the ISO-file via the loopback interface or burn it to a CD and reread the first sentence.
This is my 3rd time wrestling with the same issue. I'm sure my brain is adled! But this time I'm entering the solution in a notebook, when I get it.
The iso of my data was created by mkisofs and has not been burned.
But, I can't even get to solving that problem because I can't find my cd/dvd device in "My Computer" nor is it in my fstab (that I can see).
Remembering that I had done it before I tried:
mkdir /media/dvd
mount -t iso9660/dev/dvd/media/dvd
That didn't seem to work, so I looked in a DMA table and found that my device was referred to as /dev/hdc (type cdrom; name ide 16x)
So, then tried mount -t iso9660/dev/hdc/media/dvd
No joy.
***********************
This is my fstab file...do I need to edit this?
When I enter a blank dvd I get a kde daemon asking me what I want to do with the new medium that was detected. If I choose create new data cd, a burner appears.
As Root, I entered
mathay@linux-lqc2:~> su
Password:
linux-lqc2:/home/mathay # mount -t iso9660 /dev/hdc /media/dvd
mount: No medium found
When I slipped in the iso disk, the sensor light showed activity but nothing more.
By entering the same command: mount -t iso9660 /dev/hdc /media/dvd, also nothing. But I can't eject the disk unless I umount.
Does it make any sense to try the command mount /path/to/file.iso /mnt/iso -o loop ?
Would an entry into the fstab help? Where would I find the proper syntax?
Matthew
When I enter a blank dvd I get a kde daemon asking me what I want to do with the new medium that was detected. If I choose create new data cd, a burner appears.
As Root, I entered
mathay@linux-lqc2:~> su
Password:
linux-lqc2:/home/mathay # mount -t iso9660 /dev/hdc /media/dvd
mount: No medium found
For a blank DVD, this is expected.
Quote:
When I slipped in the iso disk, the sensor light showed activity but nothing more.
By entering the same command: mount -t iso9660 /dev/hdc /media/dvd, also nothing. But I can't eject the disk unless I umount.
... so you have the iso burned to a disk?
These results suggest that the disk is automatically mounted.
ls /media
... this will tell you possible places that fedora mounted it. Probably called cdrom0 or dvdrom0 or similar.
ls /media/cdrom0
... should show you the files.
Quote:
Does it make any sense to try the command mount /path/to/file.iso /mnt/iso -o loop ?
That is for an iso that currently resides in your hard drive. If it has been burned to media, there is no point.
Quote:
Would an entry into the fstab help?
It would appear to be going well without it... however, I don't see how it would hurt.
Quote:
Where would I find the proper syntax?
Verify that the drive really is /dev/hdc
(ls -l /dev/hdc ... also dmesg | grep DVD)
Then copy the following line to the end of your fstab
/dev/hdc /media/dvd utf,iso9660 defaults 0 0
... though I suspect there is an mtab rule for is.
Last edited by Simon Bridge; 07-05-2007 at 12:30 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.