host:genrepos
Table of Contents
host:genrepos
install
partition and raid
# dd if=/dev/zero of=/dev/sdb bs=1024 count=5000 # fdisk /dev/sdb # fdisk -l /dev/sdb Disk /dev/sdb: 232.9 GiB, 250000000000 bytes, 488281250 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x35c9935e Device Boot Start End Sectors Size Id Type /dev/sdb1 * 2048 206847 204800 100M 83 Linux /dev/sdb2 206848 4401151 4194304 2G 82 Linux /dev/sdb3 4401152 16984063 12582912 6G 83 Linux /dev/sdb4 16984064 488281249 471297186 224.7G 5 Extended /dev/sdb5 16986112 37957631 20971520 10G 83 Linux /dev/sdb6 37959680 488281249 450321570 214.7G 83 Linux # mdadm --create --raid-devices=2 --level=raid1 /dev/md0 /dev/sdb3 missing # mdadm --create --raid-devices=2 --level=raid1 /dev/md1 /dev/sdb6 missing # mkfs.ext2 /dev/sdb1 # mkreiserfs /dev/md0 # mkreiserfs /dev/sdb5 # cryptsetup -y --cipher serpent-cbc-essiv:sha256 --key-size 256 luksFormat /dev/md1 # cryptsetup luksOpen /dev/md1 crypt # mkreiserfs /dev/mapper/crypt
install base
# mount /dev/md0 /mnt/tmp # cd /mnt/tmp # wget -c 'http://ftp.halifax.rwth-aachen.de/gentoo/releases/amd64/autobuilds/current-stage3-amd64-nomultilib/stage3-amd64-nomultilib-20161208.tar.bz2' # tar xjpf stage3-amd64-nomultilib-20161208.tar.bz2
host/genrepos.txt · Last modified: by sloader
