LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-08-2004, 05:15 AM   #1
rockster8
LQ Newbie
 
Registered: Dec 2004
Posts: 14

Rep: Reputation: 0
GRUB - fedora core 1


I just installed fedora and it seems to work fine. i just couldn't get grub to display windows as an option to choose between OS's.
since this is a Newbie section, i can get to ask the stupidest questions. HEH.
so how do i do this?
i read stuff about adding this to my grub.conf file:

title Windows XP
rootnoverify(hd0,0)
savedefault
makeactive
chainloader +

thing is, i dont even know where my windows is in my hd? any way to check this..?

sorry i'm dumb!

specs:
Toshiba Satellite A70
HD: 40 GB
Mem: 512 MB
Display: WXGA TFT 1280x800

Last edited by rockster8; 12-08-2004 at 05:18 AM.
 
Old 12-08-2004, 05:19 AM   #2
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
edit your grub.conf file

It is found in the directory

/boot/grub/grub.conf

Add the above to the bottom of this file and reboot the computer, then you should see the windows option.

If this does not work we need some more information, particularly

how many hard disk drives do you have in your computer. And which one did you install windows on and which did you install linux on

If there is only one, the above will work.
 
Old 12-08-2004, 05:23 AM   #3
rockster8
LQ Newbie
 
Registered: Dec 2004
Posts: 14

Original Poster
Rep: Reputation: 0
i'm not too sure what you mean by "add the above"
which one?
I only have one hard drive, btw

these are the things in my grub file:

# grub.conf generated by anaconda
# ....
# ....
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,1)/grub/splash.xpm.gz
title Fedora Core (2.4.22-1.2115.nptlsmp)
root (hd0,1)
kernel /vmlinuz-2.4.22-1.2115.nptlsmp ro root=LABEL=/ hdc=ide-scsi rhgb
initrd /initrd-2.4.22-1.2115.nptlsmp.img
title Fedora Core-up (2.4.22-1.2115.nptl)
root (hd0,1)
kernel /vmlinuz-2.4.22-1.2115.nptl ro root=LABEL=/ hdc=ide-scsi rhgb
initrd /initrd-2.4.22-1.2115.nptl.img
title Windows XP
rootnoverify(hd0,0)
savedefault
makeactive
chainloader+

Last edited by rockster8; 12-08-2004 at 05:27 AM.
 
Old 12-08-2004, 05:32 AM   #4
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
yep

What happens when you reboot

Do you see the Windows XP option
 
Old 12-08-2004, 05:35 AM   #5
rockster8
LQ Newbie
 
Registered: Dec 2004
Posts: 14

Original Poster
Rep: Reputation: 0
yup i did! i got an error when i click on it though.. this is what's in my screen

Booting 'Windows XP'

savedefault
makeactive
chainloader +

Error 1: Filename must be either an absolute pathname or blocklist

Press any key to continue...
 
Old 12-08-2004, 05:50 AM   #6
rockster8
LQ Newbie
 
Registered: Dec 2004
Posts: 14

Original Poster
Rep: Reputation: 0
i managed to find the command to display the hd info:

fdisk -l


Code:
Disk /dev/hda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device     Boot           Start        End           Blocks           Id        System         
/dev/hda1                          1       3544       28467148+     17        Hidden HPFS/NTFS
/dev/hda2      *             3545      3557          104422+       83        Linux
/dev/hda3                     3558      4750       9582772+       83         Linux
/dev/hda4                     4751      4864         915705           f          Win95 Ext'd (LBA)
/dev/hda5                     4751      4864         915673+        82        Linux swap
 
Old 12-08-2004, 06:50 AM   #7
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
try this

title Windows XP
rootnoverify (hd0,0)
chainloader +1
makeactive
boot
 
Old 12-08-2004, 06:57 AM   #8
rockster8
LQ Newbie
 
Registered: Dec 2004
Posts: 14

Original Poster
Rep: Reputation: 0
Unhappy

hi, i tried doing taht and when i chose Windows XP,

Booting 'Windows XP'

chainloader +

Error 1: Filename must be either an absolute pathname or blocklist

Press any key to continue...


Last edited by rockster8; 12-08-2004 at 06:59 AM.
 
Old 12-08-2004, 07:02 AM   #9
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
ok rockster8

just did a google search and make sure the is no space between the + sign

chainloader+1

No spaces between chainloader, +, and 1
 
Old 12-08-2004, 07:05 AM   #10
rockster8
LQ Newbie
 
Registered: Dec 2004
Posts: 14

Original Poster
Rep: Reputation: 0
ok cool thanks!
now i passed error 1.
onto error 8:

Booting 'Windows XP'

makeactive
boot

Error 8: Kernel must be loaded before booting

Press any key to continue...
 
Old 12-08-2004, 07:12 AM   #11
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
try just

title Windows XP
rootnoverify (hd0,0)
chainloader +1




also post your grub file again.

and is windows installed on /dev/hda1 (the NTFS partition)

Last edited by jax8; 12-08-2004 at 07:14 AM.
 
Old 12-08-2004, 07:23 AM   #12
rockster8
LQ Newbie
 
Registered: Dec 2004
Posts: 14

Original Poster
Rep: Reputation: 0
weird..
now the windows xp option is gone..
 
Old 12-08-2004, 07:23 AM   #13
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
post the grub.conf file
 
Old 12-08-2004, 07:27 AM   #14
rockster8
LQ Newbie
 
Registered: Dec 2004
Posts: 14

Original Poster
Rep: Reputation: 0
Code:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,1)
#          kernel /vmlinuz-version ro root=/dev/hda3
#          initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,1)/grub/splash.xpm.gz
title Fedora Core (2.4.22-1.2115.nptlsmp)
	root (hd0,1)
	kernel /vmlinuz-2.4.22-1.2115.nptlsmp ro root=LABEL=/ hdc=ide-scsi rhgb
	initrd /initrd-2.4.22-1.2115.nptlsmp.img
title Fedora Core-up (2.4.22-1.2115.nptl)
	root (hd0,1)
	kernel /vmlinuz-2.4.22-1.2115.nptl ro root=LABEL=/ hdc=ide-scsi rhgb
	initrd /initrd-2.4.22-1.2115.nptl.img
title Windows XP
	rootnoverify(hd0,0)
	chainloader+1
this is what it gives me when i do fdisk -l
Code:
[root@localhost grub]# fdisk -l
 
Disk /dev/hda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
 
   Device Boot    Start       End    Blocks   Id  System
/dev/hda1             1      3544  28467148+  17  Hidden HPFS/NTFS
/dev/hda2   *      3545      3557    104422+  83  Linux
/dev/hda3          3558      4750   9582772+  83  Linux
/dev/hda4          4751      4864    915705    f  Win95 Ext'd (LBA)
/dev/hda5          4751      4864    915673+  82  Linux swap
yes, windows is installed in hda1

Last edited by rockster8; 12-08-2004 at 07:29 AM.
 
Old 12-08-2004, 07:30 AM   #15
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
are you sure you have not windowsXP option when you reboot?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GRUB Raid problem on Fedora Core 4 Flasher2 Linux - Hardware 0 06-26-2005 11:09 AM
Fedora Core 3; GRUB error 2 RoBoCoP Linux - Software 1 04-18-2005 07:54 PM
Fedora Core 3 grub in Mandrake-10.1? greythorne Mandriva 3 12-21-2004 04:08 PM
Fedora Core 2 grub problem loconero Fedora - Installation 6 10-16-2004 03:27 PM
Recovery of GRUB in Fedora Core 1.0 ranveerkumar Fedora - Installation 1 10-13-2004 09:49 AM


All times are GMT -5. The time now is 02:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration