Results: Problems
1 According to:
http://wiki.tinycorelinux.com/Custom+Kernel wget
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.33.7.tar.bz2 wget
http://www.kernel.org/pub/linux/kernel/projects/rt/patch-2.6.33.7-rt29.bz2 tar xfj linux-2.6.33.7.tar.bz2
cd linux-2.6.23.1
bzcat ../patch-2.6.33.7-rt29.bz2 | patch -p1
cp ../config-2.6.33.3-tinycore .config
make menuconfig
make bzImage;make modules;make INSTALL_MOD_PATH=/results modules_install firmware_install
I got a new bzImage, new firmware directory and new modules directory
2 According to:
http://wiki.tinycorelinux.com/Remastering sudo mkdir /mnt/tmp
sudo mount tinycore.iso /mnt/tmp -o loop,ro
cp -a /mnt/tmp/boot /tmp
mv /tmp/boot/tinycore.gz /tmp
sudo umount /mnt/tmp
mkdir /tmp/extract
cd /tmp/extract
zcat /tmp/tinycore.gz | sudo cpio -i -H newc -d
--> put my new modules directory instead of one contained on tinycore.gz and
put my new firmware directory (both under /lib in the tinycore.gz)
sudo depmod -b /tmp/extract 2.6.29.1-tinycore
sudo ldconfig -r /tmp/extract
cd /tmp/extract
find | sudo cpio -o -H newc | gzip -2 > ../tinycore.gz
cd /tmp
advdef -z4 tinycore.gz
I got a new tinycore.gz
3 I use an installed grub which I use to load my ubuntu
4 After rebooting a I can load my new tinycore
5 Problems:
First: Not GUI only console
Second: If I stop pressing keys for a couple of minutes the system hangs.
Observations:
When I run lsmod there is NOT a single module loaded.
(why any modules have been loaded? what order they follow to been loaded?)
(where and what configurations files do I need to check?)
I would appreciate if someone can help.
Granaos