Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: destroyedlolo on December 26, 2022, 01:09:21 PM

Title: About grub2 installation
Post 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.

... 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
Code: [Select]
/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
Title: Re: About grub2 installation
Post by: Juanito on December 26, 2022, 03:23:54 PM
Did you use “—target=i386-pc”?
Title: Re: About grub2 installation
Post by: destroyedlolo on December 26, 2022, 03:44:53 PM
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]
Title: Re: About grub2 installation
Post by: destroyedlolo on December 28, 2022, 07:23:57 AM
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 ??
Title: Re: About grub2 installation
Post by: Rich on December 28, 2022, 08:56:01 AM
Hi destroyedlolo
Try using  “—target=i386-pc”  like juanito did here:
https://forum.tinycorelinux.net/index.php/topic,19364.0.html