Results 1 to 6 of 6

Thread: Installing with apt-get on ramdisk

  1. #1
    Junior Member registered user
    Join Date
    Sep 2003
    Location
    Rio de Janeiro / Brazil
    Posts
    27

    Installing with apt-get on ramdisk

    Hi all,

    I'm using the last version of Knoppix with the new option toram and
    I'm very happy with it

    I'd like now use apt-get to install new programs on the ramdisk

    Copying

    /KNOPPIX/var/lib/apt
    /KNOPPIX/var/lib/dpkg
    /KNOPPIX/var/cache/apt
    /KNOPPIX/usr/local

    to /ramdisk and linking

    /var/lib/apt
    /var/lib/dpkg
    /var/cache/apt
    /var/usr/local

    to there I could finally do apt-get update

    but when doing apt-get install something it does this to /usr by default

    how can I force it to install in /usr/local ?

    (sorry for my english)

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    not an easy task. This has nothing to do with KNOPPIX but debian. As far as I know, the debian package contains files to would be 'unpacked' into various location at the package maintainer's choice then run some scripts for the configuration(creating more files in /etc, /var ...). Debian doesn't follow the convention of local installed programs go to /usr/local.

    I don't know if this is controllable as I am still struggling with apt-get/dpkg after 6 months or so.

  3. #3
    Junior Member registered user
    Join Date
    Aug 2003
    Location
    Esquipulas, Oax. México
    Posts
    19
    But why install programs to the ramdisk? Won't they disappear again?
    The way I do it. I chroot to the place where KNOPPIX is and I can use apt-get without changing anything.

    As henrique pointed out, your wanting to change where Debian installs programs, that should be asked in linux.debian.user because it is a Debian issue and has nothing to do with Knoppix.

    Regards,

    Hugo.

  4. #4
    Senior Member registered user
    Join Date
    Jun 2003
    Posts
    611
    Have a look at fabianX's scripts. I think what he does is install by compiling the source code and directing it files to a location in the ramdisk, rather than using apt-get binaries.

  5. #5
    Junior Member registered user
    Join Date
    Sep 2003
    Location
    Rio de Janeiro / Brazil
    Posts
    27
    Where can I find it please ?

  6. #6
    Senior Member registered user
    Join Date
    Jun 2003
    Posts
    611
    Use the search function. There's ati and nvidia 3d driver install on demand scripts, also f-prot (virus scanner), ogle (dvd player), and a few others I think....

Similar Threads

  1. ramdisk
    By sampo in forum Hardware & Booting
    Replies: 1
    Last Post: 05-06-2005, 12:23 AM
  2. /ramdisk
    By joshuabok in forum General Support
    Replies: 4
    Last Post: 10-01-2004, 05:55 PM
  3. How to copy k3b to ramdisk?
    By Knoppixerin in forum General Support
    Replies: 0
    Last Post: 02-11-2004, 01:57 PM
  4. How to get rid of the ramdisk /dev/shm?
    By glukorizon in forum General Support
    Replies: 2
    Last Post: 05-05-2003, 08:48 PM
  5. Ramdisk failure
    By Nedly in forum Hardware & Booting
    Replies: 5
    Last Post: 04-05-2003, 02:12 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
  •  


Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray picture

Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray

$39.99



Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5

Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5" 512e HDD NetApp X375A

$64.00



HGST Ultrastar HUS726040AL5210 4TB 7200RPM SAS 12Gb/s Enterprise HDD picture

HGST Ultrastar HUS726040AL5210 4TB 7200RPM SAS 12Gb/s Enterprise HDD

$41.00



Seagate Barracuda ST1000DM003 1 TB SATA III 3.5 in Desktop Hard Drive picture

Seagate Barracuda ST1000DM003 1 TB SATA III 3.5 in Desktop Hard Drive

$23.99



Seagate Exos 7E8 4TB SAS 12Gb ST4000NM0025 7200 512n 3.5 HDD picture

Seagate Exos 7E8 4TB SAS 12Gb ST4000NM0025 7200 512n 3.5 HDD

$48.99



Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE picture

Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE

$68.99



Toshiba MG03ACA400 4TB 7200 RPM SATA 6.0Gb/s 3.5

Toshiba MG03ACA400 4TB 7200 RPM SATA 6.0Gb/s 3.5" Enterprise HDD (V6313)

$61.56



Seagate ST3000NM0005 HDD 3TB SATA 6Gb/s 7.2K 3.5

Seagate ST3000NM0005 HDD 3TB SATA 6Gb/s 7.2K 3.5" 512 b/s

$59.00



Seagate ST8000NM0075 Enterprise Capacity 3.5 HDD 8TB SAS Hard Drive 8TB EXOS picture

Seagate ST8000NM0075 Enterprise Capacity 3.5 HDD 8TB SAS Hard Drive 8TB EXOS

$184.99



Tested WD Ultrastar DC HC520 12TB 7.2K RPM SATA 6Gb/s 3.5

Tested WD Ultrastar DC HC520 12TB 7.2K RPM SATA 6Gb/s 3.5" HDD HUH721212ALN600

$239.99