about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSilvino Silva <silvino@bk.ru>2016-10-21 17:14:53 +0100
committerSilvino Silva <silvino@bk.ru>2016-10-21 17:14:53 +0100
commitaac4d4e7e8de530495e0e0827ddf7680c7e65e69 (patch)
tree578665521bf82f229d33100c6aa70cd0168db011
parent4228927f72757b63f2121e041a734c86f69f7fd1 (diff)
parent1643d3b8e68a62f9bff18941794e873c7b8c5839 (diff)
downloaddoc-aac4d4e7e8de530495e0e0827ddf7680c7e65e69.tar.gz
release 0.2.7
-rw-r--r--core/reboot.html22
-rw-r--r--index.html25
-rw-r--r--tools/tar.html13
3 files changed, 48 insertions, 12 deletions
diff --git a/core/reboot.html b/core/reboot.html
index 79fde23..b1ff71b 100644
--- a/core/reboot.html
+++ b/core/reboot.html
@@ -123,24 +123,32 @@
         # grub-probe --target=hints_string /
         </pre>
 
+        <p>To add rw as default edit /etc/grub.d/10_linux file, current
+        version change line 138 to;</p>
+
+        <pre>
+        echo    '$message'
+        linux   ${rel_dirname}/${basename} root=${linux_root_device_thisversion} rw ${args}
+        </pre>
+
         <h2 id="checkup">1.4.4. Checkup</h2>
 
         <p>If you have qemu installed you can see if it boots, in this
         example sdb is usb external drive;</p>
 
         <pre>
-        # qemu-system-x86_64 -curses -usb -usbdevice disk:/dev/sdb
+        # qemu-system-x86_64 -kernel /boot/vmlinuz-linux -initrd /boot/initramfs-linux.img -append root=/dev/sdb /dev/sdb2
         </pre>
 
+        <h3>Debug Grub</h3>
+
+        <h3>Debug initram</h3>
+
         <pre>
-        # qemu-system-x86_64 -kernel /boot/vmlinuz-linux -initrd /boot/initramfs-linux.img -append root=/dev/sdb /dev/sdb2
+        /usr/lib/dracut/skipcpio /boot/initramfs-4.1.32-c9k9.img | gunzip -c | cpio -i -d
+        36875 blocks
         </pre>
 
-	<pre>
-	# qemu-img convert crux-img.qcow2 -O raw crux.img
-	# dd if=crux.img of=/dev/sdX
-	</pre>
-
         <a href="index.html">Core OS Index</a>
         <p>This is part of the c9-doc Manual.
         Copyright (C) 2016
diff --git a/index.html b/index.html
index cbe6339..09ac409 100644
--- a/index.html
+++ b/index.html
@@ -27,16 +27,35 @@
         <p>Version;</p>
 
         <pre>
-        rev 0.2.6
+        rev 0.2.7
         </pre>
 
-
-        <p>Current mainstream git;</p>
+        <p>Current upstream git repository;</p>
 
         <p>
         <a href="https://github.com/s1lvino/c9-doc">https://github.com/s1lvino/c9-doc</a>
         </p>
 
+        <p>Current ports upstream git repository;</p>
+
+        <p>
+        <a href="https://github.com/s1lvino/c9-ports">https://github.com/s1lvino/c9-ports</a>
+        </p>
+
+        <p>Content of
+        <a href="core/conf/ports/c9-ports.httpup">c9-ports.httpup</a>;
+        </p>
+
+        <pre>
+        #
+        # /etc/ports/c9-ports.httpup: c9-ports port collection
+        #
+
+        ROOT_DIR=/usr/ports/c9-ports
+        URL=https://github.com/s1lvino/c9-ports/raw/master/
+        # End of file
+        </pre>
+
         <h2>License</h2>
 
         <p>Permission is granted to copy, distribute and/or modify this
diff --git a/tools/tar.html b/tools/tar.html
index c3b7cac..1cafbb6 100644
--- a/tools/tar.html
+++ b/tools/tar.html
@@ -12,9 +12,18 @@
 
         <h2 id="tarbkup">1. Create Backup</h2>
 
-        <p>Script <a href="scripts/backup-system.sh">core/scripts/backup-system.sh</a> use tldp
+        <p>To create a simple compressed tar;</p>
+
+        <pre>
+        $ tar -czvf tar_name.tar.gz /path/to/archive
+        </pre>
+
+        <p>Script
+        <a href="scripts/backup-system.sh">core/scripts/backup-system.sh</a>
+        use tldp
         <a href="http://tldp.org/LDP/lame/LAME/linux-admin-made-easy/server-backup.html">server backup</a>
-        and <a href="http://tldp.org/LDP/lame/LAME/linux-admin-made-easy/server-restore.html">restore</a>
+        and
+        <a href="http://tldp.org/LDP/lame/LAME/linux-admin-made-easy/server-restore.html">restore</a>
         as a reference.</p>
 
         <pre>