Live CD problem

Dr A V Le Blanc LeBlanc at mcc.ac.uk
Thu Aug 23 02:49:59 CDT 2007


On Wed, Aug 22, 2007 at 01:21:38PM +0100, Dr A V Le Blanc wrote:
> Well, I rebuilt the CD yesterday with the new packages, and
> I can report some success: the CD actually has upgraded the BIOS
> on one of my servers, and it seems to work.  Thanks to everyone
> who has worked on producing this CD.

On Wed, Aug 22, 2007 at 11:17:09AM -0500, Michael E Brown wrote:
> Can you post the latest scripts you've used to create the live CD?
>
> Now that I have a usable GUI, the next step is I'm going to try to
> automate producing a live CD for general consumption.

This CD is based on the information at
http://linux.dell.com/wiki/index.php/Tech/libsmbios_livecd
and the information obtained on the list.  Following instructions,
I installed Fedora 7 on a spare machine, then did

     yum install revisor

In the file /etc/revisor/revisor.conf, I added this stanza at the end:

    [f7-i386-dell]
    main = /etc/revisor/conf.d/dell-f7-i386.conf
    product_name = Fedora
    product_path = Fedora
    iso_basename = F
    comps = /etc/revisor/coms-f7.xml
    architecture = i386
    version = 7
    getsource = 0

I then cd-ed to /etc/revisor/conf.d/ and copied revisor-f7-i386.conf
to dell-f7-i386.conf, and added the following stanzas to the end:

    [fwupdate]
    name=fwupdate
    baseurl=http://fwupdate.com/repo/firmware/cross-distro
    enabled=1
    gpgcheck=1
    gpgkey=http://fwupdate.com/repo/firmware/RPM-GPG-KEY-fwupdate

    [dell-software]
    name=dell-software
    baseurl=http://linux.dell.com/repo/software/fc7/i386
    enabled=1
    gpgcheck=1
    gpgkey=http://linux.dell.com/repo/software/RPM-GPG-KEY-dell
        http://linux.dell.com/repo/software/RPM-GPG-KEY-libsmbios

Finally I got the kickstart file at
http://linux.dell.com/files/revisor/dell-fwupdate.cfg and put it
in /etc/revisor/conf.d/ and made two changes: my timezone and the
local fedora repository:

3c3
< timezone US/Central
---
> timezone Europe/London
7c7
< repo --name=d7 --baseurl=http://hb.us.dell.com/pub/fedora/linux/releases/7/Everything/i386/os
---
> repo --name=d7 --baseurl=http://www.mirrorservice.org/sites/download.fedora.redhat.com/pub/fedora/linux/releases/7/Everything/i386/os

I then typed

    revisor --cli --model=f7-i386-dell \
	--kickstart=/etc/revisor/conf.d/dell-fwupdate.cfg --optical

and the CD image appeared some hours later in /srv/revisor/live/ .
I booted my servers from the CD, pressed <Return> at the ISOLINUX
prompt (choosing the default entry), went through the setup dialog,
logged in as root (without a password), and typed

     update_firmware --yes

On one (desktop) machine it found no upgrades, while on three
servers it found and did an available BIOS upgrade.  Since the
machines rebooted afterwards, I define the operation as a success.

     -- Owen



More information about the Linux-PowerEdge mailing list