SliTaz SliTaz Forum

You are not logged in.

#1 2019-09-30 04:19:20

Guest
Guest

How do I update the grub list ?

I've added Slitaz to an existing multiboot setup, which only has Linux distros.

However, when I reboot Slitaz (following the initial install), only Slitaz appears on the grubscreen. Normally when I do this in Ubuntu- or Debian-based distros, I run '# update-grub' in the terminal so that grub finds and lists the other distros in the grubscreen on rebooting. However when I use this command in Slitaz, it's not recognized.

How do I update the grublist?

#2 2019-09-30 05:37:11

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: How do I update the grub list ?

Hi mikey777,

If you ask to the SliTaz installer to install a bootloader it has installed GRUB4DOS; [c]update-grub[/c] is a command of GRUB 2.

If GRUB4DOS is installed, you can

- or create manually others entries in its /boot/grub/menu.lst config file,

- or re-install GRUB 2 on your system

Offline

#3 2019-10-02 10:50:07

Guest
Guest

Re: How do I update the grub list ?

@Ceel

Many thanks for your reply.

In Slitaz5, I removed GRUB4DOS, and replaced it with GRUB2. On rebooting, the GRUB2 grubscreen appears so this is now working :-)

However, I'm still unable to use 'sudo update-grub' ('update-grub' is still not recognized), even though GRUB2 is installed, to make the other distros appear in the grubscreen list. 

Qu'est-ce qu'il faut faire?

#4 2019-10-02 14:22:00

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: How do I update the grub list ?

You're right, update-grub is not included in the files the package installs

A ce niveau, je ne peux rien faire de plus... smile

Did you try the command [c]grub-mkconfig[/c]? It seems to me it is this command that probes disks an generates a new grub.cfg file (but not sure, I'm not a great fan of Grub2; I use it only when I can't do otherwise).

Offline

#5 2019-10-03 00:10:57

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: How do I update the grub list ?

The update-grub command is a debian/ubuntu add on shell script owned by their grub2-common deb.

You can download it here: https://salsa.debian.org/zugschlus/grub/blob/master/debian/update-grub

Install it in /usr/bin and make it executable, maybe it will work.

[c]chmod +x /usr/bin/update-grub[/c]

If it doesn't work run the command from terminal to update the grub boot menu.

I backup the old grub.cfg in case it malfunctions.

[c]grub-mkconfig -o /boot/grub/grub.cfg[/c]

Put custom boot configs in a file named custom.cfg in /boot/grub so they are not overwritten by grub-mkconfig.

Offline

#6 2019-10-09 10:55:56

Guest
Guest

Re: How do I update the grub list ?

Many thanks Ceel for your advice.

I've abandoned the Slitaz/Ubuntu dual-boot, and now have only a Slitaz5 32-bit install on my netbook, which is a Samsung N145 Plus (single-core [dual-threaded] Intel Atom N455@1.66GHz; 2GB RAM). It's much simpler that way!

I would just like to say that Slitaz5 seems to me to be by far the best lightweight distro for the above netbook. I tried several distros, all installed to the netbook's internal SSD, i.e. antiX19, LinuxLite3, Porteus, etc, but Slitaz5 seemed to outperform all of them in terms of speed, showing no lag for normal activities. Even YouTube videos ran relatively smoothly, though it would be nice to be able to install Kodi for this, if this app ever becomes available as a Slitaz Package ...

Finally, I'd like to say very well done to the Slitaz team - many thanks for this distro, which is a pleasure to use :-)

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]