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
  •  


Juniper EX4300-24T Layer 3 24 Ports Manageable Ethernet Switch 1 Year Warranty picture

Juniper EX4300-24T Layer 3 24 Ports Manageable Ethernet Switch 1 Year Warranty

$139.00



Juniper EX2200-C-12T-2G 12 Port L3 EX2200-C Compact Fanless Switch 1YearWarranty picture

Juniper EX2200-C-12T-2G 12 Port L3 EX2200-C Compact Fanless Switch 1YearWarranty

$154.00



Juniper EX3300-48P, 48 Port PoE+ Gigabit Network Switch w/ Power cord picture

Juniper EX3300-48P, 48 Port PoE+ Gigabit Network Switch w/ Power cord

$54.99



Juniper EX4300-48T 48 Port 1G 4 QSFP 40G Dual PSU AFO w/ Rails, EX-UM-4X4SFP Mod picture

Juniper EX4300-48T 48 Port 1G 4 QSFP 40G Dual PSU AFO w/ Rails, EX-UM-4X4SFP Mod

$169.00



Juniper Networks EX3300-48P 48-Port PoE+ 4x SFP+ Network Switch picture

Juniper Networks EX3300-48P 48-Port PoE+ 4x SFP+ Network Switch

$50.95



JUNIPER EX3400-48P 48x 1GB PoE+ RJ-45 4x 10GB SFP+ 2x 40GB QSFP+, DUAL AC POWER picture

JUNIPER EX3400-48P 48x 1GB PoE+ RJ-45 4x 10GB SFP+ 2x 40GB QSFP+, DUAL AC POWER

$315.00



Juniper Networks EX2300-24P 24 Port Gigabit PoE 4 SFP 1/10G Network Switch picture

Juniper Networks EX2300-24P 24 Port Gigabit PoE 4 SFP 1/10G Network Switch

$119.00



Juniper EX4600-40F-AFO 24 SFP+/SFP Ports 4 QSFP+ Ports Switch - Dual AC PSU picture

Juniper EX4600-40F-AFO 24 SFP+/SFP Ports 4 QSFP+ Ports Switch - Dual AC PSU

$950.00



Juniper QFX5100-48S 48-Port 10GbE SFP+ 6x40GbE QSFP Network Switch w/Ears Tested picture

Juniper QFX5100-48S 48-Port 10GbE SFP+ 6x40GbE QSFP Network Switch w/Ears Tested

$599.99



Juniper Networks SRX240 16-Port Security Gateway Firewall Appliance SRX240H picture

Juniper Networks SRX240 16-Port Security Gateway Firewall Appliance SRX240H

$47.99