Results 1 to 3 of 3

Thread: Mounting encrypted home directory AFTER Knoppix booted up

  1. #1
    Junior Member
    Join Date
    May 2008
    Posts
    1

    Mounting encrypted home directory AFTER Knoppix booted up

    Hey guys. I've been searching this topic everywhere but was unable to find the proper command or steps.
    What I am looking to do is to mount the Knoppix encrypted home directory after knoppix already booted up, and when it scanned for the home dir during boot it wasn't there. Or may be adding additional usb drive after it is booted with encrypted knoppix.img and mounting it as an additional volume or directory.
    Thanks in advance.

  2. #2
    Junior Member
    Join Date
    May 2009
    Posts
    2
    I would also like to be able to do this, and can't seem to find a solution. But forget the encryption for a moment --
    even less than that would be to be able to boot from the live CD, and then mount a home partition from a usb drive (one could at least encrypt files on the home partition).

    But this functionality seems to have been lost in 6.0. You can create a persistent home directory if you install knoppix to flash or a hard drive, but not from the live cd. There is an undocumented cheatcode knoppix_dir=blah, http://www.knoppix.net/forum/viewtopic.php?p=120552 where blah could be the flashdrive containing a different microknoppix version, but I only want the settings and home directory to be on the flashdrive, not the entire version of the micropknoppix....

    One might hope that something like "home=/dev/hdb1/knoppix_data.img" might work, with knoppix_data.img being what has now replaced knoppix.img in 6.0, but this doesn't seem to work either. Frustrating! And no documentation on this change from 5 to 6.0

    Anyone figured this out?

  3. #3
    Junior Member
    Join Date
    May 2009
    Posts
    2
    Usually /etc/init.d/cryptdisks and /etc/init.d/cryptdisks-early would be started by the started systemV init scipt. But I notice in /etc/inittab, that KNOPPIX is bypassing the usual systemV init and instead calling /etc/init.d/knoppix-autoconfig. The problem with changing this script, is that it is run after home is already mounted. It looks like the mounting is instead done in an init script which is found in /boot/minirt.gz. I'm guessing you need to modify this as described here:
    http://www.knoppix.net/wiki/Knoppix_...up_script_text
    and add "/etc/init.d/cryptdisks start" and "/etc/init.d/cryptdisks-early start" before this script runs "findknoppix devices".
    This should hopefully ask you to enter your password, and decrypt the usbstick.

    To have a home directory there, I'm guessing you need to put the file knoppix-data.img on it (this is created as part of the knoppix flash utility from the knoppix menu) and is found in /KNOPPIX of the usbstick. Then the above init file probably has to be modified to find the knoppix-data.img (since it won't be in /KNOPPOX).

    Let me know if that works!

Similar Threads

  1. if you have a home directory and you have issues mounting
    By maestrobwh1 in forum General Support
    Replies: 0
    Last Post: 08-25-2009, 07:35 PM
  2. Replies: 6
    Last Post: 06-01-2007, 02:01 AM
  3. Elaboration Mounting Home directory to usb drive
    By dvryknopper in forum General Support
    Replies: 4
    Last Post: 04-11-2006, 06:34 PM
  4. Recover EFS encrypted directory
    By graan_jonlo in forum MS Windows & New to Linux
    Replies: 1
    Last Post: 11-14-2005, 08:35 PM
  5. Bug: no fsck on encrypted persistent home directory
    By tjacobs in forum General Support
    Replies: 1
    Last Post: 08-22-2004, 11:32 AM

Posting Permissions

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


Juniper SRX650 VPN Firewall Security Hub SRX650-BASE-SRE6-645AP w/SRX-GP-IM picture

Juniper SRX650 VPN Firewall Security Hub SRX650-BASE-SRE6-645AP w/SRX-GP-IM

$99.99



Juniper MX-MPC2-3D-A Router Card + MIC-3D-4XGE-XFP-A & MIC-3D-20GE-SFP picture

Juniper MX-MPC2-3D-A Router Card + MIC-3D-4XGE-XFP-A & MIC-3D-20GE-SFP

$799.99



Juniper Networks EX3300-48P 48-Port PoE+ 4x SFP+ Network Switch w/ Power Cord picture

Juniper Networks EX3300-48P 48-Port PoE+ 4x SFP+ Network Switch w/ Power Cord

$43.95



Juniper Networks EX4300-48T 48 Port Gigabit 4 QSFP 40G 2xPSU AFO Network Switch picture

Juniper Networks EX4300-48T 48 Port Gigabit 4 QSFP 40G 2xPSU AFO Network Switch

$89.00



JUNIPER EX3400-48P 48x 1GB PoE+ RJ-45 4x 10GB SFP+ 2x 40GB QSFP+, DUAL AC POWER picture

JUNIPER EX3400-48P 48x 1GB PoE+ RJ-45 4x 10GB SFP+ 2x 40GB QSFP+, DUAL AC POWER

$210.00



Juniper EX3400-48P 48-Ports PoE+ 4x SFP+ and 2x QSFP+ Managed Switch Tested picture

Juniper EX3400-48P 48-Ports PoE+ 4x SFP+ and 2x QSFP+ Managed Switch Tested

$205.00



Juniper EX3300-48P, 48 Port PoE+ Gigabit Network Switch w/ Power cord picture

Juniper EX3300-48P, 48 Port PoE+ Gigabit Network Switch w/ Power cord

$54.99



Juniper QFX5100-48S-3AFO Switch 48 x 10Gb SFP+, 6x QSFP 40GE, Dual AC Power picture

Juniper QFX5100-48S-3AFO Switch 48 x 10Gb SFP+, 6x QSFP 40GE, Dual AC Power

$499.00



JUNIPER EX4550-32F-AFO 32-PORT ETHERNET SWITCH 2x POWER SUPPLY - TESTED picture

JUNIPER EX4550-32F-AFO 32-PORT ETHERNET SWITCH 2x POWER SUPPLY - TESTED

$299.99



Juniper Networks EX3300 EX3300-48P 48-Port Gigabit PoE+ Switch picture

Juniper Networks EX3300 EX3300-48P 48-Port Gigabit PoE+ Switch

$40.23