tof:computer:vserver:upstart_ubuntu_lucid
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédenteDernière révisionLes deux révisions suivantes | ||
tof:computer:vserver:upstart_ubuntu_lucid [09/06/2010 12:57] – créée Christophe Boyanique | tof:computer:vserver:upstart_ubuntu_lucid [12/07/2010 17:18] – Christophe Boyanique | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
====== Fix for running Ubuntu Lucid in vserver ====== | ====== Fix for running Ubuntu Lucid in vserver ====== | ||
- | This tweak is inspired by http:// | + | This tweak is inspired by [[http:// |
+ | |||
+ | < | ||
+ | 19:57 < | ||
+ | | ||
+ | 19:58 < | ||
+ | | ||
+ | 19:59 < | ||
+ | | ||
+ | 19:59 < | ||
+ | 20:00 < | ||
+ | 20:01 < | ||
+ | </ | ||
===== Choose plain init style ===== | ===== Choose plain init style ===== | ||
Ligne 27: | Ligne 39: | ||
< | < | ||
# mkdir / | # mkdir / | ||
- | # for srv in console-setup | + | # for srv in console-setup dmesg failsafe-x hostname hwclock-save hwclock module-init-tools \ |
mountall-net mountall-reboot mountall-shell mountall network-interface network-interface-security networking \ | mountall-net mountall-reboot mountall-shell mountall network-interface network-interface-security networking \ | ||
plymouth-log plymouth-splash plymouth-stop plymouth procps rcS rsyslog-kmsg tty1 tty2 tty3 tty4 tty5 tty6 \ | plymouth-log plymouth-splash plymouth-stop plymouth procps rcS rsyslog-kmsg tty1 tty2 tty3 tty4 tty5 tty6 \ | ||
upstart-udev-bridge ureadahead-other ureadahead; do mv / | upstart-udev-bridge ureadahead-other ureadahead; do mv / | ||
/ | / | ||
+ | </ | ||
+ | |||
+ | ===== Add vserver init task ===== | ||
+ | |||
+ | Create the file ''/ | ||
+ | < | ||
+ | description | ||
+ | |||
+ | start on startup | ||
+ | |||
+ | console output | ||
+ | task | ||
+ | |||
+ | pre-start script | ||
+ | touch / | ||
+ | chown root:utmp / | ||
+ | chmod 664 / | ||
+ | end script | ||
+ | |||
+ | script | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | end script | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== Tweak sysinit configuration ===== | ||
+ | |||
+ | In ''/ | ||
+ | |||
+ | < | ||
+ | start on filesystem and net-device-up IFACE=lo | ||
+ | </ | ||
+ | |||
+ | by: | ||
+ | |||
+ | < | ||
+ | start on filesystem | ||
</ | </ | ||
Ligne 63: | Ligne 121: | ||
# *.=debug; | # *.=debug; | ||
# *.=notice; | # *.=notice; | ||
+ | </ | ||
+ | |||
+ | ===== Create the console device ===== | ||
+ | |||
+ | Missing of ''/ | ||
+ | < | ||
+ | # mknod --mode=600 / | ||
</ | </ | ||
tof/computer/vserver/upstart_ubuntu_lucid.txt · Dernière modification : 13/07/2010 11:58 de Christophe Boyanique