Results 1 to 7 of 7

Thread: Automatic $HOME on USB drive?

  1. #1
    Junior Member
    Join Date
    Sep 2003
    Location
    Geneva, Switzerland
    Posts
    3

    Automatic $HOME on USB drive?

    Knoppix is fantastic. I love it. One thing I would find even better is if, at boot time, it found a USB drive with a certain directory inside (say : /home ) then it could automatically mount that in place of the standard user's $HOME directory. That way, I could carry Knoppix CD and my USB$HOME with me and have all my working environment, data files included, fitting in my pocket!

  2. #2
    Junior Member registered user
    Join Date
    Mar 2003
    Posts
    18
    I haven't personally had a chance to play with this, but this should be pretty much what you're looking for:
    http://www.knoppix.net/docs/index.ph...stentHomeHowTo

    I definitely need to free up a little extra space on my USB key .

  3. #3
    Junior Member
    Join Date
    Dec 2003
    Posts
    6
    I've just figured this one out. You can create a "Persistent Home" for knoppix on a USB flash drive/key.

    -The USB Key should be in when Knoppix is booted to be sure it is recognized
    *"lsusb" is a useful command to see what's recognized

    -It will be accessible via /dev/sda if it is one big partition, or /dev/sda1 if the drive is partitioned (example; Format is /dev/sdLN where L is a different letter per device and N is per partition on that device)

    -via the KDE Gui:
    K button -> KNOPPIX -> Configure -> Create a persistent KNOPPIX home directory

    -Don't try to format the key, it is already formatted in fat or fat32.

    -Knoppix creates a "knoppix.img" file for the amount of space you specified, which it uses as a virtual home drive.

    You can now boot knoppix with the home=scan arg to use it.

    Caveats:
    -The persistent home tool likes to access partitions, so you may want to partition your USB key into 2 or more partitions using the vendor supplied utility, even if one is only 1MB and the other is the rest of the space.

    -KDE places icons for recognized storage devices on the desktop, it gets confused when there are no partitions (in my exp. at least) and shows you all 4 possible partitions, although none are really accessible

    -You may have to try manually mouting the possible devices and then using "df -k" to find the size/numbering of your partitions:
    example: mount -t vfat /dev/sda /mnt/mountpointyoucreated
    example: mount -t vfat /dev/sda1 /mnt/mountpointyoucreated
    example: mount -t vfat /dev/sda2 /mnt/mountpointyoucreated

  4. #4
    Senior Member registered user
    Join Date
    Jun 2003
    Posts
    611
    Once you create a persistent home on a usb pen, all you need is the home=scan cheatcode.

    I have set this cheatcode in the default boot options of my remaster. I also set the default resolution to 1024x768. So I can just boot normally, and if a persistent home is on a usb pen or on the hard drive, it will find it and use it without any input on my part.

  5. #5
    Junior Member registered user
    Join Date
    Dec 2003
    Posts
    17
    How about making home=scan and myconf=scan default option at boot time? It will take a few sec extra to boot, but makes life simpler for newbies.

  6. #6
    Senior Member registered user
    Join Date
    Jun 2003
    Posts
    611
    Sorry, I should have elaborated... The default boot options on my remaster are currently home=scan myconf=scan screen=1024x768

    I've also adjusted the knoppix-autoconfig script to no longer propmt a user to retry or abort detection of a persistent home using aes256 encryption for when a persistent home is not found. Also, a vncserver runs at startup (becuase I often run my remaster on boxes without cases, hard drives, monitors, et al. So I can sit on my mian box and then vnc to an overclockix box by its IP.

    You'll be prompted to enter a vnc password during the boot sequence.

  7. #7
    Junior Member
    Join Date
    Feb 2004
    Posts
    2
    but how to make home=scan and screen=1024x768 default operation without cheat code?

Similar Threads

  1. Permanent home onto Sandisk USB flash drive ruined drive
    By mjman in forum Hardware & Booting
    Replies: 9
    Last Post: 10-25-2004, 09:46 PM
  2. USB 2.0 Hard Drive Persistent Home
    By tbobz in forum General Support
    Replies: 6
    Last Post: 09-14-2004, 09:38 AM
  3. Replace default cd home drive with persistant home drive ???
    By ktheking in forum Customising & Remastering
    Replies: 6
    Last Post: 01-02-2004, 09:35 PM
  4. persistant home drive on cd-r ?
    By ktheking in forum General Support
    Replies: 4
    Last Post: 11-14-2003, 12:25 PM
  5. automatic drive mounting??
    By VeeDubb in forum General Support
    Replies: 6
    Last Post: 03-19-2003, 07:27 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
  •  


Vintage 5362 IBM System/36 Mini-Computer Mainframe 5291 2, CRT Terminal DM12N501 picture

Vintage 5362 IBM System/36 Mini-Computer Mainframe 5291 2, CRT Terminal DM12N501

$249.99



IBM Type 4869 External 5 1/4in Floppy Disk Drive Mainframe Collection - UNTESTED picture

IBM Type 4869 External 5 1/4in Floppy Disk Drive Mainframe Collection - UNTESTED

$65.00



6 Vintage Computer Tape Reels mainframe 3200 5000 data ibm magnetic processor picture

6 Vintage Computer Tape Reels mainframe 3200 5000 data ibm magnetic processor

$99.00



IBM Type 4869 External 5 1/4in Floppy Disk Drive Mainframe Collection picture

IBM Type 4869 External 5 1/4in Floppy Disk Drive Mainframe Collection

$145.99



Digital DEC LK201BA Terminal Keyboard RJ11 Connection Mainframe picture

Digital DEC LK201BA Terminal Keyboard RJ11 Connection Mainframe

$44.95



VINTAGE IBM Type 4869 External 5 1/4

VINTAGE IBM Type 4869 External 5 1/4" ~ Floppy Disk Drive Mainframe ~

$159.99



Cray Research Supercomputer Cray X-MP ECL Logic Board picture

Cray Research Supercomputer Cray X-MP ECL Logic Board

$149.99



Commodore Amiga 500 Computer w/Mouse and Amiga A520 RF Modulator As Is Untested picture

Commodore Amiga 500 Computer w/Mouse and Amiga A520 RF Modulator As Is Untested

$299.99



Sage MAS 90 Software for Windows Financial Reporting Mainframe Collection picture

Sage MAS 90 Software for Windows Financial Reporting Mainframe Collection

$339.99



Xargon 1 Beyond Reality RARE Game Floppy 3.5” Floppy Mainframe Collection picture

Xargon 1 Beyond Reality RARE Game Floppy 3.5” Floppy Mainframe Collection

$349.99