Advertising

Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

How to make Sparky appear in dual/multiboot when update-grub?

Started by wayne, July 25, 2014, 07:56:34 AM

Previous topic - Next topic

wayne

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?

pavroo

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.
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

pavroo

Create lsb-release file (as root):
nano /etc/lsb-release
Paste the text into the file:
QuoteDISTRIB_ID=Sparky
DISTRIB_RELEASE=1
DISTRIB_CODENAME=testing
DISTRIB_DESCRIPTION="Sparky"
Update GRUB:
Quoteupdate-grub
Copy 2 files to prevent the issue I mentioned previously:
Quotecd /usr/share/python-apt/templates
cp Debian.info Sparky.info
cp Debian.mirrors Sparky.mirrors
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]


pavroo

I think it's better to make a symlink instead of copy of the 2 files due to changes in Debian:
cd /usr/share/python-apt/templates
ln -s Debian.info Sparky.info
ln -s Debian.mirrors Sparky.mirrors
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

View the most recent posts on the forum