Re: Booting straight into various Windows options from grub



In <j1rri4-qiv.ln1@xxxxxxxxxxxxxxxxxx>,
Martin Gregorie <martin@xxxxxxxxxxxxxxxxxxx> wrote:

Tony Houghton wrote:
I'm sure I read an article in a Linux magazine years ago which explained
how you could use a Linux bootloader (I expect it was just lilo in those
days, but if it's possible with lilo it should be possible with grub
too) to boot straight into different Windows options instead of having
to press F8 at the right moment to bring up Windows' boot menu after
lilo/grub. Eg if you have different versions of Windows installed or you
want to select Safe Mode etc. I've never been able to find that article
again though.

Does anyone know if that's possible, or must I have been dreaming?

Booting different versions of 'doze is straight forward as far as GRUB
is concerned - just add extra menu item definitions as you would for
different Linux versions. "info grub" tells all.

Caveat: what follows is something I last did when upgrading from Win
3.11 to Win 95. back in '96 - thinks may have changed since then in the
MS world. Here's the situation at that time:

What I'm specifically trying to do is choose between Vista and XP. I
think the NT series is more conducive to multi-booting than the
DOS-based horrors, but OTOH doing it without resorting to nasty
low-level bodges like hiding different versions of Windows from each
other and swapping drives in the BIOS may make it harder to get
something as simple as a bootloader to be able to manipulate it for you.

Installing different versions of 'doze is not straight forward because
Windows can only be installed in a primary partition. The catch is the
Windows partitioning program. 'fdisk' only permits one active partition
per disk and refuses point blank to create an active primary partition
if there's one on any other disk that's visible to the BIOS. I suspect
that the same applies to the installer, which may get confused or accuse
you of piracy if it sees more than one disk with an active primary
partition.

Ah, that's probably why I've had a few "complications". I already had
Vista installed and added XP to a spare logical partition. XP installed
without complaining, but put some of its system files ended up in the
primary partiton (C: used by Vista) and it stopped Vista from being
bootable even when I tried adding it to boot.ini. I was able to repair
Vista (which, interestingly, didn't replace grub in the MBR which I had
already restored) and get it to be able to boot XP by using something
called BCDEdit (Vista doesn't use boot.ini any more).

Looks like I'm lucky to have got this far and there's not much chance of
being able to do away with a second menu for booting Windows!

It can be done, but you need to put each primary partition on a
different disk and make sure that all other disks containing active
primary partitions are unplugged while you partition and format the next
disk and install Windows on it. As far as MS is concerned this is an
undocumented process. I did the above after considerable frustration:
took out the Win 3.11 disk while I installed '95 on a new disk. When
that was complete I could insert the original disk as IDE slave (the '95
disk was master). The PC then booted into '95 (no option to boot into
3.11 was offered) and pull stuff across from the old disk before finally
removing it.

A straight dual boot (Linux + 'doze) PC is much easier to set up
provided you install Windows first.

Luckily I've got a dab hand at restoring grub using a rescue disc for
those more difficult situations where you install/upgrade Windows after
Linux :). Once you get to know grub a bit that's easier to do than with
lilo.

--
TH * http://www.realh.co.uk
.



Relevant Pages

  • Re: xp on intel Mac from usb stick?
    ... Would it be possible to run windows xp native from a usb stick? ... A custom slipstreamed CD is required to install XP on a Mac. ... partition managers but if you're feeling adventurous you may ... This procedure WILL WIPE YOUR iMAC DISK CLEAN. ...
    (comp.sys.mac.apps)
  • Windows on Mac - how to.
    ... No-nonsense instructions for those "in the know". ... A custom slipstreamed CD is required to install XP on a Mac. ... This procedure WILL WIPE YOUR iMAC DISK CLEAN. ... Partition the disk in two using the OSX CD: ...
    (uk.comp.sys.mac)
  • Re: Dual boot problem
    ... The install went smoothly but when the computer restarted it ... went straight into Windows XP and the Grub Bootloader did not appear! ... One produced the same problem) For some reason the Grub bootloader had ... install GRUB on the first track on the partition where I installed ...
    (comp.os.linux.setup)
  • Re: installing windows 200
    ... disk is running,screen is blank,what to do? ... The set of four install disks can be created from your Windows 2000 ... When the Windows 2000 Professional ... existing partition, If you press D to delete an existing partition, you must ...
    (microsoft.public.win2000.general)
  • Ping: John John MVP or anyone Re: deleting partition "revisited"
    ... There was no option on any windows for me to install to C. ... When you get to the disk and partition selection screen ...
    (microsoft.public.windowsxp.help_and_support)