Recently, Somebody Somewhere wrote these words
> After a lot of work I've all the packages I need installed and my
> final size is 180 MB. Now I should put my LFS system on a 256 MB flash
> card. What should I do?  Can  I copy all the files to my flash card? I
> suppose I should do something more, or is it so easy as it seems?
> What happens with swap partition? Would it work without a swap
> partition?
> 
> 
It sounds as if you should read a bit :-).

Think about /etc/fstab and /etc/mtab. fstab points at your hard drives
as the / partition; mtab gets written by the kernel as it goes along

Think about grub/lilo. Whatever you have is set up on the hd. You want
something set up on the flash. Ditto kernel. 

Think about /proc, and/or udev, and everything ending in 'fs' (sysfs,
tnpfs etc.) if they are used. Those are normally written to ram(afaik),
but some mounting has to be done. Have you loads of documentation you
don't need?  Have you all the flash writing/reading stuff in that
kernel? What is going to be on  /tmp? 

I would like to see some swap, and some scratchpad, even if it's a
ramdisk. But you can always reinstall on a flash.....again and again :)


-- 

        With best Regards,


        Declan Moriarty.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to