summaryrefslogtreecommitdiff
path: root/README
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 /README
parent776eeb35f4164f8d49ec52796d3ab91334f34c9f (diff)
downloadminitramfs-0c941101a36a1172b44322657768318c91f6aedc.tar.xz
minitramfs-0c941101a36a1172b44322657768318c91f6aedc.zip
renmae to minitramfs, improve docs
Diffstat (limited to 'README')
-rw-r--r--README9
1 files changed, 5 insertions, 4 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.