<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to Make a Bootable Disk ? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-make-a-bootable-disk/m-p/2910020#M933331</link>
    <description>It's still not clear to me what you actually did and what you're really trying to do, but you can make a bootable disk without MirrorDisk/UX.&lt;BR /&gt;&lt;BR /&gt;I have done the following in the past:&lt;BR /&gt;&lt;BR /&gt;. do the 'pvcreate -B'&lt;BR /&gt;. create a new VG, say, vgboot2&lt;BR /&gt;. create the LVOLs and FSs&lt;BR /&gt;. copy the vg00 FSs to the&lt;BR /&gt; vgboot2 FSs.  You have to create mount temp mount points.  I generally use 'fbackup'|'frecover' to do the copy, but you could use 'cpio' if you don't have ACLs.&lt;BR /&gt;. change the /etc/fstab in the new stuff to use "vgboot2"&lt;BR /&gt;&lt;BR /&gt;This works and boots.  Of course it's not vg00 and anything that depends on that (like /etc/fstab and probably make_tape_recovery) is an issue.  But it might be possible to boot into maintenance mode and import the VG as vg00 --I didn't try that.&lt;BR /&gt;&lt;BR /&gt;It would seem to me that make_tape_recovery would be a much simpler way to go, however.&lt;BR /&gt;&lt;BR /&gt;bv</description>
    <pubDate>Sat, 22 Feb 2003 15:56:25 GMT</pubDate>
    <dc:creator>Bob_Vance</dc:creator>
    <dc:date>2003-02-22T15:56:25Z</dc:date>
    <item>
      <title>How to Make a Bootable Disk ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-make-a-bootable-disk/m-p/2910013#M933324</link>
      <description>I have a D class machine running HP-UX version 11.00 with one volume group vg00 at 4.5.0. I want to create a bootable disk on another disk at 4.9.0. I thought I knew how to do this but when I try to boot from the disk it hangs at the following point. Obviously I am missing something. It must be something to do with mkboot or lvlnboot or /stand/rootconf or something but I don't know what.&lt;BR /&gt;&lt;BR /&gt;Boot&lt;BR /&gt;: disc(4.9.0;0)/stand/vmunix&lt;BR /&gt;7389184 + 882184 + 2219768 start 0x24b768&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;Patrick Collins</description>
      <pubDate>Fri, 21 Feb 2003 05:24:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-make-a-bootable-disk/m-p/2910013#M933324</guid>
      <dc:creator>Patrick Collins</dc:creator>
      <dc:date>2003-02-21T05:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to Make a Bootable Disk ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-make-a-bootable-disk/m-p/2910014#M933325</link>
      <description>Are you attempting to create a mirror of the first disk?&lt;BR /&gt;&lt;BR /&gt;If so you need to have the mirrordisk/ux sofwware installed, which must be purchased.&lt;BR /&gt;&lt;BR /&gt;Once this has been done: e.g.&lt;BR /&gt;&lt;BR /&gt;# pvcreate -Bf /dev/rdsk/c2t6d0 &lt;BR /&gt;# vgextend /dev/vg00 /dev/dsk/c2t6d0 &lt;BR /&gt;# mkboot /dev/rdsk/c2t6d0 &lt;BR /&gt;# mkboot -a "hpux -lq (0/0/2/1.6.0;0)/stand/vmunix" /dev/rdsk/c2t6d0 &lt;BR /&gt;(hardware path from ioscan) &lt;BR /&gt;# lvlnboot -R &lt;BR /&gt;# for LVOL in /dev/vg00/lv* &lt;BR /&gt;&amp;gt; do &lt;BR /&gt;&amp;gt; echo $LVOL &lt;BR /&gt;&amp;gt; lvextend -m 1 $LVOL &lt;BR /&gt;&amp;gt; done &lt;BR /&gt;&lt;BR /&gt;Another option (if you don't have mirrordisk/ux is to create an ignite tape from disk 1 and boot from it and install the same onto disk B.&lt;BR /&gt;&lt;BR /&gt;There is a third option that you could do and that is to do a 'dd' from disk a to disk b.&lt;BR /&gt;There has been postings on this recently.</description>
      <pubDate>Fri, 21 Feb 2003 05:40:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-make-a-bootable-disk/m-p/2910014#M933325</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2003-02-21T05:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to Make a Bootable Disk ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-make-a-bootable-disk/m-p/2910015#M933326</link>
      <description>Hi patrick,&lt;BR /&gt;do&lt;BR /&gt;pvcreate -B /dev/rdsk/c0t9d0&lt;BR /&gt;vgextend /dev/vg00 /dev/dsk/c0t9d0&lt;BR /&gt;mkboot -l /dev/rdsk/c0t9d0&lt;BR /&gt;mkboot -a "hpux -lq" /dev/rdsk/c0t9d0&lt;BR /&gt;lifcp /dev/dsk/c0t9d0:AUTO -&lt;BR /&gt;then do &lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c0t9d0&lt;BR /&gt;and so on  for all lv's even swap&lt;BR /&gt;Then do&lt;BR /&gt;# lvlnboot -r /dev/vg00/lvol3 /dev/vg00&lt;BR /&gt;    # lvlnboot -b /dev/vg00/lvol1 /dev/vg00&lt;BR /&gt;    # lvlnboot -s /dev/vg00/lvol2 /dev/vg00&lt;BR /&gt;    # lvlnboot -d /dev/vg00/lvol2 /dev/vg00&lt;BR /&gt;&lt;BR /&gt;# mkboot -b /usr/sbin/diag/lif/updatediaglif     -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c0t9d0&lt;BR /&gt;to copy offline diagnostics&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Feb 2003 05:46:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-make-a-bootable-disk/m-p/2910015#M933326</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2003-02-21T05:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to Make a Bootable Disk ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-make-a-bootable-disk/m-p/2910016#M933327</link>
      <description>Hi Patrick,&lt;BR /&gt;&lt;BR /&gt;The procedure as outlined by Michael will work for you. However, different administrators do it in different ways. I am giving only the steps that I do differently.&lt;BR /&gt;&lt;BR /&gt;Note down lvlnboot -v output before you mirror&lt;BR /&gt;&lt;BR /&gt;mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c2t6d0&lt;BR /&gt;cd /usr/sbin/diag/lif&lt;BR /&gt;mkboot -b updatediaglif2 -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c2t6d0&lt;BR /&gt;&lt;BR /&gt;After the for loop, run lvlnboot. Match the logical volumes in your previous lvlnboot -v output&lt;BR /&gt;&lt;BR /&gt;lvlnboot -b /dev/vg00/lvol1 (boot)&lt;BR /&gt;lvlnboot -r /dev/vg00/lvol3 (root)&lt;BR /&gt;lvlnboot -s /dev/vg00/lvol2 (swap)&lt;BR /&gt;lvlnboot -d /dev/vg00/lvol2 (dump)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Feb 2003 05:55:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-make-a-bootable-disk/m-p/2910016#M933327</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-02-21T05:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to Make a Bootable Disk ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-make-a-bootable-disk/m-p/2910017#M933328</link>
      <description>Actually what I am trying to do is work out a procedure to rebuild a boot disk (vg00) for another system where the disk has failed. I need specific sized and label lvols in this volume group. We have good OmniBack backups of file systems on this vg but no Ignite images. This is not an urgent problem as we have a workaround but I need to document the restore procedure for future.</description>
      <pubDate>Fri, 21 Feb 2003 06:02:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-make-a-bootable-disk/m-p/2910017#M933328</guid>
      <dc:creator>Patrick Collins</dc:creator>
      <dc:date>2003-02-21T06:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to Make a Bootable Disk ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-make-a-bootable-disk/m-p/2910018#M933329</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;Just by copying from 4.5.0 to 4.9.0 wouldn't work. You need to have MirrodDisk/UX, Follow the procedure said by Michael and change the boot path to the disk 4.9.0</description>
      <pubDate>Fri, 21 Feb 2003 06:05:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-make-a-bootable-disk/m-p/2910018#M933329</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2003-02-21T06:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to Make a Bootable Disk ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-make-a-bootable-disk/m-p/2910019#M933330</link>
      <description>you need to have HP-ux/mirror software for this. If you have procedure is as follows.&lt;BR /&gt;&lt;BR /&gt;pvcreate -fB /dev/rdsk/c2t1d0&lt;BR /&gt;(assuming c2t2d0 as another disk)&lt;BR /&gt;&lt;BR /&gt;mkboot /dev/rdsk/cc2t1d0&lt;BR /&gt;vgextend vg00 /dev/dsk/c2t1d0&lt;BR /&gt;mkboot -a "hpux -lq" /dev/rdsk/c2t1d0&lt;BR /&gt;&lt;BR /&gt;lifcp /dev/rdsk/c2t1d0:AUTO -&lt;BR /&gt;&lt;BR /&gt;vgextend -m 1 /dev/vg00/lvol1&lt;BR /&gt;vgextend -m 1 /dev/vg00/lvol2&lt;BR /&gt;vgextend -m 1 /dev/vg00/lvol3&lt;BR /&gt;&lt;BR /&gt;lvol1-boot,lvol2-swap and lvol3=root&lt;BR /&gt;&lt;BR /&gt;and all other lvols in vg00&lt;BR /&gt;lvlnboot -b /dev/vg00/lvol1 /dev/vg00&lt;BR /&gt;lvlnboot -r /dev/vg00/lvol3 /dev/vg00&lt;BR /&gt;lvlnboot -s /dev/vg00/lvol2 /dev/vg00&lt;BR /&gt;lvlnboot -d /dev/vg00/lvol2 /dev/vg00&lt;BR /&gt;&lt;BR /&gt;lvlnboot -R&lt;BR /&gt;&lt;BR /&gt;setboot -a to ser alternate path.&lt;BR /&gt;&lt;BR /&gt;Reboot and interrupt boot process and boot from alternate disk.&lt;BR /&gt;&lt;BR /&gt;In case you do not have Mirror software you can prepare static copy of your boot disk.&lt;BR /&gt;&lt;BR /&gt;pvcreate -fB /dev/rdsk/c2t1d0&lt;BR /&gt;(assuming c2t2d0 as another disk)&lt;BR /&gt;&lt;BR /&gt;mkboot /dev/rdsk/cc2t1d0&lt;BR /&gt;vgcreate vgboot /dev/dsk/c2t1d0&lt;BR /&gt;mkboot -a "hpux -lq" /dev/rdsk/c2t1d0&lt;BR /&gt;&lt;BR /&gt;lifcp /dev/rdsk/c2t1d0:AUTO -&lt;BR /&gt;&lt;BR /&gt;lvcreate -C y -r n -L size_of_boot /dev/vgboot&lt;BR /&gt;same way create other two. They need to be continuous .&lt;BR /&gt;&lt;BR /&gt;lvol1-boot,lvol2-swap and lvol3=root&lt;BR /&gt;create all other lvols in vg00 on new vgboot &lt;BR /&gt;&lt;BR /&gt;then&lt;BR /&gt;&lt;BR /&gt;lvlnboot -b /dev/vgboot/lvol1 /dev/vgboot&lt;BR /&gt;lvlnboot -r /dev/vgboot/lvol2 /dev/vgboot&lt;BR /&gt;lvlnboot -s /dev/vgboot/lvol2 /dev/vgboot&lt;BR /&gt;&lt;BR /&gt;then dd each lvol onto new lvs.</description>
      <pubDate>Fri, 21 Feb 2003 06:08:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-make-a-bootable-disk/m-p/2910019#M933330</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2003-02-21T06:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to Make a Bootable Disk ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-make-a-bootable-disk/m-p/2910020#M933331</link>
      <description>It's still not clear to me what you actually did and what you're really trying to do, but you can make a bootable disk without MirrorDisk/UX.&lt;BR /&gt;&lt;BR /&gt;I have done the following in the past:&lt;BR /&gt;&lt;BR /&gt;. do the 'pvcreate -B'&lt;BR /&gt;. create a new VG, say, vgboot2&lt;BR /&gt;. create the LVOLs and FSs&lt;BR /&gt;. copy the vg00 FSs to the&lt;BR /&gt; vgboot2 FSs.  You have to create mount temp mount points.  I generally use 'fbackup'|'frecover' to do the copy, but you could use 'cpio' if you don't have ACLs.&lt;BR /&gt;. change the /etc/fstab in the new stuff to use "vgboot2"&lt;BR /&gt;&lt;BR /&gt;This works and boots.  Of course it's not vg00 and anything that depends on that (like /etc/fstab and probably make_tape_recovery) is an issue.  But it might be possible to boot into maintenance mode and import the VG as vg00 --I didn't try that.&lt;BR /&gt;&lt;BR /&gt;It would seem to me that make_tape_recovery would be a much simpler way to go, however.&lt;BR /&gt;&lt;BR /&gt;bv</description>
      <pubDate>Sat, 22 Feb 2003 15:56:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-make-a-bootable-disk/m-p/2910020#M933331</guid>
      <dc:creator>Bob_Vance</dc:creator>
      <dc:date>2003-02-22T15:56:25Z</dc:date>
    </item>
  </channel>
</rss>

