Results 1 to 10 of 112

Thread: (xubuntu) Help solving package problem please

Hybrid View

  1. #1
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    12,669
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: (xubuntu) Help solving package problem please

    gregg3; Well, we could hope !

    Here:
    You can also chose the default by the name instead of index, e.g.:

    GRUB_DEFAULT='Ubuntu'
    if there was a menuentry 'Ubuntu' line on /boot/grub/grub.cfg. This may be a better method, as it does not depend on the order of the entries, which could change.
    As to the release upgrade:
    You can set the update-manager to "any" at any time . The prep work for the release upgrade is best done by you . 3rd party (PPA) is not ubuntu . And the system may or may not be able to cope well . That does include a proprietary driver .. not ubuntu ... some cleaver programming to make it work in a particular environment. When the environment changes the software breaks .
    ---------------

    Let's look at what grub has set for booting currently:
    Code:
    ls -al /vmlinuz*
    ls -al /initrd.img*
    ls -al /boot
    Now there is another thought ... we see what we shall see.

    we have the will
    look'n to find that way
    Last edited by Bashing-om; May 7th, 2016 at 01:04 AM. Reason: added /boot
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  2. #2
    Join Date
    Mar 2014
    Beans
    85

    Re: (xubuntu) Help solving package problem please

    Quote Originally Posted by Bashing-om View Post
    gregg3; Well, we could hope !
    Thanks Bashing-om. (Yes, hope is a good thing!) Okay, I'm still hoping to make that next upgrade work. So following this:

    Code:
    You can also chose the default by the name instead of index, e.g.:
    
      GRUB_DEFAULT='Ubuntu'
      if there was a menuentry 'Ubuntu' line on /boot/grub/grub.cfg. This may be a better method, as it does not depend on the order of the entries, which could change.
    I went to my /boot/grub/grub.cfg file and found this:
    Code:
    export linux_gfx_mode
    menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8' {
        recordfail
        load_video
        gfxmode $linux_gfx_mode
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
        else
          search --no-floppy --fs-uuid --set=root da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
        fi
        linux    /boot/vmlinuz-4.4.0-22-generic root=UUID=da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8 ro  quiet splash $vt_handoff
        initrd    /boot/initrd.img-4.4.0-22-generic

    So I have the
    Code:
    menuentry 'Ubuntu'
    line.

    So all I have to do is use nano to go into the /etc/default/grub file and change
    Code:
    GRUB_DEFAULT=4
    to
    Code:
    GRUB_DEFAULT='Ubuntu'
    , right? And it's
    Code:
    GRUB_DEFAULT='Ubuntu'
    , not
    Code:
    GRUB_DEFAULT=Ubuntu
    , right?

    And I'm wondering, Can I do that now already? Or should I do it right before the distro upgrade in October?


    Quote Originally Posted by Bashing-om View Post
    As to the release upgrade:
    You can set the update-manager to "any" at any time .
    I just did.

    Quote Originally Posted by Bashing-om View Post

    The prep work for the release upgrade is best done by you . 3rd party (PPA) is not ubuntu . And the system may or may not be able to cope well . That does include a proprietary driver .. not ubuntu ... some cleaver programming to make it work in a particular environment. When the environment changes the software breaks .
    This does not sound ecouraging, especially as how I don't know how to do the prep work. I think I'll just have to throw myself at the mercy of the Sky Penguin and hope the distro upgrade works somehow. (This seems to be such a mess--maybe it is a bug and they'll straighten it all out before I upgrade.)


    Quote Originally Posted by Bashing-om View Post
    ---------------

    Let's look at what grub has set for booting currently:
    Code:
    ls -al /vmlinuz*
    ls -al /initrd.img*
    ls -al /boot
    Now there is another thought ... we see what we shall see.
    we have the will
    look'n to find that way
    Code:
    gregg@LG:~/Desktop$ ls -al /vmlinuz*
    lrwxrwxrwx 1 root root 29 May  6 16:46 /vmlinuz -> boot/vmlinuz-4.4.0-22-generic
    lrwxrwxrwx 1 root root 29 Apr 23 14:26 /vmlinuz.old -> boot/vmlinuz-4.4.0-21-generic
    gregg@LG:~/Desktop$ ls -al /initrd.img*
    lrwxrwxrwx 1 root root 32 May  6 16:46 /initrd.img -> boot/initrd.img-4.4.0-22-generic
    lrwxrwxrwx 1 root root 32 Apr 23 14:26 /initrd.img.old -> boot/initrd.img-4.4.0-21-generic
    gregg@LG:~/Desktop$ ls -al /boot
    total 142200
    drwxr-xr-x  3 root root     4096 May  6 16:47 .
    drwxr-xr-x 24 root root     4096 May  6 16:46 ..
    -rw-r--r--  1 root root  1313029 Mar 15 19:45 abi-4.2.0-35-generic
    -rw-r--r--  1 root root  1239577 Apr 18 17:21 abi-4.4.0-21-generic
    -rw-r--r--  1 root root  1239612 May  5 14:03 abi-4.4.0-22-generic
    -rw-r--r--  1 root root   184888 Mar 15 19:45 config-4.2.0-35-generic
    -rw-r--r--  1 root root   189412 Apr 18 17:21 config-4.4.0-21-generic
    -rw-r--r--  1 root root   189520 May  5 14:03 config-4.4.0-22-generic
    drwxr-xr-x  5 root root     4096 May  6 16:47 grub
    -rw-r--r--  1 root root 34346822 Apr 23 13:36 initrd.img-4.2.0-35-generic
    -rw-r--r--  1 root root 36987572 Apr 23 14:32 initrd.img-4.4.0-21-generic
    -rw-r--r--  1 root root 36995319 May  6 16:47 initrd.img-4.4.0-22-generic
    -rw-r--r--  1 root root   182704 Jan 28 06:44 memtest86+.bin
    -rw-r--r--  1 root root   184380 Jan 28 06:44 memtest86+.elf
    -rw-r--r--  1 root root   184840 Jan 28 06:44 memtest86+_multiboot.bin
    -rw-------  1 root root  3745312 Mar 15 19:45 System.map-4.2.0-35-generic
    -rw-------  1 root root  3853719 Apr 18 17:21 System.map-4.4.0-21-generic
    -rw-------  1 root root  3855781 May  5 14:03 System.map-4.4.0-22-generic
    -rw-------  1 root root  6829104 Mar 15 19:45 vmlinuz-4.2.0-35-generic
    -rw-------  1 root root  7013968 Apr 18 17:21 vmlinuz-4.4.0-21-generic
    -rw-------  1 root root  7015344 May  5 14:03 vmlinuz-4.4.0-22-generic
    gregg@LG:~/Desktop$
    [/QUOTE]

    So it looks like 4.4.0-22-generic is the one that's booting from the power switch, right?

    Thanks.

  3. #3
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    12,669
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: (xubuntu) Help solving package problem please

    gregg3; Welp;

    Grub2 edit:
    see: https://help.ubuntu.com/community/Gr...iguring_GRUB_2

    something like:
    GRUB_DEFAULT="xxxx" An exact menu entry, including the quotation symbols, may also be used. In this case, location in the menu will not matter.

    Example: GRUB_DEFAULT="Ubuntu, Linux 2.6.31-9-generic"
    This does not sound encouraging, especially as how I don't know how to do the prep work.
    nothing to it: disable PPAs in Software Sources and in Additional Drivers make sure the open source graphics's driver is enabled. Easy as that.


    Booting kernel:
    Code:
    uname -r
    tells that tale. I do not see a thing wrong with how the system installed the kernels .

    So we are back to reading the logs if we are to continue to pursue the booting issue. And, I do not know where that will lead.

    But ->
    inquiring minds want to know
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  4. #4
    Join Date
    Mar 2014
    Beans
    85

    Re: (xubuntu) Help solving package problem please

    Quote Originally Posted by Bashing-om View Post
    gregg3; Welp;

    Grub2 edit:
    see: https://help.ubuntu.com/community/Gr...iguring_GRUB_2

    something like:



    nothing to it: disable PPAs in Software Sources and in Additional Drivers make sure the open source graphics's driver is enabled. Easy as that.


    Booting kernel:
    Code:
    uname -r
    tells that tale. I do not see a thing wrong with how the system installed the kernels .

    So we are back to reading the logs if we are to continue to pursue the booting issue. And, I do not know where that will lead.

    But ->
    inquiring minds want to know
    Thanks Bashing-om. So if I wanted to do the changeover of the GRUB today from this data in boot/grub/grub.cfg:
    Code:
    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    #
    
    ### BEGIN /etc/grub.d/00_header ###
    if [ -s $prefix/grubenv ]; then
      set have_grubenv=true
      load_env
    fi
    if [ "${next_entry}" ] ; then
       set default="${next_entry}"
       set next_entry=
       save_env next_entry
       set boot_once=true
    else
       set default="4"
    fi
    
    if [ x"${feature_menuentry_id}" = xy ]; then
      menuentry_id_option="--id"
    else
      menuentry_id_option=""
    fi
    
    export menuentry_id_option
    
    if [ "${prev_saved_entry}" ]; then
      set saved_entry="${prev_saved_entry}"
      save_env saved_entry
      set prev_saved_entry=
      save_env prev_saved_entry
      set boot_once=true
    fi
    
    function savedefault {
      if [ -z "${boot_once}" ]; then
        saved_entry="${chosen}"
        save_env saved_entry
      fi
    }
    function recordfail {
      set recordfail=1
      if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
    }
    function load_video {
      if [ x$feature_all_video_module = xy ]; then
        insmod all_video
      else
        insmod efi_gop
        insmod efi_uga
        insmod ieee1275_fb
        insmod vbe
        insmod vga
        insmod video_bochs
        insmod video_cirrus
      fi
    }
    
    if [ x$feature_default_font_path = xy ] ; then
       font=unicode
    else
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
    else
      search --no-floppy --fs-uuid --set=root da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
    fi
        font="/usr/share/grub/unicode.pf2"
    fi
    
    if loadfont $font ; then
      set gfxmode=auto
      load_video
      insmod gfxterm
      set locale_dir=$prefix/locale
      set lang=en_US
      insmod gettext
    fi
    terminal_output gfxterm
    if [ "${recordfail}" = 1 ] ; then
      set timeout=30
    else
      if [ x$feature_timeout_style = xy ] ; then
        set timeout_style=hidden
        set timeout=0
      # Fallback hidden-timeout code in case the timeout_style feature is
      # unavailable.
      elif sleep --interruptible 0 ; then
        set timeout=0
      fi
    fi
    ### END /etc/grub.d/00_header ###
    
    ### BEGIN /etc/grub.d/05_debian_theme ###
    set menu_color_normal=white/black
    set menu_color_highlight=black/light-gray
    ### END /etc/grub.d/05_debian_theme ###
    
    ### BEGIN /etc/grub.d/10_linux ###
    function gfxmode {
        set gfxpayload="${1}"
        if [ "${1}" = "keep" ]; then
            set vt_handoff=vt.handoff=7
        else
            set vt_handoff=
        fi
    }
    if [ "${recordfail}" != 1 ]; then
      if [ -e ${prefix}/gfxblacklist.txt ]; then
        if hwmatch ${prefix}/gfxblacklist.txt 3; then
          if [ ${match} = 0 ]; then
            set linux_gfx_mode=keep
          else
            set linux_gfx_mode=text
          fi
        else
          set linux_gfx_mode=text
        fi
      else
        set linux_gfx_mode=keep
      fi
    else
      set linux_gfx_mode=text
    fi
    export linux_gfx_mode
    menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8' {
        recordfail
        load_video
        gfxmode $linux_gfx_mode
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
        else
          search --no-floppy --fs-uuid --set=root da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
        fi
        linux    /boot/vmlinuz-4.4.0-22-generic root=UUID=da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8 ro  quiet splash $vt_handoff
        initrd    /boot/initrd.img-4.4.0-22-generic
    }
    submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8' {
        menuentry 'Ubuntu, with Linux 4.4.0-22-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-22-generic-advanced-da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8' {
            recordfail
            load_video
            gfxmode $linux_gfx_mode
            insmod gzio
            if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
            insmod part_msdos
            insmod ext2
            set root='hd0,msdos1'
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
            else
              search --no-floppy --fs-uuid --set=root da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
            fi
            echo    'Loading Linux 4.4.0-22-generic ...'
            linux    /boot/vmlinuz-4.4.0-22-generic root=UUID=da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8 ro  quiet splash $vt_handoff
            echo    'Loading initial ramdisk ...'
            initrd    /boot/initrd.img-4.4.0-22-generic
        }
        menuentry 'Ubuntu, with Linux 4.4.0-22-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-22-generic-init-upstart-da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8' {
            recordfail
            load_video
            gfxmode $linux_gfx_mode
            insmod gzio
            if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
            insmod part_msdos
            insmod ext2
            set root='hd0,msdos1'
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
            else
              search --no-floppy --fs-uuid --set=root da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
            fi
            echo    'Loading Linux 4.4.0-22-generic ...'
            linux    /boot/vmlinuz-4.4.0-22-generic root=UUID=da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8 ro  quiet splash $vt_handoff init=/sbin/upstart
            echo    'Loading initial ramdisk ...'
            initrd    /boot/initrd.img-4.4.0-22-generic
        }
        menuentry 'Ubuntu, with Linux 4.4.0-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-22-generic-recovery-da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8' {
            recordfail
            load_video
            insmod gzio
            if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
            insmod part_msdos
            insmod ext2
            set root='hd0,msdos1'
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
            else
              search --no-floppy --fs-uuid --set=root da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
            fi
            echo    'Loading Linux 4.4.0-22-generic ...'
            linux    /boot/vmlinuz-4.4.0-22-generic root=UUID=da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8 ro recovery nomodeset 
            echo    'Loading initial ramdisk ...'
            initrd    /boot/initrd.img-4.4.0-22-generic
        }
        menuentry 'Ubuntu, with Linux 4.4.0-21-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-advanced-da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8' {
            recordfail
            load_video
            gfxmode $linux_gfx_mode
            insmod gzio
            if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
            insmod part_msdos
            insmod ext2
            set root='hd0,msdos1'
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
            else
              search --no-floppy --fs-uuid --set=root da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
            fi
            echo    'Loading Linux 4.4.0-21-generic ...'
            linux    /boot/vmlinuz-4.4.0-21-generic root=UUID=da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8 ro  quiet splash $vt_handoff
            echo    'Loading initial ramdisk ...'
            initrd    /boot/initrd.img-4.4.0-21-generic
        }
        menuentry 'Ubuntu, with Linux 4.4.0-21-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-init-upstart-da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8' {
            recordfail
            load_video
            gfxmode $linux_gfx_mode
            insmod gzio
            if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
            insmod part_msdos
            insmod ext2
            set root='hd0,msdos1'
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
            else
              search --no-floppy --fs-uuid --set=root da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
            fi
            echo    'Loading Linux 4.4.0-21-generic ...'
            linux    /boot/vmlinuz-4.4.0-21-generic root=UUID=da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8 ro  quiet splash $vt_handoff init=/sbin/upstart
            echo    'Loading initial ramdisk ...'
            initrd    /boot/initrd.img-4.4.0-21-generic
        }
        menuentry 'Ubuntu, with Linux 4.4.0-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-recovery-da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8' {
            recordfail
            load_video
            insmod gzio
            if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
            insmod part_msdos
            insmod ext2
            set root='hd0,msdos1'
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
            else
              search --no-floppy --fs-uuid --set=root da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
            fi
            echo    'Loading Linux 4.4.0-21-generic ...'
            linux    /boot/vmlinuz-4.4.0-21-generic root=UUID=da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8 ro recovery nomodeset 
            echo    'Loading initial ramdisk ...'
            initrd    /boot/initrd.img-4.4.0-21-generic
        }
        menuentry 'Ubuntu, with Linux 4.2.0-35-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.2.0-35-generic-advanced-da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8' {
            recordfail
            load_video
            gfxmode $linux_gfx_mode
            insmod gzio
            if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
            insmod part_msdos
            insmod ext2
            set root='hd0,msdos1'
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
            else
              search --no-floppy --fs-uuid --set=root da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
            fi
            echo    'Loading Linux 4.2.0-35-generic ...'
            linux    /boot/vmlinuz-4.2.0-35-generic root=UUID=da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8 ro  quiet splash $vt_handoff
            echo    'Loading initial ramdisk ...'
            initrd    /boot/initrd.img-4.2.0-35-generic
        }
        menuentry 'Ubuntu, with Linux 4.2.0-35-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.2.0-35-generic-init-upstart-da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8' {
            recordfail
            load_video
            gfxmode $linux_gfx_mode
            insmod gzio
            if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
            insmod part_msdos
            insmod ext2
            set root='hd0,msdos1'
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
            else
              search --no-floppy --fs-uuid --set=root da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
            fi
            echo    'Loading Linux 4.2.0-35-generic ...'
            linux    /boot/vmlinuz-4.2.0-35-generic root=UUID=da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8 ro  quiet splash $vt_handoff init=/sbin/upstart
            echo    'Loading initial ramdisk ...'
            initrd    /boot/initrd.img-4.2.0-35-generic
        }
        menuentry 'Ubuntu, with Linux 4.2.0-35-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.2.0-35-generic-recovery-da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8' {
            recordfail
            load_video
            insmod gzio
            if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
            insmod part_msdos
            insmod ext2
            set root='hd0,msdos1'
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
            else
              search --no-floppy --fs-uuid --set=root da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
            fi
            echo    'Loading Linux 4.2.0-35-generic ...'
            linux    /boot/vmlinuz-4.2.0-35-generic root=UUID=da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8 ro recovery nomodeset 
            echo    'Loading initial ramdisk ...'
            initrd    /boot/initrd.img-4.2.0-35-generic
        }
    }
    
    ### END /etc/grub.d/10_linux ###
    
    ### BEGIN /etc/grub.d/20_linux_xen ###
    
    ### END /etc/grub.d/20_linux_xen ###
    
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    menuentry 'Memory test (memtest86+)' {
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
        else
          search --no-floppy --fs-uuid --set=root da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
        fi
        knetbsd    /boot/memtest86+.elf
    }
    menuentry 'Memory test (memtest86+, serial console 115200)' {
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
        else
          search --no-floppy --fs-uuid --set=root da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
        fi
        linux16    /boot/memtest86+.bin console=ttyS0,115200n8
    }
    ### END /etc/grub.d/20_memtest86+ ###
    
    ### BEGIN /etc/grub.d/30_os-prober ###
    ### END /etc/grub.d/30_os-prober ###
    
    ### BEGIN /etc/grub.d/30_uefi-firmware ###
    ### END /etc/grub.d/30_uefi-firmware ###
    
    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries.  Simply type the
    # menu entries you want to add after this comment.  Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###
    
    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f  ${config_directory}/custom.cfg ]; then
      source ${config_directory}/custom.cfg
    elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
      source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###

    In the /etc/default/grub file (via Nano) I would change:

    Code:
    GRUB_DEFAULT=4
    to what?

    To

    Code:
    GRUB_DEFAULT='Ubuntu, with Linux 4.4.0-22-generic'
    ?

    Something else?


    Okay, you wrote:

    disable PPAs in Software Sources and in Additional Drivers make sure the open source graphics's driver is enabled. Easy as that.

    Please check the three (hopefully pertinent) screenshots and tell me how to accomplish the above two actions.

    And lastly:

    Booting kernel:
    Code:
    uname -r
    tells that tale. I do not see a thing wrong with how the system installed the kernels .

    Code:
    gregg@LG:~/Desktop$ uname -r
    4.4.0-22-generic
    gregg@LG:~/Desktop$
    And so since the computer picked up on the shift from 4.4.0-21-generic to 4.4.0-22-generic (and it boots from the power button) just leave
    Code:
    GRUB_DEFAULT=4
    as is, right?


    Bashing-om, If I can feel confident I can go through the 16.10 distro upgrade satisfactorily I'll be very happy. The computer is working great. This last time it came on after 17 minutes. I know that's ridiculously slow, but maybe it's a bug and the coder guys will fix it on their end.

    P.S. That'll do it for me tonight. Have a great night! And thanks!
    Attached Images Attached Images

  5. #5
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    12,669
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: (xubuntu) Help solving package problem please

    gregg3; Uh huh ...

    If you count the menu entries .. 1st entry as '0' .. then you see that '4' is now " Ubuntu, with Linux 4.4.0-21-generic' ".
    What kernel do you want as the default booting kernel ? If it is " Linux 4.4.0-22-generic' then reset in /etc/default/grub back to '0' .
    Else, sure, lets try " Ubuntu, with Linux 4.2.0-35-generic " .
    I am a bit confused; I do expect the the kernel booted from the power button to be what you have set in /etc/default/grub (4) to be that booting kernel !


    Software and Updates -> other software tab: are your PPAs. As you have it set now .. will not get updates for any of the PPAs except google-chrome. Need to check and see if these PPA's are supported in 16.04 and perhaps re-enable them .
    Software and updates -> Additional drivers tab : You have no -proprietary- drivers in use or available .

    As is now .. if you were to do a release upgrade now .. I would expect no problems.
    Last edited by Bashing-om; May 8th, 2016 at 02:24 AM.
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  6. #6
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    12,669
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: (xubuntu) Help solving package problem please

    gregg3; Hey !

    Here is another thought to see what is going on with the delay on booting.
    Watch the boot messages as you are booting .
    To unhide the boot messages:
    In the /etc/default/grub file the line: " GRUB_CMDLINE_LINUX_DEFAULT="splash quiet" remove the terms quiet splash, such that it becomes: GRUB_CMDLINE_LINUX_DEFAULT=" "

    remember to run
    Code:
    sudo update-grub
    after you have saved the file .. to propagate the change.

    we can do that too
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  7. #7
    Join Date
    Mar 2014
    Beans
    85

    Re: (xubuntu) Help solving package problem please

    Quote Originally Posted by Bashing-om View Post
    gregg3; Hey !

    Here is another thought to see what is going on with the delay on booting.
    Watch the boot messages as you are booting .
    To unhide the boot messages:
    In the /etc/default/grub file the line: " GRUB_CMDLINE_LINUX_DEFAULT="splash quiet" remove the terms quiet splash, such that it becomes: GRUB_CMDLINE_LINUX_DEFAULT=" "

    remember to run
    Code:
    sudo update-grub
    after you have saved the file .. to propagate the change.
    we can do that too
    Thanks Bashing-om. But before I do that (since I have to use the computer now), I figured I'd mention something else about the booting process. When I boot, I DON'T get the Xubuntu screen at all. It's just the black screen with the RAM info type stuff and then 'Loading Operating System' and then the screen goes black and I get the "No input signal" window. Then the monitor shuts off. And then (say after 17 minutes or so) the computer does not come on unless I scroll the mouse.

    I don't know what that might mean and I got used to the computer booting that way so didn't think of mentioning it until now.

    Thanks.

  8. #8
    Join Date
    Mar 2014
    Beans
    85

    Re: (xubuntu) Help solving package problem please

    Quote Originally Posted by Bashing-om View Post
    gregg3; Uh huh ...

    If you count the menu entries .. 1st entry as '0' .. then you see that '4' is now " Ubuntu, with Linux 4.4.0-21-generic' ".
    Hi Bashing-om. Yes, I counted the entries (and is it the case that the #0 and #1 entry are the same {in this case: 4.4.0-22-generic}?) and I can see that #4 is 4.4.0-21-generic, but the fact of that matter is the computer boots to 4.4.0-22-generic. Here's the terminal data:
    Code:
    gregg@LG:~/Desktop$ uname -r
    4.4.0-22-generic
    gregg@LG:~/Desktop$ sudo nano /etc/default/grub
    [sudo] password for gregg: 
    gregg@LG:~/Desktop$ 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=4
    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="quiet splash"
    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"
    gregg@LG:~/Desktop$ cat /boot/grub/grub.cfg
    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    #
    
    ### BEGIN /etc/grub.d/00_header ###
    if [ -s $prefix/grubenv ]; then
      set have_grubenv=true
      load_env
    fi
    if [ "${next_entry}" ] ; then
       set default="${next_entry}"
       set next_entry=
       save_env next_entry
       set boot_once=true
    else
       set default="4"
    fi
    
    if [ x"${feature_menuentry_id}" = xy ]; then
      menuentry_id_option="--id"
    else
      menuentry_id_option=""
    fi
    
    export menuentry_id_option
    
    if [ "${prev_saved_entry}" ]; then
      set saved_entry="${prev_saved_entry}"
      save_env saved_entry
      set prev_saved_entry=
      save_env prev_saved_entry
      set boot_once=true
    fi
    
    function savedefault {
      if [ -z "${boot_once}" ]; then
        saved_entry="${chosen}"
        save_env saved_entry
      fi
    }
    function recordfail {
      set recordfail=1
      if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
    }
    function load_video {
      if [ x$feature_all_video_module = xy ]; then
        insmod all_video
      else
        insmod efi_gop
        insmod efi_uga
        insmod ieee1275_fb
        insmod vbe
        insmod vga
        insmod video_bochs
        insmod video_cirrus
      fi
    }
    
    if [ x$feature_default_font_path = xy ] ; then
       font=unicode
    else
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
    else
      search --no-floppy --fs-uuid --set=root da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
    fi
        font="/usr/share/grub/unicode.pf2"
    fi
    
    if loadfont $font ; then
      set gfxmode=auto
      load_video
      insmod gfxterm
      set locale_dir=$prefix/locale
      set lang=en_US
      insmod gettext
    fi
    terminal_output gfxterm
    if [ "${recordfail}" = 1 ] ; then
      set timeout=30
    else
      if [ x$feature_timeout_style = xy ] ; then
        set timeout_style=hidden
        set timeout=0
      # Fallback hidden-timeout code in case the timeout_style feature is
      # unavailable.
      elif sleep --interruptible 0 ; then
        set timeout=0
      fi
    fi
    ### END /etc/grub.d/00_header ###
    
    ### BEGIN /etc/grub.d/05_debian_theme ###
    set menu_color_normal=white/black
    set menu_color_highlight=black/light-gray
    ### END /etc/grub.d/05_debian_theme ###
    
    ### BEGIN /etc/grub.d/10_linux ###
    function gfxmode {
        set gfxpayload="${1}"
        if [ "${1}" = "keep" ]; then
            set vt_handoff=vt.handoff=7
        else
            set vt_handoff=
        fi
    }
    if [ "${recordfail}" != 1 ]; then
      if [ -e ${prefix}/gfxblacklist.txt ]; then
        if hwmatch ${prefix}/gfxblacklist.txt 3; then
          if [ ${match} = 0 ]; then
            set linux_gfx_mode=keep
          else
            set linux_gfx_mode=text
          fi
        else
          set linux_gfx_mode=text
        fi
      else
        set linux_gfx_mode=keep
      fi
    else
      set linux_gfx_mode=text
    fi
    export linux_gfx_mode
    menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8' {
        recordfail
        load_video
        gfxmode $linux_gfx_mode
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
        else
          search --no-floppy --fs-uuid --set=root da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
        fi
        linux    /boot/vmlinuz-4.4.0-22-generic root=UUID=da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8 ro  quiet splash $vt_handoff
        initrd    /boot/initrd.img-4.4.0-22-generic
    }
    submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8' {
        menuentry 'Ubuntu, with Linux 4.4.0-22-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-22-generic-advanced-da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8' {
            recordfail
            load_video
            gfxmode $linux_gfx_mode
            insmod gzio
            if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
            insmod part_msdos
            insmod ext2
            set root='hd0,msdos1'
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
            else
              search --no-floppy --fs-uuid --set=root da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
            fi
            echo    'Loading Linux 4.4.0-22-generic ...'
            linux    /boot/vmlinuz-4.4.0-22-generic root=UUID=da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8 ro  quiet splash $vt_handoff
            echo    'Loading initial ramdisk ...'
            initrd    /boot/initrd.img-4.4.0-22-generic
        }
        menuentry 'Ubuntu, with Linux 4.4.0-22-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-22-generic-init-upstart-da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8' {
            recordfail
            load_video
            gfxmode $linux_gfx_mode
            insmod gzio
            if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
            insmod part_msdos
            insmod ext2
            set root='hd0,msdos1'
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
            else
              search --no-floppy --fs-uuid --set=root da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
            fi
            echo    'Loading Linux 4.4.0-22-generic ...'
            linux    /boot/vmlinuz-4.4.0-22-generic root=UUID=da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8 ro  quiet splash $vt_handoff init=/sbin/upstart
            echo    'Loading initial ramdisk ...'
            initrd    /boot/initrd.img-4.4.0-22-generic
        }
        menuentry 'Ubuntu, with Linux 4.4.0-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-22-generic-recovery-da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8' {
            recordfail
            load_video
            insmod gzio
            if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
            insmod part_msdos
            insmod ext2
            set root='hd0,msdos1'
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
            else
              search --no-floppy --fs-uuid --set=root da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
            fi
            echo    'Loading Linux 4.4.0-22-generic ...'
            linux    /boot/vmlinuz-4.4.0-22-generic root=UUID=da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8 ro recovery nomodeset 
            echo    'Loading initial ramdisk ...'
            initrd    /boot/initrd.img-4.4.0-22-generic
        }
        menuentry 'Ubuntu, with Linux 4.4.0-21-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-advanced-da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8' {
            recordfail
            load_video
            gfxmode $linux_gfx_mode
            insmod gzio
            if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
            insmod part_msdos
            insmod ext2
            set root='hd0,msdos1'
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
            else
              search --no-floppy --fs-uuid --set=root da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
            fi
            echo    'Loading Linux 4.4.0-21-generic ...'
            linux    /boot/vmlinuz-4.4.0-21-generic root=UUID=da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8 ro  quiet splash $vt_handoff
            echo    'Loading initial ramdisk ...'
            initrd    /boot/initrd.img-4.4.0-21-generic
        }
        menuentry 'Ubuntu, with Linux 4.4.0-21-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-init-upstart-da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8' {
            recordfail
            load_video
            gfxmode $linux_gfx_mode
            insmod gzio
            if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
            insmod part_msdos
            insmod ext2
            set root='hd0,msdos1'
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
            else
              search --no-floppy --fs-uuid --set=root da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
            fi
            echo    'Loading Linux 4.4.0-21-generic ...'
            linux    /boot/vmlinuz-4.4.0-21-generic root=UUID=da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8 ro  quiet splash $vt_handoff init=/sbin/upstart
            echo    'Loading initial ramdisk ...'
            initrd    /boot/initrd.img-4.4.0-21-generic
        }
        menuentry 'Ubuntu, with Linux 4.4.0-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-recovery-da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8' {
            recordfail
            load_video
            insmod gzio
            if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
            insmod part_msdos
            insmod ext2
            set root='hd0,msdos1'
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
            else
              search --no-floppy --fs-uuid --set=root da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
            fi
            echo    'Loading Linux 4.4.0-21-generic ...'
            linux    /boot/vmlinuz-4.4.0-21-generic root=UUID=da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8 ro recovery nomodeset 
            echo    'Loading initial ramdisk ...'
            initrd    /boot/initrd.img-4.4.0-21-generic
        }
        menuentry 'Ubuntu, with Linux 4.2.0-35-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.2.0-35-generic-advanced-da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8' {
            recordfail
            load_video
            gfxmode $linux_gfx_mode
            insmod gzio
            if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
            insmod part_msdos
            insmod ext2
            set root='hd0,msdos1'
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
            else
              search --no-floppy --fs-uuid --set=root da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
            fi
            echo    'Loading Linux 4.2.0-35-generic ...'
            linux    /boot/vmlinuz-4.2.0-35-generic root=UUID=da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8 ro  quiet splash $vt_handoff
            echo    'Loading initial ramdisk ...'
            initrd    /boot/initrd.img-4.2.0-35-generic
        }
        menuentry 'Ubuntu, with Linux 4.2.0-35-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.2.0-35-generic-init-upstart-da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8' {
            recordfail
            load_video
            gfxmode $linux_gfx_mode
            insmod gzio
            if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
            insmod part_msdos
            insmod ext2
            set root='hd0,msdos1'
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
            else
              search --no-floppy --fs-uuid --set=root da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
            fi
            echo    'Loading Linux 4.2.0-35-generic ...'
            linux    /boot/vmlinuz-4.2.0-35-generic root=UUID=da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8 ro  quiet splash $vt_handoff init=/sbin/upstart
            echo    'Loading initial ramdisk ...'
            initrd    /boot/initrd.img-4.2.0-35-generic
        }
        menuentry 'Ubuntu, with Linux 4.2.0-35-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.2.0-35-generic-recovery-da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8' {
            recordfail
            load_video
            insmod gzio
            if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
            insmod part_msdos
            insmod ext2
            set root='hd0,msdos1'
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
            else
              search --no-floppy --fs-uuid --set=root da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
            fi
            echo    'Loading Linux 4.2.0-35-generic ...'
            linux    /boot/vmlinuz-4.2.0-35-generic root=UUID=da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8 ro recovery nomodeset 
            echo    'Loading initial ramdisk ...'
            initrd    /boot/initrd.img-4.2.0-35-generic
        }
    }
    
    ### END /etc/grub.d/10_linux ###
    
    ### BEGIN /etc/grub.d/20_linux_xen ###
    
    ### END /etc/grub.d/20_linux_xen ###
    
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    menuentry 'Memory test (memtest86+)' {
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
        else
          search --no-floppy --fs-uuid --set=root da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
        fi
        knetbsd    /boot/memtest86+.elf
    }
    menuentry 'Memory test (memtest86+, serial console 115200)' {
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
        else
          search --no-floppy --fs-uuid --set=root da6f1e1f-a2ff-4eed-8168-44dd46a8c2a8
        fi
        linux16    /boot/memtest86+.bin console=ttyS0,115200n8
    }
    ### END /etc/grub.d/20_memtest86+ ###
    
    ### BEGIN /etc/grub.d/30_os-prober ###
    ### END /etc/grub.d/30_os-prober ###
    
    ### BEGIN /etc/grub.d/30_uefi-firmware ###
    ### END /etc/grub.d/30_uefi-firmware ###
    
    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries.  Simply type the
    # menu entries you want to add after this comment.  Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###
    
    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f  ${config_directory}/custom.cfg ]; then
      source ${config_directory}/custom.cfg
    elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
      source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    gregg@LG:~/Desktop$
    So that makes no sense.

    Quote Originally Posted by Bashing-om View Post

    What kernel do you want as the default booting kernel ? If it is " Linux 4.4.0-22-generic' then reset in /etc/default/grub back to '0' .
    Yes, I want 4.4.0-22-generic. I can try the reset to '0' but I already tried that (granted, with a different kernel) in post #92 point #5 and the results are in post #94 point #5. (When I reset to '0' it just led to the "No input signal" black screen.) So the computer just seems to be booting the #4 spot as the #0 spot.

    Quote Originally Posted by Bashing-om View Post

    Else, sure, lets try " Ubuntu, with Linux 4.2.0-35-generic " .
    Not sure why you say this. You're saying: GRUB_DEFAULT= "Ubuntu, with Linux 4.2.0-35-generic" , right? Why would I do that when I want to boot 4.4.0-22-generic?

    Quote Originally Posted by Bashing-om View Post
    I am a bit confused; I do expect the the kernel booted from the power button to be what you have set in /etc/default/grub (4) to be that booting kernel !
    As you can see (from the terminal data) that's not the case.

    Quote Originally Posted by Bashing-om View Post
    Software and Updates -> other software tab: are your PPAs. As you have it set now .. will not get updates for any of the PPAs except google-chrome. Need to check and see if these PPA's are supported in 16.04 and perhaps re-enable them .
    Okay, I looked those PPA's over. They were hard to understand. As you said only Chrome was enabled. The others appear to have been disabled on different distro upgrades. I do use things of course from Canonical, but in that grouping I also mkusb, steam, bit (Back In Time) and Mega. I do not know (nor could I find out via Googling) how to see if the PPA's are supported in 16.04. My best guess would be just to check the ones I'm using. Would that be prudent?

    And what about things like Firefox? Does that get updated in a different way? (This whole "other software" updates is news to me.)

    Quote Originally Posted by Bashing-om View Post
    Software and updates -> Additional drivers tab : You have no -proprietary- drivers in use or available .
    Okay, so that's good.

    Quote Originally Posted by Bashing-om View Post

    As is now .. if you were to do a release upgrade now .. I would expect no problems.
    Good also.

    Thanks.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •