These are the steps to install anvil:
- install ruby by sudo aptitude ruby-full rubygems
- update the gem by sudo gem update --system
- sudo gem install anvil --include-dependencies
I am writing this blog as my Linux system administration notes. Hope it will help those who have encountered the same problems I have met and solved.
/usr/bin/gem:23: uninitialized constant Gem::GemRunner (NameError)when I run it.
Error: Invalid partition table. Must specify --floppy explicitly for floppy.I was wondering what was wrong and it took me several hours in finding the answer on google. However I could not find an answer to this problem.
BOOTLACE writes GRLDR BOOT RECORD to MBR or to the boot area of a file system.
Usage: bootlace.com [OPTIONS] DEVICE_OR_FILE
Options: --read-only, --floppy[=N], --boot-prevmbr-first, --boot-prevmbr-last,
--no-backup-mbr, --force-backup-mbr, --mbr-enable-floppy, --mbr-disable-floppy,
--mbr-enable-osbr, --mbr-disable-osbr, --duce, --time-out=T, --hot-key=K,
--preferred-drive=D, --preferred-partition=P, --sectors-per-track=S, --heads=H,
--start-sector=B, --total-sectors=C, --install-partition=I, --lba, --chs,
--fat12, --fat16, --fat32, --vfat, --ntfs, --ext2
DEVICE_OR_FILE: Filename of the device or image. For DOS, a BIOS drive number
(in hex 0xHH or decimal DDD format)can be used to access the drive.
gnome_screensaver_control( )It seems there is no Xvideo support for your video card available.
Run 'xvinfo' to verify its Xv support and read DOCS/HTML/en/video. html#xv!
See 'mplayer -vo help' for other (non-xv) video out drivers. Try -vo x11
Error opening/initializing the selected video_out (-vo) device.
Section "Device"
Identifier "Configured Video Device"
Driver "fglrx"
Option "PowerState" "1"
Option "OpenGLOverlay" "off"
Option "TexturedVideo" "on"
BusID "PCI:1:0:0"
EndSection
sudo aptitude install intltool libglibmm-2.4-1c2a libglibmm-2.4-dev libxml2 libxml2-dev libgtkmm-2.4-dev libglademm-2.4
tar xf gmlive-0.20.3.tar.bz2
cd gmlive-0.20.3
./configure
make
sudo make install
# mount a raw qemu disk image 'disk.img' to /mnt
sudo mount -o loop,offset=32256 disk.img /mnt
# convert image format
qemu-img convert -f qcow disk.img -O raw disk.raw
#use qemu-img infoto get the virtual disk format information
qemu-img info disk.img
image: disk.img
file format: raw
virtual size: 1.0G (1073741824 bytes)
disk size: 866M
# USB for vmware
none /proc/bus/usb usbfs devgid=46,devmode=664 0 0
#
# Magic to make /proc/bus/usb work
#
mkdir -p /dev/bus/usb/.usbfs
domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
ln -s .usbfs/devices /dev/bus/usb/devices
mount --rbind /dev/bus/usb /proc/bus/usb
sudo apt-get install build-essential linux-headers-`uname -r` xinetd ia32-libs
cd /usr/src
sudo tar xzf /tmp/VMware-server-1.0.6-91891.tar.gz
cd vmware-server-distrib
sudo ./vmware-install.pl
sudo cp /lib/libgcc_s.so.1 /usr/lib/vmware/lib/libgcc_s.so.1
sudo cp /usr/lib/libpng12.so.0 /usr/lib/vmware/lib/libpng12.so.0
sudo ln -s /usr/lib32 /usr/l32
sudo sed -i -e 's:usr/lib/:usr/l32/:g' /usr/lib32/gtk-2.0/2.10.0/loader-files.d/libgtk2.0-0.loaders
sudo sed -i -e 's:usr/lib/:usr/l32/:g' /usr/lib32/libgdk_pixbuf-2.0.so.0.1200.9