[Server-devel] RFH: Script to make installable USB stick

Jerry Vonau jvonau at shaw.ca
Thu Aug 28 20:15:16 EDT 2008


Jerry Vonau wrote:
> Jerry Vonau wrote:
>> Martin Langhoff wrote:
>>> As part of porting the XS to F9 I am moving from using live CDs to
>>> anaconda-based installer CDs. This has a fundamental benefit - that
>>> you can now upgrade from the CD as well as installing - but a
>>> downside: there are not easy tools to turn an installer CD into a
>>> bootble installer USB stick that "just works".
>>>
>>> A couple of weeks ago I started an attempt at it, based on
>>> livecd-iso-to-disk. It mostly worked - anaconda did get bootstrapped,
>>> but it failed to find the RPMs directory. I haven't had a change to
>>> look at it further. Help with it would be appreciated (and probably
>>> useful to Fedora users in general).
>>>
>>> Earlier discussion and patch:
>>> http://marc.info/?l=fedora-buildsys-list&m=121740636925259&w=2
>>>
>>> cheers,
>> Need to see the usb's layout that you had in mind.
>> You were trying to do tree-install or a iso source install?
>>
>> Might want to have a look at this thread:
>>
>> http://www.archivum.info/anaconda-devel-list@redhat.com/2008-05/msg00016.html
>> I'm around for a couple of hours,
> 
> Ok, I see your intent, you would have to create an install iso, and have 
> that image live on the usb drive, then use the vmlinuz and initrd that 
> is on the new iso for the usb key. Once anaconda loads, point it to the 
> correct sdX device.

Rereading, the thread, the reason you can't find stage2 is that anaconda 
is looking for the stage2.img file inside of an iso file that is on the 
drive. That is the only place anaconda will look is inside all of the 
.iso files that are present until it finds one that matches it's initrd.

Jerry



More information about the Server-devel mailing list