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 PowerEdge M640 Barebone Server Blade No Hard Drive Trays picture

Dell PowerEdge M640 Barebone Server Blade No Hard Drive Trays

$499.00



Cisco UCS 5108 Blade Server Chassis Enclosure N20-C6508 4x PSU 8x Fans 2x Fabric picture

Cisco UCS 5108 Blade Server Chassis Enclosure N20-C6508 4x PSU 8x Fans 2x Fabric

$139.99



Dell PowerEdge FX2s CTO Blade 4 Slot 2U Chassis 2x 2000W picture

Dell PowerEdge FX2s CTO Blade 4 Slot 2U Chassis 2x 2000W

$399.00



DELL PEM640 POWEREDGE M640 BLADE SERVER picture

DELL PEM640 POWEREDGE M640 BLADE SERVER

$539.95



Dell PowerEdge M520 Blade Server Xeon E5-2403 NO HDD NO RAM picture

Dell PowerEdge M520 Blade Server Xeon E5-2403 NO HDD NO RAM

$45.00



HP Proliant BL460C Gen8 Blade Server 2x 8C E5-2690 192GB Ram picture

HP Proliant BL460C Gen8 Blade Server 2x 8C E5-2690 192GB Ram

$58.36



Cisco B200 M5 Blade 2x6154 Xeon Processors 16x64GB Memory Dimms Tested/Warrant picture

Cisco B200 M5 Blade 2x6154 Xeon Processors 16x64GB Memory Dimms Tested/Warrant

$4325.00



Dell Blade M630 Server - 2x E5-2680V4 2.4GHZ/35M 14C- No Memory - No drives picture

Dell Blade M630 Server - 2x E5-2680V4 2.4GHZ/35M 14C- No Memory - No drives

$99.00



HP ProLiant BL460c Gen9 Blade 2x E5-2650v4 2.2GHz =24 Cores 128GB P246 650FLB picture

HP ProLiant BL460c Gen9 Blade 2x E5-2650v4 2.2GHz =24 Cores 128GB P246 650FLB

$261.00



DELL PowerEdge M630 Blade 2x E5-2690v4 2.6GHz =28 Cores 64GB H330 2x10Gb X520 picture

DELL PowerEdge M630 Blade 2x E5-2690v4 2.6GHz =28 Cores 64GB H330 2x10Gb X520

$259.00