LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Boot error when Linux Lite not first (default) choice in grub menu in dual-boot
#3
(06-12-2016, 08:21 PM)Jerry link Wrote: Our distro is aimed at Windows users, so our grub is set up in such a way as to easily identify our OS from grub when they dual boot with Windows.


thanks for quick reply, I appreciate your feedback. 

I have just encountered an unexpected error after I ran sudo apt-get update and wondered if this was related to my previous steps above....

Code:
hugh@DELL-VOSTRO-LINUX-LITE:~$ sudo apt-get update
Hit:1 http://archive.canonical.com xenial InRelease
Hit:2 http://ppa.launchpad.net/nemh/systemback/ubuntu xenial InRelease                               
Hit:3 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu xenial InRelease                       
Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease                                     
Hit:5 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu xenial InRelease                               
Hit:6 http://us.archive.ubuntu.com/ubuntu xenial InRelease                                           
Hit:7 http://repo.linuxliteos.com/linuxlite citrine InRelease                                         
Hit:8 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease                                   
Hit:9 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease     
Ign:10 http://linux.dropbox.com/ubuntu wily InRelease                   
Hit:11 http://linux.dropbox.com/ubuntu wily Release
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
hugh@DELL-VOSTRO-LINUX-LITE:~$

so I ran the command suggested...

Code:
$ sudo dpkg --configure -a


Code:
hugh@DELL-VOSTRO-LINUX-LITE:~$ sudo dpkg --configure -a
Setting up linux-image-4.4.0-24-generic (4.4.0-24.43) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-24-generic /boot/vmlinuz-4.4.0-24-generic
run-parts: executing /etc/kernel/postinst.d/dkms 4.4.0-24-generic /boot/vmlinuz-4.4.0-24-generic
Error! Your kernel headers for kernel 4.4.0-24-generic cannot be found.
Please install the linux-headers-4.4.0-24-generic package,
or use the --kernelsourcedir option to tell DKMS where it's located
Error! Your kernel headers for kernel 4.4.0-24-generic cannot be found.
Please install the linux-headers-4.4.0-24-generic package,
or use the --kernelsourcedir option to tell DKMS where it's located
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-24-generic /boot/vmlinuz-4.4.0-24-generic
update-initramfs: Generating /boot/initrd.img-4.4.0-24-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 4.4.0-24-generic /boot/vmlinuz-4.4.0-24-generic
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.4.0-24-generic /boot/vmlinuz-4.4.0-24-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 4.4.0-24-generic /boot/vmlinuz-4.4.0-24-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.4.0-24-generic /boot/vmlinuz-4.4.0-24-generic
Generating grub configuration file ...
Found background: /boot/grub_linux_lite.png
Found background image: /boot/grub_linux_lite.png
Found linux image: /boot/vmlinuz-4.4.0-24-generic
Found initrd image: /boot/initrd.img-4.4.0-24-generic
Found linux image: /boot/vmlinuz-4.4.0-22-generic
Found initrd image: /boot/initrd.img-4.4.0-22-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 10 (loader) on /dev/sda1
Found Ubuntu 16.04 LTS (16.04) on /dev/sda6
done
hugh@DELL-VOSTRO-LINUX-LITE:~$

I notice there are errors above but I'm quite new to linux so don't know how to fix, any help would be appreciated.

I ran sudo apt-get update again and it completed ok

Code:
hugh@DELL-VOSTRO-LINUX-LITE:~$ sudo apt-get update
Hit:1 http://archive.canonical.com xenial InRelease
Hit:2 http://ppa.launchpad.net/nemh/systemback/ubuntu xenial InRelease                                                 
Hit:3 http://security.ubuntu.com/ubuntu xenial-security InRelease                                                     
Hit:4 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu xenial InRelease                                         
Hit:5 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu xenial InRelease                                                 
Hit:6 http://us.archive.ubuntu.com/ubuntu xenial InRelease                                                             
Hit:7 http://repo.linuxliteos.com/linuxlite citrine InRelease                                                         
Hit:8 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease                                     
Hit:9 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease     
Ign:10 http://linux.dropbox.com/ubuntu wily InRelease                   
Hit:11 http://linux.dropbox.com/ubuntu wily Release
Reading package lists... Done                     
hugh@DELL-VOSTRO-LINUX-LITE:~$


then I ran uname -a

Code:
hugh@DELL-VOSTRO-LINUX-LITE:~$ uname -a
Linux DELL-VOSTRO-LINUX-LITE 4.4.0-22-generic #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
hugh@DELL-VOSTRO-LINUX-LITE:~$
So looks like I'm still using older kernel.

Not sure how to fix this as I'm still learning linux
EDIT: When I restarted laptop, I couldn't login, just froze after entering password, cursor not moving. So I decided best to re-install as I didn't have any data that was worth keeping. Hopefully it will go better second time round.
Reply


Messages In This Thread
Re: Boot error when Linux Lite not first (default) choice in grub menu in dual-boot - by hughparker1 - 06-12-2016, 08:48 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)