Results 1 to 7 of 7

Thread: Adding own folders to iso

  1. #1
    Junior Member
    Join Date
    Dec 2011
    Location
    Stiens (FRL) Netherlands
    Posts
    27

    Adding own folders to iso

    Hello people,

    I am experiencing some issues creating an remastered iso.
    I created some folder /A /B ?C etc in root level for future mount points.

    When I run the kn-remaster script and build the iso, the folders are not in the iso.
    To copy the folders to the remaster folder I added the following lines like this.

    $RSCMD /A $OKR
    $RSCMD /B $OKR
    etc

    The folder is now correctly copied to the remaster folder, but when I build and boot the iso, the folders still dont exist.

    What am I missing here?

    Greets,

    WJP
    Last edited by wjp79; 03-02-2012 at 11:22 AM.

  2. #2
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    Please can you post the output from
    Code:
    ls -la /opt/knx/remaster

  3. #3
    Junior Member
    Join Date
    Dec 2011
    Location
    Stiens (FRL) Netherlands
    Posts
    27
    Code:
    knoppix@Microknoppix:/$ ls -la /opt/knx/remaster
    total 43
    drwxr-xr-x  41 root    root      984 Feb 22 01:41 .
    drwxr-xr-x   6 root    root      152 Feb 22 02:21 ..
    drwxr-xr-x   2 root    root       48 Feb 22 00:33 A
    drwxr-xr-x   2 root    root       80 Feb 21 18:14 B
    drwxr-xr-x   2 root    root       80 Feb 21 18:13 C
    drwxr-xr-x   2 root    root       80 Feb 21 18:14 D
    drwxr-xr-x   2 root    root       80 Feb 21 18:14 E
    drwxr-xr-x   2 root    root       80 Feb 21 18:14 F
    drwxr-xr-x   2 root    root       80 Feb 21 18:14 G
    drwxr-xr-x   2 root    root       80 Feb 21 18:14 H
    drwxr-xr-x   2 root    root       80 Feb 21 18:14 I
    drwxr-xr-x   2 root    root       80 Feb 21 18:14 J
    drwxr-xr-x   2 root    root       80 Feb 21 18:14 K
    drwxr-xr-x   2 root    root       80 Feb 21 18:14 L
    drwxr-xr-x   2 root    root       80 Feb 21 18:14 M
    drwxr-xr-x   2 root    root       80 Feb 21 18:14 N
    drwxr-xr-x   2 root    root       80 Feb 21 18:15 O
    drwxr-xr-x   2 root    root       80 Feb 21 18:15 P
    drwxr-xr-x   2 root    root     3392 Feb 21 20:04 bin
    drwxr-xr-x   3 root    root      192 Sep 11 01:13 boot
    drwxrwxrwt  22 root    root    22392 Feb 22 01:36 dev
    drwxr-xr-x 156 root    root     7640 Feb 22 00:29 etc
    drwxr-xr-x   2 root    root       80 Feb 21 18:15 herstel
    drwxr-xr-x   3 root    root       72 Dec  2  2008 home
    drwxr-xr-x  17 root    root     4136 Sep 14 12:14 lib
    drwxr-xr-x   2 root    root       48 Jun 25  2008 media
    drwxr-xr-x   2 root    root       48 May 18  2008 mnt
    drwxr-xr-x   2 knoppix knoppix    48 Feb 15 12:44 net
    drwxr-xr-x   3 root    root      448 Feb 22 00:52 oke
    drwxr-xr-x   2 root    root       48 Feb 15 11:42 opt
    drwxr-xr-x   2 root    root       48 May 18  2008 proc
    drwxr-xr-x   5 root    root      304 Feb 21 18:13 root
    drwxr-xr-x   9 root    root      232 Jul 19  2011 run
    drwxr-xr-x   2 root    root     6344 Sep 14 12:15 sbin
    drwxr-xr-x   2 root    root       48 Sep 16  2008 selinux
    drwxr-xr-x   2 root    root       48 Sep 14 00:48 srv
    drwxr-xr-x   2 root    root       48 Jun  6  2008 sys
    drwxr-xr-x   2 root    nogroup    48 Nov 11  2009 tftpboot
    drwxrwxrwt   2 root    root       48 Sep 14 12:15 tmp
    drwxr-xr-x  11 root    root      264 Jul 12  2011 usr
    drwxr-xr-x  14 root    root      336 Jul 12  2011 var
    knoppix@Microknoppix:/$

  4. #4
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    I'll test it in the evening with the part "Build new ISO from remastered Knoppix" of the kn-remaster script.

    But by the way, if you need additional mountpoints, create them within '/mnt' and not in the root-directory.

    In your special case insert a line within "fknrsync()"
    Code:
    $RSCMD /mnt $OKR --exclude=/mnt/...
    and exclude all the subdirectories within '/mnt' you will not have in the new ISO.
    Last edited by Werner P. Schulz; 03-02-2012 at 02:11 PM.

  5. #5
    Junior Member
    Join Date
    Dec 2011
    Location
    Stiens (FRL) Netherlands
    Posts
    27

    mountpoints

    Thank you for looking into this.

    About the mointpoints.
    I use other scripts that mount hdd drives on /C , /D , /E etc.
    But they also call other scripts locates on /oke.

    So I need the option to put folders on root.

    I could change the scripts, but I thought putting the folders on the ISO was easier.

    WJP

  6. #6
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    I still work on it
    I've found, no empty directories appear within the remastered ISO, wether '/A, /B ..' nor '/mnt/A, /mnt/B..', and I don't know why.

  7. #7
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    No I've it; it is a problem with the UNIONFS and not with the kn-remaster script. If you want mountpoints within the new ISO, you can establish these as '/opt/A', '/opt/B' and so on.
    Mountpoints at '/A', '/mnt/A' and so on doesn't work.

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 PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox picture

Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox

$340.00



Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB picture

Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB

$510.00



Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD picture

Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD

$79.19



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



Dell PowerEdge R730, 2 sinks, SystemBoard, 8 trays,H330,Idrac 8 exp, 2x750w Psu picture

Dell PowerEdge R730, 2 sinks, SystemBoard, 8 trays,H330,Idrac 8 exp, 2x750w Psu

$135.00



Dell Poweredge R730xd 2.5in 2x E5-2690 v3 2.6ghz 24-Cores  64gb  H730  2x 750w picture

Dell Poweredge R730xd 2.5in 2x E5-2690 v3 2.6ghz 24-Cores 64gb H730 2x 750w

$189.99



CTO Dell PowerEdge R630 Server, 2x Xeon E5-2620V4, 64GB- 512GB RAM, 480GB SSDs picture

CTO Dell PowerEdge R630 Server, 2x Xeon E5-2620V4, 64GB- 512GB RAM, 480GB SSDs

$246.67



Dell PowerEdge R710 2.5

Dell PowerEdge R710 2.5" 2U Server 2x X5670 2.93GHZ 12-Core 128gb 2x 1TB SAS

$114.99



DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45

$284.00



DELL R730XD Server 2x E5-2680v4 2.4GHz =28 Cores 128GB H730 4x 1.2TB SAS 4xRJ45 picture

DELL R730XD Server 2x E5-2680v4 2.4GHz =28 Cores 128GB H730 4x 1.2TB SAS 4xRJ45

$504.00