Page 1 of 1

Porteus 2.0 and Grub4DOS [SOLVED]

Posted: 06 Feb 2013, 22:57
by Ed_P
Hi.

I'm running Grub4DOS 0.4.5c 2012-06-19 and I use it on my USB Flash drive to boot several ISOs including Porteus 1.2. I'm trying to add the Porteus-v2.0-rc2-i486.iso to the drive and am encountering an error when it boots. It stops when it can't find porteus-v2.0-i486.sgn.

These are the two menu items that I'm using:

Code: Select all

title Linux\n 257MB\n Porteus-v1.2-i486.iso
map --heads=0 --sectors-per-track=0 /ISOs/Porteus-v1.2-i486.iso (0xff) 
map --hook
root (0xff)
kernel /boot/vmlinuz from_iso=/ISOs/Porteus-v1.2-i486.iso autoexec=startx
initrd /boot/initrd.xz

title Linux test\n 242MB\n Porteus-v2.0-rc2-i486.iso
map --heads=0 --sectors-per-track=0 /ISOs/Porteus-v2.0-rc2-i486.iso (0xff) 
map --hook
root (0xff)
kernel /boot/syslinux/vmlinuz from_iso=/ISOs/Porteus-v2.0-rc2-i486.iso
initrd /boot/syslinux/initrd.xz
I removed the cheatcode as suggested in another thread but when I tried the "find" command mentioned in the other thread it returned an invalid command response.

Code: Select all

grub> find /ISOs/Porteus-v2.0-rc2-i486.iso -type f

Error 27: Unrecognized command
ls /ISOs/ however does show the v2.0 iso amongst the others.

Do I need a different version of Grub4DOS or a different cheatcode?

tia


Ed

Re: Porteus 2.0 and Grub4DOS

Posted: 07 Feb 2013, 00:35
by brokenman
Please also try following the advice given by fanthom in the following thread. Pay attention to extracting vmlinuz and initrd.xz from Porteus ISO.

click here

Re: Porteus 2.0 and Grub4DOS

Posted: 07 Feb 2013, 03:05
by Ed_P
Thanks brokenman. That was the other thread that I was referring to.

I've never had to extract vmlinuz and initrd.xz from any other ISO to which I have about 10 and that doesn't appear to be the source of this problem. But it's an interesting approach.

Re: Porteus 2.0 and Grub4DOS

Posted: 07 Feb 2013, 06:01
by Ed_P
Solved!! :Yahoo!:

This works.

Code: Select all

title Linux test\n 242MB\n Porteus-v2.0-rc2-i486.iso
map --heads=0 --sectors-per-track=0 /ISOs/Porteus-v2.0-rc2-i486.iso (0xff) 
map --hook
root (0xff)
kernel /boot/syslinux/vmlinuz from=/ISOs/Porteus-v2.0-rc2-i486.iso autoexec=startx 
initrd /boot/syslinux/initrd.xz
The v1.2 "from_iso=" cheatcode has been replaced with a new one named just "from=".



Someone needs to update this http://porteus.org/component/content/ar ... tcode.html webpage for v2.0's change.


Ed