<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic netboot in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/netboot/m-p/3793073#M23504</link>
    <description>Hello people,&lt;BR /&gt;&lt;BR /&gt;I am trying to set up a diskless environment using netboot on redhat. After booting, the server got ip address using DHCP.&lt;BR /&gt;After showing some output, it ended up with this error:&lt;BR /&gt;RAMDISK: compressed image found at block 0&lt;BR /&gt;VFS: mounted root (ext2 filesystem) readonly.&lt;BR /&gt;freeing unused kernel memory: 176k freed&lt;BR /&gt;kernel panic - not syncing: no init found. try passing init= option to kernel.&lt;BR /&gt;&lt;BR /&gt;Here is what I did to set up this netboot environment:&lt;BR /&gt;Reference system (linux02)&lt;BR /&gt;• Installed Redhat AS 4 update 1 for i386 (all the file systems are ext2)&lt;BR /&gt;• Installed busybox-anaconda-1.00.rc1-5 rpm&lt;BR /&gt;&lt;BR /&gt;NFS server (linux01)&lt;BR /&gt;• Installed Redhat AS 4 update 1 for i386 (all the file systems are ext2)&lt;BR /&gt;• Created a new logical volume with ext2 file system on it for /diskless&lt;BR /&gt;• Created the directory /diskless/i386/RHEL4-AS/root&lt;BR /&gt;• Copied the OS from the reference system to the NFS server (rsync -a -e ssh linux02:/ /diskless/i386/RHEL4-AS/root/)&lt;BR /&gt;• Installed the tftp-server rpm and enabled it in xinetd&lt;BR /&gt;• Installed the dhcp rpm and created /etc/dhcpd.conf that contains the following:&lt;BR /&gt;##/etc/dhcpd.conf begins here##&lt;BR /&gt;ddns-update-style interim;&lt;BR /&gt;ignore client-updates;&lt;BR /&gt;allow booting;&lt;BR /&gt;allow bootp;&lt;BR /&gt;&lt;BR /&gt;#Each segment should have a specific subnet section&lt;BR /&gt;subnet 192.168.1.0 netmask 255.255.255.0&lt;BR /&gt;{&lt;BR /&gt;        option routers 192.168.1.1;                             #gateway&lt;BR /&gt;        option subnet-mask 255.255.255.0;                       #subnet mask&lt;BR /&gt;        option domain-name-servers 192.168.1.2;                 #DNS&lt;BR /&gt;&lt;BR /&gt;        range dynamic-bootp 192.168.1.200 192.168.1.200;        #IP range to be allocated&lt;BR /&gt;        default-lease-time 21600;&lt;BR /&gt;        max-lease-time 43200;&lt;BR /&gt;&lt;BR /&gt;        class "pxeclients"&lt;BR /&gt; {&lt;BR /&gt;                match if substring(option vendor-class-identifier, 0, 9) = "PXEClient";&lt;BR /&gt;                next-server 192.168.1.123;              #tftp server&lt;BR /&gt;                filename "linux-install/pxelinux.0";&lt;BR /&gt; }&lt;BR /&gt;}&lt;BR /&gt;##/etc/dhcpd.conf ends here##&lt;BR /&gt;&lt;BR /&gt;• Added the following to /etc/exports and started the service:&lt;BR /&gt;/diskless/i386/RHEL4-AS/root/     *(ro,sync,no_root_squash)&lt;BR /&gt;/diskless/i386/RHEL4-AS/snapshot/ *(rw,sync,no_root_squash)&lt;BR /&gt;&lt;BR /&gt;• Installed system-config-netboot rpm&lt;BR /&gt;• Configured the diskless environment using system-config-netboot. As a result, initrd.img and vmlinuz were created in /tftpboot/linux-install/rhel-4-as-u1-i386-32/. Also, /diskless/i386/RHEL4-AS/snapshot/ directory was created with a file called files in it.&lt;BR /&gt;• Added a host using system-config-netboot. As a result, in the existing snapshot/ directory in the diskless directory, a subdirectory was created with the Snapshot name specified as the file name. All of the files listed in snapshot/files were copied copy from the root/ directory to this new directory. Also, a file called C0A801C8 was created in /tftpboot/linux-install/pxelinux.cfg/. It contains the following:&lt;BR /&gt;default rhel-4-as-u1-i386-32&lt;BR /&gt;&lt;BR /&gt;label rhel-4-as-u1-i386-32&lt;BR /&gt;    kernel rhel-4-as-u1-i386-32/vmlinuz&lt;BR /&gt;    append  initrd=rhel-4-as-u1-i386-32/initrd.img root=/dev/ram0 init=disklessrc NFSROOT=192.168.1.123:/diskless/i386/RHEL4-AS ramdisk_size=10000 ETHERNET=eth0 SNAPSHOT=netboot01&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;That's it.&lt;BR /&gt;Does anyone has an idea of what the problem is?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Maxim.</description>
    <pubDate>Tue, 23 May 2006 04:32:20 GMT</pubDate>
    <dc:creator>Maxim Rozin</dc:creator>
    <dc:date>2006-05-23T04:32:20Z</dc:date>
    <item>
      <title>netboot</title>
      <link>https://community.hpe.com/t5/operating-system-linux/netboot/m-p/3793073#M23504</link>
      <description>Hello people,&lt;BR /&gt;&lt;BR /&gt;I am trying to set up a diskless environment using netboot on redhat. After booting, the server got ip address using DHCP.&lt;BR /&gt;After showing some output, it ended up with this error:&lt;BR /&gt;RAMDISK: compressed image found at block 0&lt;BR /&gt;VFS: mounted root (ext2 filesystem) readonly.&lt;BR /&gt;freeing unused kernel memory: 176k freed&lt;BR /&gt;kernel panic - not syncing: no init found. try passing init= option to kernel.&lt;BR /&gt;&lt;BR /&gt;Here is what I did to set up this netboot environment:&lt;BR /&gt;Reference system (linux02)&lt;BR /&gt;• Installed Redhat AS 4 update 1 for i386 (all the file systems are ext2)&lt;BR /&gt;• Installed busybox-anaconda-1.00.rc1-5 rpm&lt;BR /&gt;&lt;BR /&gt;NFS server (linux01)&lt;BR /&gt;• Installed Redhat AS 4 update 1 for i386 (all the file systems are ext2)&lt;BR /&gt;• Created a new logical volume with ext2 file system on it for /diskless&lt;BR /&gt;• Created the directory /diskless/i386/RHEL4-AS/root&lt;BR /&gt;• Copied the OS from the reference system to the NFS server (rsync -a -e ssh linux02:/ /diskless/i386/RHEL4-AS/root/)&lt;BR /&gt;• Installed the tftp-server rpm and enabled it in xinetd&lt;BR /&gt;• Installed the dhcp rpm and created /etc/dhcpd.conf that contains the following:&lt;BR /&gt;##/etc/dhcpd.conf begins here##&lt;BR /&gt;ddns-update-style interim;&lt;BR /&gt;ignore client-updates;&lt;BR /&gt;allow booting;&lt;BR /&gt;allow bootp;&lt;BR /&gt;&lt;BR /&gt;#Each segment should have a specific subnet section&lt;BR /&gt;subnet 192.168.1.0 netmask 255.255.255.0&lt;BR /&gt;{&lt;BR /&gt;        option routers 192.168.1.1;                             #gateway&lt;BR /&gt;        option subnet-mask 255.255.255.0;                       #subnet mask&lt;BR /&gt;        option domain-name-servers 192.168.1.2;                 #DNS&lt;BR /&gt;&lt;BR /&gt;        range dynamic-bootp 192.168.1.200 192.168.1.200;        #IP range to be allocated&lt;BR /&gt;        default-lease-time 21600;&lt;BR /&gt;        max-lease-time 43200;&lt;BR /&gt;&lt;BR /&gt;        class "pxeclients"&lt;BR /&gt; {&lt;BR /&gt;                match if substring(option vendor-class-identifier, 0, 9) = "PXEClient";&lt;BR /&gt;                next-server 192.168.1.123;              #tftp server&lt;BR /&gt;                filename "linux-install/pxelinux.0";&lt;BR /&gt; }&lt;BR /&gt;}&lt;BR /&gt;##/etc/dhcpd.conf ends here##&lt;BR /&gt;&lt;BR /&gt;• Added the following to /etc/exports and started the service:&lt;BR /&gt;/diskless/i386/RHEL4-AS/root/     *(ro,sync,no_root_squash)&lt;BR /&gt;/diskless/i386/RHEL4-AS/snapshot/ *(rw,sync,no_root_squash)&lt;BR /&gt;&lt;BR /&gt;• Installed system-config-netboot rpm&lt;BR /&gt;• Configured the diskless environment using system-config-netboot. As a result, initrd.img and vmlinuz were created in /tftpboot/linux-install/rhel-4-as-u1-i386-32/. Also, /diskless/i386/RHEL4-AS/snapshot/ directory was created with a file called files in it.&lt;BR /&gt;• Added a host using system-config-netboot. As a result, in the existing snapshot/ directory in the diskless directory, a subdirectory was created with the Snapshot name specified as the file name. All of the files listed in snapshot/files were copied copy from the root/ directory to this new directory. Also, a file called C0A801C8 was created in /tftpboot/linux-install/pxelinux.cfg/. It contains the following:&lt;BR /&gt;default rhel-4-as-u1-i386-32&lt;BR /&gt;&lt;BR /&gt;label rhel-4-as-u1-i386-32&lt;BR /&gt;    kernel rhel-4-as-u1-i386-32/vmlinuz&lt;BR /&gt;    append  initrd=rhel-4-as-u1-i386-32/initrd.img root=/dev/ram0 init=disklessrc NFSROOT=192.168.1.123:/diskless/i386/RHEL4-AS ramdisk_size=10000 ETHERNET=eth0 SNAPSHOT=netboot01&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;That's it.&lt;BR /&gt;Does anyone has an idea of what the problem is?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Maxim.</description>
      <pubDate>Tue, 23 May 2006 04:32:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/netboot/m-p/3793073#M23504</guid>
      <dc:creator>Maxim Rozin</dc:creator>
      <dc:date>2006-05-23T04:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: netboot</title>
      <link>https://community.hpe.com/t5/operating-system-linux/netboot/m-p/3793074#M23505</link>
      <description>it is the problem with your initrd.img file.&lt;BR /&gt;&lt;BR /&gt;follow the steps in the below given site&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/sysadmin-guide/ch-diskless.html" target="_blank"&gt;http://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/sysadmin-guide/ch-diskless.html&lt;/A&gt;</description>
      <pubDate>Thu, 25 May 2006 16:47:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/netboot/m-p/3793074#M23505</guid>
      <dc:creator>V S Chakravarthi</dc:creator>
      <dc:date>2006-05-25T16:47:46Z</dc:date>
    </item>
  </channel>
</rss>

