Installing GRUB2 on porteus

Non release banter
Post Reply
User avatar
francois
Contributor
Contributor
Posts: 4937
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Installing GRUB2 on porteus

Post#1 by francois » 09 Aug 2014, 18:04

I would have like to install grub2 on a hdd installed porteus partition. But it seems that the structure of porteus, compressed modules, precludes this possibility. See D. INSTALLING GRUB2 ON PORTEUS:

Slackel a distribution based on salix, but offering slackware current as pasture provides grub2 as a possible bootloader. Here are a few links on grub2 and slackware:
http://slackel.gr/repo/source/extra/grub2/grubconfig
http://forum.salixos.org/viewtopic.php?f=32&t=4934

Is it that I did not found the solution?

In that case would it be an asset to have the option of grub2 on porteus 3.0.x, as this actually is the mainstream bootloader?
Voltaire: Le mieux est l'ennemi du bien.

tome
Contributor
Contributor
Posts: 562
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Poland
Contact:

Re: Installing GRUB2 on porteus

Post#2 by tome » 09 Aug 2014, 21:46

For example:
grub-install --target=i386-pc --grub-setup=/bin/true --recheck --debug /dev/sdx --boot-directory=/mnt/sdxX/boot
It will install to mbr(be careful!) and disk/generate files only.

cat /mnt/sda3/boot/grub/i386-pc/lnxboot.img /mnt/sda3/boot/grub/i386-pc/core.img > /mnt/sda3/boot/grub/grub2.img
It will make image for chainloading from lilo or bootmgr.

http://wiki.archlinux.org/index.php/Grub

User avatar
francois
Contributor
Contributor
Posts: 4937
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Installing GRUB2 on porteus

Post#3 by francois » 02 Sep 2014, 17:29

Thanks tome. :)
I thought I would have the chance to try you strategy, but evidently that was not the case. :(
I will come back to give some feedback.
Voltaire: Le mieux est l'ennemi du bien.

Post Reply