<DIV>
<DIV>
<DIV><FONT face=Helv size=2>Hi,</FONT></DIV>
<DIV><FONT face=Helv size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Helv size=2>This is my first email on this group, and I am really hopeful to find solution to my problem here. I was installing linux on iSeries in my office but was getting problems<FONT face=Helv size=2>. I have installed RedHat Linux 9 on an iSeries machine in LPAR. The version of kernel as given by uname -a command is 2.4.21-4.EL</DIV>
<DIV>
<P>However after installation is complete I want to boot from disk rather than the cd drive. I think there is some need to copy some boot image onto the disk. I looked at theTechnical FAQ for Linux on iSeries: http://www-1.ibm.com/servers/eserver/iseries/linux/tech_faq.html#kernel and performed the following steps.</P>
<P>I executed the command <B>fdisk-l </B>and the output was as follows:</P><B>
<P>Disk /dev/iseries/vda: 4194 MB, 4194892800 bytes</P>
<P>255 heads, 63 sectors/track, 510 cylinders</P>
<P>Units = cylinders of 16065 * 512 = 8225280 bytes</P>
<P>Device Boot Start End Blocks Id System</P>
<P>/dev/iseries/vda1 * 1 2 16033+ 41 PPC PReP Boot</P>
<P>/dev/iseries/vda2 3 384 3068415 83 Linux</P>
<P>/dev/iseries/vda3 385 510 1012095 82 Linux swap</P></B>
<P>Hence my Prep Partition is /dev/iseries/vda1</P>
<P>Next the implementaion document tells me to execute the command <B>dd if=/boot/vmlinux/good of=/dev/iseries/vda1 bs=4k</P></B>
<P>However the problem is that there is no file by the name of vmlinux.good in the boot directory. I'll show you the listing of boot directory.</P><B>
<P>[root@TestLinux /]# cd /boot</P>
<P>[root@TestLinux boot]# ls</P>
<P>cmdline-2.4.21-4.EL kernel.h System.map-2.4.21-4.EL</P>
<P>config-2.4.21-4.EL message vmlinitrd-2.4.21-4.EL</P>
<P>grub message.ja vmlinux-2.4.21-4.EL</P>
<P>initrd-2.4.21-4.EL.img System.map</P></B>
<P>Now I am at a loss at to what should be the input file for the dd command. I tried the command:</P><B>
<P>dd if=/boot/vmlinitrd-2.4.21-4.EL of=/dev/iseries/vda1 bs=4k</P></B>
<P>but when I booted from "IPL Source" = *NWSSTG ,"Stream file" = *NONE, "IPL parameters" = 'root=/dev/iseries/vda1," , the Linux doesnt boot and I get the following error:</P><B>
<P>Partition check:</P>
<P>iseries/vda: iseries/vda1 iseries/vda2 iseries/vda3</P>
<P>iSeries virtual I/O: viod: Disk 00 size 4000M, sectors 63, heads 255, cylinders 510, sectsize 512</P>
<P>iSeries virtual I/O: viod: Disk 00 partition 01 start sector 63, # sector 32067</P>
<P>iSeries virtual I/O: viod: Disk 00 partition 02 start sector 32130, # sector 6136830</P>
<P>iSeries virtual I/O: viod: Disk 00 partition 03 start sector 6168960, # sector 2024190</P>
<P>Loading jbd.o module</P>
<P>Journalled Block Device driver loaded</P>
<P>Loading ext3.o module</P>
<P>Mounting /proc filesystem</P>
<P>Creating block devices</P>
<P>Creating root device</P>
<P>Mounting root filesystem</P>
<P>VFS: Can't find ext3 filesystem on dev viod(112,1).</P>
<P>mount: error 22 mounting ext3</P>
<P>pivotroot: pivot_root(/sysroot,/sysroot/initrd) failed: 2</P>
<P>umount /initrd/proc failed: 2</P>
<P>Freeing unused kernel memory: 156k init</P>
<P>Kernel panic: No init found. Try passing init= option to kernel.</P>
<P>Rebooting in 180 seconds..</P></B>
<P>Can&nbsp;anyone tell me the exact command specifying what to copy from where and to where. I'll be very thankful if you could help me in this. </P>
<P></FONT></FONT>Kind Regards,</P>
<P>Wjeeha Tahir</P></DIV></DIV></DIV><p>
                <hr size=1>Do you Yahoo!?<br><a
href="http://vote.yahoo.com">vote.yahoo.com</a> - Register online to vote today!