Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
no dual boot/empty grub menu
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
rubing
Tux's lil' helper
Tux's lil' helper


Joined: 10 Aug 2008
Posts: 77
Location: Bham, AL

PostPosted: Sun Aug 10, 2008 1:35 am    Post subject: no dual boot/empty grub menu Reply with quote

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
View user's profile Send private message
zyko
l33t
l33t


Joined: 01 Jun 2008
Posts: 620
Location: Munich, Germany

PostPosted: Sun Aug 10, 2008 1:39 am    Post subject: Reply with quote

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
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sun Aug 10, 2008 1:38 pm    Post subject: Reply with quote

And with that, can you tell use how did you install Grub.

Maybe the problem is there :)

Keep us inform.
Back to top
View user's profile Send private message
rubing
Tux's lil' helper
Tux's lil' helper


Joined: 10 Aug 2008
Posts: 77
Location: Bham, AL

PostPosted: Sun Aug 10, 2008 2:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Sun Aug 10, 2008 2:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sun Aug 10, 2008 8:38 pm    Post subject: Reply with quote

In fact, can you check if you have something inside the partition /dev/sda2
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sun Aug 10, 2008 8:42 pm    Post subject: Reply with quote

Are you able to boot your Windows ?
Back to top
View user's profile Send private message
rubing
Tux's lil' helper
Tux's lil' helper


Joined: 10 Aug 2008
Posts: 77
Location: Bham, AL

PostPosted: Sun Aug 10, 2008 10:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Sun Aug 10, 2008 10:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
rubing
Tux's lil' helper
Tux's lil' helper


Joined: 10 Aug 2008
Posts: 77
Location: Bham, AL

PostPosted: Sun Aug 10, 2008 11:22 pm    Post subject: Reply with quote

just checked and it exists already, bug #233606
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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