View Full Version : [ubuntu] swap hdd possible ?
November 24th, 2008, 01:08 PM
I have a CDROM problem with one box. I would like to do the server install on one machine and then swap HDD afterwards. I plan to install/use one HDD only (I guess grub will work).
Is it possible to do so ? If so, anything I should be aware of ?
Thanks for your help...
November 24th, 2008, 03:38 PM
in theory it is possible, but unless the machines have exactly the same hardware you might find it wont boot or you have to spend hours sorting out drivers and kernel modules.
a better option might be a Network Install. ubuntu has a wiki page on it https://help.ubuntu.com/community/Installation/Netboot
alternatively, if your machine is capable of booting from a USB stick you could install it that way too https://help.ubuntu.com/community/Installation/FromUSBStick
the USB install looks like the easiest way to go, but obviously depends on your machine being able to boot from USB (check the bios options to find out)
November 25th, 2008, 02:09 AM
Not exactly the same motherboard...
I tried and the only thing that does not work is the network card.
Any clue on how to fix it ? ... step by step !
November 25th, 2008, 02:25 AM
Unless you're using a proprietary graphics driver, moving a hard disk between machines of the same architecture should pose no problems whatsoever.
The problem you are encountering is simply the network interface name persistence machinery at work. It detects that your network card has a different MAC address, so probably calls it eth1 instead. If you have rules for eth0 in /etc/network/interfaces, that would be your problem.
To reset the name persistence, just remove the two interface lines that should be in /etc/udev/rules.d/70-persistent-net.rules.
November 25th, 2008, 11:47 AM
Thanks wgrant !
Problem solved !
Any other tricks I should be aware of ...?
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.