PDA

View Full Version : [ubuntu] Trying to use 9.04 UNR .img in Vbox


jaqrah
April 19th, 2009, 08:31 PM
I don't know if I have missed a step or have blundered in some other way but I cannot get 9.04 UNR .img to boot in Virtualbox.

Has anybody else tried this and succeeded? Any help would be appreciated.

Thank Jaq

anjilslaire
April 20th, 2009, 01:29 AM
I Haven't tried in VBox, just in real hardware, but try this:
1. Use Imagewriter to write the .img to a usb flash drive.
2. Launch VirtualBox, mount the usb drive and boot from it.

jaqrah
April 20th, 2009, 01:53 AM
I was trying to avoid that route but so be it.

Thanks

karimone
April 20th, 2009, 01:56 AM
I don't know VirtualBox 'cause I use always Parallels, but I think that boot from the .img as a CD isn't possible. Could you "attach" the img at your virtual machine as virtual hard disk?

anjilslaire
April 20th, 2009, 02:33 AM
I was trying to avoid that route but so be it.

Thanks

Here's a wild thought:
Do as I mentioned. write it to a real usb, but then create an ISO of the functional usb stick. Then you can restore your usb to a normal state, and mount the ISO as needed.

No idea if that will work, though.

dcstar
April 22nd, 2009, 03:42 AM
I don't know VirtualBox 'cause I use always Parallels, but I think that boot from the .img as a CD isn't possible. Could you "attach" the img at your virtual machine as virtual hard disk?

Yep, it is not an .ISO CD/DVD format image it is a special USB boot image.

If the VM BIOS can be set to boot off a USB drive then it should boot and install as per "real" hardware.

karimone
April 22nd, 2009, 03:52 AM
If the VM BIOS can be set to boot off a USB drive then it should boot and install as per "real" hardware.

Yes, but he can also use the img as hard disk on the VM and boot from there.

jaqrah
April 22nd, 2009, 04:22 AM
karimone

Yes, but he can also use the img as hard disk on the VM and boot from there.

Unfortunately, no I cannot. Vbox does not recognize the .img as a legitimate hard drive.

And Vbox does not allow for booting from USB devices.

Can I just load 9.04 and then enable UNR packages?

Or (infinitely more complicated) in Vbox Xp guest install daemontools and mount the image in a virtual drive and install from the image drive?? Is that even remotely possible? I know it would repartition the Xp host but it seems like an interesting possibility albeit very time consuming.

Thanks for help and suggestions so far.

karimone
April 22nd, 2009, 04:27 AM
Unfortunately, no I cannot. Vbox does not recognize the .img as a legitimate hard drive.


Maybe there are some tools for converting the file in something that Vbox can handle.

jaqrah
April 22nd, 2009, 05:18 AM
Tried img to iso conversion app...it doesn't work. File type of img is not supported. Tried renaming img to iso. No luck.:confused:

I am not beat yet. Will keep trying.:-k

superbubba
May 6th, 2009, 11:20 AM
Convert the IMG file into a VDI disk image with VBoxManage:

$ VBoxManage convertdd jaunty-netbook-remix-i386.img jaunty-netbook-remix-i386.vdi

jaqrah
May 6th, 2009, 04:39 PM
Superbubba

Nice job...I will give it a try tonight when I get home from work.

=D> Grazie

karimone
May 6th, 2009, 04:41 PM
Grazie?! Ma arrivi dallo stivale? Anche tu italiano all'estero?

jaqrah
May 6th, 2009, 05:00 PM
Grazie?! Ma arrivi dallo stivale? Anche tu italiano all'estero?

:lolflag: When I ran that through Babelfish, it provided a confusing translation: it arrives from the boot? what does that mean? ;)

karimone
May 6th, 2009, 05:09 PM
:lolflag: When I ran that through Babelfish, it provided a confusing translation: it arrives from the boot? what does that mean? ;)

I read your "Grazie" on the signature than I thought you are italian. The "boot" (Stivale) in another name of Italy, 'cause if you look Italy from the Google Maps, you can see that have the shape of a boot... :-) :)

floborg
May 6th, 2009, 08:34 PM
Way easier approach: just enable the virtual floppy and mount the IMG there. :P

jaqrah
May 7th, 2009, 03:34 AM
Way easier approach: just enable the virtual floppy and mount the IMG there. :P

Unfortunately, this did not work. Returned BOOT ERROR


superbubba
Re: Trying to use 9.04 UNR .img in Vbox
Convert the IMG file into a VDI disk image with VBoxManage:

Code:

$ VBoxManage convertdd jaunty-netbook-remix-i386.img jaunty-netbook-remix-i386.vdi



This did work.

1. Convert .img to jaunty-netbook-remix-i386.vdi
2. Create NEW machine in Vbox including a new harddrive (I named it Ubuntu 9.04 UNR.)
3. Finish creating NEW machine.
4. Settings>Harddisk remove Ubuntu 9.04 UNR (or whatever name you might choose) as the IDE Primary Master. Attach jaunty-netbook-remix-i386.vdi as the IDE Primary Master. Re-attach Ubunt 9.04 UNR as IDE Primary Slave.
5. Start the machine. Install Ubuntu. It will give you option to repartition and install on Ubuntu 9.04 UNR. When done installing, it require reboot. reboot. when it comes back up to main install screen close the machine, forcing it to quit.
6. Settings>Harddisk detach both .vdi's. Re-attach Ubuntu 9.04 UNR as IDE Primary Master.
7. Re-start the machine and I was ready to rock and roll UNR!

Superbubba...thank you!

Sadly...UNR is so slow...so painfully slow and buggy.