[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



     grub> unhide (hd0,0)
     grub> hide (hd0,1)
     grub> rootnoverify (hd0,0)
     grub> chainloader +1
     grub> makeactive
     grub> boot



>> Guys,
>>
>> I have two machines...one with Windows XP and one with Red Hat 8.  I'd
>> like to take the harddrive out of the XP machine and drop it in the RH8
>> box as an IDE slave, and then use grub to dual boot.
>>
>> The grub tutorials I've seen so far assume you've either got XP
>> installed
>> and are doing a new Linux install or doing a new install of both.
>>
>> Is it possible to do it as I've described?  Anyone else done this?
>>
>> Thanks as always for the help.
>>
>> John
>
> Check out 'info grub';
> File: grub.info,  Node: General boot methods,  Next: OS-specific notes,
> Up: Bo\
> oting
>
> How to boot operating systems
> =============================
>
>    GRUB has two distinct boot methods. One of the two is to load an
> operating system directly, and the other is to chain-load another boot
> loader which then will load an operating system actually. Generally
> speaking, the former is desirable, because you don't need to install or
> maintain other boot loaders and GRUB is flexible enough to load an
> operating system from an arbitrary disk/partition. However, the latter
> is sometimes required, since GRUB doesn't support all the existing
> operating systems natively.
>
> * Menu:
>
> * Loading an operating system directly::
> * Chain-loading::
>
> DOS/Windows
> -----------
>
>    GRUB cannot boot DOS or Windows directly, so you must chain-load them
> (*note Chain-loading::). However, their boot loaders have some critical
> deficiencies, so it may not work to just chain-load them. To overcome
> the problems, GRUB provides you with two helper functions.
>
>    If you have installed DOS (or Windows) on a non-first hard disk, you
> have to use the disk swapping technique, because that OS cannot boot
> from any disks but the first one. The workaround used in GRUB is the
> command `map' (*note map::), like this:
>
>      grub> map (hd0) (hd1)
>      grub> map (hd1) (hd0)
>
>    This performs a "virtual" swap between your first and second hard
> drive.
>
> HTH
>
> Jonathan Glass
>
> --
> Jonathan Glass
> Systems Support Specialist II
> IBB/GTEC
> Office: 404-385-0127
> Cell: 404-444-4086
> _______________________________________________
> Ale mailing list
> Ale at ale.org
&gt; <a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>
&gt;


-- 
Jonathan Glass
Systems Support Specialist II
IBB/GTEC
Office: 404-385-0127
Cell: 404-444-4086


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00359" href="msg00359.html">[ale] Booting a Win XP drive with grub without reinstalling?</a></strong>
<ul><li><em>From:</em> jb at sourceillustrated.com (John Wells)</li></ul></li>
<li><strong><a name="00361" href="msg00361.html">[ale] Booting a Win XP drive with grub without reinstalling?</a></strong>
<ul><li><em>From:</em> jonathan.glass at ibb.gatech.edu (Jonathan Glass)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00361.html">[ale] Booting a Win XP drive with grub without reinstalling?</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00363.html">[ale] Booting a Win XP drive with grub without reinstalling?</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00361.html">[ale] Booting a Win XP drive with grub without reinstalling?</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00363.html">[ale] Booting a Win XP drive with grub without reinstalling?</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00362"><strong>Date</strong></a></li>
<li><a href="threads.html#00362"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>