Results 1 to 5 of 5

Thread: Need some help with mounting drive as read-only

  1. #1
    And then I was mod. Tidder's Avatar
    Join Date
    Sep 2003
    Location
    New Mexico, USA
    Posts
    4,211

    Need some help with mounting drive as read-only

    I know that some writes have to happen on the boot, but how do I mount the drive as read only so I can shut if off without worrying about data loss?

    I'm running the current version of Damn Small Linux. It's based off of Knoppix/Debian. I think it's kernel v. is 2.4, I don't know if that matters or not.

    Bottom line is I don't know jack about linux, and I can't find any good info on what to do exactly. Most everything I googled expected me to know something about linux. I know jack. If someone could point me in the right direction, that'd would be most awesome. I'm trying to learn...
    Tidder

    Try RevFE
    The best resurrected frontend I've ever used, period.

  2. #2
    Maximum Bitrate psyrex's Avatar
    Join Date
    Jun 2005
    Location
    Oakland, CA
    Posts
    536
    Does this partition mount at boot, or is manually mounted? if mounted at boot time, look into /etc/fstab and the "ro" (read only) flag.

    -psyrex
    Gen 1: Pentium 3 1GHz - ATX - 2005
    Gen 2: Pentium M 1.6GHz - ITX - 2006
    Gen 3: Pentium M 2.0GHz - 5.25" SBC - 2007
    Gen 4: (coming soon: Core2 Duo - 3.5" SBC - 2009)
    ...it never ends

  3. #3
    And then I was mod. Tidder's Avatar
    Join Date
    Sep 2003
    Location
    New Mexico, USA
    Posts
    4,211
    It's mounted at boot time.
    Tidder

    Try RevFE
    The best resurrected frontend I've ever used, period.

  4. #4
    Maximum Bitrate psyrex's Avatar
    Join Date
    Jun 2005
    Location
    Oakland, CA
    Posts
    536
    So just edit your fstab file. Here's the first link from google: http://www.tuxfiles.org/linuxhelp/fstab.html

    -psyrex
    Gen 1: Pentium 3 1GHz - ATX - 2005
    Gen 2: Pentium M 1.6GHz - ITX - 2006
    Gen 3: Pentium M 2.0GHz - 5.25" SBC - 2007
    Gen 4: (coming soon: Core2 Duo - 3.5" SBC - 2009)
    ...it never ends

  5. #5
    And then I was mod. Tidder's Avatar
    Join Date
    Sep 2003
    Location
    New Mexico, USA
    Posts
    4,211
    Yeah, I added that to my hda2. Amazing. That was so easy, I must be retarded when it comes to google. Thanks a bunch.
    Tidder

    Try RevFE
    The best resurrected frontend I've ever used, period.

Similar Threads

  1. Slim dvd drive problems. JAE 50pin to IDE at fault?
    By 2k1Toaster in forum General Hardware Discussion
    Replies: 17
    Last Post: 08-16-2007, 04:06 PM
  2. Hard drive shock / vibration thoughts
    By S11D336B in forum General Hardware Discussion
    Replies: 60
    Last Post: 09-26-2006, 11:40 PM
  3. hard drive heads on a 2.5" drive
    By zyzzx in forum General Hardware Discussion
    Replies: 2
    Last Post: 03-02-2006, 12:09 AM
  4. drive and read
    By aguila in forum Road Runner
    Replies: 9
    Last Post: 03-19-2005, 03:46 AM
  5. XP on CF II Drive
    By NOS TANG in forum Software & Software Development
    Replies: 13
    Last Post: 11-30-2004, 01:20 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •