PureWinLin - Linux emulated on Windows via QEMU

Developed or developing a new product in PureBasic? Tell the world about it.
Beach
Enthusiast
Enthusiast
Posts: 677
Joined: Mon Feb 02, 2004 3:16 am
Location: Beyond the sun...

Post by Beach »

As promised... a small app to install the full version of PureBasic for PureWinLin (should work with any version of Linux though).

Steps:

- Download the full version of PureBasic from the user area on the main site.
- Download the installer: pbinstaller.pbe (56k) Image
- Open a terminal and make the installer executeable:

Code: Select all

 chmod +x pbinstaller.pbe
- Change to root user (password: pbroot):

Code: Select all

 su root
- Execute the installer:

Code: Select all

 ./pbinstaller.pbe
Just load your PureBasic file and install. BTW: the installation will delete your IDE preferences file.

-Beach
Beach
Enthusiast
Enthusiast
Posts: 677
Joined: Mon Feb 02, 2004 3:16 am
Location: Beyond the sun...

Post by Beach »

Gansta93 wrote:The consol is not accessible too... so Pure on Linux is not for me..
Sorry that interface will not jive with QEMU... Have you tried the CoLinux version? It is a bit more difficult but your interface might be able to work with it. Also, you can connect to the virtual PC with various other Windows based terminals like PuTTY and Tera Term Pro (both freeware).

Anything I can do to help, just let me know.

-Beach
Gansta93
Enthusiast
Enthusiast
Posts: 238
Joined: Wed Oct 20, 2004 7:16 pm
Location: The Village
Contact:

Post by Gansta93 »

Oh my god... :oops: I am a beginer in Linux: I going to reread this post and sirch for CoLinux... can you explain some please? :oops:

Sory for thes questions whish can be stupid. :oops And thanks again for your help.
Be seeing you! :-)

Gansta93
If you speak french, you can visite Le Monde de Gansta93 (Gansta93's World)
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

why arent you just using the terminal?
Gansta93
Enthusiast
Enthusiast
Posts: 238
Joined: Wed Oct 20, 2004 7:16 pm
Location: The Village
Contact:

Post by Gansta93 »

Oops, I am on Windows 98... I'm so unlucky. :-( :oops:

Thanks again for helps.
Be seeing you! :-)

Gansta93
If you speak french, you can visite Le Monde de Gansta93 (Gansta93's World)
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post by Shannara »

This deserves a bump :) Beach!!! Any updates or anything concerning this distro?
Beach
Enthusiast
Enthusiast
Posts: 677
Joined: Mon Feb 02, 2004 3:16 am
Location: Beyond the sun...

Post by Beach »

Thanks Shannara. Debian is still current at 3.1 - the only thing that has been updated is QEMU which is version 7.2 now. I am open to suggestions for additional features though. :)
-Beach
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post by Shannara »

I donno yet really :) Im going to retry the mount, here in a moment ...

Newest version of QEMU can be found @ http://www.h7.dion.ne.jp/~qemu-win/

0.7.2 is the newest with a few changes.

Well,. 0.7.2 is actually a step backwards w/o Klox's mods, so im using Klox's kqemu :)

Anyways, for those of you who do not know, Fred posted up a Debian version of the Purebasic package :) This is very sweet for those of us using PureWinLin!! Big thanks to Fred! ... Except it doesnt install in PureWinLin ... posting in bug forum.


Beach! How do we have PureWinLin automatically mount a windows shared folder? You already provided the script to do so, but it only lasts for that session. How do you make a script autorun on login or whatever?

Here's another one Beach. About every 5 minutes, the purebasic IDE (registered) automatically closes with no message, nothing. It happens on the dot, every 5 minutes no matter what your doing. This makes it impossible to do any work because every 5 minutes, the IDE shuts down. I dont know if this is an IDE bug, or a problem with the distribution.
KarLKoX
Enthusiast
Enthusiast
Posts: 681
Joined: Mon Oct 06, 2003 7:13 pm
Location: France
Contact:

Post by KarLKoX »

"Qui baise trop bouffe un poil." P. Desproges

http://karlkox.blogspot.com/
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Post by Joakim Christiansen »

KarLKoX wrote:QEMU 0.7.2
I'm missing mgwz.dll, where can I get that?
I like logic, hence I dislike humans but love computers.
KarLKoX
Enthusiast
Enthusiast
Posts: 681
Joined: Mon Oct 06, 2003 7:13 pm
Location: France
Contact:

Post by KarLKoX »

The archive was uploaded ... along with the missing fmod dll :P
"Qui baise trop bouffe un poil." P. Desproges

http://karlkox.blogspot.com/
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post by Shannara »

Thank you for the update! Working quite nicely, very nicely in fact :) I have a Q .. since Beach seems to be MIA ATM ... maybe exams, eh? :) Do you know how to have his mount script run everytime (automatically) when booting?
KarLKoX
Enthusiast
Enthusiast
Posts: 681
Joined: Mon Oct 06, 2003 7:13 pm
Location: France
Contact:

Post by KarLKoX »

You can call the script from /etc/rc.d/rc.local.
"Qui baise trop bouffe un poil." P. Desproges

http://karlkox.blogspot.com/
Straker
Enthusiast
Enthusiast
Posts: 701
Joined: Wed Apr 13, 2005 10:45 pm
Location: Idaho, USA

Post by Straker »

Is it possible to print from within QEMU? I am not having any luck so far, and with PureWinLin, I can't seem to find a printer setup or anything? Also, no docs regarding printing on the QEMU website either.

Thanks.
Beach
Enthusiast
Enthusiast
Posts: 677
Joined: Mon Feb 02, 2004 3:16 am
Location: Beyond the sun...

Post by Beach »

@Shannara : Sorry mate, missed the question. KarLKoX has the right idea adding it to the "/etc/rc.d/rc.local" file. You can not use "/etc/fstab" since Samba is not loaded until later in the boot sequence (not that you did that, just FYI).

@KarLKoX : S w e e t !

@Straker : I'm not sure QEMU supports LPT based printing. However, I was able to print using Cups and Samba. I will list the steps below:

- Log in as root to load all the required applications and configure them (root password is 'pbroot')

Code: Select all

# su root
# apt-get update
# apt-get install cupsys cupsys-client foomatic-bin gs-esp a2ps smbclient
# ln -s `which smbspool` /usr/lib/cups/backend/smb
# /etc/init.d/cupsys restart
- Open FireFox and go to: http://localhost:631/printers/
- Click "Add Printer" and give the new printer a name (any name works here)
- Scroll to the botton of choices for "Device:" type and select "Windows Printer via SAMBA"
- Add the device URI for your windows printer. The URI must contain a valid user name, password, and a shared printer which is on the Windows host. I created a user called 'WinLin' and made the password 'linux'. Here is an example URI:
smb://WinLin:linux@192.168.1.10/hp
- Next you will need to select a printer driver. There are not many to choose from, I have a HP LaserJet so mine was easy.

If all goes well, you should now be able to print.
-Beach
Post Reply