OpenSolaris on USB

The Distribution Constructor project includes a few very useful scripts to make the latest OpenSolaris LiveCD build bootable on a USB drive. To get these scripts, download the source by following the instructions here, and naturally, you can only use them on a OpenSolaris build.

Once you got the source, cd to the tools directory and you'll find the usbgen and usbcopy scripts. The usbgen script will convert the OpenSolaris ISO image to a UFS image and modify the GRUB entries.

$ ./usbgen os200805.iso os200805.usb /tmp

Then use the usbcopy script to copy the image to your USB stick.

$ ./usbcopy os200805.usb

This script will format your USB drive, copy the USB content and install GRUB. Once complete, you're good to go! Reboot your system and set your BIOS to allow booting from USB. I used a 2GB USB stick on my Acer laptop and the OpenSolaris boot up in less than a minute and I believe it should be much faster than booting from the CD/DVD. However, the session is not persistent so any configuration and data will be gone once you reboot. I'm now trying to see how I can modify it to have session persistence. Someone has already come up with a script to add this, I will try it soon.

http://blogs.sun.com/anilg/entry/session_persistance_on_indiana_rc2

Comments:

cool
i am want it to be a persistent too
if you know how pls post it

Posted by Peter on July 10, 2008 at 09:50 AM SGT #

Its not working is it because i am runnig ubuntu 8.10. I continue to get a bad and interupter issue

this is my output:

\*\*\*\*@\*\*\*\*-system:~/distro_constructor/tools$ ./usbgen os200805.iso os200805.usb /tmp
bash: ./usbgen: /usr/bin/ksh93: bad interpreter: No such file or directory

Posted by Dillon on April 18, 2009 at 03:18 AM SGT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Melvin Koh

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today