Grub2 bootloader installed here in this article:
http://blog.bodhizazen.net/linux/how-to-install-slitaz-with-ext4-and-grub2/
But when he decided to change the boot parameters, found that the file /etc/default/grub not. What should I do?
Grub2 bootloader installed here in this article:
http://blog.bodhizazen.net/linux/how-to-install-slitaz-with-ext4-and-grub2/
But when he decided to change the boot parameters, found that the file /etc/default/grub not. What should I do?
What is the error(s) produced by any of the command lines showed in the article ?
Did you generate the config file (last command) ? What is in "/etc/grub.d/" and "/boot/grub/" folder ?
Can you also do update-grub
(in root mode) ?
Unfortunately, I understand very little English. I take a translator.
If I understood correctly, something about the error messages written in the second part. There, where it says about the manual installation of grub2. I installed using a package slitaz.
Grub.cfg file is generated automatically using scripts from the directory /etc/grub.d/ and file /etc/default/grub.
I now discovered that the command update-grub message:
sh: update-grub: not found.
update-grub is debian/ubuntu wrapper script so update-grub command is the same on grub-pc as grub-legacy.
#!/bin/sh -e
exec grub-mkconfig -o /boot/grub/grub.cfg "$@"
Slitaz as root:
#grub-mkconfig -o /boot/grub/grub.cfg
Most packagers include a custom /etc/default/grub with comments.
All the options are here to make your own:
http://www.gnu.org/software/grub/manual/grub.html#Configuration
5.1 Simple configuration handling
OK!
I realized that instead of the command:
#update-grub
you should use the following command:
#grub-mkconfig
I tested it: it works!
You are also encouraged to file /etc/default/grub myself? I'll try to do. But I do not understand why the person who created the package grub2 to slitaz, did not it?
And more.
Why I do not have the directory /usr/bin/grub/? It is not needed?
I've installed the loader grub2. Run the program TazPanel and in section GRUB boot loader see menu grub legacy. Why?
Because grub-0.97 is the boot loader installed by slitaz-installer,tazinst,and tazusb.
You are free to convert /var/www/tazpanel/boot.cgi to grub2-1.98 for your own use.
I now want to install grub2 in the beginning, during system installation. Using the package slitaz. But while I do not know how to do it.
I use Herman's website,his grub and grub2 how-to's are easy to understand.
grub2: http://members.iinet.net/~herman546/p20.html
How to install grub2 :
http://members.iinet.net/~herman546/p20/GRUB2%20Bash%20Commands.html#install_update_and_repair
Thank you.
I've kept this page and read a little. I've already tried to install. It did not happen. Grub2 himself established, but no directory has been copied (for example, there was no directory /usr/lib/grub). If you do a grub-mkconfig -o /boot/grub/grub.cfg got an error message. I'll have to create a separate topic, and there to explain everything.
You must log in to post.