I am having problem while using anaconda installer.for my custom build
Following are the images used :
a) Fedora-12-ppc-DVD.iso
b) kernel-2.6.32.26-175.fc12.src.rpm
I am able to build the install.img successfully and using nfs mount for getting the images.
I am able to mount successfully. My output in the shell prompt for the mount command
bash-4.0# mount
rootfs on / type rootfs (rw,relatime)
/proc on /proc type proc (rw,relatime)
/dev on /dev type tmpfs (rw,relatime)
/dev/pts on /dev/pts type devpts (rw,relatime,mode=600,ptmxmode=000)
/sys on /sys type sysfs (rw,relatime)
none on /tmp type tmpfs (rw,relatime)
192.168.66.2:/opt/ngin/rpmBuild/images/images on /mnt/stage2 type nfs4 (ro,noatime,vers=4,rsize=8192,wsize)
bash-4.0#
In the kickstart text screen after I specify the server name and path it fails giving the following error:
12:20:26 INFO : starting STEP_STAGE2
12:21:33 ERROR : failed to mount loopback device /dev/loop0 on /mnt/runtime as /mnt/stage2//install.img
I am using the following patch for sqfs, after extracting
a) unsquashfs -d "$D/sqfs" "$D/iso.dir/images/install.img"
b) patch -d "$D/sqfs" -p1 < "$D/sqfs.patch"
c) mksquashfs "$D/sqfs" install.img -all-root
--- a/usr/lib/anaconda/platform.py
+++ b/usr/lib/anaconda/platform.py
@@ -531,7 +531,7 @@
elif ppcMachine == "PS3":
return PS3(anaconda)
else:
- raise SystemError, "Unsupported PPC machine type"
+ return IPSeriesPPC(anaconda)
elif iutil.isS390():
return S390(anaconda)
elif iutil.isSparc():
--- a/usr/lib/anaconda/users.py
+++ b/usr/lib/anaconda/users.py
@@ -198,7 +198,11 @@
if isCrypted:
self.admin.setpassUser(rootUser, password, True)
else:
- self.admin.setpassUser(rootUser, cryptPassword(password, algo=algo), True)
+ password = cryptPassword(password, algo=algo)
+ if password == None:
+ print "Warning - Root password not set!"
+ else:
+ self.admin.setpassUser(rootUser, cryptPassword(password, algo=algo))
if lock:
self.admin.lockUser(rootUser)
From the discussions in the internet, I understand some patch is required. I am not sure which patch will help me fix this.
Please let me know how to cross this stage.
Thanks,
Rajesh
_______________________________________________ Kickstart-list mailing list Kickstart-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/kickstart-list