Results 1 to 9 of 9

Thread: RFE: "bootrofrom= …" (boot read-only from) startup option

  1. #1
    Senior Member registered user
    Join Date
    Dec 2004
    Posts
    168

    RFE: "bootrofrom= …" (boot read-only from) startup option

    there actually is a way to boot from an iso knoppix image which is mounted read-only (ro), namely: using the "forensic" startup option. You would, say, startup with the one liner:
    boot: knoppix64 no3d init 2 forensic bootfrom="/dev/sd"
    then on init 2 you go:
    mount | grep sd
    to get:
    /dev/sd on /mnt-iso type ext4 (ro,relatime,block_validity,delalloc,barrier,user_ xattr,acl)
    The problem with the "forensic" option is that then all other partitions are mounted write-protected, read-only. Or, how do you work around this? There should be a "bootrofrom= ..." option for those of us who want to make sure the knoppix baseline is not being altered and want to be able to easily check if that is the case. On init 2 you could always edit /etc/passwd in order to create and change user directories Since the Internet has become such a promiscuous environment in which "Russian hackers" are constantly messing for fun and profit every connected device, introducing such a startup option would be great. I don’t believe at all in antivirus software It shouldn’t be that hard. Probably just including menuentries in the grub2 loader? What may I be missing? lbrtchx

  2. #2
    Senior Member registered user
    Join Date
    Dec 2004
    Posts
    168
    why do you make so hard properly formatting a message? Why can't poster not enter plain html?

  3. #3
    Senior Member registered user
    Join Date
    Dec 2004
    Posts
    168
    after noticing the corrupted formatting but I can't edit it at all

  4. #4

  5. #5
    I normally use the "forensic" option with a pendrive. But what I do is keeping some files/folders (new versions of tor browser, firefox and libflashplayer.so, checked with the sum when downloaded) zipped and encrypted in some folder inside my Knoppix with gpg (gpg -c --cipher-algo AES256 file.zip). So, I boot with knoppix forensic, write my wifi password and then decrypt those files (gpg file.gpg), remember that home folder is not read-only in that session. Every time I boot all is clean. The problem could be if my home folder (and so, my browsers and files) are hacked/cracked in that session. I avoid scripts (noscript addon) and normally I only use the browser, only some times flashplayer (yes, thats dangerous), but if I want I can delete all the decrypted files and encrypt them again in that session. But its great to know that in the next boot (or if I begin the process again in the current session) all is always clean.
    Last edited by joselb; 12-23-2016 at 07:41 AM.

  6. #6
    Senior Member registered user
    Join Date
    Dec 2004
    Posts
    168
    well, yeah I also:

    1) make the image file read-only
    2) make their attributes unmodifiable (lsattr chattr)
    3) resize the file system to its bare minimum (using gpated)

    but a boot ro from an image would be a great option

  7. #7
    I don't understand it very well, even if you boot from an image, using forensic option it will be read only, but it's impossible to use knoppix if ALL is read-only, some parts won't be that way. But the system part will remain read-only and protected in every boot. Maybe I miss something here.

  8. #8
    Senior Member
    Join Date
    Dec 2012
    Posts
    152
    The OP seems to enjoy his trolling.

  9. #9
    Senior Member registered user
    Join Date
    Dec 2004
    Posts
    168
    Quote Originally Posted by philo View Post
    The OP seems to enjoy his trolling.
    http://knoppix.net/forum/faq.php?faq...eading_posting

Posting Permissions

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


Logic Board MF843LL/A 3.1GHz i7 16GB | Apple Macbook Pro Retina 13

Logic Board MF843LL/A 3.1GHz i7 16GB | Apple Macbook Pro Retina 13" 2015 | A1502

$119.00



Asus P8H61-M LE/CSM R2.0 LGA1155 DDR3 Micro ATX Desktop Motherboard W/IO Shield  picture

Asus P8H61-M LE/CSM R2.0 LGA1155 DDR3 Micro ATX Desktop Motherboard W/IO Shield

$26.99



ASUS ROG STRIX B550-F GAMING AM4 AMD B550 SATA 6Gb/s ATX AMD Motherboard picture

ASUS ROG STRIX B550-F GAMING AM4 AMD B550 SATA 6Gb/s ATX AMD Motherboard

$129.99



Intel DH61BE MicroATX Socket LGA1155 DDR3 Desktop Motherboard With I/O Shield picture

Intel DH61BE MicroATX Socket LGA1155 DDR3 Desktop Motherboard With I/O Shield

$17.99



GIGABYTE Z590 AORUS MASTER LGA 1200 Intel ATX Motherboard with Triple M.2 Slots picture

GIGABYTE Z590 AORUS MASTER LGA 1200 Intel ATX Motherboard with Triple M.2 Slots

$129.99



MSI B460M PRO WIFI LGA 1200 Intel B460 SATA 6Gb/s Micro ATX Intel Motherboard picture

MSI B460M PRO WIFI LGA 1200 Intel B460 SATA 6Gb/s Micro ATX Intel Motherboard

$66.99



** ASROCK A320M/AC W/WIFI  MOTHERBOARD  - Refurbished ** picture

** ASROCK A320M/AC W/WIFI MOTHERBOARD - Refurbished **

$54.40



ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield picture

ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield

$48.00



ASRock B365M PRO4 LGA1151/ Intel B365/ DDR4/ Quad CrossFireX/ SATA3 Micro ATX MB picture

ASRock B365M PRO4 LGA1151/ Intel B365/ DDR4/ Quad CrossFireX/ SATA3 Micro ATX MB

$99.99



ASROCK B450M PRO4 R2.0 Socket AM4/ AMD B450/ DDR4/ SATA3&USB3.2 M.2 Micro ATX MB picture

ASROCK B450M PRO4 R2.0 Socket AM4/ AMD B450/ DDR4/ SATA3&USB3.2 M.2 Micro ATX MB

$82.99