View previous topic :: View next topic |
Author |
Message |
myoasis n00b
Joined: 16 Feb 2005 Posts: 3
|
Posted: Wed Feb 16, 2005 2:29 am Post subject: Help me configuring grub.conf |
|
|
I have partitioned my hdd looks like this:
hda1 NTFS (Windows XP)
hda2 FAT32
hda3 Extended
hda5 Linux <- boot
hda6 Linux Swap
hda7 Linux <- root
I tried ... and tried and tried....
but when it comes to actual booting, nothing happens and i cant even get into windows xp.
I think this is because of bootloader not working properly.
(or maybe other place...)
can anyone please help me configuring following grub.conf file?
default 0
timeout 30
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo Linux 2.4.26-r9
root (hd0,0)
kernel /kernel-2.4.26-gentoo-r9 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda7
initrd /initrd-2.4.26-gentoo-r9
title=Windows XP
root (hd0,5)
makeactive
chainloader +1 |
|
Back to top |
|
|
curtis119 Bodhisattva
Joined: 10 Mar 2003 Posts: 2160 Location: Toledo, Ohio,USA, North America, Earth, SOL System, Milky Way, The Universe, The Cosmos, and Beyond.
|
Posted: Wed Feb 16, 2005 3:06 am Post subject: Re: Help me configuring grub.conf |
|
|
Code: |
default 0
timeout 30
splashimage=(hd0,4)/grub/splash.xpm.gz
title=Gentoo Linux 2.4.26-r9
root (hd0,6)
kernel (hd0,4)/kernel-2.4.26-gentoo-r9 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda7
initrd (hd0,4)/initrd-2.4.26-gentoo-r9
title=Windows XP
root (hd0,0)
makeactive
chainloader +1
|
This should work. If not post back. _________________ Gentoo: it's like wiping your ass with silk. |
|
Back to top |
|
|
Viperskin n00b
Joined: 10 Aug 2004 Posts: 59 Location: Wurtsboro, NY, US
|
Posted: Wed Feb 16, 2005 3:16 am Post subject: |
|
|
I am not the greatest with grub, minimal experience, but.....
I notice you have Windows XP as 0,5 and gentoo as 0,0 but your format looks opposite.... Meaning, maybe gentoo should be 0,5 and xp 0,0....
For instance, I have a similare setup... Here is what my grub.conf file looks like.
Code: |
blackbox grub # more grub.conf
#Boot Settings
default 0
timeout 10
#Gentoo Info
splashimage=(hd0,2)/grub/splash.xpm.gz
title=Gentoo Linux 2.6.7-r12
root (hd0,2)
kernel /kernel-2.6.7-gentoo-r12 root=/dev/hda4
#Windows Xp info
title=Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1
####END
blackbox grub #
|
While my fdisk -l looks like...
Code: |
blackbox / # fdisk -l
Disk /dev/hda: 82.3 GB, 82348277760 bytes
255 heads, 63 sectors/track, 10011 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1912 15358108+ 7 HPFS/NTFS
/dev/hda2 1913 2289 3028252+ 82 Linux swap
/dev/hda3 * 2290 2294 40162+ 83 Linux
/dev/hda4 2295 5407 25005172+ 83 Linux
Disk /dev/hdb: 82.3 GB, 82348277760 bytes
255 heads, 63 sectors/track, 10011 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
blackbox / #
|
Hope this helps. Also, I might add the Xp or any version of windows for that matter can be quite picky if it is not the FIRST partition.....
Good Luck _________________ Viperskin
---------------
Gentoo-2.6.7-r12 on a homebuilt hot rod
Gentoo-2.6.10-r6 on Dell Dimension L550r
Registered Linux user #294125
Get Registered! Click Here!! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|