public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Kintzios" <michaelkintzios@lycos.co.uk>
To: <gentoo-user@lists.gentoo.org>
Subject: RE: [gentoo-user] Windows on a second drive?
Date: Tue, 6 Sep 2005 11:06:24 +0100	[thread overview]
Message-ID: <F49BE7328A1DA246AFC5C2CDDB86D917DFAFB3@BCV0X134EXC0005> (raw)
In-Reply-To: <20050906085834.13d94180@hactar.digimed.co.uk>



> -----Original Message-----
> From: Neil Bothwick [mailto:neil@digimed.co.uk] 
> Sent: 06 September 2005 08:59
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] Windows on a second drive?
> 
> 
> On Mon, 5 Sep 2005 19:33:01 -0700, Mark Knecht wrote:
> 
> > Even though it says [MBR] above it won't proceed without creating at
> > least one partition on drive 0. It appears I cannot install 
> Windows XP
> > on a second drive without writing 30MB to the boot drive?

The easiest solution to this problem is to do as another poster
suggested:  Remove all drives, jumper your WinXP drive as master and
install WinXP on its own.  Then re-arrange and rejumper the drives as
you like, reset the BIOS settings to recognise the new drive sequence,
and finally use fdisk to check that the WinXP partition is set with the
active boot flag 'a', your grub.conf is as per the handbook for
multibooting WinXP and your fstab is adjusted accordingly for the
corresponding Gentoo and WinXP partitions.

With regards to the Grub commands:
The makeactive means just that, make active the current (WinXP in our
case) boot partition.  The rootnoverify tells Grub to not try to read
the M$Windoze proprietary boot code (it can't).  The map command
virtually swaps drives so that WinXP boot loader does not go spastic if
it finds itself on any other drive than /dev/hda and so overcomes the
WinXP inability to boot from any other than the first drive.  Finally
there's the hide/unhide command which will allow multiple M$Windoze OS'
to coexist independently without blending their partition bootloading
files into a mess (the intended M$Windoze multibooting approach).

> > Is it possible to safely shrink an ext3 partition on the 
> current drive
> > 0 to make way for this?
> 
> You can resize an unmounted partition by running resize2fs to 
> shrink the
> filesystem, then delete the partition in cfdisk and recreate 
> it slightly
> larger than the new filesystem size and then running 
> resize2fs again. Or
> you could just boot from a Knoppix CD and run qtparted.
> 
> > The only other thought that comes to mind at this point, assuming I
> > haven't missed something obvious, is to rearrange the drives in the
> > box and make drive 1 into drive 0. If I then installed grub on the
> > Windows drive and fixed up fstab and the contents of grub.conf to
> > recognize Gentoo on drive 1, would it work?
> 
> This certainly seems the best solution. It saves Windows getting arsey
> about drives or having to try to fool it with GRUB map commands. I'd
> disconnect the Gentoo drive and install Windows, then replace 
> the Gentoo
> drive as slave, boot from a live CD, edit fstab and run grub. windows
> should then remain blissfully unaware of your Gentoo 
> installation, which
> means it won't try to "fix" it for you at some random later date.

I doubt that this is necessary.  Either try it with only one drive
connected to the machine as suggest previously, or perhaps try this:

Create your own NTFS partition and mark it as the only active boot
partition on the drive you want it installed, using fdisk or whatever.
Then use the hide command to hide all other OS from the grub menu.  Then
try to install WinXP to see if it will get on with the job.   I am not
sure that this method will work without any problems, because I haven't
tried it out myself.  I suspect that it may still fall over itself when
it detects that the proposed partition is not a primary partition on the
first drive.  Truth is that by the time you changed your grub.conf to
include the hide command, then re-installed Grub, remodified the
grub.conf, etc. you might as well physically swap the drives and
complete the WinXP installation as B Gates intended.

I must reiterate here that every time you change the physical order of
your drives you should reset your BIOS.  This is a good idea even the
BIOS is supposed to do this automatically.  Also, when you finish
installing and before you reboot with Grub may be worth checking that
the grub.map file shows the correct mapping sequence of your devices.
-- 
Regards,
Mick

-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2005-09-06 10:13 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-05 13:38 [gentoo-user] Windows on a second drive? Mark Knecht
2005-09-05 13:49 ` Heinz Sporn
2005-09-05 14:17   ` Mark Knecht
2005-09-05 14:47     ` Heinz Sporn
2005-09-05 21:51       ` Mark Knecht
2005-09-06  2:24         ` agl
2005-09-06  2:56           ` Mark Knecht
2005-09-05 15:21     ` Neil Bothwick
2005-09-06  2:33       ` Mark Knecht
2005-09-06  7:58         ` Neil Bothwick
2005-09-06 10:06           ` Michael Kintzios [this message]
2005-09-06 11:22             ` Neil Bothwick
2005-09-06 12:12               ` Michael Kintzios
2005-09-06 13:32                 ` Neil Bothwick
2005-09-06 14:05                   ` Mark Knecht
2005-09-05 13:51 ` LostSon
2005-09-08 10:18 ` Chris Cox
  -- strict thread matches above, loose matches on Subject: below --
2005-09-05 13:42 brettholcomb
2005-09-05 13:50 ` Mark Knecht
2005-09-05 14:11   ` Joe Menola
2005-09-05 14:37   ` Heinz Sporn
2005-09-05 17:17   ` Alex

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=F49BE7328A1DA246AFC5C2CDDB86D917DFAFB3@BCV0X134EXC0005 \
    --to=michaelkintzios@lycos.co.uk \
    --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