bootloaders and menu entries: your way to install porteus
Posted: 22 Mar 2015, 14:23
There is an official porteus installation method which uses syslinux as bootloader. You can find it packed in the porteus iso as /boot/docs/install.txt.
However, porteus could be installed in a lot of different ways given the possibilities in term of bootloaders (grub legcy, grub2dos,lilo) and in terms of the porteus or linux cheatcodes involved:
http://www.porteus.org/tutorials/26-gen ... -them.html
It would be interesting that you describe how you install porteus on your hard disk drive. Give us at least two ways that you use to install porteus: a) a very simple one for newcomers in guest mode and b) a more complicated one.
In type b installation, you make judicious use of the possibilities provided by the porteus cheatcodes: extramod, login, etc..
The use of a bootloader other than porteus syslinux are really welcome.
Please put an emphasis on the description of your menu entries. Need are a few examples of simplified entries for newcomers which boot in guest mode with login manager:
EXAMPLE 1 (type a, simple installation): guest access thru login manager.
Grub legacy method using grubconfig for a multiboot porteus-windows installation:
http://forum.porteus.org/viewtopic.php?f=62&t=946
Mount porteus iso:
http://www.cyberciti.biz/tips/how-to-mo ... linux.html
and copy /boot and /porteus to a subfolder (in my example /64bit_v31rc1) on one of your partitions (in my example sda5).
The menu.lst entries:
EXAMPLE 2 (type a installation): root access thru login manager.
Grub2 method for a multiboot on an already existing installation of ubuntu:
Grub2 pertinent information is in section B of the following thread. The chroot procedure:
http://forum.porteus.org/viewtopic.php?f=48&t=1790
Here is my menu entry in /etc/grub.d/40_custom for two of my porteus installations;
Then from the chroot procedure*:
I boot automatic login in root mode. If you prefer guest mode (our dedicated normal user) replace root by guest as in login=guest. If you prefer to stop at login manager leave login= empty.
Any suggestion to make this thread better would be appreciated.
*Note: the chroot procedure seems to be different from one major distribution to another. Thus there is a specific one for archlinux.
However, porteus could be installed in a lot of different ways given the possibilities in term of bootloaders (grub legcy, grub2dos,lilo) and in terms of the porteus or linux cheatcodes involved:
http://www.porteus.org/tutorials/26-gen ... -them.html
It would be interesting that you describe how you install porteus on your hard disk drive. Give us at least two ways that you use to install porteus: a) a very simple one for newcomers in guest mode and b) a more complicated one.
In type b installation, you make judicious use of the possibilities provided by the porteus cheatcodes: extramod, login, etc..
The use of a bootloader other than porteus syslinux are really welcome.
Please put an emphasis on the description of your menu entries. Need are a few examples of simplified entries for newcomers which boot in guest mode with login manager:
EXAMPLE 1 (type a, simple installation): guest access thru login manager.
Grub legacy method using grubconfig for a multiboot porteus-windows installation:
http://forum.porteus.org/viewtopic.php?f=62&t=946
Mount porteus iso:
http://www.cyberciti.biz/tips/how-to-mo ... linux.html
and copy /boot and /porteus to a subfolder (in my example /64bit_v31rc1) on one of your partitions (in my example sda5).
The menu.lst entries:
Code: Select all
# GRUB configuration file '/boot/grub/menu.lst'.
# generated by 'grubconfig'. Wed Jul 31 00:39:45 2013
#
# The backup copy of the MBR for drive '/dev/sda' is
# here '/boot/grub/mbr.sda.4431'. You can restore it like this.
# dd if=mbr.sda.4431 of=/dev/sda bs=512 count=1
#
# Start GRUB global section
timeout 3
#color light-gray/blue black/light-gray
# End GRUB global section
title porteus on sda5 64bit_v31 KDE
root (hd0,4)
kernel /64bit_v31/boot/syslinux/vmlinuz from=/dev/sda5/64bit_v31 changes=EXIT:/64bit_v31/kde login=guest
initrd /64bit_v31/boot/syslinux/initrd.xz
boot
title Win Vista/7 (loader) at sda1
rootnoverify (hd0,0)
chainloader +1
Grub2 method for a multiboot on an already existing installation of ubuntu:
Grub2 pertinent information is in section B of the following thread. The chroot procedure:
http://forum.porteus.org/viewtopic.php?f=48&t=1790
Here is my menu entry in /etc/grub.d/40_custom for two of my porteus installations;
Code: Select all
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "porteus 3.0 on sda5 32 BIT v30 KDE" {
set root=(hd0,5)
linux /32bit_v30/boot/syslinux/vmlinuz from=/dev/sda5/32bit_v30 changes=EXIT:/32bit_v30/kde login=root
initrd /32bit_v30/boot/syslinux/initrd.xz
}
Code: Select all
root@porteus:~# update-grub
Any suggestion to make this thread better would be appreciated.
*Note: the chroot procedure seems to be different from one major distribution to another. Thus there is a specific one for archlinux.