[prev in list] [next in list] [prev in thread] [next in thread] 

List:       debian-user
Subject:    Re: Re: etch + xp
From:       "Henrique G. Abreu" <hgabreu () gmail ! com>
Date:       2007-09-30 19:25:40
Message-ID: ee86ab30709301225k449e65c6je9b985aef4016d4a () mail ! gmail ! com
[Download RAW message or body]

if you lose your MBR, I think the easiest way to recover it
is booting from debian cd in rescue mode
type "rescue" before installation starts
then go to console, mount your hd, chroot to it and re-install grub
$ mount /dev/hdc1 /mnt
# I'm guessing that it's hdc1 where root ( / ) is.
$ cd /mnt
$ chroot .
$ grub-install /dev/hdc
ctrl + alt + del
your done!

hint: you will probably lose your MBR, like Douglas sad: windows is
megalomaniac


On 9/30/07, Owen Heisler <owenh000@gmail.com> wrote:
>
> On Sun, 2007.09.30 13:14, Marcelo Chiapparini wrote:
> > But I want to install XP in another disk, different from which etch is
> > installed. So XP will install its own bootmanager into the mbr of this
> > different disk. Am I wright? Remember that I can tell the bios from what
> > disk the system boots. I gues I can use this in order to make the system
> > boot from the second disk, where XP is being installed, making XP ignore
> > the disk where etch is installed.
>
> Windows XP will overwrite the MBR of the first drive listed by the BIOS
> (the
> one that is booted), so set the BIOS to boot from whatever drive you want
> Windows to replace the MBR of.  When you're done installing, switch it
> back,
> boot Debian, and set up grub to boot Windows with 'chainload'.
>
> Back up your MBR first though.  And: when I set up grub to boot Windows
> once
> for someone else, I found grub's 'hide' command and used it to hide the
> Debian
> partitions, thinking that the less Windows saw, the better.  But Windows
> (XP),
> when those partitions were 'hidden' by grub, changed the partition types
> to
> Amoeba (whatever that is) and then grub would give an error on the next
> boot.
> Of course, problems like that should be expected when running Windows on a
> system.
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFG/+9k9XC8Sh1vpNARAuCOAJ9N4PABL9ugoUIh84P75pbV2+rIrwCfUPLi
> Gkomecm4EiecxDUjtln83fg=
> =9y0B
> -----END PGP SIGNATURE-----
>
>


-- 
Henrique G. Abreu
henrique@turbokit.com.br

[Attachment #3 (text/html)]

if you lose your MBR, I think the easiest way to recover it<br>is booting from debian \
cd in rescue mode<br>type &quot;rescue&quot; before installation starts<br>then go to \
console, mount your hd, chroot to it and re-install grub <br>$ mount /dev/hdc1 \
/mnt<br># I&#39;m guessing that it&#39;s hdc1 where root ( / ) is.<br>$ cd /mnt<br>$ \
chroot .<br>$ grub-install /dev/hdc<br>ctrl + alt + del<br>your done!<br><br>hint: \
you will probably lose your MBR, like Douglas sad: windows is megalomaniac \
<br><br><br><div><span class="gmail_quote">On 9/30/07, <b \
class="gmail_sendername">Owen Heisler</b> &lt;<a \
href="mailto:owenh000@gmail.com">owenh000@gmail.com</a>&gt; wrote:</span><blockquote \
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt \
0pt 0.8ex; padding-left: 1ex;"> On Sun, 2007.09.30 13:14, Marcelo Chiapparini \
wrote:<br>&gt; But I want to install XP in another disk, different from which etch \
is<br>&gt; installed. So XP will install its own bootmanager into the mbr of \
this<br>&gt; different disk. Am I wright? Remember that I can tell the bios from what \
<br>&gt; disk the system boots. I gues I can use this in order to make the \
system<br>&gt; boot from the second disk, where XP is being installed, making XP \
ignore<br>&gt; the disk where etch is installed.<br><br>Windows XP will overwrite the \
MBR of the first drive listed by the BIOS (the <br>one that is booted), so set the \
BIOS to boot from whatever drive you want<br>Windows to replace the MBR \
of.&nbsp;&nbsp;When you&#39;re done installing, switch it back,<br>boot Debian, and \
set up grub to boot Windows with &#39;chainload&#39;. <br><br>Back up your MBR first \
though.&nbsp;&nbsp;And: when I set up grub to boot Windows once<br>for someone else, \
I found grub&#39;s &#39;hide&#39; command and used it to hide the \
Debian<br>partitions, thinking that the less Windows saw, the better.&nbsp;&nbsp;But \
Windows (XP), <br>when those partitions were &#39;hidden&#39; by grub, changed the \
partition types to<br>Amoeba (whatever that is) and then grub would give an error on \
the next boot.<br>Of course, problems like that should be expected when running \
Windows on a <br>system.<br><br>-----BEGIN PGP SIGNATURE-----<br>Version: GnuPG \
v1.4.6 (GNU/Linux)<br><br>iD8DBQFG/+9k9XC8Sh1vpNARAuCOAJ9N4PABL9ugoUIh84P75pbV2+rIrwCfUPLi<br>Gkomecm4EiecxDUjtln83fg=<br>=9y0B<br>-----END \
PGP SIGNATURE----- <br><br></blockquote></div><br><br clear="all"><br>-- <br>Henrique \
G. Abreu<br><a href="mailto:henrique@turbokit.com.br">henrique@turbokit.com.br</a>


-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic