Debian 6 live USB flash drive
I got this from different locations and put the pieces together until I came up with the 10 step solution. Note that you need a running Linux in order to perform the given tasks. I don't know about Windows or MacOS. I will only pin down the several steps. I will not explain how to perform the single tasks. These are computer basics and you should know them already, otherwise: Google is your friend.
You should get any debian-6.0*.iso you like as bootable on an USB flash drive with this steps, as long as the flash drive is big enough for the contents of the iso and you know how to transfer the steps for your desired *.iso. I used the live-gnome one.
1. Format your USB flash drive with FAT16
2. Download your favorite debian*.iso via torrent from the debian site.
3. Extract the contents of the debian*.iso to your flash drive (yeah, extract. With an archiv manager or else.)
On your Flash Drive:
4. rename the folder isolinux to syslinux
5. open syslinux and rename isolinux.cfg to syslinux.cfg
6. open syslinux.cfg, stdmenu.cfg and exithelp.cfg in an editor and change any isolinux to syslinux
In a terminal:
8. run install-mbr /dev/sdX just to make sure, the stick has a mbr to boot from (X stands for the letter of your flash drive.)
9. run syslinux /dev/sdX1 to install a simple bootloader
10. create a file syslinux.cfg on your stick and put following lines into it (if you want to start any other kernel than the live one, you may change it):
default live/vmlinuz append initrd=live/initrd.img
Now boot from the stick. When Prompted "MBR FA:" press a, when promp
[...]weiterlesen & kommentieren... 0 Kommentare
HTML 5 the future happens now
Beside my university lectures I read a lot about HTML5 the past weeks. I want to share some findings with you.
So what is all the fuss about HTML5, it is like HTML 4 just newer, right? Wrong.
HTML5 is a set of technologies including JavaScript, CSS3, HTML and techniques like AJAX, enabling the developers to make apps that behave like desktop applications. It's able to make native use of your hardware (e.g. sensors on your mobile phone), play videos and audio without the need of 3rd party products like flash, develop offline applications and, imho most important possibility, build applications that work on every HTML5 compatible device or every device that can run a Webrowser. Desktop PC's, Laptops, PDA's, smartphones, Apple, Microsoft, Linux. The boundaries for cross-platform applications are falling with HTML5
technology. If you want to look at a nice picture to visualize the core HTML5 improvements, take a look at 'WTF is HTML5? and why we all should care'. I like it. To get a more impressive inside, take a look at the Chrome Experiments website.I went through all the recommended websites on http://www.w3.org/html/logo/ and I want to present some delightful sightings.
Internet Explorer compatibility
Internet Explorer, the most commonly used Webrowser (~60% of users), does not support HTML5 and CSS3 in a full extend. Newer Versions will do of course, but what is with all these IE 6,7 and 8 users that still exist?
Here is a solution to the problem: Google Chrome Frame is kind of a plugin for older versions of Internet Explorer that is especially designed to support these old browsers with HTML5 functionalities. All you have to do as a developer is to add a meta tag to your website and your IE users are just 2 clicks away from the HTML5 experience and your web-application can still be cutting edge and state-of
[...]weiterlesen & kommentieren... 3 Kommentare
VirtualBox mouse problem in ubuntu 10.10
Sometimes it really drives you nuts.
Recently I had this problem (recently? since 10.04!): When trying to work with Windows in VirtualBox, it happened that the mouse pointer was not working for 2-3 seconds every 30 seconds. Obvious that you cannot work with such behaviour, so I did not for quite a time now and booted into windows if I needed it.
Google search did not bring a solution. Nobody seems to have this problem, so what now? Reinstall the box? Setting up a new windows? No.
The solution was easy in the end. I just looked at the german ubuntu user guide and found out that you need to do some extra work in order to get usb devices running like expected, if you have problems. Since my Logitech laser mouse is an usb device, I tried the upcoming solution and it worked!
As advised I set up a directory like this:
sudo mkdir /mnt/vm-usb
I found out that the 'id' command does not show the vboxusers id, so I had to get the id of the group like this:
cat /etc/group | grep vboxusers
After I had the id of the vboxusers group (124 in my case) I opened the fstab file,
sudo gedit /etc/fstab
and replacing <id vboxusers> with 124 (id of the group on my system) I inserted this information at the end of fstab:
# usb nach virtualbox durchschleifen none /mnt/vm-usb usbfs noauto,devgid=<id vboxusers>,devmode=664 0 0
after restarting Windows in the Virtual Box, mouse worked fine and seamless.
weiterlesen & kommentieren... 0 Kommentare
ALPS Touchpad Scrolling support
Since I loose vertical scrolling support, every time I update the kernel and have to patch it again, I write a small "How-To".
This is for my Dell Latitude E5410 ALPS Touchpad, which have a lot of problem, not only on Dells. Simply because ALPS is very, very closed regarding open drivers or specifications (what makes no commercial sense, since they earn money with selling hardware, not with selling drivers for it).
This experience, however, forces me to not buy any Laptop with ALPS hardware anymore in the future. If you are a linux user and want to buy a new Laptop, ask your hardware vendor what Touchpad is used in your laptop. Do NOT buy machines with ALPS hardware or you will get problems with it.
This How-To is for ubuntu maverick (10.10) 32bit and the generic 2.6.35 Kernel. If you want to patch other kernels you have to search or the appropriate patch, compiled against your kernel, in the bugreport or patch and compile the psmouse.ko module by yourself.
Now to the task:
Backup the original psmouse module. You might end up with no mouse support at all after patching and want to undo the changes.
sudo cp /lib/modules/`uname -r`/kernel/drivers/input/mouse/psmouse.ko /lib/modules/`uname -r`/kernel/drivers/input/mouse/psmouse.ko.backup
Now download the psmouse.ko module from https://bugs.launchpad.net/ubuntu/+source/linux/+bug/550625/comments/194.
The patch disables clicks when tabbing on the touchpad (this
feature is annoying if you are writing text directly on the laptop
and your arm accidentally tabs the touchpad) and enables vertical
scrolling on 2.6.35 gerneric 32bit Kernels.
If you want to patch other kernels you have to search for the
appropriate patch in the bugreport or patch
and compile the psmouse.ko module by yourself.
If you have your correct psmouse.ko fi
[...]weiterlesen & kommentieren... 0 Kommentare
Definition written
My Project Definition Report is finally good to go... Gosh, how much pain for 10% of the final project mark... I just wanna program!
Now my only problem is to get up early tomorrow, print it out again and hand it in, before the shutter closes. ->Bed now
weiterlesen & kommentieren... 0 Kommentare