Fedora Linux Support Community & Resources Center
  #1  
Old 11th January 2006, 08:52 AM
rez410 Offline
Registered User
 
Join Date: Jan 2006
Posts: 11
adding system to grub

i believe I have missed puutting windows in the grub. is there a way to add it now b/c i cant boot to windows anymore. my options are FC or "other" whuch takes me to HP's system recovery
Reply With Quote
  #2  
Old 11th January 2006, 10:46 AM
giulix's Avatar
giulix Offline
"Fixed" by (vague) request
 
Join Date: Oct 2005
Location: GMT+ 1
Posts: 2,950
To answer your question one would need to know the actual contents of /boot/grub/menu.lst and the exact configuration of your system as far as hard disks are concerned. Also, did you opt to install grub on the MBR of your primary disk (i.e. the one windoze was booting from) when the installer asked you ?
Reply With Quote
  #3  
Old 11th January 2006, 11:00 AM
jim's Avatar
jim Offline
Retired Community Manager & Avid Drinker Of Suds
 
Join Date: Feb 2005
Location: Rochester NY
Age: 38
Posts: 4,176
how did you install ?

if i remember you had 2 hard drives
__________________
Registered Linux User: #376813
Western NY
My linux site
Smolt Profile

please remember to say if you problem was solved

Did you get your id10t award today?
Reply With Quote
  #4  
Old 11th January 2006, 04:18 PM
rez410 Offline
Registered User
 
Join Date: Jan 2006
Posts: 11
yes I have 2 hard drives. I installed grub on the primary master hard drive which contains windows
Reply With Quote
  #5  
Old 11th January 2006, 04:51 PM
giulix's Avatar
giulix Offline
"Fixed" by (vague) request
 
Join Date: Oct 2005
Location: GMT+ 1
Posts: 2,950
Try to add the usual windoze entry to menu.lst, then:
Code:
title Windoze
        rootnoverify (hd0,0)
        chainloader +1
Reply With Quote
  #6  
Old 11th January 2006, 04:52 PM
rez410 Offline
Registered User
 
Join Date: Jan 2006
Posts: 11
ok I know its in /boot/grub/menu.lst but how do I add this?
Reply With Quote
  #7  
Old 11th January 2006, 05:05 PM
bob's Avatar
bob Online
Administrator (yeah, back again)
 
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 67
Posts: 21,225
Easiest way is to modify your /boot/grub/grub.conf file as follows:
Open a terminal and sign in as 'su -' then type:
gedit /boot/grub/grub.conf
Now, when the new window opens, you can cut and paste the above code into it (you can also change how Windows is spelled or make something else up). Then save and close the gedit file, exit from 'su -' and you're done!
Oh yeah, one more thing - while you are in that file, you could also change the 'default' setting from "0" to "1" if you wanted to boot Windows first. The only thing to remember is that default counts from "0" and as you add new kernels, the list grows longer, so you would have to keep adding a number to keep Windows as first boot.
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651


Don't use any of my solutions on working computers or near small children.
Reply With Quote
  #8  
Old 11th January 2006, 05:16 PM
rez410 Offline
Registered User
 
Join Date: Jan 2006
Posts: 11
ok The only thing that was different was the name. so "other is pointing the HP system recovery. why?
Reply With Quote
  #9  
Old 11th January 2006, 05:19 PM
giulix's Avatar
giulix Offline
"Fixed" by (vague) request
 
Join Date: Oct 2005
Location: GMT+ 1
Posts: 2,950
Probably because the manufacturer decided to install a proprietary version of the boot loader that boots the system into recovery mode by default. If that's the case, you can probably find info on HP site for your system...
Reply With Quote
  #10  
Old 11th January 2006, 05:23 PM
rez410 Offline
Registered User
 
Join Date: Jan 2006
Posts: 11
is there a way just put microsofts boot loader back on?
Reply With Quote
  #11  
Old 11th January 2006, 05:27 PM
giulix's Avatar
giulix Offline
"Fixed" by (vague) request
 
Join Date: Oct 2005
Location: GMT+ 1
Posts: 2,950
Yeah, have a look at this
Reply With Quote
  #12  
Old 11th January 2006, 05:29 PM
bob's Avatar
bob Online
Administrator (yeah, back again)
 
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 67
Posts: 21,225
Ah - that was unexpected! So, you're using a HP 'puter that has a built-in partition for recovery. Well, we don't want to point to that, right? So the thing to do is find out where your Windows partiton is and point to it. So, back to the terminal, again sign in as 'su -' and type:
fdisk -l
which will give you a response like this (my system, not dual-boot)
Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 9729 78043770 8e Linux LVM

Now, you can see where your Windows partition is (unless you've goofed and written right over it).

So, go to this thread: http://www.fedoraforum.org/forum/showthread.php?t=975 and read the section on "GRUB and Linux Partitions" to make sure you understand the terminology. Once you've determined the correct sequence, go back and again 'gedit /boot/grub/grub.conf' and make the changes to bypass that HP recovery partition and boot Windows.

Edit: JEEZ - I either have to type faster or say less! Way past me on this one already!
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651


Don't use any of my solutions on working computers or near small children.
Reply With Quote
  #13  
Old 11th January 2006, 05:35 PM
rez410 Offline
Registered User
 
Join Date: Jan 2006
Posts: 11
ok im followin ya. but 1 small problem is fdisk: command not found
Reply With Quote
  #14  
Old 11th January 2006, 05:36 PM
giulix's Avatar
giulix Offline
"Fixed" by (vague) request
 
Join Date: Oct 2005
Location: GMT+ 1
Posts: 2,950
I'll leave it to you, Bob...
Reply With Quote
  #15  
Old 11th January 2006, 05:45 PM
rez410 Offline
Registered User
 
Join Date: Jan 2006
Posts: 11
ok i got it! i just remembered when lookin at my partitions that the system recovery was the first partition. so i changed "windows" from (hd0,0) to (hd0,1)

Thank you ALL for your help
Reply With Quote
Reply

Tags
adding, grub

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
grub doesn't load after adding HDD Ex_Soft Using Fedora 7 20th August 2009 06:08 AM
Need Help Adding Fedora to Grub archp2008 Installation and Live Media 35 4th August 2009 03:44 AM
adding fedora 7 grub to multi boot system terry_g Using Fedora 1 16th August 2007 03:44 PM
adding an os to grub bootloader kelxso Using Fedora 11 7th February 2007 06:26 PM
Adding OS to bootloader (grub) seanlinux Using Fedora 8 10th June 2005 04:08 AM


Current GMT-time: 23:26 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat