Installing GRUB2 on porteus

Non release banter
Post Reply
User avatar
francois
Contributor
Contributor
Posts: 5415
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: 622
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
No intelligence, no life and no information can exist without prior intelligence, life or information (in place where things change and time is running).

User avatar
francois
Contributor
Contributor
Posts: 5415
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