VirtualLarry
No Lifer
I had a NAS that was running Linux croak on me. I removed the IDE drive from the NAS, and have it slaved to a box running Ubuntu.
I'm trying to mount the FS, and having trouble.
What do I need to do to mount the FS?
The IDE drive is /dev/sda. The SATA drive with the Linux OS is /dev/sdb and the partition is /dev/sdb1, which is mounted on /.
I assume I have to create a temp dir in /mnt, and then mount /dev/sba to that dir, is that correct?
Do I use mount, or umount? What's the difference?
Also, I typed "mount -? | less", and now I can't seem to get out of less. I hit CTRL-Z, and it stopped the job, but I can't exit the terminal with a stopped job. I typed "fg 1" to re-start that job, and I tried hitting CTRL-C and CTRL-Q, but I cannot seem to exit less. Any ideas?
I cannot "kill 1" either. Says operation not permitted.
I tried "sudo kill 1", and it just returned to the prompt, without any indication it did something. Did I just kill a system process, instead of job 1?
I hit "fg 1", and now I'm stuck in less again.
Edit: I guess I just had to hit "q" to exit, without any CTRL key.
Edit: I think I have this now. I did "sudo mkdir /mnt/recovery" followed by "sudo mount /dev/sda1 /mnt/recovery". After that, the disk to be recovered showed up under /mnt in my FS explorer window in Ubuntu. I plugged in a 500GB USB 2.0 external HD with an NTFS partition, which auto-mounted, and I was able to start copying my files.
I'm trying to mount the FS, and having trouble.
What do I need to do to mount the FS?
The IDE drive is /dev/sda. The SATA drive with the Linux OS is /dev/sdb and the partition is /dev/sdb1, which is mounted on /.
I assume I have to create a temp dir in /mnt, and then mount /dev/sba to that dir, is that correct?
Do I use mount, or umount? What's the difference?
Also, I typed "mount -? | less", and now I can't seem to get out of less. I hit CTRL-Z, and it stopped the job, but I can't exit the terminal with a stopped job. I typed "fg 1" to re-start that job, and I tried hitting CTRL-C and CTRL-Q, but I cannot seem to exit less. Any ideas?
I cannot "kill 1" either. Says operation not permitted.
I tried "sudo kill 1", and it just returned to the prompt, without any indication it did something. Did I just kill a system process, instead of job 1?
I hit "fg 1", and now I'm stuck in less again.
Edit: I guess I just had to hit "q" to exit, without any CTRL key.
Edit: I think I have this now. I did "sudo mkdir /mnt/recovery" followed by "sudo mount /dev/sda1 /mnt/recovery". After that, the disk to be recovered showed up under /mnt in my FS explorer window in Ubuntu. I plugged in a 500GB USB 2.0 external HD with an NTFS partition, which auto-mounted, and I was able to start copying my files.
Last edited: