Here you can post about non-standard installation methods
(for example when using grub4dos).
-
Bogomips
- Full of knowledge

- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Post#1
by Bogomips » 22 Oct 2014, 14:44
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.lstCode: 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)
Last edited by
Bogomips on 23 Oct 2014, 23:54, edited 1 time in total.
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
Bogomips
-
francois
- Contributor

- Posts: 6456
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Post#2
by francois » 23 Oct 2014, 13:15
Hello bogomips. Thanks for this howto on grub legacy and porteus. How do you install grub legacy on your hdd or usb?
Prendre son temps, profiter de celui qui passe.
francois
-
Bogomips
- Full of knowledge

- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Post#3
by Bogomips » 23 Oct 2014, 19:14
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.
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
Bogomips
-
francois
- Contributor

- Posts: 6456
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Post#5
by francois » 24 Oct 2014, 04:47
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
Prendre son temps, profiter de celui qui passe.
francois