- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Corrupted LABEL file
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2010 01:27 PM
тАО11-09-2010 01:27 PM
Corrupted LABEL file
There is a typical standard procedure for repairing a corrupted label file. But why do I execute the following command as part of the process :-
chroot /ROOT /sbin/sh
Thanx gurus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2010 05:27 AM
тАО11-10-2010 05:27 AM
Re: Corrupted LABEL file
I don't know what your procedure is, but can explain the functionality of the chroot command:
# chroot /ROOT /sbin/sh
the above command starts a new sh shell, and in this shell the new root directory will be your previous /ROOT directory. From that shell, you see only the descendant directories from under /ROOT.
e.g.:
A file in your initial shell under /ROOT/newfile will be visible in sh under /newfile.
I hope you get it. If not, you can read some more info from the man page of chroot:
# man 1m chroot
Regards,
Viktor
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2010 01:27 PM
тАО11-10-2010 01:27 PM
Re: Corrupted LABEL file
The LABEL file is written by using the
lvlnboot -r|-b|-s|-d|-R
commands!
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2010 05:32 PM
тАО11-10-2010 05:32 PM
Re: Corrupted LABEL file
When a normal boot is not successful, we need to booting from some recovery medium(IUX- server/CD)in to a recovery shell.A Program called loadfile which is run from the recovery medium loads essential files in to a RAM based file system (8MB). So when we enter chroot /ROOT /sbin/sh makes the /ROOT file system your root file system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2010 11:21 PM
тАО11-10-2010 11:21 PM
Re: Corrupted LABEL file
I am aware with the commands for lvlnboot to update the pointers for primary swap, boot and root logical volumes. And yes I am in the recovery shell and I was talking bout repairing a corrupted LABEL file from recovery shell because my system does not boot!! Thanks anyways...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2010 09:30 AM
тАО11-11-2010 09:30 AM
Re: Corrupted LABEL file
chroot /ROOT /sbin/sh
Well, during recovery you boot the system NOT from the boot disk, but from a RAM disk. With "chroot" you try to bring the original boot disk back into place as root disk.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2010 10:42 AM
тАО11-11-2010 10:42 AM
Re: Corrupted LABEL file
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2010 01:37 PM
тАО11-11-2010 01:37 PM