GRUB 2 does not show new kernel :(
Quoted 95 lines
Quoted 18 lines
--
Bean------------------------------
Message: 8
Date: Wed, 27 Jun 2007 10:18:09 +0800
From: Bean <[email protected]>
Subject: Re: GRUB 2 does not show new kernel :(
To: The development of GRUB 2 <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-asciiQuoted 9 lines
Quoted 8 lines · shirish
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=484856If 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 <[email protected]>
Subject: Re: GRUB 2 does not show new kernel :(
To: The development of GRUB 2 <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-asciiQuoted 40 lines · shirish
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 bytesDevice 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/NTFSDisk
/dev/sdb: 80.0 GB, 80060424192 bytes
255 heads, 63 sectors/track, 9733 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytesDevice 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 / SolarisAnother thing, is not written in
/boot/grub/grub.cfgnot to alter stuff ?#
# DO NOT EDIT THIS FILE
#
# It is automaticaly generated by/usr/sbin/update-grubusing templates from/etc/grub.dQuoted 5 lines
# 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
Quoted 5 lines
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 :)
Signature · 4 lines
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
Quoted 137 lines · shirish
Quoted 96 lines
Quoted 18 lines
--
Bean------------------------------
Message: 8
Date: Wed, 27 Jun 2007 10:18:09 +0800
From: Bean <[email protected]>
Subject: Re: GRUB 2 does not show new kernel :(
To: The development of GRUB 2 <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-asciiQuoted 9 lines
Quoted 8 lines · shirish
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=484856If 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 <[email protected]>
Subject: Re: GRUB 2 does not show new kernel :(
To: The development of GRUB 2 <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-asciiQuoted 24 lines · shirish
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 bytesDevice 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/NTFSQuoted 8 lines
Disk
/dev/sdb: 80.0 GB, 80060424192 bytes
255 heads, 63 sectors/track, 9733 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytesDevice 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
Quoted 8 lines
Another thing, is not written in
/boot/grub/grub.cfgnot to alter stuff ?#
# DO NOT EDIT THIS FILE
#
# It is automaticaly generated by/usr/sbin/update-grubusing templates from/etc/grub.dQuoted 5 lines
# 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 gfxtermQuoted 5 lines
You will enter text mode, but this is not an issue since you're not using any non ascii characters.
--
BeanHi 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.cfgTo 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.
Quoted 2 lines
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.
Signature · 1 line
Bean