Results 1 to 6 of 6

Thread: "/etc/fstab is not yet prepared" after reboot

  1. #1
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Germany
    Posts
    1,159

    "/etc/fstab is not yet prepared" after reboot

    Hi, for all of you who are using the Live CD:

    at reboot, the file /etc/fstab is dynamically (re-)created by Knoppix, and the klik-specific entries are lost. So you have to add them back after every reboot. Fortunately, there is an easy solution:

    Simply put in your knoppix.sh (search the forum if you don't know what knoppix.sh is):

    Code:
    cat >> /etc/fstab <<\EOF 
    /mnt/app/1/image /mnt/app/1 auto user,noauto,ro,loop,exec 0 0 
    /mnt/app/2/image /mnt/app/2 auto user,noauto,ro,loop,exec 0 0 
    /mnt/app/3/image /mnt/app/3 auto user,noauto,ro,loop,exec 0 0 
    /mnt/app/4/image /mnt/app/4 auto user,noauto,ro,loop,exec 0 0 
    /mnt/app/5/image /mnt/app/5 auto user,noauto,ro,loop,exec 0 0 
    /mnt/app/6/image /mnt/app/6 auto user,noauto,ro,loop,exec 0 0 
    /mnt/app/7/image /mnt/app/7 auto user,noauto,ro,loop,exec 0 0 
    EOF
    Alternatively you can use Kanotix 2005-01 which has all set up for you.

    Greetings,
    probono

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Germany
    Posts
    1,159
    Quote Originally Posted by lilsirecho
    The knoppix.sh you refer to is located wherein? How does one add to a .sh?.
    The knoppix.sh file is a simple shell script. When Knoppix boots, it scans the KNOPPIX directory on the CD for a knoppix.sh file (or if you use the myconfig=scan cheat code, it will also scan other devices on your system). If it finds this file, it will execute it. Windows users can think of this file as an autoexec.bat script. You can basically put any series of commands into this script and Knoppix will execute them upon startup. (Cited from http://www.oreillynet.com/pub/wlg/5964)

    Greetings,
    probono

  3. #3
    Senior Member registered user
    Join Date
    Jul 2004
    Location
    Ca
    Posts
    305
    Probono;

    The download obtained in klik via wget was initially as referenced in the previous post.

    The download received in recent days is as follows: (edited to enable users)
    ================================================== ==============================
    /tmp/app/1/image /tmp/app/1 cramfs,iso9660 users,noauto,ro,loop,exec 0 0
    /tmp/app/2/image /tmp/app/2 cramfs,iso9660 users,noauto,ro,loop,exec 0 0
    /tmp/app/3/image /tmp/app/3 cramfs,iso9660 users,noauto,ro,loop,exec 0 0
    /tmp/app/4/image /tmp/app/4 cramfs,iso9660 users,noauto,ro,loop,exec 0 0
    /tmp/app/5/image /tmp/app/5 cramfs,iso9660 users,noauto,ro,loop,exec 0 0
    /tmp/app/6/image /tmp/app/6 cramfs,iso9660 users,noauto,ro,loop,exec 0 0
    /tmp/app/7/image /tmp/app/7 cramfs,iso9660 users,noauto,ro,loop,exec 0 0

    ================================================== =============================
    The klik files downloaded from the klik repository, i.e., galculator and Opera respond properly.

    NVU on the other hand requests :/root/.zAppRun: line 127: /tmp/app/2/wrapper: No such file or directory....................

    Nero.cmg produces error:
    ================================================== ===================
    which: no nero in (/tmp/app/3/sbin:/tmp/app/3/bin:/tmp/app/3/usr/sbin:/tmp/app/3/usr/bin:/tmp/app/3/usr/X11R6/bin:/tmp/app/3/usr/local/sbin:/tmp/app/3/usr/local/bin:/tmp/app/3/usr/games:/sbin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/opt/bin:/opt/kde/bin:/opt/qt/bin)
    Usage: which [options] [--] programname [...]
    Options: --version, -[vV] Print version and exit successfully.
    --help, Print this help and exit successfully.
    --skip-dot Skip directories in PATH that start with a dot.
    --skip-tilde Skip directories in PATH that start with a tilde.
    --show-dot Don't expand a dot to current directory in output.
    --show-tilde Output a tilde for HOME directory for non-root.
    --tty-only Stop processing options on the right if not on tty.
    --all, -a Print all matches in PATH, not just the first
    --read-alias, -i Read list of aliases from stdin.
    --skip-alias Ignore option --read-alias; don't read stdin.
    --read-functions Read shell functions from stdin.
    --skip-functions Ignore option --read-functions; don't read stdin.

    I have received error messages describing the need for /mnt.

    Are these throwbacks to the original setup perhaps?

  4. #4
    Senior Member registered user
    Join Date
    Jul 2004
    Location
    Ca
    Posts
    305
    Help!!!

  5. #5
    Senior Member registered user
    Join Date
    Jul 2004
    Location
    Ca
    Posts
    305
    Still need help!

  6. #6
    Junior Member registered user
    Join Date
    Apr 2008
    Location
    Houston, Texas
    Posts
    18
    Does this still work with 5.3?

Similar Threads

  1. "fstab" u "su" en HDD
    By lancha in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 02-16-2007, 10:34 AM
  2. Replies: 2
    Last Post: 04-17-2006, 11:16 PM
  3. Replies: 2
    Last Post: 02-12-2006, 11:45 AM
  4. Replies: 1
    Last Post: 10-14-2004, 12:11 AM
  5. Locate Knoppix "group" in "K" menu
    By Juny in forum General Support
    Replies: 4
    Last Post: 03-14-2003, 09:02 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
  •  


Supermicro 4U 36 Bay Storage Server 2.4Ghz 8-C 128GB 1x1280W Rails TrueNAS ZFS picture

Supermicro 4U 36 Bay Storage Server 2.4Ghz 8-C 128GB 1x1280W Rails TrueNAS ZFS

$721.06



H261-Z61 2U 24SFF AMD Server 8x EPYC 7551 256-Cores 256GB RAM 8x25G NIC 2x2200W picture

H261-Z61 2U 24SFF AMD Server 8x EPYC 7551 256-Cores 256GB RAM 8x25G NIC 2x2200W

$2512.18



Dell PowerEdge R630 8SFF 2.6Ghz 20-Core 128GB Mem 4x1G RJ-45 NIC 2x750W PSU picture

Dell PowerEdge R630 8SFF 2.6Ghz 20-Core 128GB Mem 4x1G RJ-45 NIC 2x750W PSU

$399.04



CSE-118 Supermicro 1U 3x GPU Server  2.1Ghz 16-C 128GB CX353A 2x1600W PSU Rails picture

CSE-118 Supermicro 1U 3x GPU Server 2.1Ghz 16-C 128GB CX353A 2x1600W PSU Rails

$450.03



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 R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45

$275.00



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



SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount picture

SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount

$224.99



Dell PowerEdge R430 3.5 1U 2x E5-2690 v3 2.6ghz 24-Cores 256gb 4x Trays 2x 550w picture

Dell PowerEdge R430 3.5 1U 2x E5-2690 v3 2.6ghz 24-Cores 256gb 4x Trays 2x 550w

$289.99



HP Proliant DL360 Gen9 28 Core SFF Server 2X E5-2680 V4 16GB RAM P440ar No HDD picture

HP Proliant DL360 Gen9 28 Core SFF Server 2X E5-2680 V4 16GB RAM P440ar No HDD

$191.95