oscar-cluster / oscar

OSCAR main source repository.
GNU General Public License v2.0
13 stars 2 forks source link

[CentOS 5.3] Initrd issue #550

Closed dikim33 closed 7 years ago

dikim33 commented 7 years ago

Reported by valleegr on 28 Jun 2009 18:37 UTC From Martin Fechner:

After the first deployment, I had some struggle with my centos-5.3
image. The clients could
not mount the rootfs. To get a working initrd, I had to create a fake
fstab and modprobe.conf.

I did - chrooted in the image:
echo "alias scsi_hostadapter1 ata_piix" >> /etc/modprobe.conf
echo "/dev/sda6  /  ext3  defaults  1 1" >> /etc/fstab.fake
mkinitrd -v -f --fstab=fstab.fake /boot/initrd-2.6.18-128.1.14.el5.img \
2.6.18-128.1.14.el5
dikim33 commented 7 years ago

Comment by valleegr on 29 Jun 2009 04:29 UTC (In [8616]) This check-in fixes #551 - The initrd for images based on latest RPM based distros is now correctly generated.