CentOS6.5: disklessboot could not find ramdisk but CentOS6.2 :OK. CentOS6.5 has bug with dracut?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi

I have trouble with disklessclient with CentOS6.5 but 6.2.

I have been using disklessclient from CentOS6.2 well.
Both server and clients work with CentOS6.2.

Recently I set up PXE boot server with CentOS6.5 and has trouble.
I built vmlinuz and initrd.image in the same method I  did for CentOS6.2





[root@pxe ~]# yum -y groupinstall "Base" "Server 
Platform" --installroot=/var/lib/tftpboot/centos6/root/

[root@pxe ~]# cp -f -R /root /var/lib/tftpboot/centos6/root/

[root@pxe ~]# chmod 600 /var/lib/tftpboot/centos6/root/etc/shadow

[root@pxe ~]# grep ^root /etc/shadow | cut -d: -f2 
$6$xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

[root@pxe ~]# vi /var/lib/tftpboot/centos6/root/etc/shadow
#

root: $6$xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx :14937:0:99999:7:::

[root@pxe ~]# vi /var/lib/tftpboot/centos6/root/etc/fstab
 none /tmp tmpfs defaults 0 0
 tmpfs /dev/shm tmpfs defaults 0 0
 sysfs /sys sysfs defaults 0 0
 proc /proc proc defaults 0 0

[root@pxe ~]# cp /boot/vmlinuz-2.6.32-431.el6.x86_64 
/var/lib/tftpboot/centos6/

[root@pxe ~]# dracut initramfs-2.6.32-431.el6.x86_64.img 
2.6.32-431.el6.x86_64

[root@pxe ~]# mv initramfs-2.6.32-431.el6.x86_64.img 
/var/lib/tftpboot/centos6/

[root@pxe ~]# vi /var/lib/tftpboot/pxelinux.cfg/default

#
default centos6
    label centos6
       kernel centos6/vmlinuz-2.6.32-71.29.1.el6.x86_64
       append initrd=centos6/initramfs-2.6.32-71.29.1.el6.x86_64.img 
root=nfs:10.0.0.70:/var/lib/tftpboot/centos6/root rw selinux=0

Diskless client doesn't work and complains as belows at booting

Loading centos6/vmlinuz-2.6.32-71.29.1.el6.x86_64 ........   ok
Could not find ramdisk image: centos6/initramfs-2.6.32-431.el6.x86_64.img 
root=nfs:10.0.0.70:/var/lib/tftpboot/centos6/root rw selinux=0
boot:

Then I replace initramfs-2.6.32-71.29.1.el6.x86_64.img with initrd.img 
copied from /images/initrd.img found in CentOS-6.5-x86_64-bin-DVD1.iso.
It booted successfuly and displayed installition menu.

I doubt dracut dosn't work well.

Is there anyone could setup diskless client with CEntOS6.5?




_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux