Boot a USB Porteus flash drive in a VirtualBox

Non release banter
Post Reply
sean
Contributor
Contributor
Posts: 144
Joined: 08 Jul 2012, 02:30
Distribution: Porteus v3.0 LXDE i486
Location: South Central PA, USA

Boot a USB Porteus flash drive in a VirtualBox

Post#1 by sean » 03 Jun 2014, 00:03

I understand Oracle does not allow USB boots with VirtualBox. (Y/N?) Has anyone booted a USB Porteus flash drive in a VirtualBox?

Sean

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

Re: Boot a USB Porteus flash drive in a VirtualBox

Post#2 by brokenman » 03 Jun 2014, 01:42

How do i become super user?
Wear your underpants on the outside and put on a cape.

sean
Contributor
Contributor
Posts: 144
Joined: 08 Jul 2012, 02:30
Distribution: Porteus v3.0 LXDE i486
Location: South Central PA, USA

Re: Boot a USB Porteus flash drive in a VirtualBox

Post#3 by sean » 03 Jun 2014, 02:56

Thanks brokenman,

Bedtime here now, so I'll check those links in the morning.

Hope you are doing well,

Sean

Softysman
White ninja
White ninja
Posts: 4
Joined: 17 Jun 2014, 20:17
Distribution: Porteus V1.1
Location: Lisboa

Re: Boot a USB Porteus flash drive in a VirtualBox

Post#4 by Softysman » 17 Jun 2014, 20:28

Hi ever1 i Need some help, i'm doing a bootpen and i want to put the porteus on a paste i'm doing this code
title PORTEUS
find --set-root /grldr
kernel /dos/livecd/porteus/boot/syslinux/vmlinuz from= /dos/livecd/porteus/boot/syslinux/vmlinuz copy2ram login=root
initrd /dos/livecd/porteus/boot/syslinux/initrd.xz

But he dont find the porteus-v3.0-i486.sgn

tome
Contributor
Contributor
Posts: 562
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Poland
Contact:

Re: Boot a USB Porteus flash drive in a VirtualBox

Post#5 by tome » 17 Jun 2014, 20:42

Try:

Code: Select all

from=/dos/livecd/porteus
Look at .../boot/docs/cheatcodes.txt file.

Softysman
White ninja
White ninja
Posts: 4
Joined: 17 Jun 2014, 20:17
Distribution: Porteus V1.1
Location: Lisboa

Re: Boot a USB Porteus flash drive in a VirtualBox

Post#6 by Softysman » 17 Jun 2014, 20:57

Now i have a erros is say Porteus data not found.

User avatar
Ed_P
Contributor
Contributor
Posts: 3216
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: Boot a USB Porteus flash drive in a VirtualBox

Post#7 by Ed_P » 17 Jun 2014, 22:46

Softysman wrote:Hi ever1 i Need some help, i'm doing a bootpen and i want to put the porteus on a paste i'm doing this code
title PORTEUS
find --set-root /grldr
kernel /dos/livecd/porteus/boot/syslinux/vmlinuz from= /dos/livecd/porteus/boot/syslinux/vmlinuz copy2ram login=root
initrd /dos/livecd/porteus/boot/syslinux/initrd.xz

But he dont find the porteus-v3.0-i486.sgn
This is what I use for booting my ISO file:

Code: Select all

title Porteus 3.0  changes=      \n 213MB\n Porteus-RazorQT-v3.0-x86_64.iso 
find --set-root                       /ISOs/Porteus-RazorQT-v3.0-x86_64.iso
map --heads=0 --sectors-per-track=0   /ISOs/Porteus-RazorQT-v3.0-x86_64.iso (0xff) 
map --hook
root (0xff)
kernel /boot/syslinux/vmlinuz    from=/ISOs/Porteus-RazorQT-v3.0-x86_64.iso changes=EXIT:/porteus/changes/porteussave.dat extramod=/mnt/sda5/porteus/modules volume=40 
initrd /boot/syslinux/initrd.xz
maybe you can borrow some of the code for your VirtualBox booting. Do note the paths for kernel and initrd.
Ed

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

Re: Boot a USB Porteus flash drive in a VirtualBox

Post#8 by brokenman » 17 Jun 2014, 23:56

I assume you have already unpacked the ISO and that is why you have this path: /dos/livecd/porteus/boot/syslinux/vmlinuz

If your directory structure looks like this:

/dos/livecd/porteus/
|
|
--> boot/syslinux
--> porteus/base

Then it should be: from=/dos/livecd/porteus

Make sure there are no spaces.
How do i become super user?
Wear your underpants on the outside and put on a cape.

Softysman
White ninja
White ninja
Posts: 4
Joined: 17 Jun 2014, 20:17
Distribution: Porteus V1.1
Location: Lisboa

Re: Boot a USB Porteus flash drive in a VirtualBox

Post#9 by Softysman » 18 Jun 2014, 11:40

I do the from cheat code and when i do the boot he says "from= is incorrect"

User avatar
fanthom
Site Admin
Site Admin
Posts: 4593
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: Boot a USB Porteus flash drive in a VirtualBox

Post#10 by fanthom » 18 Jun 2014, 12:41

please show me the output of following command:

Code: Select all

find /dos/livecd/porteus -type f
thanks
Please add [Solved] to your thread title if the solution was found.

User avatar
Ed_P
Contributor
Contributor
Posts: 3216
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: Boot a USB Porteus flash drive in a VirtualBox

Post#11 by Ed_P » 18 Jun 2014, 13:32

Softysman

Are you creating the menu.lst file in Windows or Linux? In Windows file/folder names are not case sensitive, in Linux they are. Thus /dos/ and /DOS/ are not seen as the same name.

Try:

Code: Select all

title PORTEUS
find --set-root /dos/livecd/porteus/boot/syslinux/initrd.xz
kernel /boot/syslinux/vmlinuz from=/dos/livecd/porteus/boot/syslinux/vmlinuz copy2ram login=root 
initrd /boot/syslinux/initrd.xz


And if your folder names have capital letters in them than then code the menu accordingly.

For example:

Code: Select all

title PORTEUS
find --set-root /DOS/livecd/Porteus/boot/syslinux/initrd.xz
kernel /boot/syslinux/vmlinuz from=/DOS/livecd/Porteus/boot/syslinux/vmlinuz copy2ram login=root 
initrd /boot/syslinux/initrd.xz
Ed

Softysman
White ninja
White ninja
Posts: 4
Joined: 17 Jun 2014, 20:17
Distribution: Porteus V1.1
Location: Lisboa

Re: Boot a USB Porteus flash drive in a VirtualBox

Post#12 by Softysman » 18 Jun 2014, 18:51

Ed i try our code and this is the message i have
"Porteus data not found.
You are maybe using an unsupported boot device /eg. SCSI or old PCMCIA).
Workaround: Copy the directory /porteus from yout boot device to an IDE/SATA disk, eg. to /mnt/sda1/porteus or C:\porteus. Then try to boot again. Make sure that your boot parameters (cheatcodes) are correct. In case of booting over network - check if the driver for your NIC is included in initrd image.

And yes i'm doin a menu.lst in Windows.

tome
Contributor
Contributor
Posts: 562
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Poland
Contact:

Re: Boot a USB Porteus flash drive in a VirtualBox

Post#13 by tome » 18 Jun 2014, 20:54

Change your Porteus version from
Distribution: Porteus V1.1
to v3.0 and try again.

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

Re: Boot a USB Porteus flash drive in a VirtualBox

Post#14 by brokenman » 18 Jun 2014, 23:27

The from= line supplied above will never work.

Code: Select all

from=/dos/livecd/porteus/boot/syslinux/vmlinuz
Your from= line needs to point to the path that contains the porteus folder. That is where the 'Porteus data' is stored.

If you really are still using v1.1 please do as Tome says and upgrade.

As fanthom asked please supply the following command:

Code: Select all

find /dos/livecd/porteus -type f
Also please supply the output of:

Code: Select all

cat /etc/porteus-version
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
Ed_P
Contributor
Contributor
Posts: 3216
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: Boot a USB Porteus flash drive in a VirtualBox

Post#15 by Ed_P » 19 Jun 2014, 01:20

brokenman wrote:The from= line supplied above will never work.

Code: Select all

from=/dos/livecd/porteus/boot/syslinux/vmlinuz
Your from= line needs to point to the path that contains the porteus folder. That is where the 'Porteus data' is stored.
Oh! Good Grief. Yes. :oops: Sorry Softysman, I'm use to booting ISOs.

Try this instead:

Code: Select all

title PORTEUS
find --set-root /dos/livecd/porteus/boot/syslinux/initrd.xz
kernel /boot/syslinux/vmlinuz from=/dos/livecd/ copy2ram login=root 
initrd /boot/syslinux/initrd.xz
As fanthom asked please supply the following command:

Code: Select all

find /dos/livecd/porteus -type f
Also please supply the output of:

Code: Select all

cat /etc/porteus-version
He's building the menu in Windows not Porteus brokenman. As such try in a Command Prompt these commands:

Code: Select all

dir  c:\*.
dir  c:\dos\*.  /s
dir  c:\dos\*.sgn  /s
and post the output.
Ed

Post Reply