From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [SOLVED] Re: [gentoo-user] selecting boot(active?) partition
Date: Tue, 10 Jul 2007 19:51:30 +0100 [thread overview]
Message-ID: <200707101951.40511.michaelkintzios@gmail.com> (raw)
In-Reply-To: <20070710090030.M86761@xvalheru.org>
[-- Attachment #1: Type: text/plain, Size: 2493 bytes --]
On Tuesday 10 July 2007 10:09, pat wrote:
> On Wed, 4 Jul 2007 23:17:50 +0100, Mick wrote
>
> > On Wednesday 04 July 2007 08:51, Neil Bothwick wrote:
> > > Hello pat,
> > >
> > > > Problem is that when there're any non dos/windows partitions the boot
> > > > from recovery partition failed. So, I need to set recovery partition
> > > > bootable and remove all other partitions including /boot with GRUB
> > > > configuration - and when the /boot is removed then there's not
> > > > possible to use GRUB, because of the grub.conf, and that's why I need
> > > > to set recovery partition bootable without GRUB.
> > >
> > > Set the partition to be bootable in cfdisk, before removing the Linux
> > > partitions.
> >
> > fdisk, cfdisk, etc. will all set the bootable flag. The question is
> > why do you need to remove a)grub, b)the /boot partition? Is your
> > Windows recovery partition script expecting Windows to be the first
> > partition on the disk and you have moved it since installation?
> >
> > Perhaps next time you'll use partimage with Gentoo to create a back
> > up image of your Windows partition and so you will be able to
> > restore it within 40 minutes or so, depending on the speed of your
> > machine.
>
> Well, the recovery process requires whole disk space and "clear" MBR. Yes,
> right now I've 'dd'ed fresh windows installation and next reinstall should
> be really fast - expect 15 minutes instead of the whole day ;-)
>
> Some information what I've used to remove GRUB from MBR. In windows (don't
> beat me) there are tools 'fixmbr' and 'fixboot' and Ive used them.
>
> Probably last question: When I've tried to set the recovery partition
> 'active' in fdisk, the system still boots from the GRUB and not from the
> 'active' partition ... I think I've did it wrong, did I?
fixmbr will replace GRUB's boot code in the mbr with ntldr's (WinXP). fixboot
will replace the partition boot sector code with WinXP's. You'll need to run
the former on the drive and the latter on the partition in which the WinXP
installation existed. Not sure if you would need to run fixboot on your
recovery partition, but I don't know how your 'recovery partition' works.
Does it contain a complete image of your WinXP partition? Usually, the
conventional WinXP recovery partition only contains certain libs &
configuration files, not a complete installation.
> Thanks to all for help.
You're welcome.
--
Regards,
Mick
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-07-11 14:21 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-04 0:06 [gentoo-user] selecting boot(active?) partition pat
2007-07-04 1:45 ` Norberto Bensa
2007-07-04 6:00 ` pat
2007-07-04 2:14 ` Randy Barlow
2007-07-04 5:55 ` pat
2007-07-04 7:51 ` Neil Bothwick
2007-07-04 22:17 ` Mick
2007-07-10 9:09 ` [SOLVED] " pat
2007-07-10 18:51 ` Mick [this message]
2007-07-12 8:20 ` pat
2007-07-13 7:03 ` Mick
2007-07-10 22:34 ` Dan Farrell
2007-07-12 8:19 ` pat
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200707101951.40511.michaelkintzios@gmail.com \
--to=michaelkintzios@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox