Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

Dual boot (XP/Gentoo) set-up issues [SOLVED]

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
Packers Fan
n00b
n00b
Posts: 2
Joined: Mon May 19, 2008 1:03 am

Dual boot (XP/Gentoo) set-up issues [SOLVED]

  • Quote

Post by Packers Fan » Thu May 22, 2008 12:14 am

Like the title says, I'm trying to setup an XP and Gentoo dual boot. I can't get both systems to boot properly--I can only get either Gentoo or XP to work. I have partitioned my drive as follows:

Code: Select all

/dev/hda1   *   ntfs
/dev/hda2   *   /boot
/dev/hda3       swap
/dev/hda4       /
My grub.conf looks like this:

Code: Select all

default 0
timeout 10
splashimage=(hd0,1) /grub/splash.xpm.gz

title Gentoo Linux
      root (hd0,1)
      kernel /kernel root=/dev/hda4

title Windows XP Professional SP3
      root (hd0,0)
      makeactive
      chainloader +1
In this form, the machine just boots right into Gentoo. It apparently doesn't see the XP boot option because no screen pops up to allow me to select which OS to boot into.

If I change

Code: Select all

kernel /kernel root=/dev/hda4
to

Code: Select all

kernel /kernel-2.6.25-gentoo-r4 root=/dev/hda4
then I get the screen that allows me to select which OS I'd like to boot into. If I select XP, XP loads as it should. If I select Gentoo, I get GRUB error 15 since there is no kernel-2.6.25-gentoo-r4 in /boot (even though that's the kernel I've emerged and configured); there is only /boot/kernel.

The other minor issue I've noticed is that I don't have a boot splash image even though the file /boot/grub/splash.xpm.gz exists.

Does anyone have some suggestions for me to try?

Thanks
Last edited by Packers Fan on Thu May 22, 2008 2:08 am, edited 1 time in total.
Top
shivernz
n00b
n00b
Posts: 70
Joined: Sun Nov 12, 2006 7:10 am
Location: New Zealand

  • Quote

Post by shivernz » Thu May 22, 2008 12:32 am

I'll see if I can help by comparing what I have to what you have and making a few suggestions:

With the splashimage, I notice that you have a space between (hd0,1) and the path of the image.
Try removing that, not sure if that might help. This is what I have:

Code: Select all

splashimage=(hd0,1)/grub/splash.xpm.gz
I also notice that my titles are followed by an equals sign (=) where yours are not. That might help something.
eg:

Code: Select all

title=Winblows
The kernel name actually depends on what you name it. I know I specifically rename mine to reflect the version.
In your case, I think your kernel is just named "kernel", which is why "kernel /kernel root=/dev/hda4" works for you.
You could rename that to reflect your version or just leave it as is.
Top
Packers Fan
n00b
n00b
Posts: 2
Joined: Mon May 19, 2008 1:03 am

  • Quote

Post by Packers Fan » Thu May 22, 2008 2:07 am

Thanks for your help! Those changes worked for me.

Someone should change the installation handbooks to reflect the "=" after "title" for the grub.conf.
Top
Eckos
Apprentice
Apprentice
User avatar
Posts: 197
Joined: Fri Jan 25, 2008 4:14 pm
Location: Houston, Texas, USA
Contact:
Contact Eckos
Website

  • Quote

Post by Eckos » Thu May 22, 2008 4:49 am

I don't have "=" in mine. So that won't be the problem but glad it works for you =)
AMD Athlon 64 X2 3800+ | 2GB DDR2 533MHz RAM | GCC-4.3.2 | Gentoo x86_64 | KDE 4.1.2
Top
Post Reply

4 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic