grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GRUB 2 does not show new kernel :(


From: shirish
Subject: Re: GRUB 2 does not show new kernel :(
Date: Wed, 27 Jun 2007 11:55:07 +0530

Message: 7
Date: Wed, 27 Jun 2007 09:58:38 +0800
From: Bean <address@hidden>
Subject: Re: GRUB 2 does not show new kernel :(
To: The development of GRUB 2 <address@hidden>
Message-ID: <address@hidden>
Content-Type: text/plain; charset=us-ascii

On Wed, Jun 27, 2007 at 01:18:41AM +0530, shirish wrote:
> Hi all,
>         I thought long & hard before making this post. I tried all
> the avenues , the #GRUB channel on IRC, the forums at ubuntuforums (
> 136 views at this point in time but no answers :( ) . hence made long
> posts about the issue at
> http://ubuntuforums.org/showthread.php?t=484856
>
> If anybody knows what I need to do or look for , please lemme know.
>
> Cheers !

Currently, the script engine of grub2 doesn't support comment line ! Just
remove any line that starts with #, and you should be fine.

--
Bean





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

Message: 8
Date: Wed, 27 Jun 2007 10:18:09 +0800
From: Bean <address@hidden>
Subject: Re: GRUB 2 does not show new kernel :(
To: The development of GRUB 2 <address@hidden>
Message-ID: <address@hidden>
Content-Type: text/plain; charset=us-ascii

On Wed, Jun 27, 2007 at 01:18:41AM +0530, shirish wrote:
> Hi all,
>         I thought long & hard before making this post. I tried all
> the avenues , the #GRUB channel on IRC, the forums at ubuntuforums (
> 136 views at this point in time but no answers :( ) . hence made long
> posts about the issue at
> http://ubuntuforums.org/showthread.php?t=484856
>
> If anybody knows what I need to do or look for , please lemme know.
>
> Cheers !

Another possible cause is that your font file is missing. In that case,
remove the following lines:

font (hd1,1)/usr/share/grub/unifont.pff
set gfxmode=640x480
insmod gfxterm
insmod vbe
terminal gfxterm

--
Bean





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

Message: 9
Date: Wed, 27 Jun 2007 11:07:00 +0800
From: Bean <address@hidden>
Subject: Re: GRUB 2 does not show new kernel :(
To: The development of GRUB 2 <address@hidden>
Message-ID: <address@hidden>
Content-Type: text/plain; charset=us-ascii

On Wed, Jun 27, 2007 at 09:58:38AM +0800, Bean wrote:
> On Wed, Jun 27, 2007 at 01:18:41AM +0530, shirish wrote:
> > Hi all,
> >         I thought long & hard before making this post. I tried all
> > the avenues , the #GRUB channel on IRC, the forums at ubuntuforums (
> > 136 views at this point in time but no answers :( ) . hence made long
> > posts about the issue at
> > http://ubuntuforums.org/showthread.php?t=484856
> >
> > If anybody knows what I need to do or look for , please lemme know.
> >
> > Cheers !
>
> Currently, the script engine of grub2 doesn't support comment line ! Just
> remove any line that starts with #, and you should be fine.

My mistake. Although the script engine doesn't handle comment, lines start
with # are dropped when read from config file, so it wouldn't cause problem.

I suspect the device name is wrong. If you are booting with the hard disk,
the device name should be (hd0,1). The wrong device name causes the font
command to fail, and it in turn causes other problem. Change (hd1,1) to
(hd0,1), see if it fixes the problem.

--
Bean


Hi all,
      Mr. Bean (chuckles knowing a different bean :) ) , first of all
thank you for your time. You are right as far as unifont.pff is
concerned.  I just did a search and saw that unifont is not installed.
Have installed it now. But still the same issue is there.

btw I have two hard disks :-

address@hidden:~$ sudo fdisk -l
[sudo] password for shirish:

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1912    15358108+   7  HPFS/NTFS
/dev/sda2            1913       19457   140930212+   f  W95 Ext'd (LBA)
/dev/sda5            1913        6083    33503526    7  HPFS/NTFS
/dev/sda6            6084       10254    33503526    7  HPFS/NTFS
/dev/sda7           10255       14425    33503526    7  HPFS/NTFS
/dev/sda8           14426       18596    33503526    7  HPFS/NTFS
/dev/sda9           18597       19457     6915951    7  HPFS/NTFS

Disk /dev/sdb: 80.0 GB, 80060424192 bytes
255 heads, 63 sectors/track, 9733 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1        1216     9767488+  83  Linux
/dev/sdb2            1217        9483    66404677+  83  Linux
/dev/sdb3            9484        9733     2008125   82  Linux swap / Solaris

Another thing, is not written in /boot/grub/grub.cfg not to alter stuff ?

#
# DO NOT EDIT THIS FILE
#
# It is automaticaly generated by /usr/sbin/update-grub using
templates from /etc/grub.d
# and settings from /etc/default/grub
#

Please lemme know what is to be done & will try accordingly.

--
         Shirish Agarwal
 This email is licensed under http://creativecommons.org/licenses/by-nc/3.0/

065C 6D79 A68C E7EA 52B3  8D70 950D 53FB 729A 8B17




reply via email to

[Prev in Thread] Current Thread [Next in Thread]