can i get the dsl specific linuxrc file somehwere?


Forum: HD Install
Topic: can i get the dsl specific linuxrc file somehwere?
started by: mark_one

Posted by mark_one on Nov. 22 2005,14:23
hello out there.

finally i managed to compile my own kernel for dsl but i'm still using the old initrd (minirt24.gz). it works because i use the same kernel with less modules and drivers. now i want to build my own initrd. the problem is that i couldn't find out what's going on during boot process exactly. the only information i found can be read here:
< http://damnsmalllinux.org/wiki/index.php/DSL_Boot_Process >
but that's not enough for me to understand everything.
can anyone tell me where i can find the whole linuxrc file for building my own initrd? maybe it's already inside the dsl-iso? or inside the knoppix image?
i'm not too experienced doing such things so it would help me very much!!!
please help!!

greetings

mark

Posted by cbagger01 on Nov. 23 2005,03:06
Open an xterminal window and type:

sudo su
mkdir /mnt/img
cp /cdrom/boot/isolinux/minirt24.gz /home/dsl/
gunzip /home/dsl/minirt24.gz
mount -o loop -t ext2 minirt24 /mnt/img

emelfm

<make your changes to /mnt/img and exit emelfm>

dd if=/dev/zero of=/mnt/img/zerofile.bin
rm /mnt/img/zerofile.bin
cd /
umount /mnt/img
gzip -9 /home/dsl/minirt24


and that's the ballgame.

Posted by mark_one on Nov. 23 2005,09:57
hi.

thank you very much. that's exactly what i wanted to know. i mounted the dsl.iso and the knoppix image but it didn't come to my mind to mount the minirt24 too. well... why make it easy when you can make it complex?

thanks again!!!
greetings

mark :D

Posted by polik on Dec. 07 2005,14:42
Hi,

I've been using DSL for a few days only and I did not succeed in doing what cbagger01 suggests.
When I try to change the files in /mnt/img it complains that the file system is read only.
What am I trying to do?
Just boot from CD, add some drivers to minirt24.gz and then rebuild the iso, that I want to copy later on my usb-key.
I already got the drivers to add, but I think I lost my way...
Any help?
Thanks

Polik

Posted by cbagger01 on Dec. 07 2005,17:55
You need to copy the file over to your /home directory as mentioned above.

You cannot edit the original read only file that is on the CD disk.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.