Posts

Showing posts with the label Benelix

[Level 3] Create Belenix on USB stick

It's very easy to install Belenix on a USB stick. Open a terminal on Belenix, and then execute the command 'usbdump'. At this time, the script will part the USB then install grub on it. The following script is that modified from usbdump. 1. uncompress_microroot.sh uncompress the mircroroot archieve and mount it on/tmp/microroot. 2. compress_microroot.sh compress the /tmp/mircroroot and archieve it on USB stick. 3. init_belenix.sh Initialize Belenix, it will execute the script uncompress_microroot.sh and compress_microroot.sh Because Belenix cannot regonize my Ethernet card, so I add the setting on file [archive dir]/etc/driver_alias and [archive dir]/boot/solaris/devicedb/master. PS. My shellwill create backup flag file for DR. ##---------------------------------------------{compress_microroot.sh} #!/usr/bin/bash -x sNow=`date "+%Y%m%d%H%M%S"` sTmpDir=/tmp sTmpMicroRoot=$sTmpDir/microroot sTmpRootFile=$sTmpDir/x86.microroot sUSBDir=/.cdrom s...