Re: [nlug] Before I install Windows 7....

2010-08-19 Thread Paul Boniol
On Wed, Aug 18, 2010 at 6:17 PM, JMJ roadr...@gmail.com wrote:
 On 08/18/2010 02:10 PM, Andrew Farnsworth wrote:

 Alarm set... 23:59:45 left...

  and I'm back.  Windows 7 is installed and my GRUB menu is restored.

 Geez, that seemed to be an unnecessarily PITA experience.  It's probably
 my own fault though, as usual.  LOL

 When I first used the Mandriva DVD it took a couple of re-boots to get to
 the rescue console.  Not sure what was up with that.  Once I got the rescue
 console open, GRUB kept giving me an ERROR 15 file not found error for my
 'stage1' file.

 I also tried SystemRescueCD to boot into the existing Linux install, but it
 couldn't find the stage1 file either.

 I did a bit of googling and saw mention of needing to reset the boot flag
 since the Windows install sets its partition to be bootable.  So, I used
 SystemRescueCD to reset that flag on my boot partition.

 Went back to the Mandriva DVD and got back to the Rescue Console. Selected
 re-install bootloader which seemed to work except it wanted to use hd0,2
 for some odd reason. (that's my FAT32 partition for shared Linux/Windows
 files.)  So, I exited the GRUB console, went to the standard rescue console,
 and re-entered the GRUB console so that I could specify the root partition
 manually.

 That finally let me boot into my original GRUB menu instead of directly into
 Windows.  However, the GRUB menu STILL showed the wrong root partition for
 my Linux install.  So, I manually edited the GRUB entries and finally booted
 to Linux.

 Once safely in Linux, I manually made changes to menu.list to specify the
 correct Linux root partition and also added the Widows 7 entry.

 So, I think this is all in good shape... finally.

 But, during some of my thrashing around and trial/error, I think I changed
 my video driver and may need to reinstall the nVIDIA driver.  geez.

 There was one thing that confused me for a while.  In the GRUB console,
 you're setting the root partition.  However, what it really needs to know
 is where the grub directory is.  GRUB looks for /boot/grub/stage1 and
 /grub/stage1.  So, if you have both a / and a /boot partition, pointing
 GRUB to your root partition will fail because your /grub/stage1 is
 actually in your boot partition.  I think my finally understanding this
 was the beginning of making this work.  In hindsight, I don't think the boot
 flag was the cause of my issues, but perhaps that plays a part?

 I hope this clarifies something for the next person who comes along. :-)  If
 you have questions, ask them soon while it's sort of fresh in my mind.  I'll
 have forgotten it by tomorrow.  LOL

 JMJ

Having the partition flagged as bootable is only needed if you had
GRUB install to a partition (like your /boot partition).  If GRUB is
installed in the MBR (default for most ditros, but you can normally
change it) then bootable is not needed.  (Note this is different
from where GRUB looks for it's files.  I know somewhat confusing.)

Paul

-- 
You received this message because you are subscribed to the Google Groups 
NLUG group.
To post to this group, send email to nlug-talk@googlegroups.com
To unsubscribe from this group, send email to 
nlug-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en


Re: [nlug] Before I install Windows 7....

2010-08-18 Thread JMJ

On 08/16/2010 12:47 PM, Jack Coats wrote:


do a backup and test it so you can come back if the worst happens and
Winders decides to take over in spite of direction... :)


heh heh... gotcha.

Well, in the absence of Oh no, don't do that 'cause those instructions 
are wack!!!... I'm going in.  Wish me luck and somebody come check on 
me if I'm not back in 24 hours.  LOL


JMJ

--
You received this message because you are subscribed to the Google Groups 
NLUG group.
To post to this group, send email to nlug-talk@googlegroups.com
To unsubscribe from this group, send email to 
nlug-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en


Re: [nlug] Before I install Windows 7....

2010-08-18 Thread Andrew Farnsworth
On Wed, Aug 18, 2010 at 3:06 PM, JMJ roadr...@gmail.com wrote:

 heh heh... gotcha.

 Well, in the absence of Oh no, don't do that 'cause those instructions are
 wack!!!... I'm going in.  Wish me luck and somebody come check on me if I'm
 not back in 24 hours.  LOL


Alarm set... 23:59:45 left...

Andy

-- 
You received this message because you are subscribed to the Google Groups 
NLUG group.
To post to this group, send email to nlug-talk@googlegroups.com
To unsubscribe from this group, send email to 
nlug-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en


Re: [nlug] Before I install Windows 7....

2010-08-18 Thread JMJ

On 08/18/2010 02:10 PM, Andrew Farnsworth wrote:


Alarm set... 23:59:45 left...


Oh no... a deadline!  Geez, I don't know if I can handle the additional 
pressure!  LOL


JMJ

--
You received this message because you are subscribed to the Google Groups 
NLUG group.
To post to this group, send email to nlug-talk@googlegroups.com
To unsubscribe from this group, send email to 
nlug-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en


Re: [nlug] Before I install Windows 7....

2010-08-18 Thread JMJ

On 08/18/2010 02:10 PM, Andrew Farnsworth wrote:


Alarm set... 23:59:45 left...


 and I'm back.  Windows 7 is installed and my GRUB menu is restored.

Geez, that seemed to be an unnecessarily PITA experience.  It's 
probably my own fault though, as usual.  LOL


When I first used the Mandriva DVD it took a couple of re-boots to get 
to the rescue console.  Not sure what was up with that.  Once I got the 
rescue console open, GRUB kept giving me an ERROR 15 file not found 
error for my 'stage1' file.


I also tried SystemRescueCD to boot into the existing Linux install, but 
it couldn't find the stage1 file either.


I did a bit of googling and saw mention of needing to reset the boot 
flag since the Windows install sets its partition to be bootable.  So, I 
used SystemRescueCD to reset that flag on my boot partition.


Went back to the Mandriva DVD and got back to the Rescue Console. 
Selected re-install bootloader which seemed to work except it wanted 
to use hd0,2 for some odd reason. (that's my FAT32 partition for shared 
Linux/Windows files.)  So, I exited the GRUB console, went to the 
standard rescue console, and re-entered the GRUB console so that I could 
specify the root partition manually.


That finally let me boot into my original GRUB menu instead of directly 
into Windows.  However, the GRUB menu STILL showed the wrong root 
partition for my Linux install.  So, I manually edited the GRUB entries 
and finally booted to Linux.


Once safely in Linux, I manually made changes to menu.list to specify 
the correct Linux root partition and also added the Widows 7 entry.


So, I think this is all in good shape... finally.

But, during some of my thrashing around and trial/error, I think I 
changed my video driver and may need to reinstall the nVIDIA driver.  geez.


There was one thing that confused me for a while.  In the GRUB console, 
you're setting the root partition.  However, what it really needs to 
know is where the grub directory is.  GRUB looks for /boot/grub/stage1 
and /grub/stage1.  So, if you have both a / and a /boot partition, 
pointing GRUB to your root partition will fail because your 
/grub/stage1 is actually in your boot partition.  I think my finally 
understanding this was the beginning of making this work.  In hindsight, 
I don't think the boot flag was the cause of my issues, but perhaps that 
plays a part?


I hope this clarifies something for the next person who comes along. 
:-)  If you have questions, ask them soon while it's sort of fresh in my 
mind.  I'll have forgotten it by tomorrow.  LOL


JMJ

--
You received this message because you are subscribed to the Google Groups 
NLUG group.
To post to this group, send email to nlug-talk@googlegroups.com
To unsubscribe from this group, send email to 
nlug-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en


[nlug] Before I install Windows 7....

2010-08-16 Thread JMJ
... I just want to confirm the instructions I found on how to restore 
GRUB so that I regain access to Linux after the Windows install 
overwrites the MBR.


This is what I found..

===
Boot the system from a live CD

Open a Terminal session

To enter the GRUB configuration mode, type in sudo grub and press 
Enter and enter your password.

Then type in the following commands in sequence:
  root (hd0,2)  [tweaked to fit my drive/partitions]
  setup (hd0)
  quit
  exit


Boot into Linux and open up another Terminal session. Then, type in 
sudo gedit /boot/grub/menu.lst


Scroll down to the bottom of the file and type in the following text 
strings:


title Windows
root (hd0,0)
makeactive
chainloader +1
===

Is that correct?  Any thing else that I need to plan to do?

I know this is relatively simple, but I've grown tired of making trial 
and error config changes to this new install.  :-)


Thanks!

JMJ

--
You received this message because you are subscribed to the Google Groups 
NLUG group.
To post to this group, send email to nlug-talk@googlegroups.com
To unsubscribe from this group, send email to 
nlug-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en


Re: [nlug] Before I install Windows 7....

2010-08-16 Thread Chris McQuistion
When it comes to running Linux and Windows on the same system, it is always
best to install Windows before installing Linux, since most Linux installers
will detect the Windows installation and setup grub on the MBR
appropriately.

Of course, in your setup, it sounds like you've already got Linux installed,
and I'm guessing you don't want to reinstall : )

Chris

On Mon, Aug 16, 2010 at 10:45 AM, JMJ roadr...@gmail.com wrote:

 ... I just want to confirm the instructions I found on how to restore GRUB
 so that I regain access to Linux after the Windows install overwrites the
 MBR.

 This is what I found..

 ===
 Boot the system from a live CD

 Open a Terminal session

 To enter the GRUB configuration mode, type in sudo grub and press Enter
 and enter your password.
 Then type in the following commands in sequence:
  root (hd0,2)  [tweaked to fit my drive/partitions]
  setup (hd0)
  quit
  exit


 Boot into Linux and open up another Terminal session. Then, type in sudo
 gedit /boot/grub/menu.lst

 Scroll down to the bottom of the file and type in the following text
 strings:

 title Windows
 root (hd0,0)
 makeactive
 chainloader +1
 ===

 Is that correct?  Any thing else that I need to plan to do?

 I know this is relatively simple, but I've grown tired of making trial and
 error config changes to this new install.  :-)

 Thanks!

 JMJ

 --
 You received this message because you are subscribed to the Google Groups
 NLUG group.
 To post to this group, send email to nlug-talk@googlegroups.com
 To unsubscribe from this group, send email to
 nlug-talk+unsubscr...@googlegroups.comnlug-talk%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/nlug-talk?hl=en


-- 
You received this message because you are subscribed to the Google Groups 
NLUG group.
To post to this group, send email to nlug-talk@googlegroups.com
To unsubscribe from this group, send email to 
nlug-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en


Re: [nlug] Before I install Windows 7....

2010-08-16 Thread JMJ

On 08/16/2010 10:49 AM, Chris McQuistion wrote:

When it comes to running Linux and Windows on the same system, it is always
best to install Windows before installing Linux


True, that's always been what I've had to deal with in the past.


Of course, in your setup, it sounds like you've already got Linux installed,
and I'm guessing you don't want to reinstall : )


Exactly.  LOL

I should also have mentioned that I already have Mandriva 2010.1 
installed and mostly configured to my liking.  Therefore, the 
partitioning of the drive is also done, and an 100GB partition is 
waiting for Windows 7.


JMJ

--
You received this message because you are subscribed to the Google Groups 
NLUG group.
To post to this group, send email to nlug-talk@googlegroups.com
To unsubscribe from this group, send email to 
nlug-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en


Re: [nlug] Before I install Windows 7....

2010-08-16 Thread Jack Coats
And from the voice of been there done that to myself before,
do a backup and test it so you can come back if the worst happens and
Winders decides to take over in spite of direction... :)

... Jack

-- 
You received this message because you are subscribed to the Google Groups 
NLUG group.
To post to this group, send email to nlug-talk@googlegroups.com
To unsubscribe from this group, send email to 
nlug-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en