[pocket-linux] 5.3.7 problem fixed ...

David Horton dhorton at megsinet.net
Wed Nov 19 16:57:12 CST 2003


Rainer wrote:
> thanks for the replies.
> 
> started the night off by formatting the PL boot disk! anyhow, it helps 
> to repeat stuff ...
> checked dmesg on the build system and sure enough it was loading counts 
> of 7000 for the ramdisks. passed on the "ramdisk=4096" to the kernel at 
> boot and that worked. remade image4 (e), yup the 5th times the charm!, 
> and everything worked like it's supposed to.
> 
> hoping to get to part 6 asap.
> 
> ciao.
> 
> _______________________________________________
> Pocket-Linux mailing list
> Pocket-Linux at ufo.chicago.il.us
> http://ufo.chicago.il.us/cgi-bin/mailman/listinfo/pocket-linux
> 
> 

You might be able to avoid the problem by creating the rootdisk like this:

   bash# cd /
   bash# dd if=/dev/zero of=/dev/ram7 bs=1k count=4096
! bash# mke2fs -m0 b=1024 /dev/ram7 4096
   bash# mount /dev/ram7 /mnt
   bash# cp -dpR ~/staging/* /mnt
   bash# umount /dev/ram7
! bash# dd if=/dev/ram7 of=~/phase7-image bs=1k count=4096
   bash# gzip -9 ~/phase7-image

I put exclamations in front of the lines that changed from the usual way 
of doing it.  I think that this will work regardless of whether the 
development system's kernel is set for a 4096 ramdisk size or the 7777. 
  If you try it and it works, let me know and I'll change it in the next 
revision of the guide.

Dave




More information about the Pocket-Linux mailing list