LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   how to configur grub.conf file for dual boot? (https://www.linuxquestions.org/questions/linux-general-1/how-to-configur-grub-conf-file-for-dual-boot-356196/)

den-den 08-23-2005 01:25 PM

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

dinolinux 08-23-2005 02:24 PM

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

den-den 08-23-2005 02:49 PM

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..?


All times are GMT -5. The time now is 04:16 PM.