Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: destroyedlolo on December 26, 2022, 01:09:21 PM
-
Hello,
I'm trying to install Grub2 on a fresh new install, but it's turning to be a nightmare.
- First of all, the dependency with liblvm2 is missing but it's old well known issue
- after correcting, grub-install is complaining because it can't find /mnt/sda2/boot/grub/i386-pc
... because it doesn't exists :-[
[/list]
I did the same installation some months back, with a package named "grub2" and not grub2-multi and, as soon as I installed liblvm2, it worked perfectly and
/mnt/sda2/boot/grub$ ls
fonts/ grub.cfg grubenv i386-pc/ locale/ themes/
where as on the new system there is nothing.
So ... what is the correct way to install grub2 ?
Thanks
Laurent
-
Did you use “—target=i386-pc”?
-
No, only --root-directory and my disk device.
[edit]after rethinking of it, I did the install of the other system from another Linux machine as I did already faced this issue with TCL one [/edit]
-
I had a look on several tutorials and did the same on one of my Gentoo box ... and grub-install is working out of the box.
So, I'm wondering if the problem is not with this x86 TCL package ??
-
Hi destroyedlolo
Try using “—target=i386-pc” like juanito did here:
https://forum.tinycorelinux.net/index.php/topic,19364.0.html