Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: can i get the dsl specific linuxrc file somehwere?, anyone who can tell me where to get it?< Next Oldest | Next Newest >
mark_one Offline





Group: Members
Posts: 29
Joined: Nov. 2005
Posted: Nov. 22 2005,14:23 QUOTE

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
Back to top
Profile PM ICQ 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Nov. 23 2005,03:06 QUOTE

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.
Back to top
Profile PM 
mark_one Offline





Group: Members
Posts: 29
Joined: Nov. 2005
Posted: Nov. 23 2005,09:57 QUOTE

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
Back to top
Profile PM ICQ 
polik Offline





Group: Members
Posts: 2
Joined: Dec. 2005
Posted: Dec. 07 2005,14:42 QUOTE

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
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Dec. 07 2005,17:55 QUOTE

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.
Back to top
Profile PM 
4 replies since Nov. 22 2005,14:23 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: can i get the dsl specific linuxrc file somehwere?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code