Re: [bitfolk] Problem updating ubuntu

Top Page

Reply to this message
Author: Ian Hobson
Date:  
To: users
Subject: Re: [bitfolk] Problem updating ubuntu
Hi Andy,

Thanks for your reply.

On 15/07/2018 14:44, Andy Smith wrote:
> What do these commands output?
>
> $ dpkg -l | grep grub
> $ ls -la /boot/grub/menu.lst /boot/grub/grub.cfg
> $ grep vmlinuz /boot/grub/menu.lst /boot/grub/grub.cfg
> $ cat /etc/default/grub


ian@hobsoni:~$ dpkg -l | grep grub
ii  grub-common                      2.02~beta2-36ubuntu3.18 
        amd64        GRand Unified Bootloader (common files)
ii  grub-gfxpayload-lists            0.7 
        amd64        GRUB gfxpayload blacklist
ii  grub-legacy-ec2                  18.2-4-g05926e48-0ubuntu1~16.04.2 
        all          Handles update-grub for ec2 instances
ii  grub-pc                          2.02~beta2-36ubuntu3.18 
        amd64        GRand Unified Bootloader, version 2 (PC/BIOS version)
ii  grub-pc-bin                      2.02~beta2-36ubuntu3.18 
        amd64        GRand Unified Bootloader, version 2 (PC/BIOS binaries)
ii  grub2-common                     2.02~beta2-36ubuntu3.18 
        amd64        GRand Unified Bootloader (common files for version 2)
ian@hobsoni:~$ ls -la /boot/grub/menu.lst /boot/grub/grub.cfg
-r--r--r-- 1 root root 15829 May 22 20:22 /boot/grub/grub.cfg
-rw-r--r-- 1 root root  5560 May 19 16:08 /boot/grub/menu.lst
ian@hobsoni:~$ grep vmlinuz /boot/grub/menu.lst /boot/grub/grub.cfg
/boot/grub/menu.lst:# kernel    /vmlinuz root=/dev/hda2 ro
/boot/grub/menu.lst:kernel              /boot/vmlinuz-4.4.0-121-generic 
root=UUID=80731626-dbd6-4aff-8e17-1d741b7d2c73 ro console=hvc0
/boot/grub/menu.lst:kernel              /boot/vmlinuz-4.4.0-121-generic 
root=UUID=80731626-dbd6-4aff-8e17-1d741b7d2c73 ro  single
/boot/grub/menu.lst:kernel              /boot/vmlinuz-4.4.0-119-generic 
root=UUID=80731626-dbd6-4aff-8e17-1d741b7d2c73 ro console=hvc0
/boot/grub/menu.lst:kernel              /boot/vmlinuz-4.4.0-119-generic 
root=UUID=80731626-dbd6-4aff-8e17-1d741b7d2c73 ro  single
/boot/grub/menu.lst:kernel              /boot/vmlinuz-4.4.0-116-generic 
root=UUID=80731626-dbd6-4aff-8e17-1d741b7d2c73 ro console=hvc0
/boot/grub/menu.lst:kernel              /boot/vmlinuz-4.4.0-116-generic 
root=UUID=80731626-dbd6-4aff-8e17-1d741b7d2c73 ro  single
/boot/grub/menu.lst:kernel              /boot/vmlinuz-4.4.0-112-generic 
root=UUID=80731626-dbd6-4aff-8e17-1d741b7d2c73 ro console=hvc0
/boot/grub/menu.lst:kernel              /boot/vmlinuz-4.4.0-112-generic 
root=UUID=80731626-dbd6-4aff-8e17-1d741b7d2c73 ro  single
/boot/grub/grub.cfg:        linux       /boot/vmlinuz-4.4.0-127-generic 
root=/dev/xvda1 ro console=hvc0
/boot/grub/grub.cfg:            linux   /boot/vmlinuz-4.4.0-127-generic 
root=/dev/xvda1 ro console=hvc0
/boot/grub/grub.cfg:            linux   /boot/vmlinuz-4.4.0-127-generic 
root=/dev/xvda1 ro recovery nomodeset console=hvc0
/boot/grub/grub.cfg:            linux   /boot/vmlinuz-4.4.0-124-generic 
root=/dev/xvda1 ro console=hvc0
/boot/grub/grub.cfg:            linux   /boot/vmlinuz-4.4.0-124-generic 
root=/dev/xvda1 ro recovery nomodeset console=hvc0
/boot/grub/grub.cfg:            linux   /boot/vmlinuz-4.4.0-116-generic 
root=UUID=80731626-dbd6-4aff-8e17-1d741b7d2c73 ro console=hvc0
/boot/grub/grub.cfg:            linux   /boot/vmlinuz-4.4.0-116-generic 
root=UUID=80731626-dbd6-4aff-8e17-1d741b7d2c73 ro recovery nomodeset 
console=hvc0
/boot/grub/grub.cfg:            linux   /boot/vmlinuz-4.4.0-112-generic 
root=UUID=80731626-dbd6-4aff-8e17-1d741b7d2c73 ro console=hvc0
/boot/grub/grub.cfg:            linux   /boot/vmlinuz-4.4.0-112-generic 
root=UUID=80731626-dbd6-4aff-8e17-1d741b7d2c73 ro recovery nomodeset 
console=hvc0
/boot/grub/grub.cfg:    linux /boot/vmlinuz-4.4.0-124-generic 
root=/dev/xvda1 ro console=hvc0
/boot/grub/grub.cfg:    menuentry 'Ubuntu (on /dev/xvda1)' --class 
gnu-linux --class gnu --class os $menuentry_id_option 
'osprober-gnulinux-/boot 
vmlinuz-4.4.0-124-generic--80731626-dbd6-4aff-8e17-1d741b7d2c73' {
/boot/grub/grub.cfg:            linux /boot/vmlinuz-4.4.0-124-generic 
root=/dev/xvda1 ro console=hvc0
/boot/grub/grub.cfg:    menuentry 'Ubuntu, with Linux 4.4.0-124-generic 
(on /dev/xvda1)' --class gnu-linux --class gnu --class os 
$menuentry_id_option 
'osprober-gnulinux-/boot/vmlinuz-4.4.0-124-generic--80731626-dbd6-4aff-8e17-1d741b7d2c73' 
{
/boot/grub/grub.cfg:            linux /boot/vmlinuz-4.4.0-124-generic 
root=/dev/xvda1 ro console=hvc0
/boot/grub/grub.cfg:    menuentry 'Ubuntu, with Linux 4.4.0-124-generic 
(recovery mode) (on /dev/xvda1)' --class gnu-linux --class gnu --class 
os $menuentry_id_option 
'osprober-gnulinux-/boot/vmlinuz-4.4.0-124-generic-root=/dev/xvda1 ro 
recovery nomodeset console=hvc0-80731626-dbd6-4aff-8e17-1d741b7d2c73' {
/boot/grub/grub.cfg:            linux /boot/vmlinuz-4.4.0-124-generic 
root=/dev/xvda1 ro recovery nomodeset console=hvc0
/boot/grub/grub.cfg:    menuentry 'Ubuntu, with Linux 4.4.0-116-generic 
(on /dev/xvda1)' --class gnu-linux --class gnu --class os 
$menuentry_id_option 
'osprober-gnulinux-/boot/vmlinuz-4.4.0-116-generic--80731626-dbd6-4aff-8e17-1d741b7d2c73' 
{
/boot/grub/grub.cfg:            linux /boot/vmlinuz-4.4.0-116-generic 
root=UUID=80731626-dbd6-4aff-8e17-1d741b7d2c73 ro console=hvc0
/boot/grub/grub.cfg:    menuentry 'Ubuntu, with Linux 4.4.0-116-generic 
(recovery mode) (on /dev/xvda1)' --class gnu-linux --class gnu --class 
os $menuentry_id_option 
'osprober-gnulinux-/boot/vmlinuz-4.4.0-116-generic-root=UUID=80731626-dbd6-4aff-8e17-1d741b7d2c73 
ro recovery nomodeset console=hvc0-80731626-dbd6-4aff-8e17-1d741b7d2c73' {
/boot/grub/grub.cfg:            linux /boot/vmlinuz-4.4.0-116-generic 
root=UUID=80731626-dbd6-4aff-8e17-1d741b7d2c73 ro recovery nomodeset 
console=hvc0
/boot/grub/grub.cfg:    menuentry 'Ubuntu, with Linux 4.4.0-112-generic 
(on /dev/xvda1)' --class gnu-linux --class gnu --class os 
$menuentry_id_option 
'osprober-gnulinux-/boot/vmlinuz-4.4.0-112-generic--80731626-dbd6-4aff-8e17-1d741b7d2c73' 
{
/boot/grub/grub.cfg:            linux /boot/vmlinuz-4.4.0-112-generic 
root=UUID=80731626-dbd6-4aff-8e17-1d741b7d2c73 ro console=hvc0
/boot/grub/grub.cfg:    menuentry 'Ubuntu, with Linux 4.4.0-112-generic 
(recovery mode) (on /dev/xvda1)' --class gnu-linux --class gnu --class 
os $menuentry_id_option 
'osprober-gnulinux-/boot/vmlinuz-4.4.0-112-generic-root=UUID=80731626-dbd6-4aff-8e17-1d741b7d2c73 
ro recovery nomodeset console=hvc0-80731626-dbd6-4aff-8e17-1d741b7d2c73' {
/boot/grub/grub.cfg:            linux /boot/vmlinuz-4.4.0-112-generic 
root=UUID=80731626-dbd6-4aff-8e17-1d741b7d2c73 ro recovery nomodeset 
console=hvc0
ian@hobsoni:~$ cat /etc/default/grub
# 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=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT=""
GRUB_CMDLINE_LINUX="console=hvc0"

# 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"
ian@hobsoni:~$

--
Ian Hobson
Tel (+351) 910 418 473