Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-10-13 | Preserve file permissions when copying files from the ISO to the | gson | 1 | -2/+2 | |
memory stick image, because otherwise recent NetBSD versions that use root on cd9660 instead of a ramdisk won't boot. This is currently implemented by using a vnd mount instead of isoinfo -x to extract the ISO contents. This solution is less than ideal since it requires root permissions and will fail if vnd0 is already in use. Still, it's better than not working at all. OK'd by agc. | |||||
2011-05-05 | Initial import of Jared Mcneill's script to create a memory stick from a | agc | 1 | -0/+21 | |
NetBSD installation ISO. Further information can be found here: http://genericzero.wordpress.com/2009/08/01/install-netbsd-from-a-usb-memory-stick-the-easy-way/ memory stick the easy way I got tired of having to jump through hoops to install NetBSD on my Eee PC, so I wrote a simple script to take a NetBSD release ISO and convert it to an image that can be written to a USB memory stick. To use the script, simply feed it an ISO and tell it where to write the resulting image: $ sh mkmemstick.sh i386cd-5.0.1.iso i386memstick-5.0.1.img The resulting image can be written to a memory stick using dd(1): $ dd if=i386memstick-5.0.1.img of=/dev/sd0d Please note that this script depends on the sysutils/cdrtools package for extracting the contents of the release ISO. Hopefully this will be integrated with the build process so these images are available for those who cannot prepare an image due to lack of access to a NetBSD machine. |