[xen-tools] setup-kernel-initrd

Giuseppe Iuculano giuseppe at iuculano.it
Wed Jul 25 12:30:28 CEST 2007


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

Hello,

there is a little problem to setup-kernel-initrd scripts.

line 22:

kernel=` ls -1 /boot | grep ^vm  |grep -v syms| grep xen | head -n 1`


In my debian 4.0 box this command give me the old kernel:

elektra:~# ls -1 /boot | grep ^vm  |grep -v syms| grep xen | head -n 1
vmlinuz-2.6.18-3-xen-686


A workaround is:

# ls -1 /boot | grep ^vm  |grep -v syms| grep xen |sort -r | head -n 1
vmlinuz-2.6.18-4-xen-686


Same problem with initrd, I fixed it with:

elektra:/usr/share/doc/xen-tools/examples# ls -1 /boot | grep ^init |
grep xen | sort -r | head -n 1
initrd.img-2.6.18-4-xen-686.bak




Giuseppe.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD4DBQFGpyZENxpp46476aoRArFnAJ9LxkjT6iLbsF0V+AWSEavfnjbiggCY3XSC
5REX3WvV7HCJY8L3GhOCDQ==
=mPnJ
-----END PGP SIGNATURE-----





More information about the xen-tools-discuss mailing list