From 0c941101a36a1172b44322657768318c91f6aedc Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Tue, 4 Aug 2020 16:37:34 -0400 Subject: renmae to minitramfs, improve docs --- README | 9 +++++---- cpio_list.txt | 2 +- modules | 1 - motd | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README b/README index 2f5b3e7..a2f004d 100644 --- a/README +++ b/README @@ -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 diff --git a/modules b/modules index 1506af7..e69de29 100644 --- a/modules +++ b/modules @@ -1 +0,0 @@ -vfat diff --git a/motd b/motd index e312273..19dd7e7 100644 --- a/motd +++ b/motd @@ -1,3 +1,3 @@ -myinitramfs: +minitramfs: Type `exec unlock' to unlock the root device and resume boot. -- cgit v1.2.3-70-g09d2