Home » Questions » Computers [ Ask a new question ]

Changing motherboard under a Ubuntu box

Changing motherboard under a Ubuntu box

I would like to buy a new computer for my old home server, so the only things that remain are the HDDs.

Asked by: Guest | Views: 229
Total answers/comments: 2
Guest [Entry]

"I've done radical H/W changes under Ubuntu- for example, switching from Intel/Intel to AMD/nVidia CPU & Chipset, and had it just boot up and work. However,

I had already changed /etc/fstab to use /dev/sd* instead of auto-generated numbers (just BECAUSE), and
I had no RAID of any kind, and
I had an image backup ""just in case"".

If you can sort out your RAID & /etc/fstab, I think the universal nature of the Ubuntu kernel will take care of the rest."
Guest [Entry]

"The main thing is the disk controller drivers in the initrd. If you can work out what modules are required, add them to /etc/initramfs-tools/modules, run update-initramfs -kall -u before moving the hard drives to the new computer and it should just work ™. To work out what modules are required, boot a Live CD (or USB) and run lsmod|grep ata and look for ones like sata_via or pata_sis that match the chipset on your motherboard. Or, if it has a BIOS option to use AHCI, use the ahci module as it'll perform better.

RAID and fstab: RAID should be fine, as by default all partitions will be scanned for the MD signature, and Ubuntu has been using UUIDs in fstab for ages."