[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

A test case for the gtk frontend



Hi everyone again

here

http://www.swer.it/~attilio.fiandrotti/gtkdfb/d-i.tar.gz

you can download the test case i actually use to develop the gtk fe; here i'll try to explain how to use it.
Shortly, you must launch the debian-installer and then add "on the
fly" some files to the ramdisk filesystem to be able to continue the
installation with the gtk fe.

-Prerequisites
	-Debian netinst cd
	-ps2 mice
	-A vga board supported by the vesa linux framebuffer
-A partition from which to retrieve all the needed files once the debian-instaler has been launched


-Preliminary step
On a working linux installation download

http://www.swer.it/~attilio.fiandrotti/gtkdfb/d-i.tar.gz

and park it somewhere on your hard disk

-Reboot and insert the debian installation cd in the cdrom drive; at the boot prompt type

linux video=vesa:ywrap,mtrr vga=788

to boot in framebuffer mode 800x600

-Choose your language, nation and keyboard; now the kernel modules
needed to access the ide disk and the partition where the d-i.tar.gz is located are being loaded, toghreter with a new libc.so.6.udeb (the one provided at the first stage of the d-i is just a minimal version not fully working); if you feel it configure the network

-return to the main-menu

-press alt+f2 and switch to the busybox console, then type

-mkdir /hd
-mount the partition contining the d-i.tar.gz on /hd  ( on my pc i type
"mount /dev/ide/host0/bus0/target0/lun0/part1 /hd")
-untar the previously saved archive d-i.tar.gz in the / of the busybox, so that the files packed inside are added to those on the ram filesystem of the debian installer (ex: "tar -xvzf /hd/home/attilio/d-i.tar.gz -C /" , if i remember correctly the tar syntax )


then type

export LD_LIBRARY_PATH=/usr/local/lib
export DEBIAN_FRONTEND=Gtk

run dfb_test to launch a simple "hello world" program, useful to
uderstand if gtk over dfb works correctly and then launch
"debian-installer" to start the debian installer with the gtk frontend.

have fun

attilio




Reply to: