This file contains text that was written to console in the boot without ramdisk, followed by text that was only written to console in boot *with* ramdisk. At the bottom is how i cleaned the logs. ====== lines only present without ramdisk ======== 143360 bytes (143 kB) copied, 0.0419125 s, 3.4 MB/s + cmdline=init=/sbin/kvmify-init root=/dev/sda console=ttyS0 + cmdline=init=/sbin/kvmify-init root=/dev/sda console=ttyS0 xupdate=sdb:tar + cmdline=init=/sbin/kvmify-init root=/dev/sda console=ttyS0 xupdate=sdb:tar --debug + exec kvm -drive file=x1/rootdisk.img,if=ide -drive file=x1/sdb.img,if=ide -kernel /home/smoser/src/boothooks/image.dist.nord/lucid-server-uec-amd64-vmlinuz-virtual -append init=/sbin/kvmify-init root=/dev/sda console=ttyS0 xupdate=sdb:tar --debug -m 512 -echr 5 -serial stdio -nographic -redir tcp:2222::22 + [ -f ] Formatting 'x1/rootdisk.img', fmt=qcow2 size=2147483648 backing_file='/home/smoser/src/boothooks/image.dist.nord/lucid-server-uec-amd64.img' encryption=off cluster_size=0 init: event_finished: Finished bus-device-added event init: event_finished: Finished class-device-added event init: event_finished: Finished dmi-device-added event init: event_finished: Finished mdio_bus-device-added event init: event_finished: Finished pci_bus-device-added event init: event_finished: Finished ppdev-device-added event init: event_finished: Finished ppp-device-added event init: event_finished: Finished rtc-device-added event init: event_finished: Finished thermal-device-added event init: event_finished: Finished usbmon-device-added event init: event_finished: Finished virtio-device-added event init: event_finished: Finished vtconsole-device-added event init: event_new: Pending bus-device-added event init: event_new: Pending class-device-added event init: event_new: Pending dmi-device-added event init: event_new: Pending mdio_bus-device-added event init: event_new: Pending net-device-up event init: event_new: Pending pci_bus-device-added event init: event_new: Pending ppdev-device-added event init: event_new: Pending ppp-device-added event init: event_new: Pending rtc-device-added event init: event_new: Pending thermal-device-added event init: event_new: Pending usbmon-device-added event init: event_new: Pending virtio-device-added event init: event_new: Pending vtconsole-device-added event init: event_pending_handle_jobs: New instance mountall-net init: event_pending_handle_jobs: New instance network-interface (eth0) init: event_pending_handle_jobs: New instance network-interface (lo) init: Handling bus-device-added event init: Handling class-device-added event init: Handling dmi-device-added event init: Handling mdio_bus-device-added event init: Handling net-device-up event init: Handling pci_bus-device-added event init: Handling ppdev-device-added event init: Handling ppp-device-added event init: Handling rtc-device-added event init: Handling thermal-device-added event init: Handling usbmon-device-added event init: Handling virtio-device-added event init: Handling vtconsole-device-added event init: job_change_state: Destroyed inactive instance mountall-net init: mountall-net goal changed from start to stop init: mountall-net goal changed from stop to start init: mountall-net main process() init: mountall-net main process() exited normally init: mountall-net state changed from killed to post-stop init: mountall-net state changed from post-start to running init: mountall-net state changed from post-stop to waiting init: mountall-net state changed from pre-start to spawned init: mountall-net state changed from running to stopping init: mountall-net state changed from spawned to post-start init: mountall-net state changed from starting to pre-start init: mountall-net state changed from stopping to killed init: mountall-net state changed from waiting to starting init: network-interface (eth0) goal changed from stop to start init: network-interface (eth0) pre-start process() init: network-interface (eth0) state changed from starting to pre-start init: network-interface (eth0) state changed from waiting to starting init: network-interface (lo) goal changed from stop to start init: network-interface (lo) pre-start process() init: network-interface (lo) state changed from starting to pre-start init: network-interface (lo) state changed from waiting to starting Interrupt:11 Base address:0xc000 (qemu) qququiquit + rootspec=/dev/sda sent 89175 bytes received 999 bytes 60116.00 bytes/sec Warn: no ramdisk in /home/smoser/src/boothooks/image.dist.nord ====== lines only present *with* ramdisk ======== Begin: Loading essential drivers... ... Begin: Mounting root file system... ... Begin: Running /scripts/init-bottom ... Begin: Running /scripts/init-premount ... Begin: Running /scripts/local-bottom ... Begin: Running /scripts/local-premount ... Begin: Running /scripts/local-top ... + cmdline= root=LABEL=uec-rootfs console=ttyS0 + cmdline= root=LABEL=uec-rootfs console=ttyS0 xupdate=sdb:tar + cmdline= root=LABEL=uec-rootfs console=ttyS0 xupdate=sdb:tar helpmount --debug error: unexpectedly disconnected from boot status daemon + exec kvm -drive file=x1/rootdisk.img,if=ide -drive file=x1/sdb.img,if=ide -kernel /home/smoser/src/boothooks/image.dist/lucid-server-uec-amd64-vmlinuz-virtual -initrd /home/smoser/src/boothooks/image.dist/lucid-server-uec-amd64-initrd-virtual -append root=LABEL=uec-rootfs console=ttyS0 xupdate=sdb:tar helpmount --debug -m 512 -echr 5 -serial stdio -nographic -redir tcp:2222::22 + [ -f /home/smoser/src/boothooks/image.dist/lucid-server-uec-amd64-initrd-virtual ] Formatting 'x1/rootdisk.img', fmt=qcow2 size=2147483648 backing_file='/home/smoser/src/boothooks/image.dist/lucid-server-uec-amd64.img' encryption=off cluster_size=0 init: dbus goal changed from stop to start init: dbus main process init: dbus pre-start process init: dbus pre-start process exited normally init: dbus state changed from pre-start to spawned init: dbus state changed from starting to pre-start init: dbus state changed from waiting to starting init: event_new: Pending filesystem event init: event_new: Pending local-filesystems event init: event_pending_handle_jobs: New instance dbus init: event_pending_handle_jobs: New instance mounted-tmp init: event_pending_handle_jobs: New instance networking init: event_pending_handle_jobs: New instance plymouth-log init: event_pending_handle_jobs: New instance rsyslog init: event_pending_handle_jobs: New instance rsyslog-kmsg init: event_pending_handle_jobs: New instance ssh init: Handling filesystem event init: Handling local-filesystems event init: job_change_state: Destroyed inactive instance mountall init: job_change_state: Destroyed inactive instance mounted-tmp init: job_change_state: Destroyed inactive instance plymouth-log init: job_register: Registered instance /com/ubuntu/Upstart/jobs/dbus/_ init: job_register: Registered instance /com/ubuntu/Upstart/jobs/networking/_ init: job_register: Registered instance /com/ubuntu/Upstart/jobs/plymouth_2dlog/_ init: job_register: Registered instance /com/ubuntu/Upstart/jobs/rsyslog/_ init: job_register: Registered instance /com/ubuntu/Upstart/jobs/rsyslog_2dkmsg/_ init: job_register: Registered instance /com/ubuntu/Upstart/jobs/ssh/_ init: mountall goal changed from start to stop init: mountall main process exited normally init: mountall post-stop process init: mountall post-stop process exited normally init: mountall state changed from killed to post-stop init: mountall state changed from post-stop to waiting init: mountall state changed from running to stopping init: mountall state changed from stopping to killed init: mounted-tmp goal changed from start to stop init: mounted-tmp goal changed from stop to start init: mounted-tmp main process init: mounted-tmp main process exited normally init: mounted-tmp state changed from killed to post-stop init: mounted-tmp state changed from post-start to running init: mounted-tmp state changed from post-stop to waiting init: mounted-tmp state changed from pre-start to spawned init: mounted-tmp state changed from running to stopping init: mounted-tmp state changed from spawned to post-start init: mounted-tmp state changed from starting to pre-start init: mounted-tmp state changed from stopping to killed init: mounted-tmp state changed from waiting to starting init: networking goal changed from stop to start init: networking state changed from waiting to starting init: plymouth-log goal changed from start to stop init: plymouth-log goal changed from stop to start init: plymouth-log main process init: plymouth-log main process terminated with status 111 init: plymouth-log state changed from killed to post-stop init: plymouth-log state changed from post-start to running init: plymouth-log state changed from post-stop to waiting init: plymouth-log state changed from pre-start to spawned init: plymouth-log state changed from running to stopping init: plymouth-log state changed from spawned to post-start init: plymouth-log state changed from starting to pre-start init: plymouth-log state changed from stopping to killed init: plymouth-log state changed from waiting to starting init: rsyslog goal changed from stop to start init: rsyslog-kmsg goal changed from stop to start init: rsyslog-kmsg main process init: rsyslog-kmsg pre-start process init: rsyslog-kmsg pre-start process exited normally init: rsyslog-kmsg state changed from post-start to running init: rsyslog-kmsg state changed from pre-start to spawned init: rsyslog-kmsg state changed from spawned to post-start init: rsyslog-kmsg state changed from starting to pre-start init: rsyslog-kmsg state changed from waiting to starting init: rsyslog main process init: rsyslog main process became new process init: rsyslog state changed from post-start to running init: rsyslog state changed from pre-start to spawned init: rsyslog state changed from spawned to post-start init: rsyslog state changed from starting to pre-start init: rsyslog state changed from waiting to starting init: ssh goal changed from stop to start init: ssh main process init: ssh pre-start process init: ssh pre-start process exited normally init: ssh state changed from pre-start to spawned init: ssh state changed from starting to pre-start init: ssh state changed from waiting to starting Loading, please wait... ===== clean script to compare 2 logs, filtering out arbitrary diff ===== ---- #!/bin/sh clean(){ sed 's,,,g; s,([0-9]*),,g; s,process [0-9]*,process,g; /^[[]/d' | sort | uniq -u } cat rd.log nord.log nord.log | clean > only.rd${1} cat nord.log rd.log rd.log | clean > only.nord${1} ----