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
  •  


HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5

HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5" Enterprise HDD

$74.99



WF12F DELL 1TB 7.2K 6GBPS SATA 2.5'' HDD HARD DRIVE ST91000640NS 0WF12F picture

WF12F DELL 1TB 7.2K 6GBPS SATA 2.5'' HDD HARD DRIVE ST91000640NS 0WF12F

$25.00



Seagate Exos X20 16TB 7.2K 256MB 3.5

Seagate Exos X20 16TB 7.2K 256MB 3.5" SATA 6Gb/s Enterprise HDD - ST16000NM000D

$139.99



Seagate Exos X16 ST14000NM001G 14TB 512E SATA 6Gb/s 3.5

Seagate Exos X16 ST14000NM001G 14TB 512E SATA 6Gb/s 3.5" Enterprise Hard Drive

$157.99



Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5

Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5" Internal Hard Drive

$29.99



HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5

HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601

$82.99



2 PACK  Seagate ST1000LM035 Mobile HDD 1TB 2.5

2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive

$27.49



8TB Seagate Archive SATA 3.5

8TB Seagate Archive SATA 3.5" HDD Hard Drive 100% Healthy 200MB/s ST8000AS0002

$36.53



WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN picture

WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN

$174.99



Western Digital WD4000FYYZ RE 4TB 7200 RPM 64MB Cache SATA 6Gb/s 3.5

Western Digital WD4000FYYZ RE 4TB 7200 RPM 64MB Cache SATA 6Gb/s 3.5" Hard Drive

$28.49