1833925 Members
3323 Online
110063 Solutions
New Discussion

system not boot

 
Shah Gaurang B.
Frequent Advisor

system not boot

hello friends,
I stuckup . I make kernel parameter changes and after that reboot the system but it is not booting . i boot it in single user mode and than give init 1 to mount vg00 . it gives this error after mounting it
/usr/sbin/swapon: The kernel tunable parameter "maxswapchunks" needs to be incre
ased to completely
enable paging on device /dev/vg00/secswap.
Warning: swapon returned exit code: 1
"/sbin/rc1.d/S500swap_start start" FAILED

now how to tune this parameter in single user mode pl. guide me . it is very urgent.

Regard
3 REPLIES 3
DCE
Honored Contributor

Re: system not boot


Shah,

the best bet is boot off of an older kernel (/stand/vmunix.prev ??)

Interrupt the the boot process
bo pri
answer YES to interact with ISL
enter the following command to boot off of the old kernel
hpux /stand/vmunix.prev
Enrico P.
Honored Contributor

Re: system not boot

You can restart with the old kernel vmunix.prev and check for the error.

Stop the boot and in ISL> hpux /stand/vmunix.prev

Enrico
James R. Ferguson
Acclaimed Contributor

Re: system not boot

Hi Shaw:

Since this is a secondary swap device, begin by disabling it in '/etc/fstab'. That is, comment out the line declaring its use.

You can use 'sbin/awk' to do this to avoid having to mount anything:

# /sbin/awk '/secswap/ {print "#"$0}' /etc/fstab > /etc/fstab.new
# /sbin/mv /etc/fstab.new /etc/fstab

Now, use SAM and increase the tunable appropriately.

Regards!

...JRF...