#Kernel Recompile woesForum: Other Help Topics Topic: #Kernel Recompile woes started by: mrchips Posted by mrchips on Feb. 17 2007,10:37
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? Posted by Juanito on Feb. 17 2007,11:00
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. Posted by mrchips on Feb. 19 2007,14:37
yes that was it thanks.My bootsplash still doesn't work..but thats the next problem..! |