Porteus n00B with problem of boot= cheatcode

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
goossbears
White ninja
White ninja
Posts: 8
Joined: 12 Apr 2015, 03:45
Distribution: Multiple. see sig
Location: US

Porteus n00B with problem of boot= cheatcode

Post#1 by goossbears » 12 Apr 2015, 05:17

Have gone through the steps listed at http://www.porteus.org/tutorials/26-gen ... -them.html and http://www.porteus.org/component/conten ... tcode.html to use the boot= cheatcode and still cannot get my Porteus ISO to work as described :%)

FWIW, I've regularly used Knoppix before, and Knoppix has the consecutive-boot options

Code: Select all

knoppix: knoppix tohd=/dev/sdX

then

Code: Select all

knoppix: knoppix fromhd=/dev/sdX
The Porteus version I'm using is the Porteus-XFCE-v3.1-i486.iso cp'd onto /dev/sdb1/porteus/ as porteus.iso. This porteus.iso then had its vmlinuz and initrd.xz extracted to /dev/sdb1/porteus/boot/ as instructed in the 2nd above link using mloop.
When I go ahead and use the imaged Porteus-XFCE-v3.1-i486.iso liveCD to boot the PC and select the first liveCD boot option with either the 'from=/mnt/sdb1' cheatcode, the 'from=/dev/sdb1/porteus' cheatcode, the 'from=/mnt/sdb1' cheatcode, or the 'from=/mnt/sdb1/porteus' cheatcode at the end of the [Tab] line, I keep receiving this message:
Starting init script <http://www.porteus.org/>
^ searching for porteus-v3.1-i486.sgn file
^ from= cheatcode is incorrect, press enter to search through all devices
:wall:

Suggestions to properly fix this issue?
Knoppix's

Code: Select all

knoppix fromhd=/dev/sdb1
boot entry works perfectly, so why not have a similar success with the Porteus 'boot= ' cheatcode??
GO OpenSourceSoftware Bears!

Debian-based distros, Salix v14.1 XFCE, Porteus v3.1 XFCE....all on 32-bit PCs

User avatar
francois
Contributor
Contributor
Posts: 5080
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Porteus n00B with problem of boot= cheatcode

Post#2 by francois » 12 Apr 2015, 07:46

Welcome on porteus board goossbear. :)
Please provide your complete syslinux entry? It is difficult to judge with the few information you have provided.

The porteus cheatcode is from= and not fromhd=.
Voltaire: Le mieux est l'ennemi du bien.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 973
Joined: 20 Mar 2012, 03:42
Distribution: 3.2.2-64bit xfce/openbox
Location: australia
Contact:

Re: Porteus n00B with problem of boot= cheatcode

Post#3 by ncmprhnsbl » 12 Apr 2015, 11:23

so you're using a CD iso to boot an iso on a usb/hd?

from the tutorial your cheatcode should look more like this:

Code: Select all

KERNEL /dev/sdb1/boot/syslinux/vmlinuz
APPEND initrd=/dev/sdb1/porteus/boot/initrd.xz from=/dev/sdb1/Porteus-XFCE-v3.1-i486.iso
may only need

Code: Select all

from=/dev/sdb1/Porteus-XFCE-v3.1-i486.iso
you might consider making your usb bootable so you can edit/save the syslinux/porteus.cfg . if possible
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

goossbears
White ninja
White ninja
Posts: 8
Joined: 12 Apr 2015, 03:45
Distribution: Multiple. see sig
Location: US

Re: Porteus n00B with problem of boot= cheatcode

Post#4 by goossbears » 12 Apr 2015, 17:03

ncmprhnsbl wrote:so you're using a CD iso to boot an iso on a usb/hd?

from the tutorial your cheatcode should look more like this:

Code: Select all

KERNEL /dev/sdb1/boot/syslinux/vmlinuz
APPEND initrd=/dev/sdb1/porteus/boot/initrd.xz from=/dev/sdb1/Porteus-XFCE-v3.1-i486.iso
may only need

Code: Select all

from=/dev/sdb1/Porteus-XFCE-v3.1-i486.iso
you might consider making your usb bootable so you can edit/save the syslinux/porteus.cfg . if possible
Perhaps this may better help. :)

- The Porteus boot media is a non-rewritable liveCD rather than a CD-R/W or USB drive

- The hard drive has Salix 14.1 already installed, with the XFCE desktop. The Salix boot manager is LILO, it is installed onto the Master Boot Record of the drive, and the LILO cfg entries are in the first partition's /etc/lilo.conf file. Didn't add the recommended KERNEL and APPEND options for /dev/sdb1 to this /etc/lilo.conf file though.

- The initial liveCD's Porteus boot screen with a lighthouse-harbor graphic shows "Porteus-3.1 32bit" and offers the top-level boot options
-- Graphics mode (XFCE)
-- Always fresh
-- Copy To RAM
-- Text mode
-- Porteus as PXE server
-- PLoP BootManager
-- Boot from the first hd

The bottom boot screen description for my chosen 'Graphics mode XFCE' option is
Run Porteus the best way we can. Try to autoconfigure graphics card and use the maximum allowed resolution.
It's default (syslinux?) edit options are

Code: Select all

vmlinuz initrd.xz changes=/porteus timezone=America/<my exact timezone>
- Decided to make things a bit simpler by running Porteus using the liveCD with the default 'Graphics mode XFCE' option just above, then resizing hd partitions using Porteus's GParted in order to increase drivespace on /dev/sda1, and then repeating the Porteus ISO image copying and boot files extraction to /mnt/sda1 (instead of to /mnt/sdb1) exactly as described in the previous post. Perhaps the Porteus ISO cp'ing and boot files extraction were somehow defective the 1st time around?

- I found the relevant cheatcodes for SLAX, a Slack-based distro similar to Porteus, at http://www.pendrivelinux.com/slax-cheatcodes/ as follows
from=/dev/hda1/slax.iso
from=path/to/slax.iso
from=/dev/hda1
from=path/to/slax/

To load SLAX data from different place instead of the boot device. First example will search for slax.iso, only on hda1. Second example will search for 'path/to/slax.iso' on all devices. The first device containing the path/file is used. Third example expects that the ISO is unpacked to hda1. Fourth example searches through all disks for a directory 'path/to/slax' and expects the contents of unpacked ISO in there.
- Following one of the above SLAX cheatcode examples, I rebooted the PC using the same Porteus liveCD and on the edit line of the 'Graphics mode XFCE' option, specified

Code: Select all

vmlinuz initrd.xz changes=/porteus timezone=America/<my exact timezone> from=/dev/sda1/porteus/porteus.iso
When booting when this edit option, I finally saw this message:
Starting init script <http://www.porteus.org/>
^ searching for porteus-v3.1-i486.sgn file
^ using Porteus data from /mnt/isoloop/porteus
...
... <desired modules loading>
...
^ copying content of /mnt/isoloop/porteus/rootcopy directory
^ changing root directory
...
This seems to have fixed the issue I presented. :Yahoo!: Really don't mind at all using Porteus to create, save, and access data files alongside those from Salix in /mnt/sda1. And I can also use Porteus's 'Text mode' menu option with the same last boot= entry to boot into text mode, followed by using 'startx' (but not 'init 4'!) to get into X just like for XFCE in Salix.

Next step is to fix the Unified Slackware Package Manager "Missing Database Files!" issue I'm getting. This USM pkg manager perhaps similar to Knoppix's Synaptic/APT?

Thanks for the replies :)
GO OpenSourceSoftware Bears!

Debian-based distros, Salix v14.1 XFCE, Porteus v3.1 XFCE....all on 32-bit PCs

Bogomips
Full of knowledge
Full of knowledge
Posts: 2563
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Porteus n00B with problem of boot= cheatcode

Post#5 by Bogomips » 12 Apr 2015, 19:12

goossbears wrote:This USM pkg manager perhaps similar to Knoppix's Synaptic/APT?
Not similar. Presupposes a certain amount of Slackware knowledge, and that you know what you are doing, and which as a Newbie you don't. :) Best thing, is to just suck it and see. :roll:

P.S. If using the GUI best thing is not to take advantage of the option of removing files you don't want. If you are as adept as you seem to be, try to wean yourself from GUI as soon as your knowledge of Porteus allows you to. 8)
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

User avatar
brokenman
Site Admin
Site Admin
Posts: 5574
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Porteus n00B with problem of boot= cheatcode

Post#6 by brokenman » 15 Apr 2015, 02:04

The first thing to do in USM is to update: usm -u all

Which version of Porteus are you using?
How do i become super user?
Wear your underpants on the outside and put on a cape.

Post Reply