Results 1 to 2 of 2

Thread: network persistent home directory.

  1. #1
    Junior Member
    Join Date
    Jun 2003
    Posts
    4

    network persistent home directory.

    I wanted a larger home directory that was accessible over the network and internet(when I'm away from the office). This is what I hacked together.
    There are probably alot of better ways of doing this, but I didnt really want to remaster the entire CD.
    I hope some of you find it usefull.

    /dev/sda1 is my 16MB memory card where I save my settings/configuration.

    how to do it yourself
    =-=-=-=-=-=-=-=-=-=-=
    1) setup a share on a samba server with rw access.

    2) mount /dev/sda1

    3) vi /mnt/sda1/knoppix.sh and add the following at the end of the script:
    mkdir /mnt/remotehome
    mount -t smbfs -o username=remotehome,password=topsecret,workgroup=W HATEVER,gid=knoppix,uid=knoppix,fmask=700,dmask=70 0 //192.168.0.1/remotehome /mnt/remotehome
    losetup /dev/loop0 /mnt/remotehome/home.img
    mount -t ext3 /dev/loop0 /home/knoppix
    chown -R knoppix.knoppix /home/knoppix

    4) umount /mnt/sda1

    5) mkdir /mnt/remotehome

    6) mount -t smbfs -o username=remotehome,password=topsecret,workgroup=W HATEVER,gid=knoppix,uid=knoppix,fmask=700,dmask=70 0 //192.168.0.1/remotehome /mnt/remotehome

    (this will give you 100MB, change to your own requirements)
    7) dd if=/dev/zero of=/mnt/remotehome/home.img bs=1k count=100000

    8) losetup /dev/loop0 /mnt/remotehome/home.img

    9) mkfs.ext3 -c /dev/loop0 100000

    shutdown your machine and reboot using "knoppix myconfig=scan" and everything should work smoothly.

    ...and yes, this could be alot prettier.

  2. #2
    Junior Member
    Join Date
    Aug 2003
    Posts
    1
    That post can help me a lot because my hard drive died and i thought about knoppix but running only from a floppy excludes installing new software can changing home dir as you described and having floppy for config files will allow me to install new sofware?. I've got some free space on my server and i am sharing it without setting it as my home dir. Now it will be better but i have a small question is it possible to set remote dir as a config source floppys arent reliable and they are slow. I thing that i will have to remaster cd but how to make that the config will be taken from the network without config (setting up interfaces etc) maybe setting basic config to get rest of the config from the net or even replacing already set with a new one?? It is hard for me to describe it so it wil be imposible to do it without some directions. So please help me. If you can.

Similar Threads

  1. Add persistent home directory flexibility
    By JeffBonn in forum Ideas
    Replies: 2
    Last Post: 04-30-2005, 06:33 AM
  2. Knoppix home directory not persistent ?
    By bucodi in forum General Support
    Replies: 2
    Last Post: 04-19-2005, 10:05 PM
  3. 3.8 persistent home directory
    By ddrex in forum General Support
    Replies: 0
    Last Post: 04-04-2005, 07:52 PM
  4. Persistent home directory
    By Geof in forum General Support
    Replies: 1
    Last Post: 01-18-2005, 03:55 PM
  5. Persistent Home Directory
    By Dooley in forum The Lounge
    Replies: 0
    Last Post: 05-30-2004, 08:43 PM

Posting Permissions

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


MegaRAID 9580-8i8e 16-port 12G SAS/SATA/NVMe 8GB PCIe RAID - 05-50076-00 picture

MegaRAID 9580-8i8e 16-port 12G SAS/SATA/NVMe 8GB PCIe RAID - 05-50076-00

$1619.19



Intel VROC Premium RAID Controller Card PCIe Add-On Module VROCPREMMOD picture

Intel VROC Premium RAID Controller Card PCIe Add-On Module VROCPREMMOD

$265.00



Areca ARC-1882IX-24 (16i4e)24-Port RAID Controller Card w/BBU /HDD Monitor Board picture

Areca ARC-1882IX-24 (16i4e)24-Port RAID Controller Card w/BBU /HDD Monitor Board

$300.00



Broadcom 9600-24i RAID Controller PCIe Gen 4.1 Tri-Mode NEW 05-50111-01004 picture

Broadcom 9600-24i RAID Controller PCIe Gen 4.1 Tri-Mode NEW 05-50111-01004

$649.99



Dell PowerEdge HBA330 LP PCI-E 12GBs RAID SAS Controller Adapter J7TNV picture

Dell PowerEdge HBA330 LP PCI-E 12GBs RAID SAS Controller Adapter J7TNV

$18.95



OWC Mercury Elite Pro 2 Bay RAID Enclosure with USB 3.2  for Dual 3.5 inch HDDs picture

OWC Mercury Elite Pro 2 Bay RAID Enclosure with USB 3.2 for Dual 3.5 inch HDDs

$87.99



Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller picture

Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller

$64.99



Dell PERC H740p Mini Mono RAID Controller 8GB 0878M 5FMY4 GP6RN picture

Dell PERC H740p Mini Mono RAID Controller 8GB 0878M 5FMY4 GP6RN

$55.00



Broadcom MegaRAID 9480-8e Fujitsu PRAID EP540e SAS RAID Card (Replac 9380-8e) 8i picture

Broadcom MegaRAID 9480-8e Fujitsu PRAID EP540e SAS RAID Card (Replac 9380-8e) 8i

$228.00



New BroadCom 9500-8i Tri-Mode HBA Card Storage Adapter New-Sealed picture

New BroadCom 9500-8i Tri-Mode HBA Card Storage Adapter New-Sealed

$245.57