[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ttylinux:317] Running ttylinux-flash on a non ttylinux Linux host



On Wed, Feb 27, 2013 at 2:59 AM, galapogos <[email protected]> wrote:

> mount -t iso9660 -o loop ttylinux-i486-14.1.iso mnt/cdrom

> How do I get the ttylinux-flash script onto my Ubuntu host without booting
> up from a ttylinux CD-ROM?

mount -t iso9660 -o loop ttylinux-i486-14.1.iso mnt/cdrom
gzip -dc mnt/cdrom/boot/filesys.gz > /tmp/filesys
umount mnt/cdrom
mkdir -p /tmp/filesys.mnt
mount -o loop -t ext2 /tmp/filesys /tmp/filesys.mnt/
cp -ai /tmp/filesys.mnt/sbin/ttylinux-flash /tmp/ttylinux-flash
umount /tmp/filesys
rm /tmp/filesys
rmdir /tmp/filesys.mnt
ls -lh /tmp/ttylinux-flash


HTH,
 - Jeff