-
Posts
3 -
Joined
-
Last visited
Posts posted by bl0ndynek
-
-
Actually I boot from usb in VirtualBox it's go like this:
my usb is format as one partition fat32.
i got grub2 on it
pendrive is sdb
1. unmount pendrive
sudo umount /dev/sdb1
2.Changed permissions
sudo chmod 777 /dev/sdb1 sudo chmod 777 /dev/sdb
3. Created rawdisk:
VBoxManage internalcommands createrawvmdk -filename ~/mnt/new_usb.vmdk -rawdisk /dev/sdb -register
4. Set permissions for new_usb.vmdk
sudo chmod 777 /dem/mnt/new_usb.vmdk
and now when I mount in VirtualBox new_usbvmdk as disk, umount pendrive in USB section
And it works :]
I use VirtualBox PUEL but I think that normal VirtualBox shuld work.
For use just make changes in grub.cfg, copy iso to pendrive. unmount run VirtualBox and test :)
-
Does any one know the grub.cfg (grub2) for Kon-Boot ??
Test your Multipass in a Virtual Machine!
in USB Multipass
Posted
I don't make any image. This is the Linux way. When you plug pendrive into linux machine it shows as /dev/sdx
(where 'x' is {a,b,...}) so I actually mount device not an image. What I'm doing is just make any one (in this VirtualBox) can write and read from it and generate vmdk file for it (It's little file some KB, where my pendrive is 8GB). Anyway, I do it just once. As long as my pendrive is showing in my system as /dev/sdb I don't have to generate new vmdk file. Just make changes on pendrive and run VirtualBox.
One thing when I make changes ofcourse I have to mount somewhere my device(or hal do it for me),but when I want to boot form it in Virtualbox I have to unmount it. And that's it.
I hope now it's more clear and sorry for my English it's not my native language