summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2020-08-04 16:37:34 -0400
committerAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2020-08-04 16:37:34 -0400
commit0c941101a36a1172b44322657768318c91f6aedc (patch)
tree22b3533c3057c216026521916286fba702bc1623
parent776eeb35f4164f8d49ec52796d3ab91334f34c9f (diff)
downloadminitramfs-0c941101a36a1172b44322657768318c91f6aedc.tar.xz
minitramfs-0c941101a36a1172b44322657768318c91f6aedc.zip
renmae to minitramfs, improve docs
-rw-r--r--README9
-rw-r--r--cpio_list.txt2
-rw-r--r--modules1
-rw-r--r--motd2
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.