On Fri, May 30, 2008 at 05:12:03PM -0700, a s p a s i a wrote:
Hey Konrad
my iscsiroot image did not boot ... i'm wondering if i had a corrupt
installation ...
it goes through the pxelinux config stage and then stops and says
corrupt boot image, and the boot: prompt appears ...
On Thu, May 29, 2008 at 02:35:31PM -0700, aspasia wrote:
Hello all,
So I wanted to also provide the option of my diskless server users to
boot CentOS51 Xen kernel via iSCSI root ... Instead of building the
image with an installation on hard drive, I thought I'd boot on an
existing copy
Hi Konrad,
Thanks for the response!
That is weird. Try running 'new-kernel-pkg --mkinitrd --depmod --install
2.6.18-53.1.21.el5xen'
as root and seeing if that generates the initrd images.
i got this though ..
new-kernel-pkg --mkinitrd --depmod --install 2.6.18-53.1.21.el5xen
iscsiadm: no
oh ok .. i figured that I needed to create the record - so I did this:
iscsiadm -m node -T
iqn.2008-04.com.mycompany.lab:storage.centos51_x64_xen -p 192.168.17.3
-o new
New iSCSI node [tcp:[hw=default,ip=,net_if=default,iscsi_if=default]
192.168.17.3,3260,-1
[EMAIL PROTECTED] /]# new-kernel-pkg --mkinitrd --depmod --install
2.6.18-53.1.21.el5xen
grubby fatal error: unable to find a suitable template
[EMAIL PROTECTED] /]#
Hmm.. When you installed the kernel-xen did it update your mkinitrd as well?
No idea what this means. You can try to prefix
ok .. will check wiith the sh -x
Just to be clear:
I tried to run the command below using my current - non-xen kernel -
that is ok to do so?
uname -a
Linux dataserv2 2.6.18-53.1.14.el5 #1 SMP Wed Mar 5 11:37:38 EST 2008
x86_64 x86_64 x86_64 GNU/Linux
[EMAIL PROTECTED] ~]#
- a.
On Fri, May
On Fri, May 30, 2008 at 10:47:38AM -0700, a s p a s i a wrote:
ok .. will check wiith the sh -x
Just to be clear:
I tried to run the command below using my current - non-xen kernel -
that is ok to do so?
Should be if there were no errors returned. Thought it might be prudent
to backup
h interesting!
1. so yeah, it did seem to error with grubby, BUT it exit 0'ed ...
+ /sbin/grubby --add-kernel=/boot/vmlinuz-2.6.18-53.1.21.el5xen
--initrd /boot/initrd-2.6.18-53.1.21.el5xen.img --copy-default --title
'CentOS (2.6.18-53.1.21.el5xen)' '--args=root=LABEL=iscsiRoot '
On Thu, May 29, 2008 at 2:47 PM, Tomasz Chmielewski [EMAIL PROTECTED] wrote:
See http://wpkg.org/Diskless_/_remote_boot_with_Open-iSCSI on how to
make a custom initrd for iSCSI booting.
Hi Tomasz
I used those instructions for Debian based distros ... for centos the
mkinitrd was really