At the time I’m interessted in embedded Linux. So I would like to learn to build a Linux from scratch, which is similar to http://www.linuxfromscratch.org/. My favourite tool for such a project is VirtualBox. The task is to have a running linux on a virtual image without installing a live CD/DVD like Knoppix or Kubuntu.
1. Virtual Image creation
First I have created a new machine on the VirtualBox with the settings OS “Linux”, Version “Linux 2.6″, 1 GB space and 512 MB RAM.
2. Create a partition
Then I generated a partition with the tool GParted http://gparted.sourceforge.net/download.php.
3. Create iso from Bootloader Grub
Then I needed a bootloader and I choose Grub2 because there are lot of ducmentation http://www.dedoimedo.com/computers/grub-2.html. Furthermore I needed a linux kernel image, which is located at my Kubuntu system (This is of course a virtual image too). I started my virtual “Kubuntu” system, open a terminal and type
$ mkdir iso
$ mkdir -p iso/boot/grub
$ cp /boot/vmlinuz-2.6.35-32-generic iso/boot
$ cp /boot/initrd.img-2.6.35-32-generic iso/boot
$ grub-mkrescue -o grub.iso iso
4. Mount the grub.iso to “Linux 2.6″
Finally I mount the grub.iso to my “Linux 2.6″ image and I got the CLI of grub2 (http://members.iinet.net/~herman546/p20/GRUB2%20CLI%20Mode%20Commands.html).
With
grub> ls -l /boot
I could see that my Linux image and initrd image are available:
DIR grub/
11045094 initrd.img-2.6.35-32-generic
4351376 vmlinuz-2.6.35-32-generic
grub> linux (hd96)/boot/vmlinuz-2.6.35-32-generic root=/dev/sda1 ro
grub> initrd (hd96)/boot/initrd.img-2.6.35-32-generic
grub> boot
And the linux was started from the grub.iso
I find this site useful for compiling the linux kernel Wie man einen Kernel kompiliert – Debian Etch (German).
apt-get install kernel-package libncurses5-dev fakeroot wget bzip2 build-essential
make clean && make mrproper
cp /boot/config-`uname -r` ./.config
make menuconfig
make all
make modules_install
make install
But then my Kubuntu couldn’t find the “yaird” or “mkinitrd.yaird” to tool for installing.
For the Kubuntu system 10.10 it is
mkinitramfs -o /boot/initrd.img-2.6.21.3 2.6.21.3
Hi,
my latest project is the software “Multiple Dicom Compare” on SourceForge.net. It is developed with c++ (Qt Creator and Visual Studio 2008) and Qt 4.7.4.
Link: https://sourceforge.net/projects/mdcmcompare/
I hope this software helps to compare many dicom headers in a comfortable way.
- Thomas
I love the ‘posts-by-tag plugin’ from ‘Sudar’ posts-by-tag plugin.
My favourite usage is to group posts on special pages. So I use the ‘Shortcode’, for example [ posts-by-tag tags = "tag1, tag2" number = "5" excerpt = "true" thumbnail = "false" order_by = "date" order = "desc" author = "false" date = "true" content = "true" tag_links = "false"].
Currently I use it on this page Visual C++ / MFC.
[ posts-by-tag tags = "MFC" number = "1000" date = "true" tag_links = "true" ]
With this article I demonstrate how the communication between ‘document’ and ‘view’ works in a simple MFC program. The requirement of the application is as follows:
http://sysadminslife.blogspot.com/2010/05/mac-os-x-unter-windows-7-mit-virtualbox.html
Von dieser Anleitung hat mir der Tipp von “DerDaniel” geholfen:
DerDaniel hat gesagt…
Gute Anleitung!
Ich hänge auch beim booten von dem Iso Image. Das Empire EFI läuft auch. Es steht dann nur "Press any key to continue..." Ab da geht es nicht mehr weiter. Kann mir jemand helfen?
Ich habe den Intel i3 370M mit 2,3 GHz, 4 Gb Ram und windows 7 64 Bit Home Premium. Diese Magische Eingabe habe ich auch schon Versucht, klappte aber nicht.
24. März 2011 22:09
DerDaniel hat gesagt…
Ich habe grade des Rätsels Lösung gefunden.
Einfach diese EFI runterladen.
http://rapidshare.com/files/454225260/EmpireEFI-1063.zip
Mein Samsung Notepad hat folgende Komponenten: Intel(R) Core(TM) i5 CPU M 520 @ 2.40GHz, 4 GB und auch Windows 7 64 Bit Home Premium. Ich benutze VirtualBox “4.0.10.r72479″.
Ich bin stolzer Besitzer eines iPad 2. Schon nach kurzer Zeit stellte ich mir die Frage, wie man auch ohne iTunes Daten von meinem PC auf das iPad transferieren kann (und vice versa).
Eine Möglichkeit ist auch mit kostenpflichtigen Apps mehr oder weniger auf das Dateisystem zu zugreifen: http://www.netz-online.com/2010/07/28/3-nuetzliche-apps-fuer-den-dateizugriff-mit-dem-ipad/
Oder man kauft Software für den PC: http://www.copytrans.de/purchase.php
Sehr gut gefällt mir die Seite von Günter Born, der viel über den Datentransfer beschreibt: http://www.borncity.com/blog/2011/02/01/test-iphone-explorer-zum-zugriff-aufs-ipad/
The QWinWidget from QtSoftware doesn’t work with QShortcut. See the current status at http://bugreports.qt.nokia.com/browse/QTSOLBUG-65
Die NextGen Galerie Version V1.3.5 – 17.07.2009 bringt die Shutter-Version 1.3.0 mit, welche bei mir nicht funktioniert hatte. Nachdem shutter-reloaded.css und shutter-reloaded.js (Version 2.0.1) ersetzt hatte, klappt der Effekt.
Beispiel mit Shutter-Effekt:
Siehe:
http://www.laptoptips.ca/javascripts/shutter-reloaded/
http://wordpress.org/support/topic/306109?replies=3
VirtualBox
VirtualBox ist neben VMWare und VirtualPC eine Alternative. Es bietet eine gute Netzwerkfunktionalität (Netzwerkbrücke) und der Transfer zwischen Host und Guest (VM-Image) ist auch in Ordnung. Leider hat mich die Snapshot-Funkionalität sehr enttäuscht. Diese kann nur linear arbeiten und das Schlimmste ist das Wiederherstellen von lteren Snapshots. Möchte man dies tun, muss man die neueren Snapshots löschen.
Link: http://www.virtualbox.org/
Our online pharmacy is the perfect resource for people to get their drugs without any hassles or awkwardness. buy cialis We work hard to make sure you save money every time you shop with us. buy levitrabuy soma At our online store, you pay less and get more. buy viagra
Diese Anleitung basiert auf Markus Renschler’s Weblog-Beitrag.
Um den Wechsel von CVS auf Subversion leichter zu machen, gibt es das Tool CVS2SVN. Das Tool ist in Python geschrieben und benötigt einen aktuellen Interpreter. Daneben benötigt man entweder “co” von RCS oder einen CVS-Client. In meinem Fall (Portierung von CVSNT) hat es nur mit diesem CVS-Client funktioniert. Demzufolge muss man auch mit der Windows-Konsole arbeiten. Die Unix-Konsole-Emulation cygwin nutzt hier nichts, weil cygwin nichts mit CVSNT zurechtkommt. Ferner benötigt man das GNU-Tool sort (die Windows-Version gibt es in den CoreUtils for Windows). Von „CoreUtils for Windows“ benötigt man das binaries-Packet. Die fehlenden Dll’s gibt’s bei libintl und libiconv. Die Dll’s verstecken sich im Binaries-Packt im bin-Verzeichnis.
Eigentlich portiert CVS2SVN Repositories einzeln und komplett. Dabei entsteht für jedes Repository nur ein Trunk/Branches/Tags. Möchte man das ganze nach Modulen gegliedert, muss man diese einzeln konvertieren. Dazu holt man die Module einzeln aus den Repositories, kopiert sie an ein sicheres Plätzchen und erstellt jeweils im Modul-Verzeichnis einen Ordner namens “CVSROOT”, damit CVS2SVN das Modul als richtiges Repository anzusehen bereit ist.
Jetzt geht’s los. Zuerst erstellt man aus dem jeweiligen Modul ein Dumpfile:
python C:\Programme\cvs2svn\cvs2svn –use-cvs –dumpfile=C:\Rep\dumpfile.txt –sort=C:\Programme\coreutils\bin\sort.exe c:\Rep\cvs\test
Die Datei dumpfile.txt gilt es nun in SVN zu importieren. Dazu muss man an der entsprechenden Stelle im SVN-Repository zuerst ein Verzeichnis anlegen und einchecken (Im Beispiel: “test” – ich habe das bei meinen paar Modulen einfach mit TortoiseSVN gemacht). Anschließend kann man mit svnadmin den Import starten:
svnadmin –parent-dir test load C:\Rep\svn < C:\Rep\dumpfile.txt
Wenn alles glatt geht – was für meine Module der Fall war – hat man kurz darauf die kompletten CVS-Versionen im SVN-Repository. Cvs2svn berücksichtigt dabei auch Tags und Branches und sorgt dafür, dass die entsprechenden Verzeichnisse unter dem Projektverzeichnis (im Beispiel: “test”) entstehen.

Categories
Tag Cloud
Blog RSS
Comments RSS
Last 50 Posts
Back
Void « Default
Life
Earth
Wind
Water
Fire
Light 