2016-12-17 11:57:24 -08:00
|
|
|
## Install SolusOS with software raid0 /home device
|
2016-12-17 10:38:45 -08:00
|
|
|
|
2016-12-17 11:53:23 -08:00
|
|
|
I don't know if this is correct or not, but it's working for me.
|
2016-12-17 12:04:05 -08:00
|
|
|
First, [torrent/download](https://solus-project.com/download/) the latest iso and write it to a thumb drive with ddrescue
|
2016-12-17 11:53:23 -08:00
|
|
|
|
|
|
|
```bash
|
|
|
|
ddrescue -D --force Solus-1.2.1.iso /dev/sdX
|
|
|
|
```
|
|
|
|
|
|
|
|
On my machine you can write the thumb drive using USB 3, but you have to
|
|
|
|
afterwards move the thumb drive over to a USB 2 port to uefi-boot. At boot
|
|
|
|
time on Asus X99 mobo, tap the f8 key for boot device menu, and select uefi-usb.
|
|
|
|
|
|
|
|
The SolusOS installer will insist on formatting the / partition, so back that up,
|
|
|
|
and then mdadm is not installed so you will have to install that.
|
|
|
|
|
|
|
|
```bash
|
|
|
|
eopkg install mdadm
|
|
|
|
```
|
|
|
|
|
2016-12-17 11:57:24 -08:00
|
|
|
If you need to create your software raid device, the [Arch Wiki](https://wiki.archlinux.org/index.php/RAID)
|
2016-12-17 11:53:23 -08:00
|
|
|
is a great resource, but you'll at least need to assemble the raid.
|
|
|
|
|
|
|
|
```bash
|
|
|
|
mdadm --assemble --scan
|
|
|
|
```
|
|
|
|
|
|
|
|
Now you can run the installer gui application, and select the raid device as your home partition. But
|
2016-12-17 11:57:24 -08:00
|
|
|
there is some additional configuration you'll need to do via chroot. Mount your / device and chroot into
|
2016-12-17 11:53:23 -08:00
|
|
|
it.
|
|
|
|
|
2016-12-17 10:38:45 -08:00
|
|
|
```bash
|
2016-12-17 11:53:23 -08:00
|
|
|
mount /dev/sdxY /mnt
|
|
|
|
```
|
|
|
|
|
|
|
|
or in case of nvme / device
|
|
|
|
|
|
|
|
```bash
|
|
|
|
mount /dev/nvme0n1p1 /mnt # (or similar)
|
|
|
|
```
|
|
|
|
|
|
|
|
and then perform chroot
|
|
|
|
|
|
|
|
```bash
|
2016-12-17 12:52:32 -08:00
|
|
|
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done
|
2016-12-17 11:53:23 -08:00
|
|
|
chroot /mnt
|
|
|
|
```
|
2016-12-17 12:52:32 -08:00
|
|
|
|
2016-12-17 11:53:23 -08:00
|
|
|
and then install and set up mdadm
|
|
|
|
|
|
|
|
```bash
|
|
|
|
eopkg install mdadm
|
|
|
|
mdadm --detail --scan >> /etc/mdadm.conf
|
|
|
|
```
|
|
|
|
|
|
|
|
and then you might want to adjust fstab
|
|
|
|
|
|
|
|
```text
|
|
|
|
# UUID=0421c6.......dd6ecc7 /home ext4 discard,rw,relatime,errors=remount-ro 0 2
|
|
|
|
UUID=0421c6.......dd6ecc7 /home ext4 rw,relatime,stripe=256,data=ordered 0 2
|
|
|
|
```
|
|
|
|
|
|
|
|
There doesn't seem to be an `update-initramfs` commmand available, so not sure if raid / device is possible.
|