Re: Give me a program to make
Here is my suggestion for a relatively easy program.
It would be great to make a USB live cd installer.
Basically, the USB image for a live cd can be made this way:
https://help.ubuntu.com/community/Li...148a42c1dc4e00
But then, to "burn" the image to usb stick, you need to run
sudo zcat usbimage.gz > /dev/sdc1
Making a self-extracting archive in linux is super-easy:
http://gnubie.blogspot.com/2006/04/u...acting_22.html
It would be great to make a self-extracting stub that can run
sudo lshw -C disk short
and take the output and find USB drives. Then offer the user the choice of what drive to write the image to. The user would pick the USB drive that they want to put the image on, and then the installer would unzip the image to the first partition.
If you have never booted from the USB drive before, it needs to have an MBR written to it. That too is simple and could be handled by the script.
More advanced features would be to make the script offer to create a separate partition on the device for the space left over after the image is written to it. You can use that partition for a persistent home.
I lost a "z". Anyone seen it around here?
Bookmarks