Thx eric! That was exactly what I needed! to edit the /mnt/boot/etc/modules however .. I tried vi and nano .. Both just give a bunch of strange letters and signs What's the best way to edit?
Tom Citeren Eric Spakman <[EMAIL PROTECTED]>: > Hi Tom, > > Ok, I see. The doc isn't clear about how to extract the contents from the > original initrd: > > mv initrd.lrp initrd.gz > gunzip initrd.gz > mount -t minix initrd /mnt -o loop > > After that you have the contents from the package in the /mnt directory > > You can take a shortcut (instead of creating a fresh initrd as written in > the doc) by copy the ext2 module to /mnt/boot/etc/modules/ and edit the > /mnt/boot/etc/modules file to load the ext2 module, after that umount > /mnt, type sync and gzip -9 the initrd again. > > > Eric > >> Hi eric, >> >> >> I used those commands from your link .. namely these : >> >> >> initrd.lrp is a different package - it's a compressed, minix formatted >> filesystem. To add or change it's content you have to uncompress it and >> mount it on a minix formatted mount point: >> >> dd if=/dev/zero of=initrd bs=1k count=1500 mkfs.minix initrd 4096 mount -t >> minix initrd /mnt -o loop >> >> Copy the contents for the initrd package to the /mnt directory: >> >> >> sync umount /mnt gzip -9 initrd mv initrd.gz initrd.lrp >> ___________________________________________________________________ >> But like I mentioned .. My initrd.lrp file was way too small afterwarts >> if dd if=/dev/zero needs to be used .. From where do I get all the other >> files from the original initrd.lrp package? I would think once >> uncompressed and mounted , they should be available at the folder .. but >> it's empty everytime >> >> Tom >> >> >> Citeren Eric Spakman <[EMAIL PROTECTED]>: >> >> >>> Hi Tom, >>> >>> >>> My previous mail had a link with the exact commands to execute: >>> http://leaf.sourceforge.net/doc/bucd-develop.xml.html#id3256747 >>> >>> >>> Eric >>> >>> >>>> indeed .. for the making of the image I had to use "dd if=initrd.lrp" >>>> instead of "dd if=/dev/zero" I guess .. So I changed this, and my >>>> file is now a lot bigger .. but still 70kb's smaller then the original >>>> file and still blocking on the same >>>> >>>> So I must be doing something wrong somewhere .. I'm not a real expert >>>> at these things, so it's possible I'm looking over something very >>>> small >>>> >>>> grtz, Tom >>>> >>>> >>>> >>>> Citeren KP Kirchdoerfer <[EMAIL PROTECTED]>: >>>> >>>> >>>> >>>>> On Wednesday 26 March 2008 10:56:47 Tom Hendrickx wrote: >>>>> >>>>> >>>>>> Hi Eric >>>>>> >>>>>> >>>>>> >>>>>> My plan is indeed to load the packages from an ext2 fs .. >>>>>> So what I did was the following: >>>>>> >>>>>> >>>>>> >>>>>> initrd.lrp >>>>>> >>>>>> initrd.lrp is a different package - it's a compressed, minix >>>>>> formatted filesystem. To add or change it's content you have to >>>>>> uncompress it and mount it on a minix formatted mount point: >>>>>> >>>>>> dd if=/dev/zero of=initrd bs=1k count=1500 mkfs.minix initrd 4096 >>>>>> mount -t minix initrd /mnt -o loop >>>>>> >>>>>> >>>>>> >>>>>> Copy the contents for the initrd package to the /mnt directory: >>>>>> this is the ext2.o file >>>>>> >>>>>> sync umount /mnt gzip -9 initrd mv initrd.gz initrd.lrp >>>>>> >>>>>> then when I try to start the machine to see if everything still >>>>>> works I >>>>>> get this error: Warning : unable to open an initial console. Kernel >>>>>> panic: No init found. Try passing init= option to Kernel. >>>>>> >>>>>> >>>>>> >>>>>> *and everything hangs* >>>>>> ps: it's still on a fat filesystem .. but that's still inside the >>>>>> initrd normally so it shouldn't make any difference >>>>>> >>>>>> Tom >>>>>> >>>>>> >>>>> >>>>> It looks like you created an nearly empty initrd, only containing >>>>> ext2.o - that's not enough. >>>>> >>>>> Start again, mount an initrd_ide.lrp and _add_ ext2.o to >>>>> /boot/lib/modules >>>>> and load it in /boot/etc/modules. >>>>> >>>>> kp >>>>> >>>>> ------------------------------------------------------------------- >>>>> ---- >>>>> -- >>>>> Check out the new SourceForge.net Marketplace. >>>>> It's the best place to buy or sell services for >>>>> just about anything Open Source. >>>>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/ma >>>>> rket place >>>>> ------------------------------------------------------------------- >>>>> ---- >>>>> - >>>>> leaf-user mailing list: [email protected] >>>>> https://lists.sourceforge.net/lists/listinfo/leaf-user >>>>> Support Request -- http://leaf-project.org/ >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>>> >>>> --------------------------------------------------------------------- >>>> ---- >>>> Check out the new SourceForge.net Marketplace. >>>> It's the best place to buy or sell services for >>>> just about anything Open Source. >>>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/mark >>>> etpl ace >>>> --------------------------------------------------------------------- >>>> --- >>>> leaf-user mailing list: [email protected] >>>> https://lists.sourceforge.net/lists/listinfo/leaf-user >>>> Support Request -- http://leaf-project.org/ >>>> >>>> >>>> >>> >>> >>> >>> >> >> >> > > > > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ------------------------------------------------------------------------ leaf-user mailing list: [email protected] https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/
