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
  •  


HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram 2x 256GB SSD Quadro 2000 Linux GA picture

HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram 2x 256GB SSD Quadro 2000 Linux GA

$249.99



1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE picture

1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE

$273.00



HP Z440 Workstation 18 core Xeon E5-2699 V3 64GB 1TB SSD R5-340X WIFI WINDOWS 11 picture

HP Z440 Workstation 18 core Xeon E5-2699 V3 64GB 1TB SSD R5-340X WIFI WINDOWS 11

$249.99



HP Z440 Gaming Tower PC Intel Xeon 3.50 GHz 64GB 1TB SSD GTX 1660 Super Win 11 picture

HP Z440 Gaming Tower PC Intel Xeon 3.50 GHz 64GB 1TB SSD GTX 1660 Super Win 11

$250.00



SR1XP Intel Xeon E5-2680 v3 12 Core 30MB 2.5GHz LGA 2011-3 Grade A Processor picture

SR1XP Intel Xeon E5-2680 v3 12 Core 30MB 2.5GHz LGA 2011-3 Grade A Processor

$4.23



Intel Xeon E5-2680 v4 SR2N7 2.40GHz 35MB 14-Core LGA2011-3 CPU Processor picture

Intel Xeon E5-2680 v4 SR2N7 2.40GHz 35MB 14-Core LGA2011-3 CPU Processor

$14.99



Intel Xeon E5-2697A v4 SR2K1 2.60GHz 40MB 16-Core LGA2011-3 CPU Processor picture

Intel Xeon E5-2697A v4 SR2K1 2.60GHz 40MB 16-Core LGA2011-3 CPU Processor

$39.99



Intel Xeon Gold 6144 - 3.50 GHz Octa Core (SR3TR) Processor picture

Intel Xeon Gold 6144 - 3.50 GHz Octa Core (SR3TR) Processor

$175.00



Supermicro MotherBoard X11SPi-TF Xeon Single CPU Socket LGA3647 w/Heatsink picture

Supermicro MotherBoard X11SPi-TF Xeon Single CPU Socket LGA3647 w/Heatsink

$314.99



HP Z440 Workstation 18Cores Xeon E5-2699 V3 128GB 1TB SSD 2TB WIFI WIN11 R5-340X picture

HP Z440 Workstation 18Cores Xeon E5-2699 V3 128GB 1TB SSD 2TB WIFI WIN11 R5-340X

$369.99