Professional Web Applications Themes

Updated grub, but now Gentoo won't boot - Linux Setup, Configuration & Administration

"emerge -uD world" yesterday gave me a new version of sys-boot/grub (0.93.20031222). (Interestingly, "/sbin/grub --version" reports "grub (GNU GRUB 0.94)" Not sure what to make of that) Anyway, when I reboot the machine, instead of loading the kernel and starting the system, the computer gave me was given the text-only grub page and a grub> prompt. Based on some other threads and the original doentation, here's the chain of events that I've tried: ------------------------------------------------- My system has only a single HDD. /dev/hda1 is "/boot" and /dev/hda3 is "/". Here are the contents of /boot/grub/grub.conf on the hard drive default 0 ...

  1. #1

    Default Updated grub, but now Gentoo won't boot

    "emerge -uD world" yesterday gave me a new version of sys-boot/grub
    (0.93.20031222). (Interestingly, "/sbin/grub --version" reports "grub (GNU
    GRUB 0.94)" Not sure what to make of that)

    Anyway, when I reboot the machine, instead of loading the kernel and
    starting the system, the computer gave me was given the text-only grub page
    and a grub> prompt. Based on some other threads and the original
    doentation, here's the chain of events that I've tried:

    -------------------------------------------------

    My system has only a single HDD. /dev/hda1 is "/boot" and /dev/hda3 is "/".

    Here are the contents of /boot/grub/grub.conf on the hard drive
    default 0
    timeout 10
    splashimage=(hd0,0)/grub/splash.xpm.gz
    title=Gentoo Linux
    root (hd0,0)
    kernel (hd0,0)/kernel-2.4.23_pre8-gss root=/dev/hda3
    video=matrox:vesa:0x117

    -------------------------------------------------

    (at boot grub prompt) 
    Filesystem type is ext2fs, partition type 0x83 
    video=matrox:vesa:0x117
    [Linux-bzimage, setup=0x1400, size=0x16326e] 
    (system boots up normally)

    (Once it's booted, I run /sbin/grub as root, and get another grub> prompt)

    grub> root (hd0,0)
    Filesystem type is ext2fs, partition type 0x83

    grub> setup (hd0)
    Checking if "/boot/grub/stage1" exists... yes
    Checking if "/boot/grub/stage2" exists... yes
    Checking if "/boot/grub/e2fs_stage1_5" exists... yes
    Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 15 sectors are embedded.
    succeeded
    Running "install /boot/grub/stage1 (hd0) (hd0)1+15 p
    (hd0,0)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded
    Done.

    grub> quit

    --------------------------------------------------------------

    At this point I try to reboot, but get the same text-only grub> prompt.
    It's as if Grub is ignoring my /boot/grub/grub.conf file, or else it's not
    installing itself correctly when 'setup (hd0)' is run.

    This may be related to an earlier thread I saw ("Grub Problems"), but I
    thought I'd post this just in case it's not the same problem.

    Anyone have any ideas what might be wrong? Thanks to anyone who can help!




    George Guest

  2. #2

    Default Re: Updated grub, but now Gentoo won't boot

    On Tue, 27 Jan 2004 13:14:01 -0500, George Adams wrote:
     
    > Filesystem type is ext2fs, partition type 0x83 
    > video=matrox:vesa:0x117
    > [Linux-bzimage, setup=0x1400, size=0x16326e] 
    > (system boots up normally)
    >
    > (Once it's booted, I run /sbin/grub as root, and get another grub> prompt)
    >
    > grub> root (hd0,0)
    > Filesystem type is ext2fs, partition type 0x83
    >
    > grub> setup (hd0)
    > Checking if "/boot/grub/stage1" exists... yes
    > Checking if "/boot/grub/stage2" exists... yes
    > Checking if "/boot/grub/e2fs_stage1_5" exists... yes
    > Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 15 sectors are embedded.
    > succeeded
    > Running "install /boot/grub/stage1 (hd0) (hd0)1+15 p
    > (hd0,0)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded
    > Done.
    >
    > grub> quit
    >
    > --------------------------------------------------------------
    >
    > At this point I try to reboot, but get the same text-only grub> prompt.
    > It's as if Grub is ignoring my /boot/grub/grub.conf file, or else it's not
    > installing itself correctly when 'setup (hd0)' is run.
    >
    > This may be related to an earlier thread I saw ("Grub Problems"), but I
    > thought I'd post this just in case it's not the same problem.
    >
    > Anyone have any ideas what might be wrong? Thanks to anyone who can help![/ref]

    I've had the same problem, check your /boot/grub directory and you'll see
    there are a couple of files missing, notably menu.lst (symlink to
    grub.conf) and the grub splash image, seems like something's wrong with
    the ebuild...

    HTH

    theBlackDragon Guest

  3. #3

    Default Re: Updated grub, but now Gentoo won't boot

    Thanks! Recreating the menu.lst symlink did the trick. It also appears
    this build of grub is missing the "splashimage" patch as well, which is why
    my splash.xpm.gz isn't being read at all.

    "theBlackDragon" <be> wrote in message 


    George Guest

  4. #4

    Default Re: Updated grub, but now Gentoo won't boot

    Ah, looks like from the last comment here (by Seemant Kulleen), this will be
    fixed shortly.

    http://bugs.gentoo.org/show_bug.cgi?id=39392


    "George Adams" <NOSPAM.com> wrote in message
    news:newsguy.com... 
    why [/ref]
    see 
    >
    >[/ref]


    George Guest

  5. #5

    Default Re: Updated grub, but now Gentoo won't boot

    George Adams wrote:
     

    Gesundheit. :)

    Seriously, what patch is that? I have noticed that the splash image isn't
    pulled into the GRUB menu display anymore, in spite of being very much at
    its usual location in /boot/grub/. So, if there is a patch I need to
    apply, where would I want to look for that?

    Ulrich Plate
    Ulrich Guest

  6. #6

    Default Re: Updated grub, but now Gentoo won't boot

    On Wed, 28 Jan 2004 15:48:44 +0100, Ulrich Plate wrote:
     
    >
    > Gesundheit. :)
    >
    > Seriously, what patch is that? I have noticed that the splash image isn't
    > pulled into the GRUB menu display anymore, in spite of being very much at
    > its usual location in /boot/grub/. So, if there is a patch I need to
    > apply, where would I want to look for that?[/ref]


    I think he's referring to the "bootsplash patch"...and not needed unless
    you are going to use a bootsplash instead of the regular boot logo.

    --
    -Joseph-
    Fool people into thinking that the government is trying to steal their
    rights (Re: USPA), and they will fight like tigers to make it so that you
    can harm them as easy as you like. Their own fear works for you.
    Joseph Guest

Similar Threads

  1. Where To Put GRUB Boot mbr???
    By Don in forum Ubuntu
    Replies: 4
    Last Post: June 4th, 06:39 AM
  2. GRUB won't boot
    By Geoff in forum Linux Setup, Configuration & Administration
    Replies: 5
    Last Post: January 14th, 06:05 AM
  3. GRUB and boot.b
    By Allen in forum Linux Setup, Configuration & Administration
    Replies: 6
    Last Post: January 1st, 04:06 AM
  4. dual booting gentoo and debian via grub question
    By Rob in forum Linux Setup, Configuration & Administration
    Replies: 3
    Last Post: November 25th, 05:03 PM
  5. new XP installation won't boot from grub
    By Jed in forum Linux Setup, Configuration & Administration
    Replies: 4
    Last Post: November 6th, 02:31 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139