You are not logged in.

#1 2013-03-10 02:54:01

etrader
Member
Registered: 2012-09-21
Posts: 21

[SOLVED] How to add files to iso file for Live USB ?

I created a Live USB by dd command of the dual iso. Now I want to write a shell script to collect commands I need during installation process. Since dd command writes from sector to sector on the USB drive, it is not editable. How can I add my shell script to be available when booting by the arch Live USB ?

Last edited by etrader (2013-03-10 05:24:17)

Offline

#2 2013-03-10 02:59:26

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] How to add files to iso file for Live USB ?

https://wiki.archlinux.org/index.php/Building_a_Live_CD


Not an installation issue, moving to Newbie Corner...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2013-03-10 04:17:37

etrader
Member
Registered: 2012-09-21
Posts: 21

Re: [SOLVED] How to add files to iso file for Live USB ?

jasonwryan wrote:

Not an installation issue, moving to Newbie Corner...

Sorry for inappropriate posting. This is an advanced customization, but I need a simple manual approach to add my shell script to the iso archive. Moreover, using archiso needs an arch host, but I hoped to be able to create the Live USB from within other linux distributions, as I do with dd command.

Offline

#4 2013-03-10 04:21:36

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] How to add files to iso file for Live USB ?

You can either learn about squashfs and mounting an iso (or bsdtar) if you want to just add a script to the image, or you can go ahead and learn about archiso.  I think that knowing how to use archiso is a nice tool to have in your arsenal.  But its up to you.

Offline

#5 2013-03-10 05:20:52

etrader
Member
Registered: 2012-09-21
Posts: 21

Re: [SOLVED] How to add files to iso file for Live USB ?

I found the simplest solution described in the wiki https://wiki.archlinux.org/index.php/US … _USB_drive

My bad that I simply ignored this.

Thanks for the comprehensive wiki.

Offline

Board footer

Powered by FluxBB