Results 1 to 3 of 3

Thread: Accessing a file on live CD post boot.

  1. #1
    Junior Member
    Join Date
    Feb 2012
    Posts
    1

    Question 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?

  2. #2
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    512
    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.

  3. #3
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    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
  •  


Dell OptiPlex 3060 MICRO DESKTOP PC COMPUTER I5 8TH GEN UP TO 32GB UP TO 2TB M.2 picture

Dell OptiPlex 3060 MICRO DESKTOP PC COMPUTER I5 8TH GEN UP TO 32GB UP TO 2TB M.2

$295.00



Adlink MXC-6312D Industrial PC w/ Fan Opt | Core i5-3610ME QM77 8GB RAM 500GB HD picture

Adlink MXC-6312D Industrial PC w/ Fan Opt | Core i5-3610ME QM77 8GB RAM 500GB HD

$999.96



HP Desktop i5 OR I7 Computer Mini PC Up To 32GB RAM 2TB SSD Windows 10 Pro WiFi picture

HP Desktop i5 OR I7 Computer Mini PC Up To 32GB RAM 2TB SSD Windows 10 Pro WiFi

$220.00



Dell Optiplex 7040 Intel Quad-Core i5-6500 3.2 GHz, 8GB RAM Windows 7 picture

Dell Optiplex 7040 Intel Quad-Core i5-6500 3.2 GHz, 8GB RAM Windows 7

$99.00



Intel Core i5-6500T SR2L8 @2.50GHz Processor picture

Intel Core i5-6500T SR2L8 @2.50GHz Processor

$30.00



Asus VivoBook 16X:  Core i5-12450H, RTX 3050, 512GB SSD, 8GB RAM, 16

Asus VivoBook 16X: Core i5-12450H, RTX 3050, 512GB SSD, 8GB RAM, 16" Full HD+

$579.99



Intel Core i7-9700T - 2.0 GHz 8-Core (SRG17) Processor picture

Intel Core i7-9700T - 2.0 GHz 8-Core (SRG17) Processor

$110.00



Intel - Core i5-13600K 13th Gen 14 cores 6 P-cores + 8 E-cores 24M Cache, 3.5... picture

Intel - Core i5-13600K 13th Gen 14 cores 6 P-cores + 8 E-cores 24M Cache, 3.5...

$314.99



FAST Dell TOUCHSCREEN 8th Gen Intel i7-i5 4Core 16GB RAM Pick SSD Wi-Fi BT Win11 picture

FAST Dell TOUCHSCREEN 8th Gen Intel i7-i5 4Core 16GB RAM Pick SSD Wi-Fi BT Win11

$195.00



Dell Optiplex 5040 MT Core i5-6500 3.20GHZ 8GB RAM 256GB SSD Win 10 Pro WiFi picture

Dell Optiplex 5040 MT Core i5-6500 3.20GHZ 8GB RAM 256GB SSD Win 10 Pro WiFi

$89.99