First page Back Continue Last page Summary Graphics
Duplicating Disk Partitions
Retrieve configuration from disk on slave 0
- bpsh 0 /sbin/sfdisk -d /dev/hda > part0
Apply configuration to disk on slave 1
- bpsh 1 /sbin/sfdisk /dev/hda < part0
Disks must be identical
Disk must still be configured (use a script)
- bpsh $1 /sbin/mkfs.ext2 /dev/hda2
- bpsh $1 /sbin/mkswap /dev/hda3
- bpsh $1 /sbin/mkfs.ext2 /dev/hda4
- /usr/sbin/beoboot-install $1 /dev/hda
Notes: