Install Proteus On Linux

0 views
Skip to first unread message

Tavarus Calamia

unread,
Aug 5, 2024, 1:27:14 AM8/5/24
to nomamire
Ineed Proteus to check some of the circuits I have been working on, but I couldn't find it in software center and its official site. I have just shifted from windows (where I had been using proteus), so don't know where else to search for it.

Although you may be successful in running it through WINE, there is no guarantee that all the features will work, especially since it is a software that requires a lot of libraries to simulate various microcontrollers etc.


looks like labcenter is not providing a linux version of their product.Search for alternatives or try using "Wine" to install the windows version.you can find how to use wine all over the internet.inshort:open software centersearch wineinstall wineopen command prompttype wine /path/to/install_file.exe


Porteus can be installed to a flash drive or hard drive by burning the ISO to a CD, booting from it, and then selecting 'Porteus Installer' from the system menu on your desktop.


If you already have an OS installed on that drive and want to keep it there, then you can run 'Porteus Installer' without clicking the option to install a bootloader. After the files are copied over, you'll just need to point your existing bootloader to the Porteus data.


For more detailed information, as well as instructions to install Porteus to a USB drive from Windows, please keep reading. You can also visit the Installation Documentation area of our website or the Installation Methods section of our forum.


Porteus is a linux distribution that runs live, without being 'installed' natively like most other operating systems. Porteus creates its file system on the fly, within seconds, every time it is started up. This allows it to be run from many different kinds of media, including:



1) Writeable CD's or DVD's

2) USB Flash Drives (aka Pendrives)

3) External or Internal Hard Drives

4) Other writeable media, including flash cards, mp3 players, etc. (these installations are not covered by this Guide).



Porteus comes in the form of an ISO image file. An ISO file is an 'image' of what should be on a CD/DVD. This file can be burned as a CD or DVD, or it can be mounted as a file system or upacked to gain access to the files for flash drive or hard drive installations. Burning the file to a CD is the easiest method of installation, but none of the changes you make (or files that you download) will be saved once the system is rebooted*. Installing Porteus to a flash drive or hard drive will allow you boot up more quickly, save changes to your flashdrive and add new files and programs easily.



*Note that changes to your system can be saved to external media when running Porteus (from a CD or otherwise), using the 'changes=' cheatcode, and specifying the path to the desired storage location. You can find more information on this and many other useful cheatcodes in the file /boot/docs/cheatcodes.txt.






Porteus is available for 32-bit (i486) and 64-bit (x86_64) architectures. If you are running a 64-bit computer system, then you can download either edition. If you are running a 32-bit system, then you must download the 32-bit edition. Both editions can be downloaded by going to and clicking on the 'Download' button at the top of the page. From there, you can select your edition from the dropdown menus.



Once your download is complete, you should verify that the md5sum of the iso file matches the md5sum shown on the download page. This will ensure that the .iso file was not corrupted while being downloaded. If your md5sum does not match, you should delete the .iso file and download it again, or Porteus may not run properly. If you do not already have software to check the md5sum, you can use some freely available software, such as winMd5.








Most CD/DVD creation software has a function to 'burn an image to disk'. Please be aware that this is not the same as simply burning a file to disk or creating a 'data disk'. The end result should not be a disk that contains the .iso file, e.g. 'Porteus-v2.0-i486.iso'. The end result should be a disk that contains two folders: one called 'boot' and one called 'porteus'.



If your current CD/DVD creation software doesn't contain the function to 'burn an image to disk' then you can use some freely available software, such as imgburn.






As of Porteus Version 1.1, the officially supported method for installing Porteus to a flash drive or hard drive is to burn the ISO image to a CD following the instructions written above, then boot Porteus from the CD and run the program 'Porteus Installer', which can be found in the KDE, LXDE, Razor or Xfce menu under the 'System' heading. This program detects the available devices attached to your system and automates the installation procedure.



Note that you must have an existing, formatted partition for this installation to work.



If you would prefer to install without burning Porteus to a CD (either from Windows or from a Linux OS), then you can accomplish this by manually extracting the ISO and executing the relevant script to install the bootloader. To install using this method, please follow the instructions below:


Porteus can be installed to a flash drive by copying the files from the .iso file to the flash drive and then making the drive bootable. Please note that you must be logged in as an administrator (or run the included 'Porteus-installer-for-Windows.exe' file with administrative priveleges) to make your drive bootable from Windows.



In order to install Porteus to a flash drive, you must first extract the porteus .iso file so that you can copy the included folders ('boot' and 'porteus') to your flash drive. This can be done with archival software, similar to unzipping a .zip file. If your existing archival software cannot extract an .iso file, then try installing the free application 7zip or winrar. Once installed, you can right click on the .iso file, choose 7zip from the right-click menu (or, open winrar and navigate to the .iso's location), and select the option to extract the file.



*NOTE* you can also use a program called wincdemu, which will allow you to double click on the .iso file and then access the folders inside it as if it were a CD mounted in your CD drive.



If you have already created a bootable Porteus CD, you can also insert that CD and copy the files from there.






1) Insert your flash drive and open it to view the contents. Make a note of the Drive Letter assigned to this drive (e.g. E:\)



2) Copy the folders 'boot' and 'porteus' from the .iso file to the top-level directory of your flash drive (meaning the files should not be placed inside any other folders on the drive. For example, they should be located at E:\boot and E:\porteus, assuming your flash drive is device E:\).



3) Navigate into the boot folder that you just copied to your flash drive. You should see a file there called Porteus-installer-for-Windows.exe. Right click on this file (make sure it is Porteus-installer-for-Windows.exe and not Porteus-installer-for-Linux.com) and choose to run it as an administrator. A window will appear asking you to confirm that the correct drive or partition is beign selected for installation. Double check that the information shown is correct, and press Enter to complete the installation.



4) After running the installation program, you should be able to boot Porteus from your flash drive. Reboot your computer, and make sure that your BIOS is set to boot from the USB device first, before it boots to your hard disk. If you are unsure how to change the boot order in your BIOS, please see Appendix A.



*NOTE* If you are having problems making your drive bootable from within Windows or if you do not have administrative priveleges, try burning Porteus to a CD or DVD using the instructions above, and then either run the 'Porteus Installer' program (which can be found in the KDE, LXDE, Razor or Xfce menu under the 'System' heading) or follow the instructions below to install Porteus to a USB flash drive from within Linux.



*NOTE* If your flashdrive is formatted with a Windows filesystem (e.g. FAT or NTFS), none of the changes you make to your system will survive between reboots (Porteus will default to "Always Fresh" mode). If you would like to save your changes, you can create a '.dat' file container for this purpose. See Appendix B below for more information about this very important feature, which is required for saving your changes to a partition formatted with a Windows filesystem.










See installation videos here

*PLEASE NOTE* If you experience problems when running the Porteus installation scripts from your existing Linux distribution, please burn the Porteus ISO to a CD (see above instructions) and boot from that for the installation to USB. The method described below should work from most Linux distrubutions, but full compatibility with every distribution is not guaranteed.



Installing Porteus through Linux is similar to installing through Windows. You must have root (super user) privileges on your system in order to run the installation script.



Before installing, you must extract or mount the .iso file in order to copy the /boot and /porteus directories to your target device. Some archiving programs are capable of extracting the .iso, or you can simply mount it with the following commands:






1) Insert your flash drive. If a window automatically pops up when you plug it in, click to open the device. This will mount your flash drive and you can see it's path by opening a console and typing:






(substitute sdb1 with the name of your device if it was listed differently in fdisk)



Make note of the device's name, as this is the device which will need to be modified by a script later in the process.



2) Copy the files /boot and /porteus from the Porteus .iso file (or from a Porteus CD) to your flash drive. These folders can be placed in the top level directory on your drive, but as of Porteus version 2.0, you can place these folders inside a subdirectory and your bootloader configuration file will be adjusted automatically to boot from that location.



3) Open a console and change directories to the boot folder that you just copied into the flash drive, e.g.





3a8082e126
Reply all
Reply to author
Forward
0 new messages