diff options
-rw-r--r-- | README | 9 | ||||
-rw-r--r-- | cpio_list.txt | 2 | ||||
-rw-r--r-- | modules | 1 | ||||
-rw-r--r-- | motd | 2 |
4 files changed, 7 insertions, 7 deletions
@@ -1,5 +1,5 @@ -This is my initramfs generator. I use this on my desktop Gentoo system. For my -laptop Arch system, I use mkinitcpio. +minitramfs is a minimal initramfs generator. I use this on my desktop Gentoo +system. For my laptop Arch system, I use mkinitcpio. Basically, it's a suckless initramfs generator: it does exactly what I need. You need something else? Patch it, it's only 117 lines. Or use mkinitcpio or @@ -33,9 +33,10 @@ Usage: building gen_init_cpio. 2. Adjust ./init as required: - a) Adjust networking as required (e.g. maybe static IP instead of DHCP, or + a) Adjust networking as required. For example, use static IP instead of DHCP, or you don't use eth0, but remember that myinitramfs has no udev, so no - predictable interface names) + predictable interface names. For PCI path based naming, try something like + $(cd /sys/bus/pci/devices/0000:08:00.0/net; echo *). b) Adjust UUID (most likely yours is not the same as mine) c) Change or remove fsck for non-ext4 roots d) Put whatever you want: usr mount, NFS root, whatever. diff --git a/cpio_list.txt b/cpio_list.txt index 740e1d8..0707c03 100644 --- a/cpio_list.txt +++ b/cpio_list.txt @@ -1,4 +1,4 @@ -# myinitramfs cpio_list.txt +# minitramfs cpio_list.txt # see ./gen_init_cpio for syntax # basic directories. note that all required parent directories will be @@ -1 +0,0 @@ -vfat @@ -1,3 +1,3 @@ -myinitramfs: +minitramfs: Type `exec unlock' to unlock the root device and resume boot. |