Changes

From Amahi Wiki
Jump to: navigation, search
no edit summary
<!--{{WorkInProgressNeedsUpdate}}--><!--<i>This article belongs in the "Getting Under the Hood" section</i>{{NeedsMerge | [[Main Page]]}}--><!--{{NeedsExpantion}}--><!--{{NeedsDelete |[[Main Page]]}}--><!--Please remove or place comment accordingly--><!--Your text bellow this line-->
=<b>Preliminary:</b> =
Swapping hardware in a Linux system such as Amahi (Fedora/Ubuntu) is very forgiving and simple for the most part. Amahi does depend, however, on having the eth0 network interface and your shares depend on having the right drives and SATA ports identified between hardware changes to avoid <i>lengthy</i> repair processes. Note that all of these apply mostly the same if you're running within a virtual machine. Some VM hypervisors abstract the parts enough that the OS will not notice new hardware and not rename it (eg: eth0 to eth1).
If swapping:<br />>> =Motherboard/ SATA-controller/ RAID-card <<<br />=
- you have no changes to make when booting back into Linux, which will just re-fit drivers to the new part. <br />
- It is VERY advisable though, to reconnect your drives in the same sequence they were before the swap of the motherboard/ sata-controller/ RAID-card..<br />
..and so on.<br />
- In the BIOS/ UEFI, ensure that the boot sequence is also the same as before the upgrade or swap. <br />
>> Finally, after replacing or even adding drives, run a 'greyhole -f' and a 'greyhole -l' as sudo in terminal to completely re-discover what you may have had in the greyhole storage pool.
If swapping:<br b></b>>> network card << <br />=Network Card=
- you must ensure that the same ethernet device assignment stands as before the part swap. <br />
- If anything eth0 may become eth1 afterwards, so you will need to rename it to eth0 via the Network Manager in the desktop. You'll want to reboot to finalize changes. <br />
- use your favourite command line editor and edit with sudo/su..
{{code| $/etc/udev/rules.d/70-persistent-net.rules}}
which may look like this
{{code|Code = <pre># This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# net device () (custom name provided by external tool)
SUBSYSTEM=="net", ACTION=="add", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
}}</pre>
And notice the "eth0". If it is something else, make it eth0 and save the file and reboot.
<br />
=CPU / RAM / video card=
- no changes need to be done after boot. These drivers and modules should automatically load on a reboot of Linux VMs.<br />
- this is because the hypervisor is abstracting the CPU to the VM regardless.
If swapping:<br />>b> CPU / RAM / video card << <br /b>- no changes need to be done after boot. These drivers and modules should automatically load on a reboot of Linux.<br />   <!--Your text above this line--><!--This page must belong to one of the following categories please remove comment--><!--[[category:Apps]]--><!--[[Category:Fedora_14]]--><!--[[Category:Platform]]--><!--[[Category:Pro Version]]--><!--[[Category:Services]]--><!--[[Category:VPN]]--> <noinclude>[[Category:WikiModTools]]</noinclude>
12,424

edits