diff options
Diffstat (limited to 'mkinitcpio-loop-subdir.install')
-rw-r--r-- | mkinitcpio-loop-subdir.install | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/mkinitcpio-loop-subdir.install b/mkinitcpio-loop-subdir.install new file mode 100644 index 000000000000..8b9cd2066e2a --- /dev/null +++ b/mkinitcpio-loop-subdir.install @@ -0,0 +1,17 @@ +post_install() { + echo "Example usage of this hook:" + echo "For booting an Arch Linux system pacstrap'd to /ARCH" + echo "on a Wubi (https://wiki.ubuntu.com/WubiGuide) install:" + echo "add the loop amd subdir hooks to your initramefs, then" + echo "set up the kernel to boot with the following command line:" + echo + echo "root=/dev/sda2@/ubuntu/disks/root.disk partfstype=ntfs rootdir=ARCH rw" + echo + echo "If you want to access the underlying Windows and Ubuntu systems" + echo "from Arch, also add the auxmount hook, create /mnt/rootpart and " + echo "/mnt/rootimg and add 'auxmnt=mnt' to the kernel command line." +} + +post_upgrade() { + post_install +} |