diff options
author | Silvino Silva <silvino@bk.ru> | 2016-10-21 17:14:53 +0100 |
---|---|---|
committer | Silvino Silva <silvino@bk.ru> | 2016-10-21 17:14:53 +0100 |
commit | aac4d4e7e8de530495e0e0827ddf7680c7e65e69 (patch) | |
tree | 578665521bf82f229d33100c6aa70cd0168db011 /core | |
parent | 4228927f72757b63f2121e041a734c86f69f7fd1 (diff) | |
parent | 1643d3b8e68a62f9bff18941794e873c7b8c5839 (diff) | |
download | doc-aac4d4e7e8de530495e0e0827ddf7680c7e65e69.tar.gz |
release 0.2.7
Diffstat (limited to 'core')
-rw-r--r-- | core/reboot.html | 22 |
1 files changed, 15 insertions, 7 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 |