On Mon, Nov 26, 2012 at 10:24:08AM +1100, Peter Ross wrote:
> On Fri, 23 Nov 2012, Michael Lindner wrote:
>
> > It hangs for longer than normal on a service called
> > plymouth-quit-wait.service
> >
> I had a bit of a look around, and /bin/plymouth (formerly unknown to me)
solution:
apt-get purge $(apt-cache pkgnames plymouth)
> I believe I see a change in a recent update of a Ubuntu 12.04 LTS machine.
> I do not see the GRUB selection screen anymore.
ubuntu's grub configuration is fucked up. it was bad enough in previous
releases, and it has only got worse in Precise and Quantal.
to make it sane, you need to:
1. comment out or delete all the GRUB_HIDDEN_* shit in /etc/default/grub
and replace it with non-hidden versions. and if you want the machine
to be able boot again without manual intervention after a boot
failure, you need to disable their cretinous recordfail "feature" with
GRUB_RECORDFAIL_TIMEOUT=x (the default of -1 just makes it sit at the
grub prompt forever, which is a PITA if you don't have access to the
console)
e.g. here's /etc/default/grub from one of my ubuntu VMs:
(you probably don't need the 'console=ttyS0', that's just to make
sure I get a console.log file on the openstack compute-node).
GRUB_TERMINAL=console is useful for getting rid of any stupid boot
splash screens so you can see what's happening when the machine boots.
---cut here---
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=saved
GRUB_SAVEDEFAULT=true
#GRUB_HIDDEN_TIMEOUT=0
#GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=5
GRUB_RECORDFAIL_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="console=ttyS0"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
---cut here---
2. disable the brain-damaged submenu shit in /etc/grub.d/10_linux (it's
annoying, and it breaks the grub-set-default and grub-reboot commands)
--- 10_linux.dpkg-dist 2012-04-17 17:57:08.000000000 +0000
+++ 10_linux 2012-07-31 07:28:37.144068799 +0000
@@ -194,7 +194,6 @@
if [ "\${linux_gfx_mode}" != "text" ]; then load_video; fi
EOF
-in_submenu=false
while [ "x$list" != "x" ] ; do
linux=`version_find_latest $list`
echo "Found linux image: $linux" >&2
@@ -254,12 +253,5 @@
list=`echo $list | tr ' ' '\n' | grep -vx $linux | tr '\n' ' '`
- if [ "$list" ] && ! $in_submenu; then
- echo "submenu \"Previous Linux versions\" {"
- in_submenu=:
- fi
done
-if $in_submenu; then
- echo "}"
-fi
3. run "update-grub".
craig
--
craig sanders <[email protected]>
BOFH excuse #320:
You've been infected by the Telescoping Hubble virus.
_______________________________________________
luv-main mailing list
[email protected]
http://lists.luv.asn.au/listinfo/luv-main