Zalanthas
February 21st, 2010, 07:59 PM
Hi,
This is my first post here. I must say, moving from Windows to Ubuntu was like emerging from dark ages into renaissance... I feel like I can tell something to Ubuntu and it will understand me :). Well, two weeks has passed and I know my way around Desktop Edition. Now, I would like to get my hands on Server Edition, but I could not succeed properly installing one into my home server. If anyone can help me out with my problems, I will be very glad.
Here it goes (but please keep in my that I have no prior experience with Linux) =>
For the last several days I am trying to install Hardy Server LTS 32-bit Edition to IBM Netfinity 4000r server.
I tried to install from "several" different live-cds (checked m5sum and did everything for all of them) and none of them booted (the server has cd-rom and I can get into the bios to boot from it, but when it tries to boot, it does not recognize the boot sector). I tried 64-bit, and somehow it boots and shows me the install screen. But, since my server is not 64-bit, it says it cannot continue. Gives me i686 suggestion. I tried other i686 specific linux distros and none of them worked either.
I even tried to boot with live GpartedCD, but it failed as well.
So, my last resort is installing via network boot (my bios does not support usb boot eventhough there are 2 usb ports at the back).
I have Ubuntu 9.10 running from persistent USB stick at my Laptop and will use it as host server for the install.
Last two days I spent countless hours trying to figure out the related help files and documentation with no end result. I learned tons of new stuff, but since I am a newbie to Linux and Ubuntu, I could not understand the seemingly basic stuff.
I am in dire need. Please help me :). Here is what I have done =>
Main help files I used are these =>
https://help.ubuntu.com/community/Installation/LocalNet
https://help.ubuntu.com/8.10/installation-guide/i386/install-tftp.html
Both says that I need bootp server, tftp-hpa server, and access to the routers. I installed bootpd and tftp-hpa via apt-get and have access to my router.
I can see them at /etc/inetd.conf =>
bootps dgram udp wait root /usr/sbin/bootpd bootpd -i -t 120
tftp dgram udp wait root /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /var/lib/tftpboot
* Here I don't understand why "/usr/sbin/in.tftpd" prints twice.
I also did this =>
RUN_DAEMON="yes" (it was "no" when I first installed and I changed it to "yes")
OPTIONS="-l -s /var/lib/tftpboot
Than, as instructed at the documentation, I created /etc/bootptab file for bootp server, so that it can read the specs that I give to it. Here is my /etc/bootptab file =>
client:\
:ha="00:06:29:XE:E3:CD":\ (MAC of the server)
:ip=192.168.2.4:\ (IP of the server, from router)
:sa=192.168.2.2:\ (IP of host)
:sm=255.255.255.0:\
:td=/tftpboot:\
:hd=/netboot:\
:bf=pxelinux.0:
Here is the things that I don't understand =>
client:\
Am I supposed to enter something different than "client" here? My server does not have an assigned name at the router level. When I check it from my router for the MAC Address, it does not specify a name for it. I see the names of other computers in the LAN.
:sa=192.168.2.2:\
I know this should me the host computer's IP, right? My host computer's ip is actually 192.168.2.2. But, when I boot the IBM Netfinity via PXE-boot, it tells me that the DHCP's IP is 192.168.2.1, not my host's IP ending with 2. What should I do?
:gw=:\
Do I need to use gw instead of sa? The examples in the documents have different setups. One uses sa and the other uses gw for host IP.
:td=/tftpboot:\
I have tftpd-hpa installed. What should I write down for :td=???:\. There are some reference to this => /var/lib/tftpboot. Should I write it instead of simple /tftpboot?
:hd=/netboot:\
I installed netboot tarball and extracted into /var/lib/tftpboot and it become /var/lib/tftpboot/netboot... and my pxelinux.0 is in it. So, should I write :hd= with /netboot:
On top of all of this, I have no idea how to start or restart both bootpd and tftpd-hpa servers. I am changing /etc/bootptab file to try different setups, but I am afraid that my changes are not registering. When I edit /etc/bootptab, do I need to restart-reload something? Maybe this /etc/inetd.conf or this /etc/init.d/inetd? If yes, how can I do it?
I tried this and did not work =>
sudo /etc/init.d/inetd reload
Right now, my server boots with PXE, prints me its MAC address, than client IP, but than it says boot image was not received/transferred.
Error: PXE-E53: No boot filename received
after that, it tries cd-rom, but fails to boot again
1962 Drive does not contain a valid boot record.
I imagine, I am doing something wrong with /etc/bootptab file, possibly the location is wrong???
Could anyone help this poor newbie? I feel that I am losing my mind :).
This is my first post here. I must say, moving from Windows to Ubuntu was like emerging from dark ages into renaissance... I feel like I can tell something to Ubuntu and it will understand me :). Well, two weeks has passed and I know my way around Desktop Edition. Now, I would like to get my hands on Server Edition, but I could not succeed properly installing one into my home server. If anyone can help me out with my problems, I will be very glad.
Here it goes (but please keep in my that I have no prior experience with Linux) =>
For the last several days I am trying to install Hardy Server LTS 32-bit Edition to IBM Netfinity 4000r server.
I tried to install from "several" different live-cds (checked m5sum and did everything for all of them) and none of them booted (the server has cd-rom and I can get into the bios to boot from it, but when it tries to boot, it does not recognize the boot sector). I tried 64-bit, and somehow it boots and shows me the install screen. But, since my server is not 64-bit, it says it cannot continue. Gives me i686 suggestion. I tried other i686 specific linux distros and none of them worked either.
I even tried to boot with live GpartedCD, but it failed as well.
So, my last resort is installing via network boot (my bios does not support usb boot eventhough there are 2 usb ports at the back).
I have Ubuntu 9.10 running from persistent USB stick at my Laptop and will use it as host server for the install.
Last two days I spent countless hours trying to figure out the related help files and documentation with no end result. I learned tons of new stuff, but since I am a newbie to Linux and Ubuntu, I could not understand the seemingly basic stuff.
I am in dire need. Please help me :). Here is what I have done =>
Main help files I used are these =>
https://help.ubuntu.com/community/Installation/LocalNet
https://help.ubuntu.com/8.10/installation-guide/i386/install-tftp.html
Both says that I need bootp server, tftp-hpa server, and access to the routers. I installed bootpd and tftp-hpa via apt-get and have access to my router.
I can see them at /etc/inetd.conf =>
bootps dgram udp wait root /usr/sbin/bootpd bootpd -i -t 120
tftp dgram udp wait root /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /var/lib/tftpboot
* Here I don't understand why "/usr/sbin/in.tftpd" prints twice.
I also did this =>
RUN_DAEMON="yes" (it was "no" when I first installed and I changed it to "yes")
OPTIONS="-l -s /var/lib/tftpboot
Than, as instructed at the documentation, I created /etc/bootptab file for bootp server, so that it can read the specs that I give to it. Here is my /etc/bootptab file =>
client:\
:ha="00:06:29:XE:E3:CD":\ (MAC of the server)
:ip=192.168.2.4:\ (IP of the server, from router)
:sa=192.168.2.2:\ (IP of host)
:sm=255.255.255.0:\
:td=/tftpboot:\
:hd=/netboot:\
:bf=pxelinux.0:
Here is the things that I don't understand =>
client:\
Am I supposed to enter something different than "client" here? My server does not have an assigned name at the router level. When I check it from my router for the MAC Address, it does not specify a name for it. I see the names of other computers in the LAN.
:sa=192.168.2.2:\
I know this should me the host computer's IP, right? My host computer's ip is actually 192.168.2.2. But, when I boot the IBM Netfinity via PXE-boot, it tells me that the DHCP's IP is 192.168.2.1, not my host's IP ending with 2. What should I do?
:gw=:\
Do I need to use gw instead of sa? The examples in the documents have different setups. One uses sa and the other uses gw for host IP.
:td=/tftpboot:\
I have tftpd-hpa installed. What should I write down for :td=???:\. There are some reference to this => /var/lib/tftpboot. Should I write it instead of simple /tftpboot?
:hd=/netboot:\
I installed netboot tarball and extracted into /var/lib/tftpboot and it become /var/lib/tftpboot/netboot... and my pxelinux.0 is in it. So, should I write :hd= with /netboot:
On top of all of this, I have no idea how to start or restart both bootpd and tftpd-hpa servers. I am changing /etc/bootptab file to try different setups, but I am afraid that my changes are not registering. When I edit /etc/bootptab, do I need to restart-reload something? Maybe this /etc/inetd.conf or this /etc/init.d/inetd? If yes, how can I do it?
I tried this and did not work =>
sudo /etc/init.d/inetd reload
Right now, my server boots with PXE, prints me its MAC address, than client IP, but than it says boot image was not received/transferred.
Error: PXE-E53: No boot filename received
after that, it tries cd-rom, but fails to boot again
1962 Drive does not contain a valid boot record.
I imagine, I am doing something wrong with /etc/bootptab file, possibly the location is wrong???
Could anyone help this poor newbie? I feel that I am losing my mind :).