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.
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.
Yes, you can mirror it. If you get a harddrive that is exactly the same size you can put both in a the same time and do it w/ linux.
Assuming your original drive is /dev/hda and your new drive is /dev/hdb:
dd if=/dev/hda of=/dev/hdb
Wait for it to finish and you'll have an exact copy. If the new drive is bigger you'll have some empty space on the end that you'll have to deal with.
The big problem you may now have is some corruption because of previous failures. That has happened to me before. You may just be better off reinstalling to the new drive. Of course you can try the mirroring and if it works out good then fine.
Have you run any kind of confidence test on the harddrive? It is possible there is simply a corrupted partition but it doesn't really look that way. You can probably find a confidence test that you boot from floppy from the website of the harddrive manufacturer. If the test from the manuafacturer fails then you need a new drive.
I'd hurry. If it is failing you may not have much time rescue your data.
Location: Zona Leste, Sao Paulo, Brazil, South America, Alpha Quadrant, Milk Way
Distribution: Slackware 14.0
backing up, but would like to understand it
slackie1000, you said:
" ...did you realize that you hijacked a thread 2 months old to ask about a windows problem?
Sorry, but I don't think so. I booted from my 2.6 kernel ( I almost never use it ) and those mesages just desapered. So there is 'something' slck/linux related here.
Yes, I do have a dual-boot machine, but a lot of people too. I use my win almost one a year, to calculate my taxes (here in Brazil, where I am, we pay it by internet and the program is windows)
My win doesn't work anymore; I can browse the win partitions from linux, I already did my backup, and to make it working again is simple: I just get the win cd and repair the c drive, where the system is, I can even reformat it, since I have my data in another partion.
And I am NOT asking how to solve THAT. I would like to UNDERSTAND those error messages. I was digging this forum and the net about it< and I didn't found ANY asnwwe where I could see : That is the problaim, by sure. I saw a lot of people saing that 'probabily' is a hardware faut, but my machine just doesn't seams to be having that kind of problem.
And as I said now, if I boot with the 2.6 there are no error messages.
I think that there is an error, but that 'possibly' the error is at the error message itself... :-)
I can repair or reformat that partition now, I could have it already done, but then 'probably' the problem WILL DESAPEAR and I will never understand it. From like a decade to now I always have like 2 or 3 partitions at my win, and at my clients too... because one of the most certain things to happen in this world is that you will lose all your windows install...
thanks... I am considering that.... and yes, I did a big backup, and I will buy another hd and transfer all my linux to that new one.
May be it's a 2.4.x bug... which was solved in 2.6.x.
Remember what you was doing before this error came up. That would be a better thing to find a "bug" if it exists, than live with a spoiled partition.
I don't know... watch your log files...