Re: [alice] mk_initrd and LVM

From: Jürgen Henge-Ernst (hernst_at_suse.de)
Date: Mon Oct 08 2001 - 19:04:41 CEST


From: Jürgen Henge-Ernst <hernst@suse.de>
Date: Mon, 8 Oct 2001 19:04:41 +0200
Message-Id: <20011008170428.AFAB5F900@susefra1.fra.suse.de>
Subject: Re: [alice] mk_initrd and LVM


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 08 October 2001 17:40, Tobias Burnus wrote:
> Hi all,
>
> it's me again :-(
>
> > > > ALICE question: how do I make sure that mk_initrd is run before yast
> > > > reboots?
> > >
> > > How tell ALICE to use the template/lilo.tcf file which contains
> > > all things needed. I still get only a automatical generated lilo.conf
> > > with initrd missing.
>
> I now have templates = lilo default, and in classes a "pool.lilo.tcf"
> which contain in <LILO_TEMPLATE> a complete /etc/lilo.conf.
>
> I seem to need to run make_boot before rebooting since I still get only a
> default lilo.conf (which is nice but misses the initrd entry) and no
> mk_initrd run.
>
> I tried:
> <ALICE_POST_SCRIPT>
> make_boot
> </ALICE_POST_SCRIPT>
>
> but I think this is called after the reboot(?).
>
> Tobias

make_boot ist called anyway (hard-coded). I use Something like and that works:
pool.lilo.tcf

<BOOT_DEVICE>/dev/sda</BOOT_DEVICE>
<ROOT_DEVICE>/dev/sda6</ROOT_DEVICE>

<LILO_TEMPLATE>
# APPEND-Zeile gibt die Optionen zum laden des SCSI-Treibers an
append=\"aic7xxx=stpwlev:0x0\"

boot=$BOOT_DEVICE
linear

vga = extended
read-only

prompt

timeout=50

# End LILO global Section
#
image = /boot/irc-bz2214-n400
  root = $ROOT_DEVICE
  label = linux
</LILO_TEMPLATE>

Shell-caracters must be escaped between <LILO_TEMPLATE>, cause this tag is
shell evaluated.

may you can check with
show_value -debug -fqhn <name of pc> lilo LILO_TEMPLATE
whats the content of the tag

Greetings Jürgen
- --
Jürgen Henge-Ernst Phone: +49 (0)6196/50 95 1-32
SuSE Linux Solutions AG Fax: +49 (0)6196/40 96 07
Mergenthaler Allee 45-47 Mobile: +49 (0)177 /26 74 748
65760 Eschborn, Germany EMail: hernst@suse.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7wdytwIwzBbM848kRAijUAJ9pabKhrmLQOPeXswzA1nDZ579fXgCfbpqe
xKWm9pZEFGRraQbMvhoKE6U=
=7UP1
-----END PGP SIGNATURE-----



This archive was generated by hypermail 2.1.7 : Wed Jun 25 2003 - 22:19:23 CEST