Post by Kevin McAleavey on Jun 23, 2010 3:27:37 GMT -5
We've received a number of inquiries as to whether KNOS can be run from a USB stick. The answer is YES. However, it is a bit awkward in this version and likely will be for the next one as well. KNOS and KNOS64 were provided with a built-in script that will allow you to create a bootable USB stick from which you can run KNOS if you wish to do so. The decrease in absolute security is negligible given that we designed KNOS to be as "read only" from a USB stick as it is from a DVD, but it *is* remotely possible for malcontents to find a way around our security some day. We made it as difficult as possible tho'.
Most recent computers are capable of booting from a USB stick, however you should check your computer's operating manual to see what steps are required to boot from a USB device before you bother making a USB stick for KNOS.
The USB stick will be created in "dedicated mode" which means that ONLY KNOS can exist on the stick. You will not be able to read or write other files to the KNOS USB stick and therefore the optimum stick for this purpose would be a 4 GB stick if you have one. Larger sticks will be formatted so that only 4 GB of space will be allocated, and the rest will go to waste. We apologize for this limitation in the current design, but what we provide here was merely a test of the possibility rather than a well-devised permanent solution.
It is important that the USB stick be in its default format of FAT32 file system in order for this to work. Sticks that have been formatted in any other file system such as NTFS, Linux or other filesystems will fail to format for KNOS. If this is the case, you will need to fully format the USB stick on a Windows machine and it *must* be formatted in FAT32 and not in NTFS. Any bad sectors on the stick will also result in KNOS being unable to format it for KNOS use and therefore should you encounter any problems, check the integrity of the USB stick first or try another stick. 4 GB is the minimum and desired size for this purpose.
If you wish to make a KNOS USB stick, here's how to do it:
1. Insert stick - make sure no other devices are plugged in first!
2. Stick will appear on desktop. We don't want this stick mounted.
3. Right click on it or go to top and UNmount the stick.
4. Go to Applications -> Accessories -> Terminal on top menu.
5. When terminal opens, type in su and hit enter.
6. At next prompt, type in cd /usr/local/bin and hit enter.
7. Then type in sh make-usb.sh and hit enter.
8. Decide if you want to continue, this will completely format the USB stick.
9. Hit enter to begin the formatting and install of KNOS on the USB stick.
10. /dev/da0 is the proper device for the one. Accept and install will start.
11. Go get coffee or have dinner - it'll take anywhere from 15 min to an hour depending on how fast your machine and whether your machine is the old USB 1 or newer USB 2 hardware.
12. When copy is done, hit enter FIRST, then remove your stick.
You can then reboot and try out your KNOS on a stick. You will find that KNOS boots significantly faster from a USB stick (usually well under 2 minutes) and doing so will free up your DVD drive to permit mounting of CD's and DVD's. Some of our testers have already gone the USB stick route and so far only one of them had a problem with their system and a 64 bit version for reasons we have been unable to figure out so far. I don't suppose telling you that I've been using this myself for a while with no problems would be news ...
Enjoy!
Edit: Original recommendation was for a 2GB stick, turns out a 4GB stick is necessary.
Most recent computers are capable of booting from a USB stick, however you should check your computer's operating manual to see what steps are required to boot from a USB device before you bother making a USB stick for KNOS.
The USB stick will be created in "dedicated mode" which means that ONLY KNOS can exist on the stick. You will not be able to read or write other files to the KNOS USB stick and therefore the optimum stick for this purpose would be a 4 GB stick if you have one. Larger sticks will be formatted so that only 4 GB of space will be allocated, and the rest will go to waste. We apologize for this limitation in the current design, but what we provide here was merely a test of the possibility rather than a well-devised permanent solution.
It is important that the USB stick be in its default format of FAT32 file system in order for this to work. Sticks that have been formatted in any other file system such as NTFS, Linux or other filesystems will fail to format for KNOS. If this is the case, you will need to fully format the USB stick on a Windows machine and it *must* be formatted in FAT32 and not in NTFS. Any bad sectors on the stick will also result in KNOS being unable to format it for KNOS use and therefore should you encounter any problems, check the integrity of the USB stick first or try another stick. 4 GB is the minimum and desired size for this purpose.
If you wish to make a KNOS USB stick, here's how to do it:
1. Insert stick - make sure no other devices are plugged in first!
2. Stick will appear on desktop. We don't want this stick mounted.
3. Right click on it or go to top and UNmount the stick.
4. Go to Applications -> Accessories -> Terminal on top menu.
5. When terminal opens, type in su and hit enter.
6. At next prompt, type in cd /usr/local/bin and hit enter.
7. Then type in sh make-usb.sh and hit enter.
8. Decide if you want to continue, this will completely format the USB stick.
9. Hit enter to begin the formatting and install of KNOS on the USB stick.
10. /dev/da0 is the proper device for the one. Accept and install will start.
11. Go get coffee or have dinner - it'll take anywhere from 15 min to an hour depending on how fast your machine and whether your machine is the old USB 1 or newer USB 2 hardware.
12. When copy is done, hit enter FIRST, then remove your stick.
You can then reboot and try out your KNOS on a stick. You will find that KNOS boots significantly faster from a USB stick (usually well under 2 minutes) and doing so will free up your DVD drive to permit mounting of CD's and DVD's. Some of our testers have already gone the USB stick route and so far only one of them had a problem with their system and a 64 bit version for reasons we have been unable to figure out so far. I don't suppose telling you that I've been using this myself for a while with no problems would be news ...
Enjoy!
Edit: Original recommendation was for a 2GB stick, turns out a 4GB stick is necessary.