Evaggelos Balaskas - System Engineer

The sky above the port was the color of television, tuned to a dead channel

Blog
Posts
Wiki
About
Contact
rss.png twitter linkedin github gitlab profile for ebal on Stack Exchange

Next Page »
  -  
« Previous Page
Apr
06
2012
ebalaskas: In 1993 by Richard…
Posted by ebalaskas timeline at 09:49:55 in microblogging

identica.pngIn 1993 by Richard WM Jones http://ur1.ca/8y2tt

from Updates from ebalaskas on Identi.ca!

Apr
05
2012
Create a 32bit chroot enviroment inside your 64bit archlinux
Posted by ebal at 17:17:15 in blog, planet_ellak, planet_Sysadmin

As you may already know, you can install a 32bit linux distribution into a 64bit machine.

Many people are keep telling me, that they are still using a 32bit installation cause of some (not always opensource) applications which havent yet built up for 64bit kernel.

Lately i came into a same experience, when trying to access my android mobile through a usb, using google’s android platform tool: adb.

Android SDK has only a 32bit flavor.

Many distros support multi-lib (libraries) repositories that you can add to your linux box and use 32bit libs & applications inside your 64bit installation.

Of course this method isnt only for 32bit but also if you want to have different versions of the same shared object and dont want to rebuild your packages.

I find this method a lot messy and i dis-approve setups like that.

The alternative method is to use GNU’s core utility: chroot.

Change root directory (run command or interactive shell with special root directory) is extremely easy to setup. Till now perhaps you have listened that chroot is to jail exposed services, but in fact you can build your own environments for clean development or testing applications or whatever you have thought.

You dont even need to have an extra partition or even reboot your linux box!

The archlinux package manager aka pacman has a “root device” parameter so in fact you can create a new chroot archlinux enviroment like adding a new package in your existing linux box!

With the below script you will setup a new 32bit enviroment into your archlinux machine:


export ROOT=/arch32

mkdir -pv $ROOT/var/cache/pacman/pkg/ $ROOT/var/lib/pacman/

pacman -v --arch i686 -r $ROOT --noconfirm -Sy base

mount --bind /dev $ROOT/dev
mount --bind /proc $ROOT/proc
mount --bind /sys $ROOT/sys

chroot $ROOT

If you need to open gui apps from your chroot env, you must type:


xhost +

from your primarly OS.

Tag(s): archlinux, chroot
    Tag: archlinux, chroot
Apr
05
2012
ebalaskas: Create a #chroot 32bit…
Posted by ebalaskas timeline at 15:22:03 in microblogging

identica.pngCreate a #chroot 32bit environment inside your 64bit #archlinux http://goo.gl/BcAFX

from Updates from ebalaskas on Identi.ca!

Apr
05
2012
ebalaskas: Android NAND dump …
Posted by ebalaskas timeline at 10:29:19 in microblogging

identica.pngAndroid NAND dump # nanddump -f system.yaffs /dev/mtd/mtd3

from Updates from ebalaskas on Identi.ca!

Apr
05
2012
ebalaskas: short presentation about SPICE:…
Posted by ebalaskas timeline at 05:39:20 in microblogging

identica.pngshort presentation about SPICE: http://ur1.ca/8wwvh #virtualization

from Updates from ebalaskas on Identi.ca!

Apr
03
2012
ebalaskas: no i cant! …
Posted by ebalaskas timeline at 21:27:39 in microblogging

identica.pngno i cant! #archlinux encrypt hook looks for a (one) cryptdevice

from Updates from ebalaskas on Identi.ca!

Apr
03
2012
ebalaskas: Can i have two…
Posted by ebalaskas timeline at 21:13:33 in microblogging

identica.pngCan i have two cryptdevices in /boot/grub/menu.lst ?

from Updates from ebalaskas on Identi.ca!

Apr
03
2012
ebalaskas: WORK:
Posted by ebalaskas timeline at 07:54:42 in microblogging

identica.pngWORK: http://ur1.ca/8w6ap

from Updates from ebalaskas on Identi.ca!

Apr
02
2012
ebalaskas: firefox plz let me…
Posted by ebalaskas timeline at 09:57:21 in microblogging

identica.pngfirefox plz let me open this page

from Updates from ebalaskas on Identi.ca!

Apr
02
2012
ebalaskas: The inability to open…
Posted by ebalaskas timeline at 09:51:52 in microblogging

identica.pngThe inability to open an https page through #firefox is starting to get into my nerves. Plz firefox just inform, respect user’s decision.

from Updates from ebalaskas on Identi.ca!

Mar
30
2012
ebalaskas: bash shell cheat sheet:…
Posted by ebalaskas timeline at 09:57:39 in microblogging

identica.pngbash shell cheat sheet: http://ur1.ca/8v0te

from Updates from ebalaskas on Identi.ca!

Mar
28
2012
ebalaskas: almost a month later,…
Posted by ebalaskas timeline at 06:27:13 in microblogging

identica.pngalmost a month later, my new work PC has #UEFI boot #lvm2 #encrypted home #kvm #libvirt #spice (with clipboard sharing) on #archlinux 64bit

from Updates from ebalaskas on Identi.ca!

Mar
26
2012
Fujitsu Siemens Amilo Si 1520 R2
Posted by ebal at 21:55:43 in blog, planet_ellak

I bought this laptop Fujitsu Siemens Amilo Si 1520

http://www.e-shop.gr … .phtml?id=PER.906260

sometime in 2006.

Its amazing. This laptop is keep working almost every day for a lot of hours without any complains.

Only two problems so far:
a. the screen isnt as clear as in the beginning of my trip &
b. the battery seems to be holding just for an hour or so.

I’ve recently figured it out, that the touchpad can identify multi touch events!!!
And i can now scroll up & down using my two fingers.

And even more recently i tested to see if the cpu is 64bit. And it is!!!!
This dual core cpu is working perfectly on 64bit.

I’ve decided last friday to rebuild my current machine to an arch 64bit core distro.
This time i’ve used lvm and converting my sda partitions to logical volumes wasnt pretty!
A lot of hours (in fact after 3 full days) later my current machine has:

  1. winxp home partition
  2. /boot
  3. lvm
    a. rootfs
    b. swap
    c. encrypted home
    etc
    etc
    etc
    other logical volumes.

Just for a moment remember that i bought this laptop back in 2006, but fujitsu inform me that this build is from latest 2005!!!!

I dont have any SSD disk at the moment (i leave testing to other people) but the magic with this laptop is that it can support natively kvm (Virtualization extensions).

I mean thats a good old fashion laptop.

  • 1 comment
Mar
23
2012
ebalaskas:
Posted by ebalaskas timeline at 20:09:44 in microblogging

identica.pnghttp://ur1.ca/8sa2i “Building Spice server on 32-bit machine is not supported”

from Updates from ebalaskas on Identi.ca!

Mar
23
2012
ebalaskas: Open Source Software hosting…
Posted by ebalaskas timeline at 12:23:40 in microblogging

identica.pngOpen Source Software hosting by Microsoft: http://ur1.ca/8s3l6

from Updates from ebalaskas on Identi.ca!

Mar
23
2012
ebalaskas: Top 5 Linux Monitoring…
Posted by ebalaskas timeline at 12:17:55 in microblogging

identica.pngTop 5 Linux Monitoring Tools. Web Based. http://ur1.ca/8s3j4

from Updates from ebalaskas on Identi.ca!

Mar
23
2012
ebalaskas: if you have a…
Posted by ebalaskas timeline at 12:06:52 in microblogging

identica.pngif you have a lot of files with comma separated values and you want to see them more humanly: $ column -x -t -s’,’ * | more

from Updates from ebalaskas on Identi.ca!

Mar
16
2012
Xmarks does not work for most proxy servers
Posted by ebal at 10:31:19 in planet_ellak, planet_Sysadmin

Unfortunately thats a known fact by xmarks it self.

Is there a work around ?

The disable proxy suggestion isnt a solution, especially if you cant access internet directly.

 

In my research for solution and gazillions test i think i’ve figured it out.

 

a. Using proxychains.

  1. Chain your proxy
  2. use:
    export -p LD_PRELOAD=libproxychains.so

    before running firefox (or alter firefox startup script)

works even with an http proxy!

 

b. Using a socks proxy.

Using a socks proxy, xmarks can connect to your custom (or not) webdav server and sync!

 

So if you arent using an http proxy (directly), xmarks will sync.

Evaggelos Balaskas

Tag(s): xmarks, proxychains
    Tag: xmarks, proxychains
Mar
16
2012
ebalaskas: kvm on lvm: …
Posted by ebalaskas timeline at 09:32:07 in microblogging

identica.pngkvm on lvm: # lvcreate -L 5G vg01 -n winxp # kvm -cpu host -m 2048 /dev/vg01/winxp -cdrom winxp.iso -boot d

from Updates from ebalaskas on Identi.ca!

Mar
16
2012
ebalaskas: Xmarks does not work…
Posted by ebalaskas timeline at 08:37:21 in microblogging

identica.pngXmarks does not work for most proxy servers ! Try this: http://ur1.ca/8ot9p

from Updates from ebalaskas on Identi.ca!

Next Page »
  -  
« Previous Page

Search

Admin area

  • Login

Categories

  • blog
  • wiki
  • pirsynd
  • midori
  • books
  • archlinux
  • movies
  • xfce
  • code
  • beer
  • planet_ellak
  • planet_Sysadmin
  • microblogging
  • UH572
  • KoboGlo
  • planet_fsfe

Archives

  • 2025
    • April
    • March
    • February
  • 2024
    • November
    • October
    • August
    • April
    • March
  • 2023
    • May
    • April
  • 2022
    • November
    • October
    • August
    • February
  • 2021
    • November
    • July
    • June
    • May
    • April
    • March
    • February
  • 2020
    • December
    • November
    • September
    • August
    • June
    • May
    • April
    • March
    • January
  • 2019
    • December
    • October
    • September
    • August
    • July
    • June
    • May
    • April
    • March
    • February
    • January
  • 2018
    • December
    • November
    • October
    • September
    • August
    • June
    • May
    • April
    • March
    • February
    • January
  • 2017
    • December
    • October
    • September
    • August
    • July
    • June
    • May
    • April
    • March
    • February
    • January
  • 2016
    • December
    • November
    • October
    • August
    • July
    • June
    • May
    • April
    • March
    • February
    • January
  • 2015
    • December
    • November
    • October
    • September
    • August
    • July
    • June
    • May
    • April
    • March
    • January
  • 2014
    • December
    • November
    • October
    • September
    • August
    • July
    • June
    • May
    • April
    • March
    • February
    • January
  • 2013
    • December
    • November
    • October
    • September
    • August
    • July
    • June
    • May
    • April
    • March
    • February
    • January
  • 2012
    • December
    • November
    • October
    • September
    • August
    • July
    • June
    • May
    • April
    • March
    • February
    • January
  • 2011
    • December
    • November
    • October
    • September
    • August
    • July
    • June
    • May
    • April
    • March
    • February
    • January
  • 2010
    • December
    • November
    • October
    • September
    • August
    • July
    • June
    • May
    • April
    • March
    • February
    • January
  • 2009
    • December
    • November
    • October
    • September
    • August
    • July
    • June
    • May
    • April
    • March
    • February
    • January
Ευάγγελος.Μπαλάσκας.gr

License GNU FDL 1.3 - CC BY-SA 3.0