Slashdot Mirror


Windows 95 in 4.47MB

Silvorgold writes "BOFH of MSBetas.net has been able to compress Windows 95 into 4.47 megabytes, making it the world's first sub-5mb bootable, registry editable, command-promptable, usable version of Windows 95. He has written a small description about what he did, and also included screenshots (with his digital camera), and don't worry, these aren't fake screenshots."

18 of 476 comments (clear)

  1. Why? by Doppler00 · · Score: 1, Insightful

    Can someone please explain why we would want to boot a 5MB version of an operating system that came out over 8 years ago?

    I think you could do a lot more useful things with a Linux distro at 5MB.

    1. Re:Why? by goranb · · Score: 2, Insightful

      Linux came out 10 years ago. Now why would you want to boot that for?
      Linux is about freedom of choice, right? If Linux is all there is, there will be no more choice, so a 5MB Win95 bootable image is nice to have...

      Not that I will be using it for anything, but still...

    2. Re:Why? by PurpleFloyd · · Score: 5, Insightful
      Two reasons I can see:
      1. Because it's there. While Linux is fairly easy to get a useful Linux distro under 2 MB, you can do things like strip the kernel to the bare essentials. Needless to say, you can't do that under Windows; there's a lot more challenge in getting Win 95 under 5 MB.
      2. Also, making Win95 fit in small spaces may be of interest to people who want to run legacy Windows apps on embedded devices. I could see this put on an old Pentium with an all-in-one motherboard and a 16 MB solid state drive, with room for a small program or two. The only issue would be swap space. This might be useful in places looking for a small, simple pseudo-embedded PC that needs to run Windows apps. Linux might be better for 95% of these kinds of tasks, but if Windows is necessary to run legacy apps, then it would be best to run, well, Windows.
      While it might not be eminently practical, neither is, say, running Linux or NetBSD on some obscure piece of hardware. Nifty hacks like this aren't always done for practical reasons; they're just as often done for fun.
      --

      That's it. I'm no longer part of Team Sanity.
    3. Re:Why? by lonney_nz · · Score: 3, Insightful

      I'd like to see this done with NT4

    4. Re:Why? by Lumpy · · Score: 4, Insightful

      I don't think any company would trust Windows 95 as an embeded solution. WindowsCE already covers that area and works much more efficiently. This is more of a just a fun trick to do with Windows 95 than anything.

      if you think any company trusts WinCE for embedded control then you are nuts.

      EVERYTHING is either a Realtime OS like RTDOS or another.

      when you have lives at stake with heavy machinery or a embedded PC running a process control you dont use crap like Windows CE.

      that is purely for the toys we call PDA's where it doesnt matter if it crashes or messes up in any way.

      the world of embedded is ALOT larger than all of you think. Rocket control, autopilot, control your drinking water purification, sewage treatment, twinkie manufacturing...

      PDA's and consumer items are a tiny corner of enbedded systems.

      --
      Do not look at laser with remaining good eye.
    5. Re:Why? by Vellmont · · Score: 1, Insightful
      Because we can... why else?

      Translation: You have too much time on your hands and are transfering your un-realized sexual energies into doing useless things.

      Next on the agenda: getting MacOS 7 to run on your PalmPilot.
      --
      AccountKiller
  2. Apples and oranges. by The+Cydonian · · Score: 2, Insightful

    Work on Linux is ongoing, and there's a whole community on offer if you have problems. Windows 95, OTOH, is at least a generation old, and has already been EOL-ed by Microsoft.

  3. Re:how soon and EULA by evilviper · · Score: 4, Insightful
    is this not a violation of the EULA?

    Ummm, you mean deleting selected files from your windows installation is now considered an EULA violation?

    What's next, a clause that says you can't ever remove Windows?
    --
    Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  4. just think by headbulb · · Score: 4, Insightful

    How Small the people with the source code could make it.

  5. But 5.35 MB version used no executable packer? by The+Revolutionary · · Score: 5, Insightful

    From this page, it appears that the previous 'record holder', 5.35 MB, did not use an executable packer or other compression.

    "Apparently only 5.35Mb in size (at the moment.... I'm told this might go down!) - without using UPX / any compression"

    So, is what this fellow has done a superior acheivement, or did he mostly just run an executable packer on a few binaries?

    Certainly if the idea here is to just shrink the physical disk space usage we can do better than either of these entries by compressing all files and hacking the Windows I/O subsystem calls to handle our compression.

    I think all of this raises an interesting question. (ok, so it's not interesting at all, but I've had similar issues come up in a lot of other unofficial sort of 'competitions' like this, and we all just kind of use interest at that point ;). Just what is the purpose of this, and at what point do your modifications, whether extreme, or just running binaries through an executable packer, defeat the purpose of doing this in the first place?

    Is the idea to have the smallest possible OS capable of doing x or y?

    Is the idea to have the smallest possible OS that looks like Windows 95?

    Is the idea to have the smallest possible 'distribution' of Windows 95 attainable by just removing unecessary features?

    Do we want smallest in terms of RAM usage, or smallest in terms of disk space? What do we then if we run it on a RAM disk? Which space counts?

    Surely depending up just what is the goal here, we can do a lot better than 4.47 MB.

    I guess I don't 'get it', what they're doing =)

    That's Windows users for you!

    There is a micro Linux distribution floating around somewhere that provides an X server in under 2 MB of physical disk space (but 4 or 8 MB of RAM), but I can't recall the name of it just now.

  6. Short short description by Rogerborg · · Score: 2, Insightful

    "I took redruM69's 5.35Mb version and upx'd it. W00t! 1 4r 1337!!!!!! f33r m33!!!!"

    Hmm. Not exactly ground breaking stuff.

    --
    If you were blocking sigs, you wouldn't have to read this.
  7. system stripping was SOP for high level embedded by Mungkie · · Score: 4, Insightful
    It's all about cost really. Smaller software requires cheaper hardware to run. If you are producing highlevel embedded software applications (e.g. for epos or media devices), you require a reasonable graphical user interface to optimize HCI. Many older operating systems were used before OS developers realized high level embedded OS were a large market. Then came embedded linux distributions followed by embedded windows. Now there is little need to strip down an older OS when you can have all the new features in roughly the same size as a stripped older OS.

    Incidently Mungkie used win95 at one point for a number of epos projects. Using win95 we managed to create an uncompressed OS image of ~3.9Mb which meant we could normally fit our entire system and application on a 32Mbit ROM (we can half that size with compression but more system RAM is then required). Now using linux we can get the system in the same ROM but we get far far better features, security and a more stable system. We have now switched to linux only development on all work (unless a customer insists on a MS platform).

    Now just to reiterate the exact reasons for reducing system size!!!. SMALLER SYSTEMS ARE CHEAPER AND SIMPLER TO DEVELOP, PRODUCE, AND MAINTAIN.

    The savings made in development time mean we have more time to eat bananas.

    The savings made on hardware costs make our systems (that we sell!) more competetive and increase our profit margins.

    The savings made in maintenance mean our products are reliable and our customers want to buy from us again, and saves us time and money in supporting customers and paying for call centers.


    Win95 was OK in its time but things have changed.

  8. Re:Used that method for lots of stuff... by MicroBerto · · Score: 1, Insightful

    Meanwhile at the university, your PHB was getting drunk and laid on a constant basis, having the time of his life, and is now getting paid more than you.

    --
    Berto
  9. Re:Why? Object Lesson! by Anonymous Coward · · Score: 1, Insightful

    It just shows what Microsoft could have done if they weren't Microsoft!

  10. Could you imagine... by WebMasterJoe · · Score: 3, Insightful

    Could you imagine if MS had originally released Win95 with such a small footprint?

    I imagine I would have liked the OS a lot more. When it first came out, I stuck with 3.11 (until I found out about Diablo) because it ran much faster and had a smaller footprint. I remember being thoroughly disappointed at the performance hit when I first booted into Win95...

    Now I know that a smaller footprint doesn't automatically mean more better performance. However, there seems to be an unofficial connection between the two, because the programmer who strives for a small footprint is probably a better programmer, and is looking for ways to best optimize his/her code. Also, with such a small footprint there is quite likely less bugs. Cutting down that much bloat probably means that identical pieces of code could be cut down to one instance, and if that one instance has a bug, it will not only be more noticeable (since it gets executed more often) but also easier to fix.

    But I think I know why MS didn't take this approach - money. Sloppier code = less development costs, and bigger bloat means more hardware upgrades, which means more Windows licenses (and Office licenses, etc.). Not to mention the general public would be more impressed with a gigantic OS than a tiny one. So I'm disappointed, but not surprised.

    I wonder how much bloat could be removed from XP while still maintaining 90% of the features.

    --
    I really hate signatures, but go to my website.
  11. Re:Win 95 can be STABLE by fltsimbuff · · Score: 2, Insightful

    Keep in mind that stability is relative. Even the most "stable" Win9x OS isn't going to run for very long without crashing (I'm talking days or weeks here.) So if you reboot it daily, and don't push it too hard, it might seem stable to you. It is impossible to get > 49.7 day uptime on 9x without an appropriate patch anyway, because of a bug in one of the VXDs. (I may have the number wrong, could be 47.9). I prefer running PCs 24/7, and having loads of programs open all the time, so I tend to discount 9x OSes as merely OS-wannabe's. (I use Win2k, btw... and a little Linux on the side.)

  12. Basis for Small Browsing OS or Car MP3 player? by Ayanami+Rei · · Score: 2, Insightful

    Has anyone not heard of QNX demo disks, ZipSlack, or the many pre-made Car MP3 linux distros?

    People, it's not that hard! Why suffer with a non-pre-emptive, not protected-mode OS to do these common things?

    Backwards compatibiltiy, and games, I can understand. A cool Win95 tiny system would be a great way to bootstrap an old DOS or DirectX game on a CD.

    But for car MP3 players? I hope you like the music to crap out every so often, if you change tracks too quickly. You'd best be running CubePlayer with some kinda custom input controller if you want it to work predictably.

    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
  13. Interesting Use by Zone-MR · · Score: 2, Insightful

    Every other comment bitches about how there are no uses for this. I can think of one interesting application straight away.

    USB pendrives are becomming cheaper and more popular. Most of them support booting. Copying a mini distro of windows 95 would be quite a useful feature - you pop your stick into any PC, and have your own customised GUI with a few programs you use regularly, programs you need to open documents stored on your pendrive preinstalled, etc.