I was thinking last night that, if possible, it might be useful to have a script that would automate the installation of Porteus to a USB drive, from a CD.
For example, the standard Porteus .iso file could include a script saved as a module that is only loaded when Porteus is run on a CD (put in /porteus/optional and loaded with the load= cheatcode). This module would place an item on the desktop, called "Install Porteus to USB Drive" or something similar.
Upon double clicking, the script would open a console, prompt the user to plug in a usb device, detect the device's location (e.g. sdb), inform the user that they are about to install Porteus on device sdb (if details about the size and brand of the device could be given to verify it's the right device to the user, that would be great), then copy /boot and /porteus from the cd to the specified device and finally, run the bootinst.sh script on the device (if it could also detect the device's filesystem and run a script to install extlinux if it's a linux fs, that would be great, too, but this would mostly be for windows users).
Now, personally, I'd still rather manually move the files and run the install script myself, but new users (especially windows users) may be a little intimidated by finding a way to extract the files from an .iso file and running an install script through windows. Burning a CD, rebooting, and clicking on an icon would be easier, and would provide an end run around all of the administrative privilege issues in Windows.
Of course, this is an idea coming from someone who doesn't know how to script (or if scripting this is even possible, without potentially hosing the user's MBR on occasion)....
Thoughts?
Install to USB script?
- Ahau
- King of Docs
- Posts: 1331
- Joined: 28 Dec 2010, 15:18
- Distribution: LXDE & Xfce 32/64-bit
- Location: USA
Install to USB script?
Please take a look at our online documentation, here. Suggestions are welcome!
Re: Install to USB script?
the less painfull for TOTAL newbies installing porteus the quicker we'll catch up with other distro 8)
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: Install to USB script?
@Ahau
give a chance to Porteus-2-usb script from Kmenu which does similar thing.
I agree on Readme/Installation.txt file included in the default ISO which could help windows users with installation on the stick. I'm still hoping to get G4D installer for windows users so no point for creating this Readme file now.
give a chance to Porteus-2-usb script from Kmenu which does similar thing.
I agree on Readme/Installation.txt file included in the default ISO which could help windows users with installation on the stick. I'm still hoping to get G4D installer for windows users so no point for creating this Readme file now.
Please add [Solved] to your thread title if the solution was found.
- Ahau
- King of Docs
- Posts: 1331
- Joined: 28 Dec 2010, 15:18
- Distribution: LXDE & Xfce 32/64-bit
- Location: USA
Re: Install to USB script?
Oh, you already wrote the script, and I didn't see it! My apologies!
Please take a look at our online documentation, here. Suggestions are welcome!