RE: [newbie] grub and Windows

2001-04-26 Thread Charles A Edwards

Mark

Rather than trying to manually edit Grub use DrakConf/Tools for booting.
Then choose the option Configure Lilo/Grub.
In the boot options menu if Windows is not shown as hdb1 then you need to
Remove
that entry and then Add the correct entry.
Accept the changes you have made and reboot your system.
On reboot you should now be able to boot Windows.

If the above for some reason did not work your best bet is to reinstall Grub
and let it auto pick-up your Windows boot record.

   Charles  (-:


Forever never goes beyond tomorrow.


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Mark Stewart
 Sent: Thursday, April 26, 2001 11:57 AM
 To: [EMAIL PROTECTED]
 Subject: RE: [newbie] grub and Windows


 Well, here's what I did. I unplugged my old disk from the
 primary master,
 plugged the new disk into primary master, had my friend
 install Windows98
 (he moved fast and I'm not exactly sure how he structured
 things but I think
 its all one big FAT32 partition), booted successfully, and obsessively
 played Black  White for a day ;-). Once I recovered, I
 unplugged the new
 Windows-only disk, set its jumpers for the slave position and
 attached it to
 the primary slave IDE connector and reconnected my old disk
 to the primary
 master connector, then set about configuring my menu.lst file.

 Here's how I set it up based on info from the mini-HOWTO and
 an article from
 Linux Gazette:

 title Windows98
 map (hd0) (hd1)
 map (hd1) (hd0)
 rootnoverify (hd0,0)
 makeactive
 chainloader +1
 boot

 I rebooted and when grub presented the list select Windows98. I
 immediately got the following message: Error: invalid or unsupported
 executable format. Press any key to continue.

 So I tried modifying various bits:

 -removed the second map command, thinking perhaps it was swapping the
 virtual map back to the way it started. No change.
 -changed rootnoverify to just root. No change.
 -removed the boot line. No change.
 -tried changing the partition specified as root--thinking
 perhaps my friend
 had actually installed on a second or third partition. rootnoverify
 (hd0,1) - Invalid device requested and rootnoverify
 (hd0,2) - No such
 partition

 One bit of additional, and possibly irrelevant, info:  a few
 months earlier
 under Mdk7.1 I had been trying to get grub to recognize all
 my system's RAM
 and, for some reason, ran the lilo command. After that I no
 longer got the
 grub menu at startup (though I still booted up just fine) and
 I instead
 would see a bunch of black and white text graphics that described my
 hardware that I assumed was coming from lilo. Then I installed (not
 upgraded) mdk7.2. Grub came back again but I still got the
 black and white
 coming up first. So I'm wondering if I've still got lilo
 installed on the
 master boot record and it's chaining itself to grub somehow
 and that is what
 is preventing from booting from the Win98 partition.



  I use 2 copies of windows, one for general use and one for
 audio work.
  to do this i had to do as u suggest and format both drives when
  there were
  primary master, ( actually i THINK i even installed windows
 on the one i
  moved to 2nd master by booting the machine from ide 2, it was
  none the wiser
  to my trickery as the disk had been setup as primary master hehe)
  If u are reinstalling linux grub should see your windows in its
  new posistion
  ( it seen both mine with no help from me) if not then i am
 certain u can
  point it at it...just not sure how as i havent had to.
 








RE: [newbie] grub and Windows

2001-04-26 Thread Mark Stewart

Well, here's what I did. I unplugged my old disk from the primary master,
plugged the new disk into primary master, had my friend install Windows98
(he moved fast and I'm not exactly sure how he structured things but I think
its all one big FAT32 partition), booted successfully, and obsessively
played Black  White for a day ;-). Once I recovered, I unplugged the new
Windows-only disk, set its jumpers for the slave position and attached it to
the primary slave IDE connector and reconnected my old disk to the primary
master connector, then set about configuring my menu.lst file.

Here's how I set it up based on info from the mini-HOWTO and an article from
Linux Gazette:

title Windows98
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd0,0)
makeactive
chainloader +1
boot

I rebooted and when grub presented the list select Windows98. I
immediately got the following message: Error: invalid or unsupported
executable format. Press any key to continue.

So I tried modifying various bits:

-removed the second map command, thinking perhaps it was swapping the
virtual map back to the way it started. No change.
-changed rootnoverify to just root. No change.
-removed the boot line. No change.
-tried changing the partition specified as root--thinking perhaps my friend
had actually installed on a second or third partition. rootnoverify
(hd0,1) - Invalid device requested and rootnoverify (hd0,2) - No such
partition

One bit of additional, and possibly irrelevant, info:  a few months earlier
under Mdk7.1 I had been trying to get grub to recognize all my system's RAM
and, for some reason, ran the lilo command. After that I no longer got the
grub menu at startup (though I still booted up just fine) and I instead
would see a bunch of black and white text graphics that described my
hardware that I assumed was coming from lilo. Then I installed (not
upgraded) mdk7.2. Grub came back again but I still got the black and white
coming up first. So I'm wondering if I've still got lilo installed on the
master boot record and it's chaining itself to grub somehow and that is what
is preventing from booting from the Win98 partition.



 I use 2 copies of windows, one for general use and one for audio work.
 to do this i had to do as u suggest and format both drives when
 there were
 primary master, ( actually i THINK i even installed windows on the one i
 moved to 2nd master by booting the machine from ide 2, it was
 none the wiser
 to my trickery as the disk had been setup as primary master hehe)
 If u are reinstalling linux grub should see your windows in its
 new posistion
 ( it seen both mine with no help from me) if not then i am certain u can
 point it at it...just not sure how as i havent had to.






RE: [newbie] grub and Windows

2001-04-25 Thread Mark Stewart

 If you're talking about Windows 95/98/Me, I doubt it.
 But I'm no expert.

 NT/2000 should be able to do it, though.

Hmm. Yes, I am talking about installing Windows98. At least two other people
have replied that they had success but I don't think they specified which
versions of Windows they were using.

SteveC, et al? Were you folks using Win9x/me or NT/2000?


Again, thanks,
::mark




 --- Mark Stewart [EMAIL PROTECTED] wrote:
  Hi,
 
  I've read fragments of info in various places that
  suggest that Grub will
  allow me to boot Windows from a disk that is not in
  the master position of
  my primary IDE channel.
 
  Is this true?
 
   I just added a second 15gb disk to my currently
  Linux only box. Can I
  temporarily put this disk into the master position
  on the primary channel to
  install Windows then move the disk to the slave
  position (still on the
  primary IDE channel), point grub at its new
  position, and successfully boot
  into Windows?
 
  Would it work if the disk was on the secondary IDE
  channel?
 
  Thanks,
  ::mark
 
 


 __
 Do You Yahoo!?
 Yahoo! Auctions - buy the things you want at great prices
 http://auctions.yahoo.com/






RE: [newbie] grub and Windows

2001-04-25 Thread Charles A Edwards






 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Mark Stewart
 Sent: Wednesday, April 25, 2001 10:21 AM
 To: [EMAIL PROTECTED]
 Subject: RE: [newbie] grub and Windows
 
 
  If you're talking about Windows 95/98/Me, I doubt it.
  But I'm no expert.
 
  NT/2000 should be able to do it, though.
 
 Hmm. Yes, I am talking about installing Windows98. At least 
 two other people
 have replied that they had success but I don't think they 
 specified which
 versions of Windows they were using.
 
 SteveC, et al? Were you folks using Win9x/me or NT/2000?
 
 
 Again, thanks,
 ::mark
 
 
 
 
  --- Mark Stewart [EMAIL PROTECTED] wrote:
   Hi,
  
   I've read fragments of info in various places that
   suggest that Grub will
   allow me to boot Windows from a disk that is not in
   the master position of
   my primary IDE channel.
  
   Is this true?
  
I just added a second 15gb disk to my currently
   Linux only box. Can I
   temporarily put this disk into the master position
   on the primary channel to
   install Windows then move the disk to the slave
   position (still on the
   primary IDE channel), point grub at its new
   position, and successfully boot
   into Windows?
  
   Would it work if the disk was on the secondary IDE
   channel?
  

Windows 95/98/ME must be installed to hda1.
Win2k can during installation be installed to a partition
other than hda1.

Once any version of Windows has been installed as long as you
use a third party bootloader; BootMagic, SystemCommander, Lilo,
Grub or other, Windows can be moved to Any partition on Any hd
and will boot and run normally.

   Charles  (-:

Forever never goes beyond tomorrow. 





[newbie] grub and Windows

2001-04-24 Thread Mark Stewart

Hi,

I've read fragments of info in various places that suggest that Grub will
allow me to boot Windows from a disk that is not in the master position of
my primary IDE channel.

Is this true?

 I just added a second 15gb disk to my currently Linux only box. Can I
temporarily put this disk into the master position on the primary channel to
install Windows then move the disk to the slave position (still on the
primary IDE channel), point grub at its new position, and successfully boot
into Windows?

Would it work if the disk was on the secondary IDE channel?

Thanks,
::mark





Re: [newbie] grub and Windows

2001-04-24 Thread SteveC

On Tuesday 24 April 2001 22:32, Mark Stewart wrote:
 Hi,

 I've read fragments of info in various places that suggest that Grub will
 allow me to boot Windows from a disk that is not in the master position of
 my primary IDE channel.

 Is this true?

  I just added a second 15gb disk to my currently Linux only box. Can I
 temporarily put this disk into the master position on the primary channel
 to install Windows then move the disk to the slave position (still on the
 primary IDE channel), point grub at its new position, and successfully boot
 into Windows?

 Would it work if the disk was on the secondary IDE channel?

 Thanks,

 ::mark
I use 2 copies of windows, one for general use and one for audio work.
to do this i had to do as u suggest and format both drives when there were 
primary master, ( actually i THINK i even installed windows on the one i 
moved to 2nd master by booting the machine from ide 2, it was none the wiser 
to my trickery as the disk had been setup as primary master hehe)
If u are reinstalling linux grub should see your windows in its new posistion 
( it seen both mine with no help from me) if not then i am certain u can 
point it at it...just not sure how as i havent had to.