LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-23-2005, 02:25 PM   #1
den-den
LQ Newbie
 
Registered: Aug 2005
Location: London
Posts: 6

Rep: Reputation: 0
how to configur grub.conf file for dual boot?


hi guys, i need some help!
how can i configur my grub.conf file to have dual boot?
grub.conf:
Code:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You do not have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /, eg.
#          root (hd0,3)
#          kernel /boot/vmlinuz-version ro root=/dev/sda4
#          initrd /boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,3)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.9-1.667)
   root (hd0,3)
   kernel /boot/vmlinuz-2.6.9-1.667 ro root=LABEL=LINUX rhgb quiet
   initrd /boot/initrd-2.6.9-1.667.img
title Other
   rootnoverify (hd0,4)
   chainloader +1
and this is after i run
Code:
fdisk -l
result:
Code:
[root@localhost ~]# fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1             441       13263   103000747+  17  Hidden HPFS/NTFS
/dev/sda2               1         440     3534268+  1b  Hidden W95 FAT32
/dev/sda3           13264       13414     1212907+   f  W95 Ext'd (LBA)
/dev/sda4   *       13415       19457    48540397+  83  Linux
/dev/sda5           13264       13286      184716    7  HPFS/NTFS
/dev/sda6           13287       13414     1028128+  82  Linux swap

Partition table entries are not in disk order
[root@localhost ~]#
i need some urgent help how to insert my bootable /dev/sda1 drive into grub.conf file. i have windows xp on that partition.
thank you very much for your help!
denis
 
Old 08-23-2005, 03:24 PM   #2
dinolinux
Member
 
Registered: Jun 2005
Location: Oslo, Norway
Distribution: Slackware 11, Solaris 10, Solaris 9, Sourcemage 0.9.6
Posts: 322

Rep: Reputation: 31
The sda1 partition looks like windows right? Then just copy:
title Other
rootnoverify (hd0,4)
chainloader +1

and change it to:

title Other2
rootnoverify (sd0,1)
chainloader +1
 
Old 08-23-2005, 03:49 PM   #3
den-den
LQ Newbie
 
Registered: Aug 2005
Location: London
Posts: 6

Original Poster
Rep: Reputation: 0
Guys, i've got a big problem now...!
i managed to configure grub file, but my windows xp wont start...!

i get the message after windows xp screen shows up:
xmnt2002 program not found - skipping autocheck

i can't load and the other partition hd0,1 which is rescue and winxp instalation agent.
does anyone knows what to do..?
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Change boot order in grub.conf file lmcilwain Fedora 3 07-12-2006 01:33 AM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 02:44 PM
Dual boot grub config file on SuSE theSandMan Linux - Newbie 3 01-19-2005 08:34 PM
grub.conf - Trying to dual boot XP and FC2 LogicNZ Linux - Newbie 4 07-01-2004 04:01 AM
What should my grub.conf file say for dual booting? EVO VIII Chris Red Hat 5 02-06-2004 02:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:06 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
Open Source Consulting | Domain Registration