Jump to content

- - - - -

Load persistent mode on write-protected USB

write protected read only boot options

  • Please log in to reply
No replies to this topic

#1 wtfacoconut

  • Members
  • 1 posts
    United States

Posted 20 June 2012 - 10:12 PM

Hey there, I was looking around on the forums to see if this was possible but didn't find anything. So here's the deal.

I have an 8GB usb stick with a write-protect switch on it and it has Ubuntu 11.10. What I've done so far is kept my drive in R/W mode so that I can add needed programs, files, and other utilities easily when the usb stick has been booted into persistent mode.

What I want to do now is to be able to put my usb drive into R/O mode by flipping the write-protect switch and have the rest of my stuff in casper-rw get loaded onto tmpfs or something along those lines.

The purpose for this that I some times make trips out to China and Russia and this would give me the best of both worlds in that I have the flexibility to add and remove things from my live environment, but at the same time be able to protect my usb drive from getting a virtual STD when I'm going to less than friendly areas.

So far I've tried using the 'ro' and 'toram' options at boot time in hopes that it would load the system into ram in a read-only state, but when booting, the system throws errors stating that the drive is write protected and that it's unable to do other tasks.

Also, booting without the 'persistent' option yields no errors, so what I'm going to try and do now is see if I can mount my casper-rw environment of the currently running R/O live environment and see if I get any luck.

Thanks in advance!

Also tagged with one or more of these keywords: write protected, read only, boot options

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users