All pastes #611952 Raw Edit

superdust

public text v1 · immutable
·published 2007-07-10 03:41 UTC
rendered paste body
/joing# 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,5)
#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
#          initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,5)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.18-1.2798.fc6)
	root (hd0,5)
	kernel /vmlinuz-2.6.18-1.2798.fc6 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
	initrd /initrd-2.6.18-1.2798.fc6.img
title Other
	rootnoverify (hd0,4)
	chainloader +1
#this is the XP entry
title = WindowsXP
map (hd1) (hd2) # Tell the first hard drive to pretend to be the second
map (hd2) (hd1) # Tell the second hard drive to pretend to be the first
root (hd2,0) # Tell GRUB Windows is on /dev/hdb1 (No pretending here)
rootnoverify (hd2,0) # GRUB won't attempt to mount the Windows drive
makeactive # Sets the partition to active
chainloader +1 # Tells GRUB to load the Windows bootloader when done

[root@dhcp-0-13-d3-dc-3e-e2 ~]# fdisk -l

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               2        1025     8225280    f  W95 Ext'd (LBA)
/dev/hda2   *        1026        5503    35969535    c  W95 FAT32 (LBA)
/dev/hda3            5504        9729    33945345   8e  Linux LVM
/dev/hda5               2         676     5413905    7  HPFS/NTFS
/dev/hda6             676         688      104359+  83  Linux
[root@dhcp-0-13-d3-dc-3e-e2 ~]#