Boot Linux (or OpenBSD Or Oberon Or FreeDOS) In Your Browser (copy.sh) 92
Long-time Slashdot reader DeQueue writes: Back in 2011 Fabrice Bellard, the initiator of the QEMU emulator, wrote a PC emulator in JavaScript that let you boot Linux in your browser. But he didn't stop there.
On his website he now has images that let you boot Oberon, Arch Linux, FreeDOS, OpenBSD, Solar OS and more recent versions of Linux such as 2.6 or 3.18 (the 3.18 image includes internet access). You can also boot to a CD image, or a floppy image, or a hard drive disk image on your local machine. And, if you don't need yet another operating system on your computer, you can even boot to Bootchess and play chess
On his website he now has images that let you boot Oberon, Arch Linux, FreeDOS, OpenBSD, Solar OS and more recent versions of Linux such as 2.6 or 3.18 (the 3.18 image includes internet access). You can also boot to a CD image, or a floppy image, or a hard drive disk image on your local machine. And, if you don't need yet another operating system on your computer, you can even boot to Bootchess and play chess
Re: (Score:1, Redundant)
That's one thing that both Anonymous Cowards and running an OS in the browser have in common - who gives a shit? The only thing both are good for is to ridicule.
Running a secure OS inside an insecure browser doesn't magically make the browser secure. This whole thing is like a dancing dog - a diversion, but on the whole not very useful.
Re: (Score:2)
I guess I'm the first to comment because (Score:3, Funny)
Everybody is busy playing with it...
Re: (Score:1)
Playing with what?
Oh.
Worthless (Score:5, Funny)
The first thing I tried to do, is launch Win98. That worked. Then with Internet Explorer, go to Fabrice Bellard's site again and launch Windows 98 inside the VM. But now IE wants to install a modem first :(
Re: (Score:2, Troll)
Not a chance in hell that IE would run that.
Edge minimum, I should think.
You'd even struggle to download a modern Firefox that worked on '98.
Re: Worthless (Score:2)
Re:Worthless (Score:4, Informative)
"You'd even struggle to download a modern Firefox that worked on '98."
I guess someone doesn't know about OldVersion. [oldversion.com]
Re: (Score:2)
Er... the newest there is Firefox 19.0 from three years ago.
Good luck!
Re: (Score:3)
$ wine windows10.exe
Faster than the original!
Fabrice Bellard is awesome. (Score:5, Informative)
Lzexe - exe file compression on the PC to fit more on your floppy. ...
Qemu - emulate random processors on your PC.
tccboot - boot linux using a live C compiler.
Live broadcast of digital video using a VGA card.
Re: (Score:1)
I can't imagine working without QEMU.
Re: (Score:2, Informative)
Plus he founded ffmpeg, which has become the standard tool in the industry since.
Re: (Score:1)
Re: (Score:3, Informative)
Re: (Score:3, Informative)
>> Lzexe - exe file compression on the PC to fit more on your floppy.
Correct.
> LZ compression was invented by Abraham Lempel and Jacob Ziv in 1977
Correct.
LZ compression mechanism was invented by Abraham Lempel and Jacob Ziv but lzexe, a dos utility using that algorithm to compress EXE files was created by Fabrice Bellard.
Re:Fabrice Bellard is awesome. (Score:5, Informative)
Too bad this isn't his.
Fabian Hemmer (http://copy.sh/, copy@copy.sh)
I have no idea where the submitter got Fabrice Bellard from. This is hosted on a completely different site and authored by a completely different person. Yes, more than one person is capable of implementing an x86 emulator in Javascript. Bellard wrote his and never released the (editable) source; this guy, OTOH, wrote a more compatible emulator of his own (runs more than Linux) and open sourced it.
This is also old news, I remember seeing it quite some time ago. The site has been up since 2014 [archive.org]. Slow news day much?
Re: (Score:1)
I am almost as sick of hearing about the systemD crap as I am the US presidential election. Almost
Re: (Score:2, Funny)
I want to see Trump and Clinton argue about SystemD in tonight's debate.
Re: (Score:3)
Wouldn't that be a hoot. It'd probably make as much sense as anything else those two blather about. I'd rather watch Johnson and Stein debate. Sad!
Re: (Score:1)
Wouldn't that be a hoot. It'd probably make as much sense as anything else those two blather about. I'd rather watch Johnson and Stein debate. Sad!
Immigrants should be kept in user-land.
(Well, not me in America (if ever) but others and immigrants here (Sweden.))
Re: Will it run systemd? (Score:1)
But which one will pick which side?
Re: (Score:2)
Fabrice != Fabian (Score:1)
Where does it state that it's from Fabrice Bellard?
The page says it's by Fabian Hemmer
Yes! (Score:4, Funny)
I beat my record!
Run the Win98 one.
Shut it down.
It BSOD's with 0E exception in VXD VDD.
That's got to be a world-record in terms of "number of instructions executed before a fatal error".
Re: (Score:3)
I've gotten the blue screen in 98 before it even finished booting.
Re: (Score:2)
So Firefox can actually run Chrome now? (Score:1)
Mozilla.org must be ecstatic!
Fabrice is a wizard (Score:1)
I wish that his improved picture format, BPG, would get more attention and adoption. It truly is a better replacement for both JPG and PNG.
And you'll probably need a 4Ghz, 8 core CPU.. (Score:3)
... to run an OS image 50% of the speed it would run on a 386.
Also how exactly does the internet access bit work when browsers deliberately limit the net access they allow javascript?
Re: (Score:1)
Also how exactly does the internet access bit work when browsers deliberately limit the net access they allow javascript?
Without reading the article (who does?), I'd say it requires a proxy service in the same origin as the Javascript. Alternatively, it could require turning browser security off (e.g. --disable-web-security in Chrome).
Re: (Score:2)
the 3.18 console version runs decent. booted in about 40 seconds, including the download.
Good idea. Amazing software. Still needs work. (Score:2)
Re: (Score:2)
Re: (Score:2)
There is the concept of using a platform independent to run a platform specific OS and applications which is rather appealing.
Especially for those who were computing in the 1980's and 1990's where platform independent meant, you were just changing a few #define a full compile away (or if you were lucky you had the make command that did the #defines for you. Then if you had a different enough platform, you may still not be able to get it to compile, because the programmer didn't know that your OS or Linux d
Re: (Score:1)
Not on my system. Browsers should browse. Fuck the entire idea that they should run applications too. That's what compilers are for.
Now get off my lawn.
Re:Wow (Score:4, Interesting)
Where do you draw the line?
Browsers use to just do text with hyperlinks, then we added formatted text and then pictures, additional text positional and formatting. Then we added input form features. After that we did some preserver checks to validate information before sending to the server so people didn't have to wait for a response. The types of checks got more complex and also needed better ways to show the validated info. Then we realized we didn't need to reload the whole page just send the data needed, based on the data the display can be changed...
Once you give a programmer a tool, that can do IF, Loops and store variables it becomes a development platform.
Re: (Score:3)
And once you give someone a piece of amber with velociraptor DNA inside it, and a way to embryonize it, it becomes a way to make a cool theme park.
Re: (Score:2)
Ever see the movie Cherry 2000?
Re: (Score:2)
Once you can watch porn on it then everything else is just unnecessary.
Re: (Score:2)
I really hope that you aren't suggesting that you don't have the checks done only on the browser. You open yourself up for attack that way. Checks on the browser are nice to validate the input and quickly provide feedback to the user if something is wrong. But you never depend on them on the server. First, your client could be out of date and not be doing the right checks. More importantly if someone wants to harm your systems then it isn't that hard to change the data being sent to the server after the
Re: (Score:2)
Where do you draw the line?
If you can serve porn videos you're all set.
Re: (Score:2)
Well I wasn't bragging about my preprocessor syntax. I actually had to look them up, because it had been a while. However back in the day, changing those were the key to cross platform capability. As with #ifdef it would tell the compiler which version of a function to load.
Now using a browser for emulation is mostly a toy. However why can't we have fun with toys every now and then. Why does technology need to be "enterprise class" all the time?
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
From the top of "linux.js"
/*
Linux launcher
Copyright (c) 2011-2012 Fabrice Bellard
Redistribution or commercial use is prohibited without the author's
permission.
*/
Re: (Score:2)
32 bit only (Score:1)
I can't run TempleOS on it.
Re: (Score:1)
Why not write kind and encouraging words? (Score:1)
Re: (Score:2)
Re: (Score:1)
It would probably still be faster than the Android emulator that comes with Android Studio. :-P
Pfft. I bet I could do that in emacs. (Score:2)
You don't need a browser.
Oh ... wait [emacswiki.org].
Re: (Score:2)
This,kids, is what it was like back in the day. (Score:3)
The developer of this thing has thoughtfully provided a "hello.c" file and cc. Oh, yes, and emacs. So go ahead and type:
cc -o hello hello.c
and marvel at the speed.
This environment is just like my first full-time, non-student programming job. There was no IDE, so we pretty much lived in emacs. I haven't used emacs in decades, but my fingers still remember the key bindings for the commands -- as long as I'm not trying to consciously remember them.
It was on a 68020 running at 16 MHz which delivered a grand total of 2 MIPS at 16 MHz. We shared all that computing power among four programmers, which was luxury because the system was supposed to support 16 users (32 max).
It seems almost inconceivable, but the funny thing is it was really just as fun programming back then as it is now with a supercomputer all to myself. Our office was next to a reservoir, and used to start a compile, wait five minutes for the parsing to catch any syntax error (about 75% of the time), then go for a walk on the 1.5 mile trail around the pond. Then I'd stop in at the convenience store to buy a cup of coffee, and head back to the office, and make would just be finishing up the linking. God forbid you got a link error though. That's why we had time to read the entire Unix manual (all eight sections) cover to cover. Many times.
This has fed my conviction that user perceptions of system speed are as strongly affected by consistency as it is by absolute speed. If you're used to a build taking fifteen seconds,a sudden change to 30 seconds seems unbearable.
The day is coming (Score:2)
Maybe you thought waiting for 10 frameworks to load was bad. In a few years, it will be standard practice for websites to load a full operating system to run themselves.
Downside (Score:2)
I'm curious to know... (Score:1)
When will Linux become a real user OS say like OSX? Really simple so that any of us idiots can use it without it going kablooey. I've tried loading Ubuntu and Linuxmint, I was able to get Ubuntu to work, however; I couldn't get used to the side bar icons and such. With Linuxmint, I wasn't able to get it to load my Nvidia drivers and upon loading it on my hard drive was only able to achieve a black screen with no interaction.
I'm really ready to make the switch, but I haven't been able to find something that
In JavaScript (Score:1)