Friday, August 29, 2008

Almost Pfff...

But still quite right.
topatoCo, via Bb.

Tuesday, August 19, 2008

Formatting a USB disk on the eee

Having managed to get some of the 50% from the so-called "overhead" on my salary back in the form of a 8 GB USB disk, I decided to partition it into linux and windows partition.

This turned out to be a bit impractical, as you need to be root everytime you want to mount the linux partition. The eee was nice enough to manage to do the repartitioning well (thumbs down for opensuse on this part), but I forgot how I did it, so here I do it the other way around:

Step 1: plug the usb disk in.

If you have a "Kingston DataTraveler 8GB, this might end up to be more difficult than it sounds. More about that in another post.

Step 2: Check /etc/mtab
...
/dev/sdc1 /media/DataTraveler\0402.0/partition1 vfat rw,nosuid,nodev,noexec,fmask=0111,dmask=0000,codepage=cp850,iocharset=utf8,shor
tname=mixed 0 0
...

Obviously, the disk is mounted at /dev/sdc. /dev/sda is the main disk, you don't want to fdisk that, /dev/sdb is a SD card in my case.
-
Step 3: make sure that you are root

I usually do "sudo su", but I guess that is cheating

Step 4: fdisk to delete partitions

fdisk /dev/sdc


it says: press "m" for help. Do that. For example p to print the partition table:

Disk /dev/sdc: 8006 MB, 8006926336 bytes
247 heads, 62 sectors/track, 1021 cylinders
Units = cylinders of 15314 * 512 = 7840768 bytes

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 400 3062769 c W95 FAT32 (LBA)
/dev/sdc2 * 401 1021 4754997 83 Linux


I want to get rid of them both, and make one W95 FAT32 (LBA) partition.
So "d 1", "d" (it sees only one partition and selects it). "w" to write, you WILL SEE warning messages :p

Step 5: fdisk to add partitions

Again:

fdisk /dev/sdc


and p. If all went well, an empty list is shown. If you press "l" you'll see that the partition we had and want again is:

c W95 FAT32 (LBA)


then: "n" for a new partition, "p" for a primary partition, "1" for partition 1, then twice "enter" for the default values. This created a linux partition the size of the disk, so use "t" to change it to disk type "c". Again, write with "w".

Step 6: unmount the disk using umount

DO NOT unmount via the USB icon on the menu bar, that will remove /dev/sdc from your system, and to edit the partitions, you will have to replug your usb disk and umount again anyway. This step could probably better be done earlier on in the process.

Step 7: Make a filesystem with mkfs.

To be able to write stuff to the partition, a filesystem should be installed on the disk. That is done with mkfs, mkfs.vfat for windows disks.

mkfs.vfat /dev/sdc1


Step 8: unmount via task bar, replug

It should mount as usual, check "/etc/mtab" again and "df -h" to see the partition size. Nice.

Burning CDs on the EEE PC with Xandros

This could have been easy! Like, not difficult, and such... However:

Step 1: couple a CD/DVD-writer that is known to work with linux.

I found one at work, about the same size of the EEE by the way, and it at least could read CDs with stuff already on it.

Step 2: Enter a blank disc...

Nothing happened!

Step 3:
Desperately search at online forums.

This lead to me installing all possible gnome burners that couldn't find the disk and the unusable but sort-of-working xcdroast program, from the time that gnome and kde where not really good yet. K3b is not an option because it needs to replace some kde libraries, which will break the special EEE kde completely.


Step 4:
Use the final result from the forum: opening the GUI CDRecAgent via the command line:

CDRecAgent createcd -data /media/MMC-SD/partition1/102_PANA/


Step 5: have your disk burned!

This actually went much faster than expected, and I sort of like the command line input, but really Asus, was it so much more work to add this line to a program you already had pre-installed!!!

Now I need to find out how to deinstall the gnome-shit that I don't use...

Sunday, August 17, 2008

optimizing balconic grilling

29,99 euro at Toom Baumarkt:



In Germany, you write innovation with a capital I.

This amazing device can be also used as a flower pot, for those days where you are not using the grill.

NOTE for prospective buyers: please check your contract to see if and when grilling is allowed on your balcony.

Wednesday, August 13, 2008

The international language

Now that may explain the continuous beating up occurring all the time, everywhere:
xxxx@yyyyyy:~/mcr_md_gmx/melt_kg_142xN10082_s_rings> file mkg142N10082_s_rings_01.cpt
mkg142N10082_s_rings_01.cpt: data or International Language text
I think there was actually some "International language" in there, since...
xxxx@yyyyyy:~/mcr_md_gmx/melt_kg_142xN10082_s_rings> head !$
head mkg142N10082_s_rings_01.cpt
�).3.99_development_20080718Wed Aug 6 17:04:50 CEST 2008
xxxx@yyyyyy AIX 3 00CD35814C00/u/xxxx/gromacs/bin/mdrun_mpi▒Wed Aug 13 15:44:18 2008�\ � CCCA�AG��A���B���AF��A��)B���ACГA���B���A8�PA���B���A1fyA��cB�v�A,�4A��B�|�A#'�A�G-B���A$A��YB�'�A!�A��B�U�AP2A��HB��ZA�&A��>B�^A ��A�.B��^@���A���B�M�@�$TA���B�DB@���A���B���@�▒&A�j�B�H@���A�\�B�dt@�ylA��9B���A0�A���B�G�A��A���B�� Ar�A��JB���@��HA��fB��U@;A���B�9�@���A���B��@� A�ƜB�Sn@�f�A�C5B�|�@��EA� �B�,!@�uA�wB��@�[sA�2�B�@�ȗA��B�i@�Z▒A��XB�)@�,�A���B���@؃UA�HB�}$@�m�A��1B�Y@�F�A{�mB���@���A@ەAl�;B�U�@�f�Apo�B��eAkVAt KB�3�A�$At�7B�.�Ag~A�xB��8AIA�7B���A ��A���B��8AE]A�T?B��A�A�:B�A
@PA��`B��YA��A��IB��]@��fA�\�B�y�@��
A���B��
@��~A�B���@�*�A�R�B��{@�5�A�G B���@��uA�:XB�/i@���A�p�B�\@xAA�G(B��(@��KA�HUB�?�@��BA���B���@��B�L�A��A���B���A5A�7�B�2�A9�A��@B�0UA A�wB�$@�A��RB��@���A�5
k�A�.*B�QA-�A�ڰB���@��aA��B�8p@�*A���B�A�A�@A��9B�>�@���A��EB���@���A��B�JM@���A��JB���@�ÛA�݋B���@��A�▒�B�M>@ԧ�A��B�@� 1A�R�B�tc@���A�!�B���@�&�A��@B��@�%A�NB�>�@�S�A�^B���@�BMA���B���@�A�Z�B��▒@
A��tB�<�@�G�A���B�3�@�D�A�_B���@���A���B���@�A�a^B�KV@�e�A���B��k@�;�A��B���@��9A�+�B�
�@���A���B�PL@��A�71B�'�@��[A��sB��q@�*\A��5B���@�yA��WB�A�@�H�A�*LB���A+�A�!�B�`A��A�Q�B�
pAj�A�u�B�!�A▒^�A�۸B��mA&�PA���B� �A.�HA���B�9�A9�oA��B���AA�BA���B�<�AH˿A�e5B��iAT��A���B���AQ](A�B�aAS��A�xOB���AH`�A���B��eAAĢA�6�B���AC�
A��RB�-#A96"A��B���A0A�
TB�M�A;�hA�T�B���AB�A��aB�b�AI)�A��iB�o�AM�▒A�(PB��.AG��A��

Shit

I suck at puzzles.

The beauty of Google translation

Even better when it does its job right...:

Friday, August 8, 2008

Germany, land of the linux lovers, part 1



Photo found at a dailywtf forum post.

Monday, August 4, 2008

Sunday, August 3, 2008