Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
OK I think I had some file system trouble and now I am in rescue mode (RH8) the file system was found and then placed at /mnt/sysimage. Would it be possible for me to take a new hard drive and install it and then copy the files i need to the new hard drive.
You wouldn;t need to configure the drive - just pop it in and boot with the rescue cd. Ensure that you are refferencing hte devices correctly then run that dd command.
If you use "fdisk -l" it will show you the drive names. If you use dd you will not need to copy individual files since it will mirror the entire drive.
now hdb does not show the headers for the table but does not list any details (Which I take to mean that the harddrive has not been formated and partitioned)
and hdc says unable to open (Which I take to mean there is no device or 3rd hard drive.)
I guess I am now ready to opartition and format. or mirror
To mirror do I just type dd
or
do i type dd if=/dev/hda of=/dev/hdb
I think i am supposed to do dd if=/dev/hda of=/dev/hdb but just want to check.
OK I went ahead and typed dd if=/dev/hda of=/dev/hdb and now the computer just seems to sit there I am sure that this will take a while but I could be wrong. does this seem right
You did it right - if stands for "in file" and of stands for "out file" so it will read from hda and output to hdb. It will take quite a while and the time wil vary depending on the speed of your computer and the drives used.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.