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
  •  


VINTAGE

VINTAGE "LATE-VERSION" APPLE IIC KEYCAPS: $1.13 OR $3.40 EACH + S/H

$3.40



Vintage NEW-IN-BOX Prolink AVGA4VL+ VESA VLB CL-5428 VGA + Mervin IDE + UMC I/O picture

Vintage NEW-IN-BOX Prolink AVGA4VL+ VESA VLB CL-5428 VGA + Mervin IDE + UMC I/O

$79.97



Vintage Apple G3/4/5 Era Firewire & USB Cable Lot picture

Vintage Apple G3/4/5 Era Firewire & USB Cable Lot

$29.99



Vintage Radio Shack TRS-80 Basic Coding Form and  Video Display Worksheets (44) picture

Vintage Radio Shack TRS-80 Basic Coding Form and Video Display Worksheets (44)

$13.00



Vintage IBM OS/2 Warp Version 3 w/ BonusPak - IBM  floppy disk picture

Vintage IBM OS/2 Warp Version 3 w/ BonusPak - IBM floppy disk

$45.00



Vintage Apple IIe Owet's Manual, ProDos Manual, Communication Manual picture

Vintage Apple IIe Owet's Manual, ProDos Manual, Communication Manual

$45.00



Vintage Conner CFA850A IDE Hard Drive — Formatted to 100MB, Boots to DOS, Works picture

Vintage Conner CFA850A IDE Hard Drive — Formatted to 100MB, Boots to DOS, Works

$12.97



Vintage Commodore 64 Computer - Fully Functional, Cleaned, Updated Power Supply picture

Vintage Commodore 64 Computer - Fully Functional, Cleaned, Updated Power Supply

$259.99



Vintage Disney Winnie The Pooh Tigger & Piglet Learning Keyboard DS KB10 picture

Vintage Disney Winnie The Pooh Tigger & Piglet Learning Keyboard DS KB10

$62.00



Vintage RT101+ Shortcut Manual Attached Keyboard picture

Vintage RT101+ Shortcut Manual Attached Keyboard

$30.62