Skip to content
Snippets Groups Projects
Unverified Commit f6e79d33 authored by anarcat's avatar anarcat
Browse files

mdadm and grub config moved to hooks

parent fee08dea
No related branches found
No related tags found
No related merge requests found
......@@ -142,24 +142,8 @@ which we'll use below.
If the backing device is *NOT* an SSD, remove the `,discard` option.
9. mount the helper filesystems once more
for fs in dev proc run sys ; do
mount -o bind /$fs "/target/$fs";
done
10. Do the same with the RAID configuration, probably with something like:
chroot /target sh -c "/usr/share/mdadm/mkconf > /etc/mdadm/mdadm.conf"
TODO: move to a deboostrap post hook.
11. install grub on any secondary disk, for instance
chroot /target grub-install /dev/nvme1n1
12. Review the network configuration, since it will end up in the
installed instance:
7. Review the network configuration, since it will end up in the
installed instance:
cat /target/etc/network/interfaces
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment