Porteus 2.0 and Grub4DOS [SOLVED]

Post here if you are a new Porteus member and you're looking for some help.
User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Porteus 2.0 and Grub4DOS [SOLVED]

Post#1 by Ed_P » 06 Feb 2013, 22:57

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
Last edited by Ed_P on 07 Feb 2013, 06:07, edited 1 time in total.
Ed

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Porteus 2.0 and Grub4DOS

Post#2 by brokenman » 07 Feb 2013, 00:35

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
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: Porteus 2.0 and Grub4DOS

Post#3 by Ed_P » 07 Feb 2013, 03:05

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.
Ed

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: Porteus 2.0 and Grub4DOS

Post#4 by Ed_P » 07 Feb 2013, 06:01

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
Ed

Post Reply