Operating System - HP-UX
1847700 Members
4237 Online
110265 Solutions
New Discussion

Boot HP-UX 11.0 over the network

 
roscher
New Member

Boot HP-UX 11.0 over the network

I have the following situation:

I have a BOOTP server on Linux
I have a TFTP server on Linux
I can boot a HP-UX 11.0 Kernel from my Linux server. But the kernel has no network card support and therfore the kernel can not
load a ramdisk (vmunix.fs) or is able to
mount his root file system over the network
(like Linux or other Unix systems can do
this ... 20 years old unix feature).

How can I compile a right HP-UX 11.0 kernel
for my purposes???

I have made a kernel with the following additional lines in the system file

ram
ufs
diskless_node 1
remote_nfs_swap 1
allocate_fs_swapmap 1

The kernel was made with the following command

mk_kernel -v -o /stand/vmunix.diskless -s /stand/system.diskless

Is there anybody out there, who want to realise a NFS diskless boot of HP-UX 11.0 ???

I know, that HP-UX 11.0 does no longer contain
NFS diskless, but the concept of a NFS based root file system is still available in the kernel and in the bootfiles (e.g. uxbootlf).

I have a B2000 HP-UX system. Must I go back
to HP-UX 10.20 to have NFS diskless, because
HP is too stupid to support and describe there
possible boot processes exactly ???
3 REPLIES 3
roscher
New Member

Re: Boot HP-UX 11.0 over the network

This is my answer to myself.

1. Modify /usr/conf/gen/config.sys

You must add -DDSKLESS to some definitions.

IDENT=-DDSKLESS} -D__ROSE__ ...
IDENT_TMP64=-DDSKLESS -D__TEMP64__
ROOT=/usr/conf/lib
IDENT_INT=-DDSKLESS -Dhp9000s800 ...
IDENT_KERN=-DDSKLESS -D_KERNEL -DKERNEL

2 Create /stand/vmunix.diskless

cp /stand/system /stand/system.diskless

3. Add the following lines at the end of
/stand/system.diskless

dskless_node 1
remote_nfs_swap 1
echo allocate_fs_swapmap 1

4. Copy a bootp.h from somewhere to
/usr/conf/h/bootp.h

5. Compile the kernel

mk_kernel -v -o /stand/vmunix.diskless
-s /stand/system.diskless


FINAL RESULT

Primary boot path LAN.10.222.223.10.5.6
Alternate boot path SCSI.6.0
Processor is booting ...
To discontinue press any key ...
Searching for bootable devices
To discontinue press any key ...
Attempting to boot primary path
BOOTABLE DEVICE FOUND
Booting ...
System IP address 10.222.223.26
Server IP address 10.222.223.10
Boot IO Dependent Code (IODC) revision 2
HARD Booted
ISL Revision A.00.38
ISL booting hpux
Boot
: lan(10/0/12/0;0)/stand/vmunix
: lan(10/0/12/0;0)/stand/vmunix.fs


FINAL QUESTION

How can I make vmunix.fs ?????

This file is only available up to HPUX 10.20
roscher
New Member

Re: Boot HP-UX 11.0 over the network

Second incomplete answer to myself
I can not boot HPUX 11.0 over the network !!!

I have found the file vmunix.fs in the Patch
PHKL_20126.The new network boot has the following result

Boot
: lan(10/0/12/0;0)/stand/vmunix
7540736 + 885432 +1029648 start 0x246de8
lan(10/0/12/0;0)/stand/vmunix.fs Loaded

WARNING: Kernel symbol table verification failed
WARNING: Error reading /ioconfig: errno 8
gate64: sysvec_vaddr = 0xc0002000 for 1 pages
NOTICE: nfs3_link() File system was registered at index 4
NOTICE: autofs_link() File system was registered at index 6
System Console is on ITE
Entering cifs_init ...

Finally I have a kernel panic message.

How can I have the following message?

Starting NFS diskless client ....

Must I really go back to 10.20 ?????????
Laurent Menase
Honored Contributor

Re: Boot HP-UX 11.0 over the network

Hi,

The vmunix.fs you found is the one for 10.20.
So it won't work with an 11.0 kernel.


The error message means it doens't find the file symtab ( usually on /stand/dlkm) .
You may try to put the symtab generated with your kernel on your tftpdir


But the subject is interesting.....