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
  •  


OEM 130W Charger For Dell XPS 15 9530 9550 9560 9570 7590 06TTY6 Power Adapter picture

OEM 130W Charger For Dell XPS 15 9530 9550 9560 9570 7590 06TTY6 Power Adapter

$35.99



NEW OEM Dell 65W 19.5V Charger AC Power Supply Adapter For LA65NM130 332-1831 picture

NEW OEM Dell 65W 19.5V Charger AC Power Supply Adapter For LA65NM130 332-1831

$12.99



NEW OEM USB-C Type-C Charger For Dell XPS 15 2in1 9575 Precision 5530 130W picture

NEW OEM USB-C Type-C Charger For Dell XPS 15 2in1 9575 Precision 5530 130W

$35.99



Genuine 45W Power Adapter Charger for Dell DA45NM140 0KXTTW 4.5*3.0mm OEM picture

Genuine 45W Power Adapter Charger for Dell DA45NM140 0KXTTW 4.5*3.0mm OEM

$16.99



OEM Dell Inspiron 11 13 14 15 17 3000 5000 7000 AC Adapter Charger 65W 4.5mm Tip picture

OEM Dell Inspiron 11 13 14 15 17 3000 5000 7000 AC Adapter Charger 65W 4.5mm Tip

$10.99



OEM Dell 90W Laptop Charger AC Adapter 19.5V 4.62A 50-60 Hz Latitude, XPS picture

OEM Dell 90W Laptop Charger AC Adapter 19.5V 4.62A 50-60 Hz Latitude, XPS

$8.74



OEM 130W USB-C Type-C Charger for Dell XPS 15 9500 9570 9575 17 9700 DA130PM170 picture

OEM 130W USB-C Type-C Charger for Dell XPS 15 9500 9570 9575 17 9700 DA130PM170

$35.88



Dell Original OEM 45W 19.5V AC Adapter Charger 070VTC 0KXTTW 00285K 0YTFJC 4.5mm picture

Dell Original OEM 45W 19.5V AC Adapter Charger 070VTC 0KXTTW 00285K 0YTFJC 4.5mm

$10.94



OEM 130W Power Adapter Charger For Dell XPS 15 9530 9550 9560 9570 7590 06TTY6 picture

OEM 130W Power Adapter Charger For Dell XPS 15 9530 9550 9560 9570 7590 06TTY6

$33.22



Genuine OEM 42wh YRDD6 Battery For Dell Inspiron 3493 3582 3583 3584 7586 3793 picture

Genuine OEM 42wh YRDD6 Battery For Dell Inspiron 3493 3582 3583 3584 7586 3793

$32.89