<br><br><div class="gmail_quote">On Mon, Apr 5, 2010 at 11:12 PM, NoOp <span dir="ltr"><<a href="mailto:glgxg@sbcglobal.net">glgxg@sbcglobal.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On 04/05/2010 08:29 PM, MirJafar Ali wrote:<br>
> On Mon, Apr 5, 2010 at 9:56 PM, NoOp <<a href="mailto:glgxg@sbcglobal.net">glgxg@sbcglobal.net</a>> wrote:<br>
><br>
>> On 04/05/2010 07:30 PM, MirJafar Ali wrote:<br>
>> ...<br>
>> > Hello,<br>
>> ><br>
>> > Even this time also, after following ur instructions, I don't get Kernel<br>
>> > updated. Still uname -a and boot gives the old<br>
>> > kernel and machine hanging is becoming pathetic. I think I made a bad<br>
>> > judgement of upgrading ubuntu to 9.10.<br>
>><br>
>> No. At least now you are not getting the 18 packages witheld from before<br>
>> (and sorry about the 'sudo grub-update' vs 'sudo update-grub' mixup -<br>
>> glad you caught that.<br>
>><br>
>> So perhaps it is time to try Goh's suggestion of reinstalling grub. He<br>
>> suggested:<br>
>><br>
>> sudo grub-install /dev/sda<br>
>><br>
>> Before you do that, can you please provide the output of:<br>
>><br>
>> $ grub-install -v<br>
>><br>
>> and<br>
>><br>
>> $ sudo fdisk -l<br>
</div>...<br>
<div class="im"><br>
> Hi<br>
><br>
> here is the output:<br>
><br>
> csverma@blackhole:~/QuadMesh/src$ grub-install -v<br>
> grub-install (GNU GRUB 0.97)<br>
<br>
</div>This indicates that you still have the original grub1 installed.<br>
<br>
Might be interesting to see what you have in menu.lst:<br>
<br>
$ cat /boot/grub/menu.lst<br>
<div class="im"><br>
> csverma@blackhole:~/QuadMesh/src$ sudo fdisk -l<br>
> [sudo] password for csverma:<br>
><br>
> Disk /dev/sda: 120.0 GB, 120034123776 bytes<br>
> 255 heads, 63 sectors/track, 14593 cylinders<br>
> Units = cylinders of 16065 * 512 = 8225280 bytes<br>
> Disk identifier: 0x69afd9f3<br>
><br>
> Device Boot Start End Blocks Id System<br>
> /dev/sda1 * 1 9037 72582028 7 HPFS/NTFS<br>
> /dev/sda2 13734 14593 6907950 7 HPFS/NTFS<br>
> /dev/sda3 9038 13733 37720620 5 Extended<br>
> /dev/sda5 9038 13534 36122121 83 Linux<br>
> /dev/sda6 13535 13733 1598436 82 Linux swap / Solaris<br>
><br>
> Partition table entries are not in disk order<br>
><br>
> I am wondering why Solaris is out there.<br>
<br>
</div>I'd go ahead and try Goh's recommendation:<br>
<br>
$ sudo grub-install /dev/sda<br>
<br>
That will install/reinstall grub to sda.<br>
<br>
Note: the Solaris notation is normal.<br>
<font color="#888888"><br>
<br>
<br>
--<br>
</font><div><div></div><div class="h5">ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
</div></div></blockquote></div><br>Hi,<br><br>Not very comfortable in editing grub. Scared .<br><br>Mir<br><br># menu.lst - See: grub(8), info grub, update-grub(8)<br># grub-install(8), grub-floppy(8),<br># grub-md5-crypt, /usr/share/doc/grub<br>
# and /usr/share/doc/grub-doc/.<br><br>## default num<br># Set the default entry to the entry number NUM. Numbering starts from 0, and<br># the entry number 0 is the default if the command is not used.<br>#<br>
# You can specify 'saved' instead of a number. In this case, the default entry<br># is the entry saved with the command 'savedefault'.<br># WARNING: If you are using dmraid do not use 'savedefault' or your<br>
# array will desync and will not let you boot your system.<br>default 0<br><br>## timeout sec<br># Set a timeout, in SEC seconds, before automatically booting the default entry<br># (normally the first entry defined).<br>
timeout 10<br><br>## hiddenmenu<br># Hides the menu by default (press ESC to see the menu)<br>#hiddenmenu<br><br># Pretty colours<br>#color cyan/blue white/blue<br><br>## password ['--md5'] passwd<br># If used in the first section of a menu file, disable all interactive editing<br>
# control (menu entry editor and command-line) and entries protected by the<br># command 'lock'<br># e.g. password topsecret<br># password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/<br># password topsecret<br><br>
#<br># examples<br>#<br># title Windows 95/98/NT/2000<br># root (hd0,0)<br># makeactive<br># chainloader +1<br>#<br># title Linux<br># root (hd0,1)<br># kernel /vmlinuz root=/dev/hda2 ro<br>
#<br><br>#<br># Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST<br><br>### BEGIN AUTOMAGIC KERNELS LIST<br>## lines between the AUTOMAGIC KERNELS LIST markers will be modified<br>## by the debian update-grub script except for the default options below<br>
<br>## DO NOT UNCOMMENT THEM, Just edit them to your needs<br><br>## ## Start Default Options ##<br>## default kernel options<br>## default kernel options for automagic boot options<br>## If you want special options for specific kernels use kopt_x_y_z<br>
## where x.y.z is kernel version. Minor versions can be omitted.<br>## e.g. kopt=root=/dev/hda1 ro<br>## kopt_2_6_8=root=/dev/hdc1 ro<br>## kopt_2_6_8_2_686=root=/dev/hdc2 ro<br># kopt=root=UUID=d8c39032-d863-4d42-8943-5d409181aaee ro<br>
<br>## default grub root device<br>## e.g. groot=(hd0,0)<br># groot=d8c39032-d863-4d42-8943-5d409181aaee<br><br>## should update-grub create alternative automagic boot options<br>## e.g. alternative=true<br>## alternative=false<br>
# alternative=true<br><br>## should update-grub lock alternative automagic boot options<br>## e.g. lockalternative=true<br>## lockalternative=false<br># lockalternative=false<br><br>## additional options to use with the default boot option, but not with the<br>
## alternatives<br>## e.g. defoptions=vga=791 resume=/dev/hda5<br># defoptions=quiet splash<br><br>## should update-grub lock old automagic boot options<br>## e.g. lockold=false<br>## lockold=true<br># lockold=false<br>
<br>## Xen hypervisor options to use with the default Xen boot option<br># xenhopt=<br><br>## Xen Linux kernel options to use with the default Xen boot option<br># xenkopt=console=tty0<br><br>## altoption boot targets option<br>
## multiple altoptions lines are allowed<br>## e.g. altoptions=(extra menu suffix) extra boot options<br>## altoptions=(recovery) single<br># altoptions=(recovery mode) single<br><br>## controls how many kernels should be put into the menu.lst<br>
## only counts the first occurence of a kernel, not the<br>## alternative kernel options<br>## e.g. howmany=all<br>## howmany=7<br># howmany=all<br><br>## specify if running in Xen domU or have grub detect automatically<br>
## update-grub will ignore non-xen kernels when running in domU and vice versa<br>## e.g. indomU=detect<br>## indomU=true<br>## indomU=false<br># indomU=detect<br><br>## should update-grub create memtest86 boot option<br>
## e.g. memtest86=true<br>## memtest86=false<br># memtest86=true<br><br>## should update-grub adjust the value of the default booted system<br>## can be true or false<br># updatedefaultentry=false<br><br>## should update-grub add savedefault to the default options<br>
## can be true or false<br># savedefault=false<br><br>## ## End Default Options ##<br><br>#title Xen 3.4.2 / Ubuntu 9.10, kernel 2.6.18.8-xen<br>#uuid d8c39032-d863-4d42-8943-5d409181aaee<br>#kernel /boot/xen-3.4.2.gz<br>
#module /boot/vmlinuz-2.6.18.8-xen root=UUID=d8c39032-#d863-4d42-8943-5d409181aaee ro console=tty0<br>#quiet<br><br>title Ubuntu 9.10, kernel 2.6.31-14-generic<br>uuid d8c39032-d863-4d42-8943-5d409181aaee<br>
kernel /boot/vmlinuz-2.6.31-14-generic root=UUID=d8c39032-d863-4d42-8943-5d409181aaee ro quiet splash <br>initrd /boot/initrd.img-2.6.31-14-generic<br>quiet<br><br>title Ubuntu 9.10, kernel 2.6.31-14-generic (recovery mode)<br>
uuid d8c39032-d863-4d42-8943-5d409181aaee<br>kernel /boot/vmlinuz-2.6.31-14-generic root=UUID=d8c39032-d863-4d42-8943-5d409181aaee ro single<br>initrd /boot/initrd.img-2.6.31-14-generic<br><br>title Ubuntu 9.10, kernel 2.6.28-15-generic<br>
uuid d8c39032-d863-4d42-8943-5d409181aaee<br>kernel /boot/vmlinuz-2.6.28-15-generic root=UUID=d8c39032-d863-4d42-8943-5d409181aaee ro quiet splash <br>initrd /boot/initrd.img-2.6.28-15-generic<br>quiet<br>
<br>title Ubuntu 9.10, kernel 2.6.28-15-generic (recovery mode)<br>uuid d8c39032-d863-4d42-8943-5d409181aaee<br>kernel /boot/vmlinuz-2.6.28-15-generic root=UUID=d8c39032-d863-4d42-8943-5d409181aaee ro single<br>
initrd /boot/initrd.img-2.6.28-15-generic<br><br>title Ubuntu 9.10, memtest86+<br>uuid d8c39032-d863-4d42-8943-5d409181aaee<br>kernel /boot/memtest86+.bin<br>quiet<br><br>### END DEBIAN AUTOMAGIC KERNELS LIST<br>
<br># This is a divider, added to separate the menu items below from the Debian<br># ones.<br>title Other operating systems:<br>root<br><br><br># This entry automatically added by the Debian installer for a non-linux OS<br>
# on /dev/sda1<br>title Windows Vista (loader)<br>rootnoverify (hd0,0)<br>savedefault<br>makeactive<br>chainloader +1<br><br><br># This entry automatically added by the Debian installer for a non-linux OS<br>
# on /dev/sda2<br>title Windows Vista (loader)<br>rootnoverify (hd0,1)<br>savedefault<br>makeactive<br>chainloader +1<br><br>