@ Sagar
When you install the grub2 package you can see at the end of the installation this message:
# To install grub to your sda MBR
grub-install /dev/sda
# To generate a configuration file
grub-mkconfig -o /boot/grub/grub.cfg
grub-install /dev/sda
will install grub2 on the MBR of sda but will install /usr/lib/grub folder and its subfolders in the /boot directory of the running distribution.
To install GRUB 2 correctly on your hard disk (say sda) after you formated it and installed SliTaz, follow these steps:
- # mount the target
mount /dev/sda /mnt
- and then install GRUB 2
# grub-install --root=/mnt /dev/sda
- create a configuration file
grub.cfg
for GRUB 2
(I always create the configuration file with a text editor and never with the command# grub-mkconfig -o /mnt/boot/grub/grub.cfg
so I can't say what will be the result)
No need toinsmod
normal and ext2, all will work fine without it.
The good news: it's now possible to install GRUB 2 on an ext4 partition without having error messages such
Installing for i386-pc platform.
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
grub-install: warning: your embedding area is unusually small. core.img won't fit in it..
grub-install: error: embedding is not possible, but this is required for cross-disk install.