Installing GRUB on a Hard Disk Image File

zz: http://www.omninerd.com/articles/Installing_GRUB_on_a_Hard_Disk_Image_File


Kdevelop project was broken when going to 8.10

zz:https://bugs.launchpad.net/ubuntu/+source/kdevelop/+bug/253286


Redhat 7.3 binary package site

http://packages.sw.be


Qemu 0.10 version compile from source

how to avoid with this error ” KVM support       no - (#error Missing KVM capability KVM_CAP_DESTROY_MEMORY_REGION_WORKS) ”

1. Configure Kernel

 

cd /usr/src/linux-2.6.x

make menuconfig

CONFIG_PARAVIRT_GUEST=y
# CONFIG_XEN is not set
CONFIG_KVM_CLOCK=y
CONFIG_KVM_GUEST=y
CONFIG_PARAVIRT=y
CONFIG_PARAVIRT_CLOCK=y

 

CONFIG_HAVE_KVM=y
CONFIG_VIRTUALIZATION=y
CONFIG_KVM=m
CONFIG_KVM_INTEL=m
CONFIG_KVM_AMD=m
CONFIG_VIRTIO=y
CONFIG_VIRTIO_RING=y
CONFIG_VIRTIO_PCI=y
CONFIG_VIRTIO_BALLOON=y

 

then compile kernel,and use the new kernel

2.download kvm source from kvm homepage.

./configure –prefix=/usr  –disable-sdl –disable-gfx-check

make

make install

3.download qemu 0.10 from homepage

./configure –prefix=/usr –enable-system –disable-gfx-check –enable-linux-user  –disable-sdl –kerneldir=/usr/local/src/kvm-84/kernel/

make

make install

then work


ubuntu china apt server

http://wiki.ubuntu.org.cn/index.php?title=Template:8.10source&variant=zh-cn

that’s great


centos Yum update repositories

http://centos.ustc.edu.cn/centos/

 

 
# URL: http://www.centos.org

### CentOS-4 APT older rpms repositories
#rpm http://centos.ustc.edu.cn centos/4/apt/i386 os addons updates extras
#rpm  http://centos.ustc.edu.cn centos/4/apt/i386  contrib centosplus cfgfs

### CentOS-4 APT repomd repositories
repomd http://centos.ustc.edu.cn centos/4/os/i386
repomd http://centos.ustc.edu.cn centos/4/addons/i386
repomd http://centos.ustc.edu.cn centos/4/extras/i386
repomd http://centos.ustc.edu.cn centos/4/updates/i386
repomd http://centos.ustc.edu.cn centos/4/fasttrack/i386
#repomd http://centos.ustc.edu.cn centos/4/centosplus/i386
#repomd http://centos.ustc.edu.cn centos/4/contrib/i386
#repomd http://centos.ustc.edu.cn centos/4/csgfs/i386


sniffer portable 4.9

eval version

 

http://www.networkgeneral.com/registered/SnifferEval/SnifferPro_4_90_105.exe


How To Resize (expand) QEMU qcow/qcow2/raw Disk Images

http://tjworld.net/wiki/Howto/ResizeQemuDiskImages


mount raw file image

zz: http://equivocation.org/node/107

 

Basically you “simulate” a block device /dev/loop0 for your file with the command:

# losetup /dev/loop0 /var/vms/image.raw

Then all than needed is to use kpartx to map partitions to devices you can finally mount:

# kpartx -av /dev/loop0

# ls -alF /dev/mapper
brw-rw—- 1 root disk 253, 4 2007-11-24 14:56 loop0p1
brw-rw—- 1 root disk 253, 5 2007-11-24 14:56 loop0p5

# mount /dev/mapper/loop0p1 /mnt/MyFileSystem


fsck.ext3: Filesystem has unsupported feature(s)

compare fs features

tune2fs  -l  /dev/sdb1     format with  ubuntu 8.1

tune2fs -l /dev/targetfs  redhat ext3 7.3

 

 

change features on sdb1 for compatible with redhat 7.3 ext3 fs

debugfs -w /dev/sdb1
debugfs 1.40.8 (13-Mar-2008)
debugfs:  features -ext_attr -resize_inode -dir_index +large_file +needs_recovery
Filesystem features: has_journal filetype needs_recovery sparse_super large_file
debugfs:  quit



Next Page »