- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- boot from vg00 disk image that has a different pat...
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
тАО06-16-2006 01:04 AM
тАО06-16-2006 01:04 AM
I am working on an integrity system.
I can boot the image disk with 'boot vmunix -lm', and I have exported vg00 and imported vg00 with the correct device name.
If I try to boot from the image using 'boot vmunix' from the image disks hpux boot loader, (after having corrected LVM on the image), the system will boot the original disk rather then my image... even when I explicitly choose my image disk in EFI boot config options -> boot from file -> pick the hpux boot loader -> 'boot vmunix'
This leads me to think that some metadata on the image is pointing over to the path of the original disk's OS partition(?) or that I didn't fully fix LVM so it is going back to the default??
Any ideas how I can boot from an disk image that has a different path then the original disk when using Integrity/EFI ?
Note: when booted from the image (via 'boot vmunix -lm, I can mount-up and activate the image's version of vg00 lvols without any issue).
This is obviously a test box that I am screwing around with here.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2006 01:11 AM
тАО06-16-2006 01:11 AM
Re: boot from vg00 disk image that has a different path
Check this doc.
Title: How do I boot from an alternate path on an IA64 box ?
Document ID: KBRC00013198
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080024216
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2006 01:13 AM
тАО06-16-2006 01:13 AM
Re: boot from vg00 disk image that has a different path
1.) I dd'd my vg00's physical disk to a copy disk.
2.) The copy disk has a different path then the source disk
3.) How can I boot from my copy disk without having to physically move it to the original path
This is what I thought I had to do:
a.) using EFI boot into LVM maint mode using the EFI/HPUX boot loader on the image disk
b.) change LVM vg00 using export/import to point to the correct copy disk's device file
c.) ok, now reboot with just a regular 'boot vmunix'....
The problem is that "c." always results with me actually booting the original image... even when I explicity choose the image's EFI/HPUX boot loader.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2006 01:20 AM
тАО06-16-2006 01:20 AM
Re: boot from vg00 disk image that has a different path
Make sure you don't mix up the disks while doing your actions.
After booting the "new" disk in lm mode, run "insf -e" and vgexport/import it. This should work - Inever done this with Integrity yet.
Did you the "dd" with cxtxdx or cxdxtxsx device? (note "sx")
You can also try to make the partitions ("idisk" command) and copy only partition 2. Make the first bootable with "mkboot -l -e ..."
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
тАО06-16-2006 01:24 AM
тАО06-16-2006 01:24 AM
Re: boot from vg00 disk image that has a different path
I think that you have miss lvlnboot -R after reimporting vg00, no ?
Hope this will help
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2006 01:25 AM
тАО06-16-2006 01:25 AM
Re: boot from vg00 disk image that has a different path
I think that maybe I need to do something with lvlnboot when I am in '-lm' mode (while booted off the copy)?
remember that I started with an ~exact block level image of my source drive. So all the meta data on the source is on the image. I am trying to fix any meta data that cares about physical disk path.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2006 01:30 AM
тАО06-16-2006 01:30 AM
Re: boot from vg00 disk image that has a different path
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2006 01:30 AM
тАО06-16-2006 01:30 AM
Re: boot from vg00 disk image that has a different path
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2006 01:31 AM
тАО06-16-2006 01:31 AM
Solutione.g.
efi_fsinit -d /dev/rdsk/c2t1d0s1
mkboot -e -l /dev/rdsk/c2t1d0
check:
efi_ls -d /dev/rdsk/c2t1d0s1
set the needed values after booting and importing the disk:
# lvlnboot -r /dev/vg00/lvol3
# lvlnboot -b /dev/vg00/lvol1
# lvlnboot -s /dev/vg00/lvol2
# lvlnboot -d /dev/vg00/lvol2
This should work.
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!