Differences

This shows you the differences between two versions of the page.

tips [2009/01/07 06:10]
timrichardson
tips [2009/01/07 06:15] (current)
timrichardson updated debug info
Line 241: Line 241:
If for some reason this is not done, then check If for some reason this is not done, then check
-////etc/default/splashy//: you need to enable initramfs here+///etc/default/splashy//: you need to enable initramfs here
The initramfs is unmounted during the boot, and it is a read only file system. Therefore, you can't redirect output to /tmp in order to review it after the boot is completed. However, you can write into /dev/.initramfs and review this later. This is useful if you want to check error and warning output from splashy during this early boot stage. The initramfs is unmounted during the boot, and it is a read only file system. Therefore, you can't redirect output to /tmp in order to review it after the boot is completed. However, you can write into /dev/.initramfs and review this later. This is useful if you want to check error and warning output from splashy during this early boot stage.
Line 249: Line 249:
The press return to go back to the grub menu, and press "b" to boot. The press return to go back to the grub menu, and press "b" to boot.
 +The break parameter will drop you into a shell, the initramfs shell. premount means you are in the shell before splashy has run.
 +edit the splashy script (//vi /scripts/local-premount/splashy//) and redirect the stderr output to /dev/.initramfs/splashy.log, that is,
 +the //splashy boot// line becomes //splashy boot 2>/dev/.initramfs/splashy.log//
-**/usr/share/initramfs-tools/scripts/init-top/splashy:** where it says: ///sbin/splashy boot//. Change it to say: ///sbin/splashy boot 2> /dev/.initramfs/splashy_debug.log//+You can permanently change this by editing ///usr/share/initramfs-tools/scripts/init-top/splashy// and making the same change. 
 +You will need to //update-initramfs -u // to copy your change to the initrams. 
 + 
 +There is no need to change the kernel ro parameter. You can write to /dev/.initramfs even when initramfs is mounted ro (which is the default).
 
tips.txt · Last modified: 2009/01/07 06:15 by timrichardson
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki