Pre-
- Make a bootable usb key with Ubuntu 14.04.5 desktop installed.
- Two hard disks:
Configuration
@H_403_11@/home 50GB RAID1 / 40GB /boot 1GB swap 9GBInstalling
step 1: boot to your usb driver. (use BISO)
step 2: try ubuntu
step 3: open a terminal. Clean your drivers.
@H_403_11@sudo sgdisk -Z /dev/sda sudo sgdisk -Z /dev/sdbstep 4: connect to internet.
step 5: install the RAID manager with default configuration
@H_403_11@sudo apt-get install mdadmstep 6: partition the drivers: /dev/sda
and /dev/sdb
step 7: create RAID 1
@H_403_11@sudo mdadm --create /dev/md0 --l 1 -n 2 /dev/sda1 /dev/sdb1* step 8*: create partitions on /dev/md0
step 9: start to install ubuntu on your hard drivers.
use manual partitioning. configure each driver:
Just select corresponding driver,choose use as ext4
or swap
,check the format
Box.
step 10 : once you finish the installation,do not reboot. The following steps is very important!
@H_403_11@sudo -s mount /dev/sda3 /mnt mount -o bind /dev /mnt/dev mount -o bind /dev/pts /mnt/dev/pts mount -o bind /sys /mnt/sys mount -o bind /proc /mnt/proc cat /etc/resolv.conf >> /mnt/etc/resolv.conf chroot /mnt apt-get install mdadm vim vim /etc/grub.d/10_linux # change quick_boot to 0 grub-install /dev/sda grub-install /dev/sdb update-grub sudo shutdown -r nowEnjoy it !