Solid state memory has come a long way in the last few years. So while flash memory modules (including SD cards, Compact Flash cards, 2.5″ SSDs, and the chips that are soldered onto Eee PC, Acer Aspire One, and Dell Inspiron Mini motherboards) still have a limited number of write cycles, the number of times you can write to a disk is pretty high. It’s likely that you could run some rather disk-intensive tasks and still not wear out your SSD for a couple of years. Under average daily use, your SSD will probably last even longer.

But there are some people who are still concerned that frequent use will wear out the SSD units that come with their netbooks. There are a number of ways to reduce the number of write cycles your operating system uses, thus prolonging an SSD’s life. If you’re using Windows, you can disable the system restore feature. If you’re using Linux, you can choose not to use any swap space.

But EeeUser forum member Proche has a much more extreme solution. He’s figured out how to load Windows XP entirely in a Ramdisk.

A Ramdisk utility basically lets you treat installed RAM as a hard drive. Most Ramdisk utilities need to be launched from within an operating system. But Diskless Angel is a commercial app (with a free trial available) that actually lets you boot directly into a Ramdisk. So you can install Windows or another operating system to an SD card or other removable media and use Diskless Angel to load the operating system without writing to your internal SSD at all. Sure, the SD card could eventually fail, but that will be easy to replace, while the internal SSD will not. As an added bonus, RAM tends to be much faster than either an SSD or a hard drive, so you get rather zippy performance.

There are some down sides. The biggest is that Proche has yet to figure out how to save any changes. Unlike hard drives and solid state memory, RAM requires a constant supply of power to remember data. So as soon as you turn off the power to your PC, all of the data is erased. You need to reload everything from scratch the next time you boot. If he can figure out a way to use the Windows Volume Shadow Copy utility to save changes to the source image, Proche says it would be possible to treat the Ramdisk like any hard drive, capable of saving changes.

There are a few other problems. For one thing, the Diskless Angel doesn’t seem to work well with hyperthreading, so Proche had to disable his Intel Atom processor’s hyperthreading features in the BIOS. And some Windows services seem to crash within a few minutes of booting.

I’m still not convinced that you really need to avoid writing to the SSD. Sure, it’s possible that your computer will stop working in a few years. But what do you expect from a $400 computer? I’m not sure I’ve ever gone three years without buying a new computer anyway. If you’re a bit more frugal than me though, keep this in mind: it’s not likely that your entire SSD will stop working one day. If you’ve got a 12GB SSD, it’s possible that three years from now, one data sector may stop working properly due to frequent writes. But that still leaves you with 11.99GB of useable space. It’ll take an awful lot to make the whole disk go bad.

via Jair2k4

Support Liliputing

Liliputing's primary sources of revenue are advertising and affiliate links (if you click the "Shop" button at the top of the page and buy something on Amazon, for example, we'll get a small commission).

But there are several ways you can support the site directly even if you're using an ad blocker* and hate online shopping.

Contribute to our Patreon campaign

or...

Contribute via PayPal

* If you are using an ad blocker like uBlock Origin and seeing a pop-up message at the bottom of the screen, we have a guide that may help you disable it.

Subscribe to Liliputing via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 9,543 other subscribers

7 replies on “Save your SSD: Boot Windows XP from a RamDisk”

  1. Since data retrieval speeds are not dependent on physical location on a solid state drive, the controllers supposedly keep track of what locations have been written when, and relocate data when it gets written, to ensure that a single location doesn’t get written to constantly. Therefore the lifespan of an SSD isn’t really a problem unless you do a lot of constant writing and erasing.

    Also, one should note that you should never try running a defrag program on an SSD. I don’t know what a defrag program would find when trying to discover locations, since I’m not sure how the SSD reports its filesystem, but defragging would not improve performance on an SSD, and would only create unnecessary write cycles if the defrag program treats it like a regular hard drive.

  2. Puppy’s a little overkill… try Slitaz, weighing in at 28MBs or so. I load it from a thumb drive, it runs in RAM, and you can save changes easily to the flash drive (or the hard disk) from boot to boot… to boot.

    https://www.slitaz.org/en/

  3. One small correction…

    The Acer Aspire One does not have the SSD soldered to the motherboard. It is a separate board connected with a 1.8HD ZIF connector.

  4. Check out Puppy Linux.

    https://www.puppylinux.org/home/overview

    “There are a number of things that make Puppy different from other Linux derivatives, but the most significant is its small size, around 80MB! This lends itself to some very useful and unique features;

    – ‘Live’ booting from CDs, USB sticks and other portable media.
    – Ability to run entirely from RAM, making it unusually fast and particularly relevant to modern PCs with solid state CF drives, such as Wyse & HP/Compaq ‘thin clients’ and the ASUS EeePC & similar ‘next generation’ hand-helds.
    – Very low minimum system requirements, runs happily on old Pentiums with as little as 32Mb RAM.
    – Sub-60 second boot times. ”

    Running entirely from RAM is old hat.

    The thing about Puppy Linux is that given the amount of RAM disk that a netbook has, and given the requirements of a Linux OS distribution such as Puppy Linux, you will be able to run the OS ***plus all of the applications*** entirely from RAM if you use Puppy Linux.

Comments are closed.