Author Topic: How to make Sparky appear in dual/multiboot when update-grub?  (Read 1302 times)

Offline wayne

  • Newbie
  • *
  • Posts: 25
In Dual or multiboot environment, when I use another Linux OS and perform
sudo update-grub,

Sparkylinux will appear as

"Found Debian GNU/Linux (jessie/sid) on /dev/sdbX"

Many distros already have their name appear during update-grub.

What should I change to make this happen?

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1465
    • SparkyLinux
Re: How to make Sparky appear in dual/multiboot when update-grub?
« Reply #1 on: July 25, 2014, 02:13:48 pm »
The best way is to put /etc/lsb-release file, but it made a bug before:
http://sparkylinux.org/forum/index.php?topic=2471.msg3253#msg3253
I'm working on it to fix it.
« Last Edit: July 25, 2014, 06:14:51 pm by pavroo »
Nothing is easy as it looks.

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1465
    • SparkyLinux
Re: How to make Sparky appear in dual/multiboot when update-grub?
« Reply #2 on: July 25, 2014, 06:13:19 pm »
Create lsb-release file (as root):
Code: [Select]
nano /etc/lsb-releasePaste the text into the file:
Quote
DISTRIB_ID=Sparky
DISTRIB_RELEASE=1
DISTRIB_CODENAME=testing
DISTRIB_DESCRIPTION="Sparky"
Update GRUB:
Quote
update-grub
Copy 2 files to prevent the issue I mentioned previously:
Quote
cd /usr/share/python-apt/templates
cp Debian.info Sparky.info
cp Debian.mirrors Sparky.mirrors
Nothing is easy as it looks.

Offline wayne

  • Newbie
  • *
  • Posts: 25
Re: How to make Sparky appear in dual/multiboot when update-grub?
« Reply #3 on: July 27, 2014, 04:30:09 am »
Thanks pavroo,

it works

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1465
    • SparkyLinux
Re: How to make Sparky appear in dual/multiboot when update-grub?
« Reply #4 on: July 27, 2014, 08:15:28 pm »
I think it's better to make a symlink instead of copy of the 2 files due to changes in Debian:
Code: [Select]
cd /usr/share/python-apt/templates
ln -s Debian.info Sparky.info
ln -s Debian.mirrors Sparky.mirrors
Nothing is easy as it looks.