From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1I3aDM-0006cm-Lu for mharc-grub-devel@gnu.org; Wed, 27 Jun 2007 12:17:56 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I3aDK-0006c2-P8 for grub-devel@gnu.org; Wed, 27 Jun 2007 12:17:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I3aDJ-0006bX-Qn for grub-devel@gnu.org; Wed, 27 Jun 2007 12:17:54 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I3aDJ-0006bR-KC for grub-devel@gnu.org; Wed, 27 Jun 2007 12:17:53 -0400 Received: from m15-113.126.com ([220.181.15.113]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1I3aDG-000434-Gw for grub-devel@gnu.org; Wed, 27 Jun 2007 12:17:53 -0400 Received: from localhost (unknown [121.51.40.36]) by smtp5 (Coremail) with SMTP id wKjJDbD7cwGmjYJGa9ChBA==.26370S2; Thu, 28 Jun 2007 00:17:43 +0800 (CST) Date: Thu, 28 Jun 2007 00:17:14 +0800 From: Bean To: The development of GRUB 2 Message-ID: <20070627161714.GA2296@ws3.vdp.com> References: <511f47f50706270705y1c0f348fifa87ef874a983b88@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <511f47f50706270705y1c0f348fifa87ef874a983b88@mail.gmail.com> User-Agent: Mutt/1.5.13 (2006-08-11) X-Coremail-Antispam: 1U3Yxn0WfASr-VFAUDIcSsGvfJTg7C26xCjj4IEI4klw4CSww Aac4AC62xK8xCEY4vEwIxC4wC2zVAF1VAY17CE14v26r1j6r15Mx02cVAKzwASzI0EjI02 j7AqF2xKxwAv7VC0I7IYx2IY67AKxVWUJVWUGwCF72vE52k0Y41lYx0Ex4A2jsIE14v26r 1j6r4UM7C26IkvcIIF6IxKo4kEV4ylc2IjII80xcxEwVAKI48JM7AC8VAFwI0_Jr0_Gr1l b4IE77IF4wAFIxvE14AKwVWUJVWUGwAqx4xG64xvF2IEw4CE5I8CrVC2j2Wlb7Iv0xC_Cr UanT9S1TB71UUUUUUa7-sFnT9fnUUI43ZEXa7IUnDCztUUUUUFnT9fnV15pF4rJw1rCrW8 Ar4Uuw15Jr1rXoXrprWkWFg_uFy0yas3Cw1UtwsFqanrCFn3KrZ8GFWkZryrJr17XrsxX3 s3A3W8AF4kGr1vvw15uFWDJr1DCr1kWa43A3ya9 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) Subject: Re: GRUB 2 does not show new kernel :( X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2007 16:17:55 -0000 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 > >> Subject: Re: GRUB 2 does not show new kernel :( > >> To: The development of GRUB 2 > >> 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 > >Subject: Re: GRUB 2 does not show new kernel :( > >To: The development of GRUB 2 > >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