Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

boot from alternate disk in AIX 6.1

Posted on 2011-03-09
3
Medium Priority
?
935 Views
Last Modified: 2013-11-17
We were having some issues with configuring a instance of AIX 6.1 booting off of harddisk0, we installed a new copy fresh copy on harddisk1, which booted fine, and showed us the problem was with the inital install on harddisk0.
 
We would like to boot back off of harddisk0, what are the steps to do that? We have seen something using bootlist, it also appears I should be able to do this from the menu after getting F1, that is what I will attempt when
I am there,

Any pointers would be appreicated.
0
Comment
Question by:FITFSC
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 2000 total points
ID: 35080549
Hi,

if your system is up and running you can change the bootlist directly:

bootlist -m normal hdisk0

Check your current settings with bootlist -m normal -o.

Don't worry if the same device shows up multiple times. This is due to multipathing.

Check with ipl_varyon -iv which bootable devices you have.

The location code of the bootable disks (obtained via "lscfg -l hdiskx") could be of interest here (see below).

You can also define your boot device via SMS (the "F1" thing you mentioned).

Boot into SMS -> 5 "Boot Options" -> 1 "Select Install/Boot Device" -> 5 "Hard Drive" -> (select your media type) -> (select your media adapter) -> (select the appropriate device)

To choose the right device the output of "lscfg -l hdiskx" from above could be helpful, because SMS doesn't know about hdisk names.

wmp

 
0
 

Expert Comment

by:rajdeep_patne
ID: 35243195
You can use bootlist -m normal hdisk0 hdisk1 so that if aix is not able to boot from hdisk0 than it will alternately boot fom hdisk1 (on safe side)
0
 

Author Closing Comment

by:FITFSC
ID: 35316223
answered first, assigning the points.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question