Skip to content

XceptN’s Tech Stuff

All About Tech

Month: September 2008

gawk – use semicolon as delimiter

semicolon (;) is a shell directive.. So you need to escape it with \     awk -F\; ‘{ print $2 }’ file1

linux

gawk – print last field

awk -F: ‘{ print $NF }’ file

linux

The grep OR operator

I keep forgetting this:   grep “Word\|Crack” ….

linux

New J2ME Project: GPSVoiceTag

I have started to a new J2ME Project: GPSVoiceTag. That is especially for OSM data generation I needed to collect many frequent tags:

gps

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” »

OracleVM

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?” »

storage

Xen Kernel Hangs booting Dom0 at Relinquishing VGA console

Xen Kernel Hangs booting Dom0 at Relinquishing VGA console Any kernel I have tested from fedora since 2.6.23 had this issue .. Need some time to really work on it ..

xen

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: />>…

Read More “TURKCELL WAP Settings on MotoROKR E6” »

rokr e6

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…

Read More “TURKCELL MMS Settings on MotoROKR E6” »

mms

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” »

network

Posts pagination

1 2 … 6 Next

Copyright © 2025 XceptN’s Tech Stuff.

Powered by PressBook Masonry Dark