omotto
March 5th, 2008, 12:11 PM
Hi! People!
I'm working with ubuntu 7.10 and nowadays I'm involved in a new project that runs under Linux. I've downloaded the last linux kernel (2.6.23) I've compiled as:
%make xconfig
%make
then I've installed them to test under ubuntu:
%make install
%make modules_install
I've created a new RAM FILE SYSTEM:
%mkinitramfs -o /boot/initrd.img-2.6.23.14 2.6.23.14
I've configured GRUB, writing the menu.lst file or executing the following command:
%update-grub
All right until here!
GRUB boots, kernel runs, the RAM FILE SYSTEM mounts and runs correctly and...
GNOME runs!!!
NOOOO!!!!
Because I want to run my own program (like printf("hello world!\r\);) after the initialization of the modules called by RAM FILE SYSTEM!!!! Not the GNOME!!!
I want the boot program, kernel + modules, initramfs and my program only.
Do you know how to do it?!
Thanks in advance!
I'm working with ubuntu 7.10 and nowadays I'm involved in a new project that runs under Linux. I've downloaded the last linux kernel (2.6.23) I've compiled as:
%make xconfig
%make
then I've installed them to test under ubuntu:
%make install
%make modules_install
I've created a new RAM FILE SYSTEM:
%mkinitramfs -o /boot/initrd.img-2.6.23.14 2.6.23.14
I've configured GRUB, writing the menu.lst file or executing the following command:
%update-grub
All right until here!
GRUB boots, kernel runs, the RAM FILE SYSTEM mounts and runs correctly and...
GNOME runs!!!
NOOOO!!!!
Because I want to run my own program (like printf("hello world!\r\);) after the initialization of the modules called by RAM FILE SYSTEM!!!! Not the GNOME!!!
I want the boot program, kernel + modules, initramfs and my program only.
Do you know how to do it?!
Thanks in advance!