View previous topic :: View next topic |
Author |
Message |
rubing Tux's lil' helper
Joined: 10 Aug 2008 Posts: 77 Location: Bham, AL
|
Posted: Sun Aug 10, 2008 1:35 am Post subject: no dual boot/empty grub menu |
|
|
Hey everyone,
I just installed Gentoo off of a live cd and followed the documentation as best as I could. I am installing on a Dell GX240 with an existing XP.
XP is on hda1.
For Gentoo, I put /boot and swap on primary partitions with / on an extended partition as a logical drive. When I boot, grub starts loading gentoo without giving me the option to boot xp. THe initial loading process takes place in a real crappy looking console with dotted grid lines and super-blurry fonts. (maybe i need to specify a framebuffer) anyways this is not my main concern, which is getting GRUB to recognize xp.
Since XP is on hda1, I edited grub.conf to include the following lines:
Code: |
title Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1
|
Now Grub seems to take longer (with a blinking cursor on empty screen) to start loading, but that's it. I don't get any option to load XP. I looked at the wiki, documentation, forum, and google, but didn't find an answer to this problem. |
|
Back to top |
|
|
zyko l33t
Joined: 01 Jun 2008 Posts: 620 Location: Munich, Germany
|
Posted: Sun Aug 10, 2008 1:39 am Post subject: |
|
|
Please paste the complete content of your /boot/grub/grub.conf and the output of "fdisk -l" (lower case L, this lists all partitions). |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Sun Aug 10, 2008 1:38 pm Post subject: |
|
|
And with that, can you tell use how did you install Grub.
Maybe the problem is there
Keep us inform. |
|
Back to top |
|
|
rubing Tux's lil' helper
Joined: 10 Aug 2008 Posts: 77 Location: Bham, AL
|
Posted: Sun Aug 10, 2008 2:35 pm Post subject: |
|
|
thanks for the fast replies team gentoo!
I did not manually install GRUB. I just created a /boot partition, and the Live CD installed it. Originally I tried installing Gentoo without a /boot partition, but then it just booted into XP, so I repartationed with a primary /boot partition and as I said, GRUB was installed automatically.
Here are the contents of fdisk -l and grub.conf
Disk /dev/sda: 41.1 GB, 41110142976 bytes
255 heads, 63 sectors/track, 4998 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xcf18cf18
Device Boot Start End Blocks Id System
/dev/sda1 * 2 2680 21519067+ 7 HPFS/NTFS
/dev/sda2 2681 2684 32130 83 Linux
/dev/sda3 2685 2811 1020127+ 82 Linux swap / Solaris
/dev/sda4 2812 4998 17567077+ 5 Extended
/dev/sda5 2812 4998 17567046 83 Linux
default 0
timeout 30
splashimage=(hd0,1)/grub/splash.xpm.gz
title=Gentoo Linux
root (hd0,1)
kernel /kernel-genkernel-x86-2.6.24-gentoo-r5 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda5
initrd /initramfs-genkernel-x86-2.6.24-gentoo-r5
title=Windows
rootnoverify (hd0,0)
makeactive
chainloader +1
#for dos loading
#chainload /bootsect.dos |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Sun Aug 10, 2008 2:41 pm Post subject: |
|
|
rubing,
Something is wrong with your Code: | splashimage=(hd0,1)/grub/splash.xpm.gz | line
Does /boot//grub/splash.xpm.gz exist ? Is (hd0,1) your /boot ?
Comment it out while you investigate. That will enable you to see the grub menu _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Sun Aug 10, 2008 8:38 pm Post subject: |
|
|
In fact, can you check if you have something inside the partition /dev/sda2 |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Sun Aug 10, 2008 8:42 pm Post subject: |
|
|
Are you able to boot your Windows ? |
|
Back to top |
|
|
rubing Tux's lil' helper
Joined: 10 Aug 2008 Posts: 77 Location: Bham, AL
|
Posted: Sun Aug 10, 2008 10:25 pm Post subject: |
|
|
Yes!!! THis worked great!! Don't know why that default image was there. That image was not in my boot directory.
Thanks so much. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Sun Aug 10, 2008 10:34 pm Post subject: |
|
|
rubing,
The splashimage should have been copied to /boot/grub when grub was emerged.
That will be a bug. Please check bugs.gentoo.org and start a new bug if its not there. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
rubing Tux's lil' helper
Joined: 10 Aug 2008 Posts: 77 Location: Bham, AL
|
Posted: Sun Aug 10, 2008 11:22 pm Post subject: |
|
|
just checked and it exists already, bug #233606 |
|
Back to top |
|
|
|