Mounting an LVM Logical Volume in an Oracle VM Disk Image
# losetup /dev/loop0 System.img# kpartx -a /dev/loop0# ls -l /dev/mapper/loop0*brw-rw—- 1 root disk 253, 0 Jul 14 19:57 /dev/mapper/loop0p1brw-rw—- 1 root disk 253, 1 Jul 14 19:57 /dev/mapper/loop0p2 # file -s /dev/mapper/loop0p2/dev/mapper/loop0p2: LVM2 (Linux Logical Volume Manager) , UUID: 7zKduhTHsMa3YD3t2gocYKUDGRP5QvW # vgscan Reading all physical volumes. This may take a while… Found volume group “VolGroup00”…
Read More “Mounting an LVM Logical Volume in an Oracle VM Disk Image” »
Is there a way to somehow mount a (shutdown) Xen disk image and browse files?
Yes .. Many .. One is# losetup /dev/loop0 System.img# kpartx -a /dev/loop0 # ls -l /dev/mapper/loop0* brw-rw—- 1 root disk 253, 0 Jul 14 18:53 /dev/mapper/loop0p1brw-rw—- 1 root disk 253, 1 Jul 14 18:53 /dev/mapper/loop0p2# mount /dev/mapper/loop0p2 /mnt Another is # fdisk -l -u System.img… Device Boot Start End Blocks Id SystemSystem.img1 * 63 208844…
Read More “Is there a way to somehow mount a (shutdown) Xen disk image and browse files?” »
TURKCELL WAP Settings on MotoROKR E6
Select Menu -> Setup -> Data networkSelect Menu -> NewEnter data: />> Profile name: TCELL WAP />> APN: wap />> Username: gprs />> Password: gprs />> Primary gateway IP: 212.252.234.168 />> Port: 8080Other values are to be left as default.Select Save Select Menu -> BrowserSelect Manu -> Setup -> ProfilesSelect Menu -> NewEnter data: />>…
TURKCELL MMS Settings on MotoROKR E6
Select Menu -> Setup -> Data networkSelect Menu -> NewEnter data: />> Profile name: TCELL MMS />> APN: mms />> Username: mms />> Password: mms />> Primary gateway IP: 212.252.169.217 />> Port: 8080 Other values are to be left as default.Select Save Select MessagesSelect Menu -> Service Setup -> Multimedia MessageTap to the right of…
Xen: How to define the boot order for HVM in vm.cfg
This is done by the boot paramer in vm.cfg. The switches are: * floppy (a) * hard disk (c) * Network (n) * CD-ROM (d) If you use boot = ‘n’ it will be stuck at PXE boot even if there is no dhcp lease and guest will not attempt boot from the Virtual Disk….
Read More “Xen: How to define the boot order for HVM in vm.cfg” »
USB TV BOX
Just got a noname MODEL:USB2.OBOX (or 0BOX?) and attached to my D630 running EL5U2 (i386).. Attaching gives Jul 30 13:19:55 localhost kernel: usb 2-1: new high speed USB device using ehci_hcd and address 7Jul 30 13:19:55 localhost kernel: usb 2-1: configuration #1 chosen from 1 choice in messages and got a brand new Bus 002…
A basic LVM Setup
# fdisk -l Disk /dev/hda: 4294 MB, 4294967296 bytes255 heads, 63 sectors/track, 522 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/hda1 * 1 13 104391 83 Linux/dev/hda2 14 522 4088542+ 8e Linux LVM Disk /dev/hdb: 4294 MB, 4294967296 bytes255 heads, 63 sectors/track, 522 cylindersUnits = cylinders…