SparkyLinux Forums

Development => Suggestions => Topic started by: wayne on July 25, 2014, 07:56:34 AM

Title: How to make Sparky appear in dual/multiboot when update-grub?
Post by: wayne on July 25, 2014, 07:56:34 AM
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?
Title: Re: How to make Sparky appear in dual/multiboot when update-grub?
Post by: pavroo 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.
Title: Re: How to make Sparky appear in dual/multiboot when update-grub?
Post by: pavroo on July 25, 2014, 06:13:19 PM
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
Title: Re: How to make Sparky appear in dual/multiboot when update-grub?
Post by: wayne on July 27, 2014, 04:30:09 AM
Thanks pavroo,

it works
Title: Re: How to make Sparky appear in dual/multiboot when update-grub?
Post by: pavroo 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:
cd /usr/share/python-apt/templates
ln -s Debian.info Sparky.info
ln -s Debian.mirrors Sparky.mirrors