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
  •  


Genuine Apple OEM 60W Magsafe Charger / AC Adapter for A1278 MacBook Pro picture

Genuine Apple OEM 60W Magsafe Charger / AC Adapter for A1278 MacBook Pro

$8.99



Apple OEM QHD IPS LCD Screen Assembly for 16

Apple OEM QHD IPS LCD Screen Assembly for 16" MacBook Pro A2141 2019/20 Display

$299.99



Genuine Apple OEM 60W Magsafe Charger / AC Adapter for A1278 MacBook Pro picture

Genuine Apple OEM 60W Magsafe Charger / AC Adapter for A1278 MacBook Pro

$7.95



Apple OEM Original (A1374) 45W MagSafe Power Adapter with Fold Plug Only - White picture

Apple OEM Original (A1374) 45W MagSafe Power Adapter with Fold Plug Only - White

$10.95



OEM Apple 10W GENUINE USB Wall Plug Charger Adapter iPhone iPad Lightning cable picture

OEM Apple 10W GENUINE USB Wall Plug Charger Adapter iPhone iPad Lightning cable

$6.99



Genuine Apple A1882 30W USB-C Power Adapter Apple OEM CHARGER picture

Genuine Apple A1882 30W USB-C Power Adapter Apple OEM CHARGER

$18.99



Genuine Original OEM APPLE Thunderbolt Cable 2M MC913ZM/A MD861LL/A White 6.5ft picture

Genuine Original OEM APPLE Thunderbolt Cable 2M MC913ZM/A MD861LL/A White 6.5ft

$18.50



Genuine OEM Apple 12W USB Power Adapter Type A Wall Charger for iPhone & iPad picture

Genuine OEM Apple 12W USB Power Adapter Type A Wall Charger for iPhone & iPad

$5.99



OEM 61W USB-C Power Adapter For Apple MacBook PRO 13 15 16 2020 2018 Air 13 1947 picture

OEM 61W USB-C Power Adapter For Apple MacBook PRO 13 15 16 2020 2018 Air 13 1947

$22.99



Genuine OEM Apple 85W MagSafe 2 Charger for MacBook Pro / Air TESTED - WORKING- picture

Genuine OEM Apple 85W MagSafe 2 Charger for MacBook Pro / Air TESTED - WORKING-

$9.85