1752569 Members
4986 Online
108788 Solutions
New Discussion юеВ

Re: Auto file Edite

 
Abubakkar
Frequent Contributor

Auto file Edite

How to edite auto file in HP9000&Integrity servers
4 REPLIES 4
Dennis Handly
Acclaimed Contributor

Re: Auto file Edite

The AUTO file for automatic boot?
You may have to use the EFI function to copy the file so you can edit it.
http://docs.hp.com/en/B2355-60130/efi.4.html
Chandrahasa s
Valued Contributor

Re: Auto file Edite

Hi,

You can do

example

echo "boot /stand/vmunix -lq" >> /tmp/AUTO.lq

efi_cp -d /dev/disk/disk_s1 /tmp/AUTO.lq /EFI/HPUX/EFI

Chandra
madhuchakkaravarthy
Trusted Contributor

Re: Auto file Edite

hi

#bdf

/dev/vg00/lvol3 /

#lvdisplay -v /dev/vg00/lvol3 | more

/dev/disk/disk2_p2

#cat /tmp/auto
boot vmunix -lq

#efi_cp -d /dev/rdisk/disk2_p1 /tmp/auto /EFI/HPUX/AUTO

to check

#efi_cp -d /dev/rdisk/disk2_p1 -u /EFI/HPUX/AUTO /tmp/auto

from shell prompt

shell > map
fs0:
fs0:\> cd \EFI\HPUX
ls
cat AUTO
u will find the contents such as
boot vmunix -lq
to change

echo boot vmunix.prev >auto


regards

MC
Bijeesh
Respected Contributor

Re: Auto file Edite

Hi,
For PARISC servers,
To edit the AUTO file,
#mkboot -a hpux /dev/rdsk/c#t#d#

In place of hpux you can mention "hpux -lq" for autoboot without quorum enforced.

To check the contents of the AUTO file,
#lifcp /dev/rdsk/c#t#d#:AUTO -