All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bean <bean123@126.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: GRUB 2 does not show new kernel :(
Date: Thu, 28 Jun 2007 00:17:14 +0800	[thread overview]
Message-ID: <20070627161714.GA2296@ws3.vdp.com> (raw)
In-Reply-To: <511f47f50706270705y1c0f348fifa87ef874a983b88@mail.gmail.com>

On Wed, Jun 27, 2007 at 07:35:02PM +0530, shirish wrote:
> >>
> >> --
> >> Bean
> >>
> >>
> >>
> >>
> >>
> >> ------------------------------
> >>
> >> Message: 8
> >> Date: Wed, 27 Jun 2007 10:18:09 +0800
> >> From: Bean <bean123@126.com>
> >> Subject: Re: GRUB 2 does not show new kernel :(
> >> To: The development of GRUB 2 <grub-devel@gnu.org>
> >> Message-ID: <20070627021809.GA2701@ws3.vdp.com>
> >> 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.
> 
> 
> 
> 
> 
> >Message: 3
> >Date: Wed, 27 Jun 2007 14:39:35 +0800
> >From: Bean <bean123@126.com>
> >Subject: Re: GRUB 2 does not show new kernel :(
> >To: The development of GRUB 2 <grub-devel@gnu.org>
> >Message-ID: <20070627063935.GA2440@ws3.vdp.com>
> >Content-Type: text/plain; charset=us-ascii
> >
> >On Wed, Jun 27, 2007 at 11:55:07AM +0530, shirish wrote:
> >> 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 :-
> >>
> >> shirish@ubuntu:~$ 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.
> >>
> >
> >I recommend that you remove these lines:
> >
> >font (hd1,1)/usr/share/grub/unifont.pff
> >set gfxmode=640x480
> >insmod gfxterm
> >insmod vbe
> >terminal gfxterm
> >
> >You will enter text mode, but this is not an issue since you're not using
> >any non ascii characters.
> >
> >--
> >Bean
> 
> Hi Mr. Bean,
> I tried your way but ran into another problem straightaway. When I
> tried to save the resulting file it gives me this error :-
> 
> Could not save the file /boot/grub/grub.cfg.
> 
> You are trying to save the file on a read-only disk. Please check that
> you typed the location correctly and try again.
> 
> Lemme say at the outset, this was with sudo
> 
> sudo gedit /boot/grub/grub.cfg
> 
> To check if its something to do with my hdd partitioning or something
> I tried to make a file a .txt file in / using sudo & that was
> successful.
> 
> The only conclusion I can come to  is there seems to be some kind of
> write-protection put in place (like in floppy disks) or something
> which needs to be unprotected otherwise the change cannot happen. Of
> course I do have the option of doing the same from windows but unsure
> if the text encoding might change or something. Preferably within
> linux.
> 
> Another dirty solution which somebody recommended was :-
> 
> 1) open and edit the Grub menu list with "sudo gedit /boot/grub/menu.list",
> 2) comment out four lines pertaining to Grub2,
> 3) copy the ten lines referring to 2.6.22-6 kernel and paste this just
> below the Grub2 lines,
> 4) you will now have two entries that will boot that kernel so you
> must edit the lines you just pasted and change the 2.6.22-6 to read
> 2.6.22-7,
> 5) save the file and reboot.
> 
> As always all comments, suggestions,  flames welcome :)
> 

Have you checked the file permisson ? Try this:

sudo chmod 666 /boot/grub/grub.cfg

This will mark the file as read-write by all user.

If the device is read-only, try to remount it as read-write.

-- 
Bean




  reply	other threads:[~2007-06-27 16:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-27 14:05 GRUB 2 does not show new kernel :( shirish
2007-06-27 16:17 ` Bean [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-06-27 20:44 shirish
2007-06-27 20:06 shirish
2007-06-27  6:25 shirish
2007-06-27  6:39 ` Bean
2007-06-26 19:48 shirish
2007-06-27  1:58 ` Bean
2007-06-27  3:07   ` Bean
2007-06-27  2:18 ` Bean

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070627161714.GA2296@ws3.vdp.com \
    --to=bean123@126.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.