diff options
author | Silvino Silva <silvino@bk.ru> | 2016-10-21 17:07:36 +0100 |
---|---|---|
committer | Silvino Silva <silvino@bk.ru> | 2016-10-21 17:07:52 +0100 |
commit | e8303acde9bc5a9b220fe676039192acd221f077 (patch) | |
tree | 0d253f566449cbfb0bc96a5d0afb8fe7ea822a38 /core | |
parent | 70037109e547e37525500588f6344aba37de6d07 (diff) | |
download | doc-e8303acde9bc5a9b220fe676039192acd221f077.tar.gz |
core reboot and tools tar document revision
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 |