-
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
Genuine Apple OEM 60W Magsafe Charger / AC Adapter for A1278 MacBook Pro
$8.99
Apple OEM QHD IPS LCD Screen Assembly for 16" MacBook Pro A2141 2019/20 Display
$299.99
Genuine Apple OEM 60W Magsafe Charger / AC Adapter for A1278 MacBook Pro
$7.95
Apple OEM Original (A1374) 45W MagSafe Power Adapter with Fold Plug Only - White
$10.95
OEM Apple 10W GENUINE USB Wall Plug Charger Adapter iPhone iPad Lightning cable
$6.99
Genuine Apple A1882 30W USB-C Power Adapter Apple OEM CHARGER
$18.99
Genuine Original OEM APPLE Thunderbolt Cable 2M MC913ZM/A MD861LL/A White 6.5ft
$18.50
Genuine OEM Apple 12W USB Power Adapter Type A Wall Charger for iPhone & iPad
$5.99
OEM 61W USB-C Power Adapter For Apple MacBook PRO 13 15 16 2020 2018 Air 13 1947
$22.99
Genuine OEM Apple 85W MagSafe 2 Charger for MacBook Pro / Air TESTED - WORKING-
$9.85