-
Senior Member
registered user
RRFish72,
What Markus was suggesting was two possible ways to do the fix, one was to create a file, called fixdrives, and place the following in it:
Code:
#!/bin/sh
rm -rf /dev/cdrom /dev/cdrom1 /dev/dvd
ln -s /dev/scd0 /dev/cdrom
ln -s /dev/scd1 /dev/cdrom1
ln -s /dev/scd1 /dev/dvd
chmod 770 /dev/cdrom /dev/cdrom1 /dev/dvd
chgrp cdrom /dev/cdrom /dev/cdrom1 /dev/dvd
and then, do the following:
Code:
Place it in /etc/init.d and do a chmod 700 /etc/init.d/fixdrives , then do (including the dot at the end): update-rc.d fixdrives start 99 5 .
Although it might be easier to just add it to the end of /etc/init.d/bootmisc.sh , not the #!bin/sh line though
But, as Markus said in that last line, you could simply just add the following code:
Code:
rm -rf /dev/cdrom /dev/cdrom1 /dev/dvd
ln -s /dev/scd0 /dev/cdrom
ln -s /dev/scd1 /dev/cdrom1
ln -s /dev/scd1 /dev/dvd
chmod 770 /dev/cdrom /dev/cdrom1 /dev/dvd
chgrp cdrom /dev/cdrom /dev/cdrom1 /dev/dvd
within your bootmisc.sh file, at the bottom. If you wanted to create the file, then you would have put the line: #!/bin/sh at the top of that file, it tells Knoppix that the file is a script, you would have needed to change the file to executable, and then would have needed to place the file in the boot up init.d -=- but we opted to just put the commands in the /etc/init.d/bottmisc.sh file - so you don't need the #!/bin/sh now, nor do you need to do a change on the file we didn't use, or need to add it into the init.d
Since you ensured that your bootmisc.sh file isn't being recreated, nor is your fstab file, I think you can uncomment those lines in your bootmisc.sh file now, and try a reboot... First test you should do, upon completion of your reboot, is to test to see that your symlinks exist for your devices -=- within any Konsole, user or root, ls -la /dev/cdrom* /dev/dvd /dev/cdaudio
If all goes well, you should have symlinks for all the devices, your fstab file should remain intact, and the above devices should work... ( again )
Ms. Cuddles
Similar Threads
-
By asearle in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 04-16-2005, 10:02 PM
-
By probono in forum Ideas
Replies: 0
Last Post: 09-17-2004, 04:17 AM
-
Replies: 1
Last Post: 09-15-2004, 01:36 AM
-
By CapnKirk in forum Customising & Remastering
Replies: 2
Last Post: 02-13-2004, 04:54 PM
-
By speeves in forum Customising & Remastering
Replies: 0
Last Post: 02-12-2004, 04:03 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

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

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
$374.99

Dell PowerEdge R240 Intel Xeon E-2224 3.50GHz 8GB DDR4 ECC NO HDD 250W
$285.97

Dell Poweredge R810 4x Xeon X7560 2.26ghz 32-Cores | 256GB | 3x Trays | H700
$289.99

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

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

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W
$524.99

Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD
$99.99

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores | 32gb | HBA330 | 2x 1...
$324.99