-
Controling directory structure on a remastered CD
Hi,
I appologize if my questions have been answerd before
or if they stem from lack of linux savy 
I have been looking everywhere for a lead and couldn't find the answer...
I have bee trying to remaster a CD using custom directory
structres.
The remaster process works great thanks to the instructions provided in the FAQ.
But I have 2 problems:
1. After remastering and booting, directories like /var which are mapped to /ramdisk/var (which is writable), contain symlinks to /Knoppix/Var (which is not writable).
I have noticed that all the executable files inside /var become symlinks to /Knoppix/var/ and other files don't change.
When I look at my original source directory the executable files are there, they are not symlinks !!!
My question is how do I control which directories point
to the ramdisk and how do I prevent Knoppix from
replacing my executables with symlinks to the non writable CD.
2. I need to add directories to the remastered root
and have them writable.
I was thinking of adding symlinks.
Where should I add the symlinks ?
Is the /KNOPPIX/knoppix.sh the right place to do that ?
Thank you for your help
Fuzzy
-
Senior Member
registered user
I think all that symlinking takes place inside miniroot.gz.
Why not just add your directories to /home/knoppix, which is in ramdisk and writeable? To do that, all you'd have to do is set them up and then copy them over into the /etc/skel on your mounted partition with your remaster's source files. Edit /etc/X11/Xsession.d/45xsession in order to include them in the things that get copied over to /home/knoppix when it is created.
-
Hi Arkane,
Thank you for the reply.
I will look into the config files you mentioned.
The problem is that I need to preserve directory
structure, I need /var to stay writable and with
no symlinks.
Similar Threads
-
By copymaster in forum Customising & Remastering
Replies: 0
Last Post: 01-25-2004, 04:35 PM
-
By Sammy in forum The Lounge
Replies: 1
Last Post: 11-20-2003, 07:41 AM
-
By slicksps in forum General Support
Replies: 4
Last Post: 11-10-2003, 05:08 AM
-
By ktheking in forum Networking
Replies: 3
Last Post: 11-09-2003, 06:34 PM
-
By brownalert in forum Laptops
Replies: 1
Last Post: 11-07-2003, 10: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 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray
$39.99

Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5" 512e HDD NetApp X375A
$64.00

Toshiba DT01ACA100 1 TB 3.5" SATA III 3.5 in Desktop Hard Drive
$24.99

Tested WD Ultrastar DC HC520 12TB 7.2K RPM SATA 6Gb/s 3.5" HDD HUH721212ALN600
$239.99

Western Digital WD Red 4TB NAS Hard Drive WD40EFRX SATA 64MB 3.5" HDD
$95.00

Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE
$68.99

Seagate Barracuda ST1000DM003 1 TB SATA III 3.5 in Desktop Hard Drive
$23.99

Seagate ST3000NM0005 HDD 3TB SATA 6Gb/s 7.2K 3.5" 512 b/s
$59.00

HGST Ultrastar HUS726040AL5210 4TB 7200RPM SAS 12Gb/s Enterprise HDD
$41.00

Seagate ST8000NM0075 Enterprise Capacity 3.5 HDD 8TB SAS Hard Drive 8TB EXOS
$184.99