1. Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Gentoo Won'd Boot

Discussion in 'Linux / BSD / Mac OS X' started by angelkiller, Sep 18, 2009.

  1. angelkiller

    angelkiller

    Joined:
    May 16, 2008
    Messages:
    1,258 (0.42/day)
    Thanks Received:
    225
    Location:
    North Carolina
  2. Solaris17

    Solaris17 Creator Solaris Utility DVD

    Joined:
    Aug 16, 2005
    Messages:
    18,440 (4.58/day)
    Thanks Received:
    4,835
    Location:
    Florida
    do you remember what you did to grub? IDK im mad rusty with gentoo...but you could try booting from a laive CD and looking at were the gentoo FS is mounted....that should be teh path you need to edit into grub for the mount point.
     
    10 Year Member at TPU More than 25k PPD
  3. angelkiller

    angelkiller

    Joined:
    May 16, 2008
    Messages:
    1,258 (0.42/day)
    Thanks Received:
    225
    Location:
    North Carolina
    Oh, Grub is working. I have Ubuntu installed on this machine right now and Grub + Ubuntu are both fully functional. I'm trying to add a Gentoo entry to Grub, so I can dual boot. Everything is already installed & ready to go. I just can't boot. :(

    The Gentoo partition is partition 'dev/sda7'. Here's the entry that Gentoo automatically created upon installation, but does not work. I get a 'No such partition' error.
    Code:
    default 0
    timeout 30
    splashimage=(hd0,7)/boot/grub/splash.xpm.gz
    title=Gentoo Linux
    root (hd0,7)
    kernel /boot/kernel-genkernel-x86-2.6.24-gentoo-r5 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda8 
    initrd /boot/initramfs-genkernel-x86-2.6.24-gentoo-r5
    I don't even understand half of the options. Don't I need more info than just the partition?
     
  4. Solaris17

    Solaris17 Creator Solaris Utility DVD

    Joined:
    Aug 16, 2005
    Messages:
    18,440 (4.58/day)
    Thanks Received:
    4,835
    Location:
    Florida
    Try changing this

    Code:
    default 0
    timeout 30
    splashimage=(hd0,7)/boot/grub/splash.xpm.gz
    title=Gentoo Linux
    root (hd0,7)
    kernel /boot/kernel-genkernel-x86-2.6.24-gentoo-r5 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda[COLOR="Red"][SIZE="5"][B]7[/B][/SIZE][/COLOR] 
    initrd /boot/initramfs-genkernel-x86-2.6.24-gentoo-r5
     
    10 Year Member at TPU More than 25k PPD
  5. Solaris17

    Solaris17 Creator Solaris Utility DVD

    Joined:
    Aug 16, 2005
    Messages:
    18,440 (4.58/day)
    Thanks Received:
    4,835
    Location:
    Florida
    so did it work or not?
     
    10 Year Member at TPU More than 25k PPD
  6. angelkiller

    angelkiller

    Joined:
    May 16, 2008
    Messages:
    1,258 (0.42/day)
    Thanks Received:
    225
    Location:
    North Carolina
    Whoops, forgot about this.

    I tried it and it didn't work.
     
  7. Easy Rhino

    Easy Rhino Linux Advocate

    Joined:
    Nov 13, 2006
    Messages:
    14,248 (3.99/day)
    Thanks Received:
    4,100
    does gentoo have a rescue cd or something that you could stick in there and fix the partition problem?
     
  8. angelkiller

    angelkiller

    Joined:
    May 16, 2008
    Messages:
    1,258 (0.42/day)
    Thanks Received:
    225
    Location:
    North Carolina
    Not that I know of. I've never used Gentoo before.


    I was hoping someone that knows alot about Grub could just give me some code to boot the partition. I think the issue is more Grub related than Gentoo related.
     
  9. Easy Rhino

    Easy Rhino Linux Advocate

    Joined:
    Nov 13, 2006
    Messages:
    14,248 (3.99/day)
    Thanks Received:
    4,100
    well you can either fix grub to match the partition or fix the partition to match grub.
     
  10. angelkiller

    angelkiller

    Joined:
    May 16, 2008
    Messages:
    1,258 (0.42/day)
    Thanks Received:
    225
    Location:
    North Carolina
    Ok. But I don't know what isn't matching.
     

Currently Active Users Viewing This Thread: 1 (0 members and 1 guest)