-
Accessing a file on live CD post boot.
I am trying to make a easily customizable linux live cd. The user should be able to replace one file in the .ISO file's root folder. I need to be able to read the file after the cd has booted. It may not be embeded in the ramdisk.
Can i pass the file to the kernel via some parameter?
Do i need to mount the cd, what if it booted via usb?
How would i go about doing this?
-
Senior Member
registered user
I think that you could create a shell script knoppix.sh in the KNOPPIX directory. This script would be executed after system configuration has finished. If your file has to be read at an earlier time you should modify the init script inside minirt.gz.
-
Senior Member
registered user
Greetings, AndrewStone.
If I understand your question, there are a couple of ways to provide for file access after LiveUSB boot.
One is to partition the USB into one or more additional sectors before you create the LiveUSB,
Another is to not use all the LiveUSB partition for the LiveUSB and persistence, save a little.
this saved amount shows up in /mnt-system, if I recall correctly.
Cheers
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

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot
$285.90

SanDisk Ultra Luxe USB 3.1 Flash Drive – 5 Pack | Premium Metal USB Flash Drives
$59.99

1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot
$269.10

Microsoft Windows 11 Pro 64bit - New Sealed – Flash USB 1 PC
$49.99

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack
$826.09

USB Type-A Flash Drive Metal Memory Stick High Speed USB Drive 128GB 256GB 512GB
$8.47

Wholesale 5/10/100PCS 1MB- 64GB USB 2.0 Flash Drive Memory Stick Jump Drive Lot
$280.00

LOT 10x SanDisk 32GB ULTRA USB 3.0 flash drive SDCZ48-032G 32 GB read 100 MB/s
$39.80

2021 Full Version Office Professional Plus for 1 PC Flash USB Drive
$59.99

128GB USB 14-in-1 MacOS bootable Installer repair recovery tech support service
$39.99