Dean Hamstead <[email protected]> writes:
>> PS: On a Mac, you can usually take a hard drive out of one machine
>> and put it in another and it will "just work". How much tweaking to
>> get the same result on linux/ubuntu?
>
> network cards and significantly different disk devices (ie pata, sata,
> some strange raid) are usually the only hurdle
Not so much, these days, if you are sensible.
[...]
> network cards are usually just a matter of changing the mac address,
> or some other minor changes
This is fair. As a side note, under /etc/udev you will find the
configuration file that binds the persistent names (eth0, etc) to your
hardware, which you may need to alter if you want to change those
persistent names.
[...]
> hard disk games with /dev/hda /dev/sda /dev/cciss
> /dev/someotherraidthing are usually just a matter of editing the fstab
> and rebooting. in this instance setting init=/bin/bash in grub/lilo is
> your friend.
Actually, these days you would have to be kind of silly to use something
other than mount-by-LABEL or mount-by-UUID[1], given the fairly dynamic
nature of device discovery.
In that case you system will just work(tm) on the new hardware, because
it identifies what to mount based on the filesystem, not the hardware it
happens to be sitting on top of.
Regards,
Daniel
Footnotes:
[1] I prefer the later, because the chance of a conflict is zero, while
the former is pretty high — especially with some distributions
naming their root partition '/' uniformly.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html