Kaydet (Commit) 3b82afee authored tarafından Your Name's avatar Your Name

README güncellemesi

üst b887e66d
......@@ -6,19 +6,21 @@
# boot modes
```
boot=classic : Booting from installed system
boot=normal : Booting from installed system but / as tmpfs (All directories binded)
boot=live : Live boot mode. Search main.sfs (see also sfs=xxx) file and mount overlayfs
boot=freeze : Frozen mode. Booting from installed system but / as overlayfs (changes never saved)
boot=classic : Booting from installed system
boot=normal : Booting from installed system but / as tmpfs (All directories binded)
boot=live : Live boot mode. Search main.sfs (see also sfs=xxx) file and mount overlayfs
boot=freeze : Frozen mode. Booting from installed system but / as overlayfs (changes never saved)
```
# boot parameters
```
sfs=xxx : Search xxx and used for booting from live rootfs
LANG=xxx : Change language (initrd and system)
root=xxx : Change rootfs localion or uuid
debug : Write debug logs
quiet : No output mode (Only error logs writed)
ro : mount filesystem as read-only
rw : mount filesystem as read-write
sfs=xxx : Search xxx and used for booting from live rootfs
LANG=xxx : Change language (initrd and system)
root=xxx : Change rootfs localion or uuid
overlay=zram : Live boot mode uses zram0 as tmpfs (experimental)
overlay=disable : Live boot mode does not use overlayfs (dangerous)
debug : Write debug logs
quiet : No output mode (Only error logs writed)
ro : mount filesystem as read-only
rw : mount filesystem as read-write
```
......@@ -51,3 +51,6 @@ No root device specified.::Hicbir kok blirlenmedi.
Where is the root::Kok nerde amk
Setting root::Kok ayarlaniyor
is not a block device::bir blok algit değil
Overlayfs disabled::Overlayfs kapali
Please wait. Reading rootfs...::Lütfen bekleyin. Rootfs okunuyor...
......@@ -14,6 +14,13 @@ overlay_mount(){
mkdir -p /rootfs/
umount /root/a 2>/dev/null
umount /root/b 2>/dev/null
if [ "$overlay" == "disable" ]; then
warn "Overlayfs disabled"
mount -t tmpfs -o size=100% none /rootfs
inf "Please wait. Reading rootfs..."
cp -prf /source/* /rootfs
return 0
fi
debug "Creating overlayfs"
mount -t overlay -o lowerdir=/source/,upperdir=/root/a,workdir=/root/b overlay /rootfs
if [ "$overlay" == "zram" ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment