administration:system-mirror
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
administration:system-mirror [2008/03/12 20:29] – damir | administration:system-mirror [2008/03/12 20:33] – damir | ||
---|---|---|---|
Line 13: | Line 13: | ||
* /dev/sda: is the original disk from where the system boot | * /dev/sda: is the original disk from where the system boot | ||
* /dev/sdb: is the second disk | * /dev/sdb: is the second disk | ||
- | \\ | + | |
=== create the correct partitions we need === | === create the correct partitions we need === | ||
* 100 MB for the boot partition | * 100 MB for the boot partition | ||
Line 62: | Line 62: | ||
=== the /dev/md0 partition will be used flat for the boot partitions === | === the /dev/md0 partition will be used flat for the boot partitions === | ||
+ | * so we can format it right now | ||
< | < | ||
mkfs.ext3 /dev/md0 | mkfs.ext3 /dev/md0 | ||
Line 85: | Line 86: | ||
mkfs.ext3 / | mkfs.ext3 / | ||
mkfs.ext3 / | mkfs.ext3 / | ||
- | mkfs.ext3 /dev/md0 | ||
</ | </ | ||
Line 107: | Line 107: | ||
| | ||
=== Create the new initrd image file === | === Create the new initrd image file === | ||
- | * after the copy we need to create a new initrd and change the information in the /etc/fstab file | + | * after the copy we need to create a new initrd and change the information in the **/1/etc/fstab** file |
* avoid the use of label inside this file, instead use the physical name of the devices | * avoid the use of label inside this file, instead use the physical name of the devices | ||
* you should have something like that: | * you should have something like that: | ||
< | < | ||
+ | vi / | ||
+ | |||
/ | / | ||
/ | / |
administration/system-mirror.txt · Last modified: 2009/03/16 15:00 by damir