miniBB: free php bulletin board and forum softwareminiBB: free php bulletin board and forum software 
 - Forums - Statistics - Sign Up - Search -
malaysia-linux.no-ip.org Minux Mini Forum / PROJECT DISCUSSION / Custom Linux Live CD - noGuiX Home Server
<< . 1 . 2 .
Author Message
admin
Admin
# Posted: 15 Sep 2007 14:50 - Edited by: admin


Kernel Compilation - Boot logo

Details :
- boot logo
- new vmlinuz

- load official development
- load kernel sources
- load ncurses
- load qt
- cp new logo -> /usr/src/linux-2.6.16/drivers/video/logo/logo_linu x_clut224.ppm
- $ make bzImage - failed - plz run oldconfig, menuconfig
- $ make menuconfig - success!

Root device is (0, 13)
Boot sector 512 bytes.
Setup is 6879 bytes.
System is 1980 kB
Kernel: arch/i386/boot/bzImage is ready (#1)
Building modules, stage 2.
MODPOST
CC drivers/base/firmware_class.mod.o
LD [M] drivers/base/firmware_class.ko
CC drivers/net/dummy.mod.o
LD [M] drivers/net/dummy.ko
CC drivers/net/s2io.mod.o
LD [M] drivers/net/s2io.ko
CC drivers/scsi/dpt_i2o.mod.o
LD [M] drivers/scsi/dpt_i2o.ko
CC drivers/scsi/ipr.mod.o
LD [M] drivers/scsi/ipr.ko
CC drivers/scsi/sata_sis.mod.o
LD [M] drivers/scsi/sata_sis.ko
CC drivers/scsi/sata_sx4.mod.o
LD [M] drivers/scsi/sata_sx4.ko
CC drivers/usb/input/touchkitusb.mod.o
LD [M] drivers/usb/input/touchkitusb.ko
CC drivers/usb/misc/cytherm.mod.o
LD [M] drivers/usb/misc/cytherm.ko
CC drivers/usb/misc/phidgetservo.mod.o
LD [M] drivers/usb/misc/phidgetservo.ko
CC lib/libcrc32c.mod.o
LD [M] lib/libcrc32c.ko

- copy new /usr/scr/linux/arch/i386/boot/bzImage
- paste into /boot(real install) as vmlinuz
- edit /etc/lilo.conf (vga=773)
- $ lilo
- reboot
# - new boot logo successfully loaded

- SUCCESSFULLY TESTED ON NOGUIX HDD REAL INSTALL!!!

admin
Admin
# Posted: 16 Sep 2007 03:09 - Edited by: admin


2nd Kernel Compilation - Boot logo

Details :
- boot logo + text

Steps :
- same as above.

- SUCCESSFULLY TESTED ON NOGUIX HDD REAL INSTALL!!!

admin
Admin
# Posted: 16 Sep 2007 03:18 - Edited by: admin


New iso image + new vmlinuz - TEST 1

- move new vmlinuz(with custom boot logo) to new iso /boot directory
- $ cd /newiso
- $ ./make_iso
- $ reboot
#Failed - kernel panic - syncing : VFS : Unable to mount root fs on unknown-block(0,0)

Google the net and possible problem :
1 - initrd
2 - missing procedure such :
$ make oldconfig
$ make menuconfig
$ make clean
$ make bzImage
$ make modules
$ make modules_install
$ make install

QUOTE FROM REDHAT PAGES
#########"you probably didn't make an initrd or forgot to compile in a key
component you need..."

#########Even if no changes were made to any of the settings, running the make xconfig command (or one of the other methods for kernel configuration) is required before continuing.

#########"make install" in the kernel source tree is a good way to make sure
there is a valid initrd...


STATUS FAILED ON LIVE-CD


admin
Admin
# Posted: 16 Sep 2007 14:28


New iso image + new vmlinuz - TEST 2

$ cp bootlogo - OK
$ make menuconfig - OK
$ make clean - OK
$ make bzImage - OK
$ make modules - OK
$ make modules_install - OK
$ make install - FAILED - /boot is readonly

Root device is (0, 13)
Boot sector 512 bytes.
Setup is 6879 bytes.
System is 1980 kB
Kernel: arch/i386/boot/bzImage is ready (#1)
Building modules, stage 2

"vfs cannot open root devices "ram0" or unknown-block(0,0)
please append a correct "root=" boot option
Kernel panic - not syncing : VFS : Unable to mount root fs on unknown-block(0,0)"

NOTES : obvious problem here, root devices during bzImage creation & error messages are different :

bzimage root devices : (0,13)
error messages kernel panic : (0,0)

STATUS FAILED! TO BE CONTINUED......

admin
Admin
# Posted: 16 Sep 2007 17:52 - Edited by: admin


New iso image + new vmlinuz - TEST 3

-Make a ppm image using gimp < 224 colors -> convert to indexed color -> setting pallete to 220 colors. Image->Mode->Indexed...
-save

**Important when exporting make sure to save as ASCII**
-trying to get old kernel config from initrd.gz
- gunzip ../initrd.gz
- $ mount -o loop ../initrd /mnt/init - Failed!!!
ioctl: LOOP_SET_FD: Invalid argument
- move around initrd to other partion & remount - OK!

$ cp new logo as logo_linux_clut224.ppm
$ zcat /proc/config.gz > .config
$ make bzImage

LD vmlinux
SYSMAP System.map
SYSMAP .tmp_System.map
AS arch/i386/boot/bootsect.o
LD arch/i386/boot/bootsect
AS arch/i386/boot/setup.o
LD arch/i386/boot/setup
AS arch/i386/boot/compressed/head.o
CC arch/i386/boot/compressed/misc.o
OBJCOPY arch/i386/boot/compressed/vmlinux.bin
GZIP arch/i386/boot/compressed/vmlinux.bin.gz
LD arch/i386/boot/compressed/piggy.o
LD arch/i386/boot/compressed/vmlinux
OBJCOPY arch/i386/boot/vmlinux.bin
HOSTCC arch/i386/boot/tools/build
BUILD arch/i386/boot/bzImage
Root device is (0, 13)
Boot sector 512 bytes.
Setup is 7263 bytes.
System is 2874 kB
Kernel: arch/i386/boot/bzImage is ready (#1)

SUCCESSFULLY TESTED, IMPLEMENT INTO NOGUIX AS NEW BOOT LOGO.

noGuiX new  boot logo

admin
Admin
# Posted: 18 Sep 2007 18:25 - Edited by: admin


Next coming noGuiX with "icewm" Desktop Manager

icewm desktop manager

Steps 1 Installation & startup icewm :
- get icewm.tgz
- convert icewm.tgz to .mo
- touch .xinitrc
- vi .xinitrc --- exec icewm
- startx

Steps 2 Basic Configuration (Menu)
- mkdir /root/.icewm
- cp config from global
- toolbar ----> toolbar menu
- key ----> short keyboard key (ctrl+alt+f=firefox)

Steps idesk (Desktop Icon Manager)
- get idesk.tgz
- get idesktool.tgz
- get imlib2.tgz
- convert all 3 .tgz to .mo & install it
- create .idesktop dir into /root
- start idesk
- start idesktool to configure icon on desktop
- icon location = /usr/share/idesk/icon

SUCCESSFULLY TESTED ON noGuiX Home Server Edition.

<< . 1 . 2 .
This topic is closed. You can't post a reply.