Problem with grub dual-booting Linux and Win2K

Problem with grub dual-booting Linux and Win2K

Post by Jason Man » Tue, 24 Jun 2003 22:25:33



Hi folks,

I have a laptop on which I want to be able to dual-boot Linux and Windows
2000. I have successfully done this in the past using lilo.

I'm now looking at grub, as it seems to be a lot more powerful, but I am
having difficulties.

My laptop has a single 11.5Gb hard disk partitioned as follows:

hda1: Linux (5Gb)
hda2: Linux swap (512Mb)
hda3: Windows 2000 NTFS (6Gb)

My /boot/grub/menu.lst is as follows:

default 0
fallback 2
timeout 10

title   Debian GNU/Linux (2.4.21)
        root (hd0,0)
        kernel /boot/vmlinuz-2.4.21 root=/dev/hda1 vga=773

title   Debian GNU/Linux (2.4.21) single-user
        root (hd0,0)
        kernel /boot/vmlinuz-2.4.21 root=/dev/hda1 vga=773 single

title   Debian GNU/Linux (2.2.20-idepci)
        root (hd0,0)
        kernel /boot/vmlinuz-2.2.20-idepci root=/dev/hda1 vga=773

title   Windows 2000
        rootnoverify (hd0,2)
        makeactive
        chainloader +1

The 3 Linux boot options work fine, but when I attempt to boot Windows 2000,
it freezes the machine solid halfway through loading.

From my config, can anyone see a reason why this might be happening?

Many thanks,

Jason

 
 
 

Problem with grub dual-booting Linux and Win2K

Post by Jason Man » Tue, 24 Jun 2003 22:45:44


Problem solved.

It seemed that Windows 2000 didn't like booting up after a reboot from
Linux.

If I powered off the machine between rebooting from Linux to Windows 2000,
it loaded fine.

I guess Linux must leave the machine in some state that Windows doesn't
like, that isn't cleared by a reboot.

Jason


Quote:> I have a laptop on which I want to be able to dual-boot Linux and Windows
> 2000. I have successfully done this in the past using lilo.

> I'm now looking at grub, as it seems to be a lot more powerful, but I am
> having difficulties.


 
 
 

Problem with grub dual-booting Linux and Win2K

Post by mjt » Wed, 25 Jun 2003 02:23:34



> The 3 Linux boot options work fine, but when I attempt to boot Windows
> 2000, it freezes the machine solid halfway through loading.

... "where" is it freezing? do you see ANYTHING related to win2k
that it has taken control and is booting? or is it sticking under
grub's control?  your config looks fine (without having fdisk
statistics, that is).

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Michael J. Tobler: motorcyclist, surfer,  #    Black holes result
 skydiver, and author: "Inside Linux",     #   when God divides the  
 "C++ HowTo", "C++ Unleashed"              #     universe by zero

 
 
 

Problem with grub dual-booting Linux and Win2K

Post by mjt » Wed, 25 Jun 2003 02:23:34



> I guess Linux must leave the machine in some state that Windows doesn't
> like, that isn't cleared by a reboot.

... that is odd. you're saying you have to do a cold boot to get
win2k to run - you cant do a warm reboot? i've never experienced
this issue.

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Michael J. Tobler: motorcyclist, surfer,  #    Black holes result
 skydiver, and author: "Inside Linux",     #   when God divides the  
 "C++ HowTo", "C++ Unleashed"              #     universe by zero

 
 
 

Problem with grub dual-booting Linux and Win2K

Post by Jason Man » Wed, 25 Jun 2003 17:28:47


Windows 2000 started loading, and the white graphical screen with the
progress bar appeared.

It locked solid at about 5/8ths of the way across.

This happens everytime after a warm reboot, and never after a cold reboot.


Quote:> ... "where" is it freezing? do you see ANYTHING related to win2k
> that it has taken control and is booting? or is it sticking under
> grub's control?  your config looks fine (without having fdisk
> statistics, that is).

 
 
 

Problem with grub dual-booting Linux and Win2K

Post by mjt » Wed, 25 Jun 2003 20:47:16



> Windows 2000 started loading, and the white graphical screen with the
> progress bar appeared.

> It locked solid at about 5/8ths of the way across.

> This happens everytime after a warm reboot, and never after a cold reboot.

.... well, now that we know windows has control of the booting,
i'd say it's a winders issue. i cnat think of why it is happening.

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Michael J. Tobler: motorcyclist, surfer,  #    Black holes result
 skydiver, and author: "Inside Linux",     #   when God divides the  
 "C++ HowTo", "C++ Unleashed"              #     universe by zero

 
 
 

Problem with grub dual-booting Linux and Win2K

Post by Lauren Lesk » Thu, 26 Jun 2003 14:01:56


I use Win2k and Grub with no problem.  Do you have all the Win2k updates
installed.  I originally installed the base Win2k from  a college CD and had
great difficulty until I installed Service Pack 3.  The thing was just
terrible.  I experienced the difficulty you describe intermittently before I
upgraded.


> > Windows 2000 started loading, and the white graphical screen with the
> > progress bar appeared.

> > It locked solid at about 5/8ths of the way across.

> > This happens everytime after a warm reboot, and never after a cold
reboot.

> .... well, now that we know windows has control of the booting,
> i'd say it's a winders issue. i cnat think of why it is happening.

> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>  Michael J. Tobler: motorcyclist, surfer,  #    Black holes result
>  skydiver, and author: "Inside Linux",     #   when God divides the
>  "C++ HowTo", "C++ Unleashed"              #     universe by zero

 
 
 

Problem with grub dual-booting Linux and Win2K

Post by mjt » Thu, 26 Jun 2003 16:02:16



> I use Win2k and Grub with no problem.  Do you have all the Win2k updates
> installed.  I originally installed the base Win2k from  a college CD and
> had
> great difficulty until I installed Service Pack 3.  The thing was just
> terrible.  I experienced the difficulty you describe intermittently before
> I upgraded.

... i suspect you're speaking to Jason, even though you answered me :)

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Michael J. Tobler: motorcyclist, surfer,  #    Black holes result
 skydiver, and author: "Inside Linux",     #   when God divides the  
 "C++ HowTo", "C++ Unleashed"              #     universe by zero

 
 
 

Problem with grub dual-booting Linux and Win2K

Post by RabidPengui » Sun, 29 Jun 2003 14:30:05



> Windows 2000 started loading, and the white graphical screen with the
> progress bar appeared.

> It locked solid at about 5/8ths of the way across.

> This happens everytime after a warm reboot, and never after a cold reboot.

I think the biggest clue here is that it only happens on a warm reboot.
   There are too many things that can cause boot problems to list them
all but the first thing I would check is the simplest.  Check those
fans, especially the cpu and power supply fans.  Booting will draw a lot
of power and also cause the cpu to heat up quickly.  Could be one of
those fans is going bad and the extra strain of booting an already hot
system is locking your box up.

--
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      | This document was created using      |
      | Mozilla Thunderbird on RedHat Linux. |
      |                                      |
      | www.mozilla.org/projects/thunderbird |
      | www.redhat.com                       |
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 
 
 

Problem with grub dual-booting Linux and Win2K

Post by Joe Zef » Mon, 30 Jun 2003 03:23:01





>> Windows 2000 started loading, and the white graphical screen with the
>> progress bar appeared.

>> It locked solid at about 5/8ths of the way across.

>> This happens everytime after a warm reboot, and never after a cold reboot.

>I think the biggest clue here is that it only happens on a warm reboot.

A friend of mine is having this issue on his lapdog, with Win2K and
RedHat 8.  He also had it with Win Me and RedHat 7.2.  We suspect that
Winderz assumes memory is in a certain state during a warm boot and
crashes if it isn't.  Of course, it could also indicate a hardware
issue, probably in the MMU.

--
Joe Zeff
     The Guy With the Sideburns
Debating unix flavors in the context of anything Microsoft is like
talking about which ice cream flavor tastes least like sawdust with
turpentine sauce.
http://www.lasfs.org http://home.earthlink.net/~sidebrnz

 
 
 

1. GRUB for dual-boot linux+win2k: how to install from CD?

Hi,
I am trying to install Win2k as dual boot using GRUB.
I have a Win2k installation CD, and a working Linux box
(Redhat 7.3, GNU Grub 0.91, Kernel 2.4.18-smp). My problem is that I
cannot figure out how to get Grub to see my CD drive to boot from
the installation CD...

The plan is to install win2k on my 2nd disk (hd1), and use GRUB
to trick Win2k into thinking that its installation is on the first disk.
So here is my grub.conf:

default=1
timeout=10
splashimage=(hd0,1)/grub/splash.xpm.gz
title Red Hat Linux (2.4.18-4smp)
        root (hd0,1)
        kernel /vmlinuz-2.4.18-4smp ro root=/dev/sda1 hdd=ide-scsi
        initrd /initrd-2.4.18-4smp.img
title Win2k
        map (hd0) (hd1)
        map (hd1) (hd0)
        rootnoverify (hd1,0)
        chainloader +1
title Win2k CDROM
        map (hd0) (hd1)
        map (hd1) (hd0)
        rootnoverify (hd1,0)
        chainloader (hdc)+1    <<< WHAT TO PUT HERE??

Problem: Grub does not see my CDROM drive. Available devices appear to
be only: fd0, hd0, hd1 (listing using TAB in Grub)

My two CDROM drives are at:
brw-------    1 derek    disk      22,   0 Apr 11 15:25 /dev/hdc
brw-rw----    1 root     disk      22,  64 Apr 11 15:25 /dev/hdd

So what to do?? Any help would be most appreciated.

-Derek

2. Proxy/Firewall setup

3. GRUB Dual-booting Win2000-LINUX Problem

4. 3.9.17 general info quest

5. Restoring Windows ME Boot after Dual booting Windows and Linux with GRUB - HELP!

6. Fix Logical Volume after Reducevg

7. Dual Win2K/RH 7.1 Linux booting problems

8. Portsentry

9. Dual boot problems! Win2k & Linux Suse 7

10. Grub Win2k/Redhat 7.3 booting problem

11. Redhat 8.0 dual boot with Win2k/Windows boots way to slow.

12. cannot boot RH7 on Win2K dual-boot setup

13. GRUB boot gurus - tricky dual boot howto?