-
Senior Member
registered user
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.
-
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 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 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 ...
-
Junior Member
registered user
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!
-
Senior Member
registered user
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.
-
-
Junior Member
registered user
I made the script for HD and now it works prefectly. Thank u user unknown!!
-
Senior Member
registered user
Similar Threads
-
By maestrobwh1 in forum Hardware & Booting
Replies: 0
Last Post: 04-08-2005, 11:47 PM
-
By Wassim in forum Hardware & Booting
Replies: 2
Last Post: 02-03-2005, 03:59 PM
-
By Jaster in forum General Support
Replies: 3
Last Post: 07-21-2004, 03:42 PM
-
By magicoizo in forum General Support
Replies: 1
Last Post: 05-20-2004, 04:35 AM
-
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
-
Forum Rules

Samsung 860 EVO 2TB 2.5" SATA III 3D NAND SSD MZ-76E2T0 94-100% Health
$207.00

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot
$90.00

Samsung Galaxy Tab Active 3/ 64 gig/WIFI
$85.00

Samsung 24" S3 Essential IPS 100Hz Monitor | Sealed | Fast shipping
$50.00

RAM-HOL-SAM60CPU RAM USB-C Powered Dock for Samsung Tab Active5 - 3 - 2
$81.99

RAM-HOL-SAM52CPU RAM USB-C Powered Dock Samsung Tab Active4 Pro & Tab Active Pro
$81.99

Cell Phone Smartphone Computer repair banner poster sign iphone Samsung
$89.99

RAM-GDS-SKIN-SAM54-NG-1 RAM Mounts IntelliSkin® Next Gen for Samsung Tab Active4
$93.99

Samsung PM9C1A 256GB m.2 2280 SSD GEN4X4 NVME MZVL8256HDJD new Laptop PC
$34.99

Original for Samsung NP950QCG-K01US LCD Screen Touch Full Top Assembly FHD Blue
$299.00