Page 1 of 1
Boot a USB Porteus flash drive in a VirtualBox
Posted: 03 Jun 2014, 00:03
by sean
I understand Oracle does not allow USB boots with VirtualBox. (Y/N?) Has anyone booted a USB Porteus flash drive in a VirtualBox?
Sean
Re: Boot a USB Porteus flash drive in a VirtualBox
Posted: 03 Jun 2014, 01:42
by brokenman
Re: Boot a USB Porteus flash drive in a VirtualBox
Posted: 03 Jun 2014, 02:56
by sean
Thanks brokenman,
Bedtime here now, so I'll check those links in the morning.
Hope you are doing well,
Sean
Re: Boot a USB Porteus flash drive in a VirtualBox
Posted: 17 Jun 2014, 20:28
by Softysman
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
Re: Boot a USB Porteus flash drive in a VirtualBox
Posted: 17 Jun 2014, 20:42
by tome
Try:
Look at .../boot/docs/cheatcodes.txt file.
Re: Boot a USB Porteus flash drive in a VirtualBox
Posted: 17 Jun 2014, 20:57
by Softysman
Now i have a erros is say Porteus data not found.
Re: Boot a USB Porteus flash drive in a VirtualBox
Posted: 17 Jun 2014, 22:46
by Ed_P
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.
Re: Boot a USB Porteus flash drive in a VirtualBox
Posted: 17 Jun 2014, 23:56
by brokenman
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.
Re: Boot a USB Porteus flash drive in a VirtualBox
Posted: 18 Jun 2014, 11:40
by Softysman
I do the from cheat code and when i do the boot he says "from= is incorrect"
Re: Boot a USB Porteus flash drive in a VirtualBox
Posted: 18 Jun 2014, 12:41
by fanthom
please show me the output of following command:
thanks
Re: Boot a USB Porteus flash drive in a VirtualBox
Posted: 18 Jun 2014, 13:32
by Ed_P
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
Re: Boot a USB Porteus flash drive in a VirtualBox
Posted: 18 Jun 2014, 18:51
by Softysman
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.
Re: Boot a USB Porteus flash drive in a VirtualBox
Posted: 18 Jun 2014, 20:54
by tome
Change your Porteus version from
Distribution: Porteus V1.1
to v3.0 and try again.
Re: Boot a USB Porteus flash drive in a VirtualBox
Posted: 18 Jun 2014, 23:27
by brokenman
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:
Also please supply the output of:
Re: Boot a USB Porteus flash drive in a VirtualBox
Posted: 19 Jun 2014, 01:20
by Ed_P
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.
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:
Also please supply the output of:
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.