Page 1 of 1

[HOWTO] Grub 1 Porteus (3.1)

Posted: 22 Oct 2014, 14:44
by Bogomips
The setup illustrated here uses sda as hd0, and for /path/to/kernel (on sda1) /por/3.1/. sda1 is reiserfs partition. (For some reason Grub did not take kindly to ext2)

Bare Essentials Setup

Code: Select all

guest@porteus:~$ mkdir -p /mnt/sda1/por/3.1
guest@porteus:~$ mkdir z
guest@porteus:~$ sudo mount Porteus-KDE4-v3.1-rc1-i486.iso z -t iso9660 -o loop
mount: block device /home/guest/Porteus-KDE4-v3.1-rc1-i486.iso is write-protected, mounting read-only
guest@porteus:~$ ls z/boot/syslinux
chain.c32      initrd.xz     isolinux.boot  lilo.conf  porteus.cfg  syslinux.cfg  vmlinuz
extlinux.conf  isolinux.bin  isolinux.cfg   plpbt      porteus.png  vesamenu.c32

guest@porteus:~$ cp -a z/boot/syslinux/vmlinuz /mnt/sda1/por/3.1
guest@porteus:~$ cp -a z/boot/syslinux/initrd.xz /mnt/sda1/por/3.1
guest@porteus:~$ ls -lh /mnt/sda1/por/3.1
total 3.3M
-rw-r--r-- 1 guest guest 683K Oct 16 13:57 initrd.xz
-rw-r--r-- 1 guest guest 2.7M Oct 13 01:53 vmlinuz
Set Up Porteus (Example shows KDE iso)

Code: Select all

guest@porteus:~$ tree z/porteus/
z/porteus/
├── base
│   ├── 000-kernel.xzm
│   ├── 001-core.xzm
│   ├── 002-xorg.xzm
│   ├── 003-kde.xzm
│   └── 04-firefox.xzm
├── make_iso.sh
├── modules
├── optional
├── porteus-v3.1-i486.sgn
└── rootcopy
sudo cp -a z/porteus /mnt/sdxy (where sdxy is partition of choice)

Entry in menu.lst

Code: Select all

title           Porteus Live DVD	Porteus-KDE4-v3.1-rc1-i486.iso 
root		(hd0,0)
kernel          /por/3.1/vmlinuz  copy2ram ramsize=30% noauto timezone=Europe/Paris volume=60%
initrd          /por/3.1/initrd.xz
Replacing kernel parameters of example with parameters of one's own choice. (If no sudo, run as root)

Re: [HOWTO] Grub 1 Porteus (3.1)

Posted: 23 Oct 2014, 13:15
by francois
Hello bogomips. Thanks for this howto on grub legacy and porteus. How do you install grub legacy on your hdd or usb?

Re: [HOWTO] Grub 1 Porteus (3.1)

Posted: 23 Oct 2014, 19:14
by Bogomips
Hi francois, it's been quite a while since it was done. Think came from SUSE installation CD. All I can recall is, it has traveled from hdd on defunct computer via usb to present computer.

So, for quicker answer resort to questioner, or to folks at PCLinuxOS, who have not seen reason to leave Grub Legacy for Grub 2.

Re: [HOWTO] Grub 1 Porteus (3.1)

Posted: 23 Oct 2014, 22:30
by Ed_P
francois wrote:How do you install grub legacy on your hdd or usb?
This tutorial help you? http://www.porteus.org/tutorials/12-boo ... drive.html

Re: [HOWTO] Grub 1 Porteus (3.1)

Posted: 24 Oct 2014, 04:47
by francois
Its good to see that ahau had prepared a tutorial on installing grub 0.97 (synonym of grub legacy or bogomips grub1). Personally, as I find it simpler I would retain step 11 in this faq and install grub legacy with grubconfig which automates the installation of grub legacy, see:
http://forum.porteus.org/viewtopic.php? ... 7395#p7395