Installing GRUB2 on porteus

Non release banter
User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

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?
Prendre son temps, profiter de celui qui passe.

tome
Contributor
Contributor
Posts: 675
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Russia is causing the immense damage to humanity
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
You have mind and feelings. Be wise and clever.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

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.
Prendre son temps, profiter de celui qui passe.

Post Reply