/[pxelator]/bin/install-iso.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /bin/install-iso.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5 - (show annotations)
Sun Jul 26 14:46:44 2009 UTC (14 years, 8 months ago) by dpavlin
File MIME type: application/x-sh
File size: 333 byte(s)
install latest Tiny Core and extract kernel and initrd from it

http://etherboot.org/wiki/appnotes/tinycore

1 #!/bin/sh -x
2
3 test -d iso || mkdir iso
4 cd iso
5
6 test -d mnt || mkdir mnt
7 sudo umount mnt
8
9 to=../tftp/tinycore/
10 url=http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/release/
11
12 latest=`wget -q -O - $url | cut -d\" -f6 | grep '\.iso$'`
13 wget -nc $url/$latest
14 sudo mount $latest mnt -o loop
15 ls -alR mnt/
16 cp -v mnt/boot/* $to

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26