Changes

Jump to: navigation, search
no edit summary
After installing the Ubuntu xen-server packages and rebooting the operating system using the Xen kernel the boot process appears to hang after displaying the "Setting system clock..." message.
This is a problem related to the hwclock binary which is common to a number of different Linux distributions in addition to Ubuntu. This problem can occur both when booting the host Xen system and when when launching guest (domainU) systems.
One way to resolve this If the problem is to remove startup links to ''hwclockencountered when booting the host system with a Xen enabled kernel, boot the system with the standard (i.sh'' e non-Xen kernel) and ''hwclockfirst.sh''run the following commands:
<pre>
sudo update-rcsuinit.d -f /hwclockfirst.sh init.d/hwclock.sh remove</pre> If the problem is occurring in a Xen domainU system, an option is to simply edit the same two system initialization files. The first step is is to mount the root filesystem of the guest using the loopback interface. For example, if the root filesystem resides on a disk image it may be mounted at /tmp/mnt as follows: <pre>mkdir /tmp/mntsudo updatemount -rco loop UbuntuXen.d img /tmp/mnt</pre> Alternatively, if the domainU root filesystem resides on a physical disk partition (in this example /dev/sdb1), the mount command might read as follows: <pre>mkdir /tmp/mntsudo mount -f hwclockfirst.sh removeo loop /dev/sdb1 /tmp/mnt
</pre>
Another option Once the domainU root filesystem is to simply mounted, edit the two system initialization following files:
<pre>
</pre>
Once one of these sets of changes has been made to both the hwclockfirst.sh and hwclock.sh, files simply reboot unmount the system domainU root filesystem and the guest Ubuntu system should boot fully without hanging.
1,798
edits

Navigation menu