You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Grub Quirk

Author (Read 12412 times)

0 Members and 1 Guest are viewing this topic.

Re: Grub Quirk
« Reply #11 on: October 13, 2015, 10:57:55 AM »
 

bfb

  • Banned
  • Occasional Poster
  • **
  • 93
    Posts
  • Reputation: 5
  • Linux Lite Member
    • View Profile

  • CPU: i5

  • MEMORY: 8Gb

  • VIDEO CARD: Nvidia GeForce GTX 970
I tried goldfinger's solution with a live usb but I got this:
Code: [Select]
buntu@buntu-Aspire-V5-573PG:~$ sudo mount /dev/sda1 /mnt
buntu@buntu-Aspire-V5-573PG:~$ sudo grub-install --boot-directory=/mnt/boot /dev/sda1
Installing for i386-pc platform.
grub-install: warning: Filesystem `ext2' doesn't support embedding.
grub-install: warning: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and their use is discouraged..
grub-install: error: will not proceed with blocklists.
buntu@buntu-Aspire-V5-573PG:~$ sudo umount /dev/sda1
buntu@buntu-Aspire-V5-573PG:~$
 

Re: Grub Quirk
« Reply #10 on: April 27, 2015, 09:59:23 AM »
 

gold_finger

  • Documentation Writer
  • Platinum Level Poster
  • *****
  • 1094
    Posts
  • Reputation: 325
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core2 Duo E7500 3.0GHz

  • MEMORY: 4Gb

  • VIDEO CARD: Intel 4 Series Integrated Graphics
Quote from: galen
I suggest letting users know upfront that LL must be the master boot loader

Added this to my ToDo list for the Help Manual.  Over next 2-3 months, planning to attempt revising format of whole thing and there are several suggestions from users here that we will try incorporating into it.
Try Linux Beginner Search Engine for answers to Linux questions.
 

Re: Grub Quirk
« Reply #9 on: April 27, 2015, 09:06:27 AM »
 

galen

  • New to Forums
  • *
  • 46
    Posts
  • Reputation: 4
  • Linux Lite Member
    • View Profile
    • Galen's pigpen

  • MEMORY: 256mb
I suggest letting users know upfront that LL must be the master boot loader
Linux user and supporter since 1998. Secular Humanist & skeptic.
openPGP: 0xC938FD97  jabber: [email protected]
 

Re: Grub Quirk
« Reply #8 on: April 21, 2015, 01:00:49 PM »
 

gold_finger

  • Documentation Writer
  • Platinum Level Poster
  • *****
  • 1094
    Posts
  • Reputation: 325
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core2 Duo E7500 3.0GHz

  • MEMORY: 4Gb

  • VIDEO CARD: Intel 4 Series Integrated Graphics
galen,

While I have to admit that I'm not crazy about the grub change myself, there is a simple solution to multi-booting other distros with LL.  Just keep LL's grub in charge of booting.  When installing other distros after LL, direct their grub boot loader installation to their Root partitions instead of the drive's MBR.  Reboot after the new install and run sudo update-grub in LL to add their entries to the boot menu and all is well.

If you mistakenly break LL booting by allowing another distro to take over booting, just use your "live" LL disk to re-install grub with LL in charge again.  Here are basic steps for that:
  • Boot live LL and open a terminal
  • Find device name for your LL root partition with:  sudo blkid -c /dev/null
  • Mount your LL root partition to live environment:  sudo mount /dev/sdXY /mnt  (change the "XY" to match your drive/partition#).
  • IF you have a separate /boot partition, mount it with: sudo mount /dev/sdXY /mnt/boot.
  • Install grub with this command:  sudo grub-install --boot-directory=/mnt/boot /dev/sdX (change "X" to match your drive letter).  This command is the same whether or not you use a separate /boot partition.
  • Unmount your root and boot (if applicable) partition(s) with this command changing the "XY" to match each partition:  sudo umount /dev/sdXY.
  • Close terminal and reboot computer.
  • If you don't see grub listings for all of your distros, just update grub:  sudo update-grub.  They will appear on subsequent reboots.
  • Done.
« Last Edit: April 21, 2015, 01:03:38 PM by gold_finger »
Try Linux Beginner Search Engine for answers to Linux questions.
 

Re: Grub Quirk
« Reply #7 on: April 21, 2015, 08:05:59 AM »
 

galen

  • New to Forums
  • *
  • 46
    Posts
  • Reputation: 4
  • Linux Lite Member
    • View Profile
    • Galen's pigpen

  • MEMORY: 256mb
well it kills running two or more tuxes on a machine
Linux user and supporter since 1998. Secular Humanist & skeptic.
openPGP: 0xC938FD97  jabber: [email protected]
 

Re: Grub Quirk
« Reply #6 on: April 08, 2015, 02:32:47 PM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8775
    Posts
  • Reputation: 801
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
This is not a bug, so please don't report it as such. Grub is deliberately altered so that folks who dual boot with Windows will recognise Linux Lite in the Grub menu. This has been explained already. Cheers.
 

Re: Grub Quirk
« Reply #5 on: April 08, 2015, 10:40:56 AM »
 

galen

  • New to Forums
  • *
  • 46
    Posts
  • Reputation: 4
  • Linux Lite Member
    • View Profile
    • Galen's pigpen

  • MEMORY: 256mb
Linux user and supporter since 1998. Secular Humanist & skeptic.
openPGP: 0xC938FD97  jabber: [email protected]
 

Re: Grub Quirk
« Reply #4 on: June 18, 2014, 02:57:57 AM »
 

N4RPS

  • Donator
  • Platinum Level Poster
  • **********
  • 1149
    Posts
  • Reputation: 155
  • Knows JUST ENOUGH Linux to be DANGEROUS
    • View Profile
    • Orphans for Christ, Self Advocates of Mecklenburg

  • CPU: Several Different 32-bit & 64-bit CPUs, 2-8 GB RAM

  • MEMORY: 8Gb

  • VIDEO CARD: Several Different AMD and Intel GPUs
Hello!

I am very interested in all this. I'd like to change these values to reflect the exact flavor of Ubuntu I'm running, and to have those changes remain after a kernel update...

73 DE N4RPS
Rob
 


A gun in your hand is worth more than a whole police force on the phone.
 

Re: Grub Quirk
« Reply #3 on: June 16, 2014, 08:54:31 PM »
 

davesurrey

  • Guest
Hi,
As I started a thread earlier on this issue at https://www.linuxliteos.com/forums/index.php?topic=441.0 I thought it only right to try your suggestion Valtam so changed the line in /etc/default/grub as above.
Unfortunately after I did a sudo update-grub in Lubuntu where my grub files reside I still get the same error. No big deal as I am now booting into Lite  2.0 with a manual 40_custom  file.
Great distro BTW. Many thanks.
 

Re: Grub Quirk
« Reply #2 on: June 16, 2014, 05:42:37 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8775
    Posts
  • Reputation: 801
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
This is possibly due to the way in which the final version had it's grub tweaked so that if people dual booted with Windows, Linux Lite would show as Linux Lite in the grub Menu instead of showing as Ubuntu, a previous confusion for those people. The original line in grub reads:

GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`

which pulls the distributor id from /etc/lsb-release

the new line reads:

GRUB_DISTRIBUTOR=`lsb_release -d 2> /dev/null || echo Debian`

which pulls the distributor description from /etc/lsb-release. Switching the line in /etc/default/grub back to GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` may fix it for existing linux dual booters but this is untried, it's all I can think of since this was the only alteration made to grub in the final in an effort to help Windows users easily identify operating systems.
« Last Edit: June 16, 2014, 04:37:33 PM by Valtam »
 

Grub Quirk
« Reply #1 on: June 15, 2014, 11:09:32 PM »
 

jefboyardee

  • Guest
Just passing this along cuz I have a soft spot for LL:

1. I install Linux Lite.
2. I boot to Linux Mint, my keeper distro.
3. I edit Grub Customizer to my tastes. Its description for Lite: menuentry script:os-prober.
4. I try to boot into Lite; get some 'expected filename' error message.
5. I reinstall Lite and also install Grub Customizer there. Its description: menuentry script:linux / default name: description: Linux Lite 2.0 GNU/Linux. By the way, I didn't edit those lines, just the first-line names.

It works fine that way, probably because of the differences up there. It very well could've been my error, but I've done steps 1-3 on dozens of distros and Lite is the first to trip me up. I've also tried all this more than once to confirm that it's repeatable. I can email pix if you like.
« Last Edit: June 15, 2014, 11:16:27 PM by jefboyardee »
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section