Egbert, If you mount the squashfs file on a loop device you can copy the contents of that mounted directory to your root partition. Then you will need to run grub-install on that partition and edit the boot/grub/menu.lst file to match your environment.
mount /live_media/casper/filesystem.squashfs /mnt/squashfs -t squashfs -o loop cp -pR /mnt/squashfs/* $rootfsdir/ grub-install --no-floppy --root-directory=$rootfsdir /dev/$INSTALL_DRIVE Cheers, Robert. Egbert Jan wrote: > Hi Kourosh, coming back on a list entry of a few months ago... > > Can you elaborate a bit more on how exactly yo copy the CD to CompactFlash? > I can think of something like: > > Partition CF using standard tools in two efs2 partitions, say sda1 and sda2 > (small for the config). > Then tar | untar (or just cp???) all files on the CD to CF > Install GRUB and edit a menu.lst file (sda must be hda in most cases) > > Did I omit something? > > TNX > Egbert Jan > >> Hi Tim, >> >> 1,000,000 writes isn't enough for you =O >> >> Current CF cards won't be a problem. I've been running Linux >> based routers installed on CF cards for several years with no >> problems at all. They all run on Soekris boxes >> (www.soekris.com) and I use SanDisk Ultra II cards. First I >> used pebble Linux, and now Vyatta. I have Soekris net4801 >> boxes with Sangoma T1 cards linking our branch office with >> our main office. It runs Vyatta and we haven't have any problems. >> >> If it's that big a concern, you can just forward all your log >> files, which aren't that many anyway, to a logging server. >> >> If you do decide to copy the LiveCD to the card, you should >> be able to manually partition the card and have a second >> smaller one that stores the config files. As that's rarely >> written to, it shouldn't be a problem. >> >> I still think you won't have problems installing directly to >> CF, though. The write issue was solved a while ago. >> >> Hope this helps, >> >> Kourosh >> -- >> Kourosh Ghassemieh >> First Credit Bank >> (310) 273-2500 x247 _______________________________________________ >> Vyatta-users mailing list >> Vyatta-users@mailman.vyatta.com >> http://mailman.vyatta.com/mailman/listinfo/vyatta-users > > _______________________________________________ > Vyatta-users mailing list > Vyatta-users@mailman.vyatta.com > http://mailman.vyatta.com/mailman/listinfo/vyatta-users _______________________________________________ Vyatta-users mailing list Vyatta-users@mailman.vyatta.com http://mailman.vyatta.com/mailman/listinfo/vyatta-users