Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: how to mount harddisks on systemstart

  1. #11
    Senior Member registered user
    Join Date
    Mar 2004
    Location
    Berlin
    Posts
    436
    You could try this trick (I didn't test it - so no guaranatee is given).
    As root, make fstab unwritable:

    chmod a-w /etc/fstab

    The next boot, you might see some errormessages, showing which script tried to write to the file - but I'm not sure whether they will give detailed erromessages.

    Then you might tell us the script and the code-block, where the errors occur, and we could tell you how to change it, without breaking important things.

  2. #12
    Junior Member
    Join Date
    May 2004
    Posts
    5
    knoppix does only change the last lines in the fstab on every reboot new ...
    the lines with the comments
    #createt by knoppix

    but i added my code to the upper lines.
    when i reboot are these lines still there.
    but nothing happens

    that is my problem. everything looks ok. and when i use the command
    Code:
    mount /test
    then i can see the right files with ls -l /test without any problems.

    but directly after reboot the directory is empty, because of the not mounted harddisk

    i have the sace problem with the interface file for the networking ...
    after reboot does
    Code:
    ifconfig
    only show the interface eth0 ... but when i do a force-reload on the
    Code:
    /etc/init.d/networking/
    erverything is ok and even the correct ip address is set...

    im realy confused ...

  3. #13
    Junior Member registered user
    Join Date
    Sep 2003
    Posts
    16
    I made changes at fstab and now knoppix didn't changue fstab but linux don't mount my other partitions. It's the same than magicoizo.

    Help!

  4. #14
    Senior Member registered user
    Join Date
    Mar 2004
    Location
    Berlin
    Posts
    436
    well magicoizo, to the networking:

    networking is an issue of runlevel 4 - multiuser with networking.
    You have to create a symlink to /init.d/networking

    note: it has to be networing not networking/.
    In the second case it would be a directory.

    Code:
    ln -s /etc/init.d/networking /etc/rc4.d/S88networking
    for runlevel N you put a script into /etc/rcN.d
    For a script to be executed when entering the runlevel, you name it SXYfoo, with S=S, XY=order number, in which the scripts are executed from 00-99 and foo=the name of your script.
    For a script to be executed when leaving the runlevel, you would replace the S with K.
    S=start
    K=kill

    If you have a mount-script, you may act symetrically, but put it into rc.S, since mounting is usefull in single-user-mode.

    If you lack a mount-script, create it in init.d:
    Code:
    echo "mount -a" > /etc/init.d/mount_all
    chmod a+x /etc/init.d/mount_all
    then act symetrically.

  5. #15
    Junior Member
    Join Date
    May 2004
    Posts
    5
    ok, it was the runlevel

    the mounting and also the networking problem is made ...

    now i can start configuring my linux

    thank you very much, all of you

  6. #16
    Junior Member registered user
    Join Date
    Sep 2003
    Posts
    16
    I made the script for HD and now it works prefectly. Thank u user unknown!!

  7. #17
    Senior Member registered user
    Join Date
    Mar 2004
    Location
    Berlin
    Posts
    436
    you're welcome

Page 2 of 2 FirstFirst 12

Similar Threads

  1. looking to mount USB CD rom
    By maestrobwh1 in forum Hardware & Booting
    Replies: 0
    Last Post: 04-08-2005, 11:47 PM
  2. How To Mount
    By Wassim in forum Hardware & Booting
    Replies: 2
    Last Post: 02-03-2005, 03:59 PM
  3. Hangs when scanning harddisks partitions
    By Jaster in forum General Support
    Replies: 3
    Last Post: 07-21-2004, 03:42 PM
  4. how to set IP-Adress on systemstart
    By magicoizo in forum General Support
    Replies: 1
    Last Post: 05-20-2004, 04:35 AM
  5. Mount ISO
    By lindleyrl in forum General Support
    Replies: 0
    Last Post: 03-09-2003, 06:14 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
  •  


Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p picture

Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p

$499.88



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb picture

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb

$374.99



Dell Poweredge R620 10x 2.5

Dell Poweredge R620 10x 2.5" bay with 256GB (16x16gb) DDR3, 2x E5-2690v2, H710

$349.99



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

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

$378.93



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W

$409.99



Dell PowerEdge R640  8xSFF Server Barebone 2 x Heat Sink w / 2x 1100W PSU picture

Dell PowerEdge R640 8xSFF Server Barebone 2 x Heat Sink w / 2x 1100W PSU

$315.00



Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD picture

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD

$149.99



Dell Poweredge C4130 2x LGA2011-3 1U 4x GPU Rackmount Server CTO (NO CPU/NO RAM) picture

Dell Poweredge C4130 2x LGA2011-3 1U 4x GPU Rackmount Server CTO (NO CPU/NO RAM)

$299.95



Dell EMC VxRail E560F 10-SFF 2*Gold 6230R 2.1GHz No RAM HBA330 iDrac Ent Server picture

Dell EMC VxRail E560F 10-SFF 2*Gold 6230R 2.1GHz No RAM HBA330 iDrac Ent Server

$349.99