Results 1 to 9 of 9

Thread: Usb as read-only

  1. #1
    Junior Member
    Join Date
    Jan 2015
    Posts
    27

    Usb as read-only

    Hello,
    my first post here

    I would like to know if itīs possible to boot my knoppix (in a usb pen drive) as read-only. Once I finished my setup in persistence I value more my security than anything else, and so I donīt want something changed or somebody "hacking" my pen drive and changing my knoppix with malware, even not adding more to the persistent image but using my setup.

    Thanks a lot.

  2. #2
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    Quote Originally Posted by jalb View Post
    Hello,
    my first post here

    I would like to know if itīs possible to boot my knoppix (in a usb pen drive) as read-only. Once I finished my setup in persistence I value more my security than anything else, and so I donīt want something changed or somebody "hacking" my pen drive and changing my knoppix with malware, even not adding more to the persistent image but using my setup.

    Thanks a lot.
    Greetings, jalb.

    SDHCs have a little tab which allow you to select read-only; I don't know about pen drives.
    That would make your LiveUSB more like a LiveDVD; however, you too won't be able to change it when it's read only.

    You may want to look into the efficacy of using encryption as your defense against hacking & malware.
    I think that's the standard approach to the problem.
    Also, you need say whether your persistence is in a separate partition or not.

  3. #3
    Junior Member
    Join Date
    Jan 2015
    Posts
    27
    Quote Originally Posted by utu View Post
    Greetings, jalb.

    SDHCs have a little tab which allow you to select read-only; I don't know about pen drives.
    That would make your LiveUSB more like a LiveDVD; however, you too won't be able to change it when it's read only.

    You may want to look into the efficacy of using encryption as your defense against hacking & malware.
    I think that's the standard approach to the problem.
    Also, you need say whether your persistence is in a separate partition or not.
    Thank you stu

    Sorry, I donīt know what is SDHC.
    The problem is not about encryption only (thatīs not my problem, I always like to use encryption) but malware and destroying all my persistent image.
    Thatīs why when I finished the settings in my persistent image I would like to keep it "safer".
    If I choose a different partition the problem is still the same, because when I am using knoppix (and itīs not a safe s.o. avoiding new updates, etc) someone could get access and change everything.
    Thanks!

  4. #4
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    Greetings again, jalb.

    I sympathize with your concerns, but I think you can have it your way
    if you put up with a little inconvenience here and there.

    Persistence has to be read/write when it's updated.
    If you have persistence on a separate partition, you can probably
    move it back and forth between r/o & r/w. That's being awfully cautious
    if that partition is alread encrypted.

    If your use Knoppix as a Frugal install or a LiveUSB, the master KNOPPIX
    file is in a compacted form that can be self-checked very easily to see if
    you or anyone else has changed it. There is rarely any sense in doing
    a 'hard disk install of Knoppix', you will learn to hate that.

    An SDHC is a SecureDigital memory card, HC perhaps meaning High(er)
    Capacity; higher than just SD, that is. Developed for digital cameras
    and printers, some PCs also have an SD/SDHC adapter connected to the USB bus.
    SDHCs cost less than 1$ per Gb these days in sizes appropriate to
    LiveUSB usage. If you have a USB port, but not an SD/SDHX slot, then
    Sony and others make an inexpensive USB-to-SD/SDHC adapter for ~$20.

  5. #5
    Junior Member
    Join Date
    Jan 2015
    Posts
    27
    Thatīs great stu!
    But how can I move persistence to a different partition and make it work or telling knoppix where to boot?, do you mean to some hard disk inside the computer and then changing some route and making this partition read-only?. Do you think knoppix will work with encrypted read-only persistence?. I only use knoppix as live usb, never as a hard disk install.
    If I use persistence normally (read/write) then itīs always changing stu, it would be hard to check it every day.
    I understand about SDHC now
    Thanks a lot.

  6. #6
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    Quote Originally Posted by jalb View Post
    how can I move persistence to a different partition and make it work or telling knoppix where to boot?
    As you set out to make your Knoppix LiveUSB, you have choices along the way. One choice is to have persistence on a separate (reiserfs)
    partition; another choice is whether to encrypt or not. Once you have your LiveUSB it's up to you to rummage around and change things.
    Maybe you can make the persistence file read-only. Your persistence will not change until you set it back to read-write. This is up to you.
    Take some chances, try things out. You can always start over if something goes wrong. Cheers.

  7. #7
    Junior Member
    Join Date
    Jan 2015
    Posts
    27
    Once I finished with all my setup (as I am using my knoppix with persistance now), how can I move it?. Can I change now the "normal" persistence file to read-only and it will work as usual?.
    Thanks again stu.



    ---- Full quote deleted
    wps
    Last edited by Werner P. Schulz; 01-18-2015 at 09:50 PM.

  8. #8
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    Quote Originally Posted by jalb View Post
    Can I change now the "normal" persistence file to read-only and it will work as usual?.
    I would expect if you make persistence read-only then it won't collect any changes until you reset it to read-write.
    Isn't that what you would expect? And why don't you just try it and find out?

  9. #9
    Junior Member
    Join Date
    Jan 2015
    Posts
    27
    Yes, I tried when I fninshed writing my answer but knoppix didn't let me to change the pernissions of the persistent image (root console).
    Thank you anyway.

Posting Permissions

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


Supermicro 4U 36 Bay Storage Server 2.2Ghz 16-C 128GB 1x1280W Rails TrueNAS ZFS picture

Supermicro 4U 36 Bay Storage Server 2.2Ghz 16-C 128GB 1x1280W Rails TrueNAS ZFS

$716.98



Dell PowerEdge R630 8SFF 2.6Ghz 20-Core 128GB Mem 2x10G+2x1G NIC 2x750W PSU picture

Dell PowerEdge R630 8SFF 2.6Ghz 20-Core 128GB Mem 2x10G+2x1G NIC 2x750W PSU

$399.04



Intel XEON E5-2699 V3 CPU PROCESSOR 18 CORE 2.30GHZ 45MB L3 CACHE 145W SR1XD picture

Intel XEON E5-2699 V3 CPU PROCESSOR 18 CORE 2.30GHZ 45MB L3 CACHE 145W SR1XD

$45.00



Dell R730xd 12LFF 2.6Ghz 20-C 128GB H730 2x10G+2x1G NIC 2x1100W 12x Trays Rails picture

Dell R730xd 12LFF 2.6Ghz 20-C 128GB H730 2x10G+2x1G NIC 2x1100W 12x Trays Rails

$721.05



Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7 picture

Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7

$17.99



Intel Xeon Gold 6126 2.6 GHz LGA 3647 Server CPU Processor SR3B3 picture

Intel Xeon Gold 6126 2.6 GHz LGA 3647 Server CPU Processor SR3B3

$17.99



Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU picture

Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU

$44.99



Intel Xeon E5-2699v4 SR2JS 2.2GHz 22-Core 55MB 145W Server Processor CPU picture

Intel Xeon E5-2699v4 SR2JS 2.2GHz 22-Core 55MB 145W Server Processor CPU

$144.95



HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA picture

HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA

$234.98



INTEL XEON GOLD 6148 PROCESSOR | 2.40GHZ | SR3B6 picture

INTEL XEON GOLD 6148 PROCESSOR | 2.40GHZ | SR3B6

$99.99