Moving Harddrive
Moving Harddrive
I recently installed CentOS on a spare harddrive I had laying around. I'm now looking to move that same harddrive to another pc, but that pc doesn't have a dvd reader so I can't just reinstall the OS. Is there some way I can "repair" the installation once the harddrive is hooked up to the new motherboard or is reinstalling my only available option?
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Moving Harddrive
Unless the hard drive controllers use different drivers, it should boot.
If not, you may need to borrow a USB DVD reader, boot in rescue mode,
and run mkinitrd.
If not, you may need to borrow a USB DVD reader, boot in rescue mode,
and run mkinitrd.
Re: Moving Harddrive
I moved the hard drive this morning and can't get it to load up now. I get an error saying "error loading operating system". Is this something that I could fix by getting that usb reader and running mkinitrd?
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: Moving Harddrive
See my answer in your [url=https://www.centos.org/modules/newbb/viewtopic.php?viewmode=flat&topic_id=32007&forum=39]USB Installation question[/url] topic, [url=http://wiki.centos.org/TipsAndTricks/ReinstallGRUB]How to re-install bootstrap code (GRUB)[/url], and [url=http://wiki.centos.org/TipsAndTricks/CreateNewInitrd]Creating a New Initial RAM Disk[/url].