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: #Kernel Recompile woes, ..cannot create /etc/ld.so.cache< Next Oldest | Next Newest >
mrchips Offline





Group: Members
Posts: 6
Joined: Jan. 2007
Posted: Feb. 17 2007,10:37 QUOTE

i'm trying to recompile the kernel (DSL 3.1) on standard CD image..but when i reboot it bombs out at "Accessing DSL image at.." with this error:

/linuxrc: cannot create /etc/ld/so/cache: read-only file system

Here are the steps i did to recompile. What have i missed??

First i installed: gcc1-with-libs, gcc-2.95, gnu-utils, kernelsource.dsl. Then:

#create /usr/src
mkdir /usr/src

# grab kernel-2.4.26 from kernel.org and uncompress
tar -zxvf kernel-2.4.26 -C /usr/src

#uncompress kernelsource.dsl
tar -zxvf kernelsource.dsl -C /   # gets installed to /usr/src

#Apply the bootsplash patch, which is why i'm recompiling.
cd /usr/src/linux
patch -p1 < bootspash-2.4.26.patch

#create config file
make menuconfig   # loaded the .config file from kernelsource.dsl and enabled the bootsplash option

#apply knoppix patch. Knoppix documentation says apply patch AFTER 'make menuconfig'
patch -p1 < knoppix-kernel.patch

#compile
make dep
make clean
make bzImage

#Finally i grab bzImage and copy into the isolinux directory of my .iso, replacing the "linux24" file. Then re-burn and reboot.
cp arch/i386/boot/bzImage <cdrom-iso>/boot/isolinux/linux24

I've obviously missed something...what else should i be doing?
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Feb. 17 2007,11:00 QUOTE

After you've copied bzImage to your boot directory, try this:

rdev -R /path-to-boot-dir/bzImage 0

This will make the image rw which was required when I recompiled an image for USB boot.
Back to top
Profile PM 
mrchips Offline





Group: Members
Posts: 6
Joined: Jan. 2007
Posted: Feb. 19 2007,14:37 QUOTE

yes that was it :) thanks.
My bootsplash still doesn't work..but thats the next problem..!
Back to top
Profile PM 
2 replies since Feb. 17 2007,10:37 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: #Kernel Recompile woes

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