-
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

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX
$59.99

GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5
$189.99

Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery
$54.99

ASUS PRIME Z890-P WIFI Z890 LGA 1851 ATX motherboard, Intel® Core™ Ultra Series
$235.99

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard
$59.99

MSI B550M PRO-VDH Micro-ATX Motherboard - AMD AM4, Ryzen 5000/4000/3000 Ready, P
$71.49

MSI - B550M PRO-VDH WIFI (Socket AM4) AMD B550 MATX DDR4 Wi-Fi 6 Motherboard ...
$89.99

Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)
$29.90

ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield
$84.99

ASRock IMB-X1314 LGA 1700 Intel W680 DDR4 Quad display Micro-ATX Motherboard
$351.99