Discussion Locked

Moving hard drive to a new box

0 helpful
8 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

This question actually concerns Freebsd 3.2, but it also may apply in the Linux world.
Basically, I want to take my hard drive, running FreeBSD 3.2 in a 486/66 with 16 MB RAM and move it to a new machine (A Pentium III xxx)as the primary drive.
Can I do this?
If so, any gotchas (like recompiling the kernel, etc?)

Thanks

8 replies

by bowieb

As long as the drive was primary on the first machine, it should work. You will have to install drivers for any hardware that is different. I would suggest installing basic VGA graphics before you do the move to avoid display problems. You can redo the graphics with the right drivers afterwards. If the network card is different, make sure you download the drivers for the card before you move the drive.

by kevin anderson

Not sure about BSD, But Linux will compile a different kernel depending on your processor. An older processor based kernel will work with the newer kernel, but it won't support MMX, and other enhancements that came with the pentium class processors. This shouldn't matter (less performance, but it'll definately work).

As mentioned by the other responce, you'll need some new drivers, and I would suggest making sure that you do NOT use a graphical login. If X is immediately screwed, it'll beharder to fix than if you can at least see the startup errors. There are workarounds, I know, but why bother with the hassles.

Otherwise, if it was a primary in the old box, then it should be fine as the primary in the new box.

If all else fails, you can always put it back in the old box, and make a neccessary change, and then try it again...

Have Fun.
Kev.

by x95tobos

Don't know for BSD .. For Linux, you would NEED to recompile the kernel: compile a new kernel, specific for the motherboard you have in your new box. The major problem I see is the chipset, since this dictates how your system sees your RAM. If your motherboards (the old and the new) have similar or same chipset, you may be lucky enough to just switch the boards and it may run (lazy guy solution, I would not recommend it though it worked for me: my boards were both based on the Intel 440BX)
Then, after you have a new kernel, for the new box, the last time you work on the old box, configure LILO to load your new kernel (symlinks are very elegant here), then shut down, and move your drive to the new box.

Good luck !

This discussion is closed to new replies.