Recreating the boot logical volume: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Recreate the boot logical volume == The bosboot command requires that the boot logical volume (hd5) exists. If it is ever needed to re-create the BLV from scratch follow t...") |
|||
Line 4: | Line 4: | ||
# Boot the machine into maintenance mode from CD or tape, enter into SMS mode and select the boot device. | # Boot the machine into maintenance mode from CD or tape, enter into SMS mode and select the boot device. | ||
# Remove the old hd5 logical volume. | # Remove the old hd5 logical volume. | ||
# | #: <tt>'''# rmlv hd5'''</tt> | ||
# Clear the boot record at the beginning of the disk. | # Clear the boot record at the beginning of the disk. | ||
# | #: <tt>'''# chpv -c hdisk#'''</tt> | ||
# Create a new hd5 logical volume that is one PP in size, in rootvg and at the outer edge as the intrapolicy. | # Create a new hd5 logical volume that is one PP in size, in rootvg and at the outer edge as the intrapolicy. | ||
# | #: <tt>'''# mklv -y hd5 -t -a e rootvg 1'''</tt> | ||
# Run the bosboot command. | # Run the bosboot command. | ||
# | #: <tt>'''# bosboot -ad hdisk#'''</tt> | ||
# Check the bootlist make changes if needed | # Check the bootlist make changes if needed | ||
# | #: <tt>'''# bootlist -m normal -o'''</tt> | ||
# Manually sync to disk. | # Manually sync to disk. | ||
# | #: <tt>'''# sync;sync'''</tt> | ||
# Restart the system. | # Restart the system. | ||
# | #: <tt>'''# shutdown -Fr now'''</tt> | ||
== Further Reading == | == Further Reading == | ||
[[Category: AIX]] | [[Category: AIX]] |
Latest revision as of 21:02, 13 December 2017
Recreate the boot logical volume
The bosboot command requires that the boot logical volume (hd5) exists. If it is ever needed to re-create the BLV from scratch follow this procedure.
- Boot the machine into maintenance mode from CD or tape, enter into SMS mode and select the boot device.
- Remove the old hd5 logical volume.
- # rmlv hd5
- Clear the boot record at the beginning of the disk.
- # chpv -c hdisk#
- Create a new hd5 logical volume that is one PP in size, in rootvg and at the outer edge as the intrapolicy.
- # mklv -y hd5 -t -a e rootvg 1
- Run the bosboot command.
- # bosboot -ad hdisk#
- Check the bootlist make changes if needed
- # bootlist -m normal -o
- Manually sync to disk.
- # sync;sync
- Restart the system.
- # shutdown -Fr now