FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 11-13-2008, 03:11 PM
Leonard Chatagnier
 
Default ubuntu-users Digest, Vol 51, Issue 185

--- On Thu, 11/13/08, Bill Taylor <th1bill@sbcglobal.net> wrote:

> From: Bill Taylor <th1bill@sbcglobal.net>
> Subject: Re: ubuntu-users Digest, Vol 51, Issue 185
> To: ubuntu-users@lists.ubuntu.com
> Date: Thursday, November 13, 2008, 8:55 AM
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I'm a compete noob, and even I know all he has to do
> now is edit the
> menu.lst file to add the new kernel to one of the boot
> options. I had
> the same thing happen to me when Hardy updated it's
> kernel but didn't
> update grub to point at the new one.
>
> gksu gedit & will open your editor in administrative
> mode so you can
> open and edit the menu.lst file.
>
> Later, Ray Parrish
> - ---------------------------------------------
>
> Ray, I tried that but I must not have typed the correct
> syntax. If I
> knew exactly what form to type the new kernel into the
> menu.lst I would
> attempt that once more but I do not wish to kill the system
> entirely.
>
Sorry if I've missed something as I've not followed this thread closely. However, you should only have to do:

sudo update-grub to add any missing kernels that has been installed correctly on the version you are running. My output of the command includes all the kernels installed on Hardy as below:

lchata@ubuntu-hardy-64bit:~$ sudo update-grub
[sudo] password for lchata:
Updating /boot/grub/grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.24-21-generic
Found initrd image: /boot/initrd.img-2.6.24-21-generic
Found linux image: /boot/vmlinuz-2.6.24-20-generic
Found initrd image: /boot/initrd.img-2.6.24-20-generic
Found linux image: /boot/vmlinuz-2.6.24-19-generic
Found initrd image: /boot/initrd.img-2.6.24-19-generic
Found linux image: /boot/vmlinuz-2.6.24-16-generic
Found initrd image: /boot/initrd.img-2.6.24-16-generic
Found memtest86+ image: /boot/memtest86+.bin
done

If you haven't yet run the above, please do and it should resolve your issuse. If you ran it before, it wouldn't hurt to run it again as it does no harm. If no joy with the above, you can still edit menu.lst to add the new kernel as it wont kill the entire system. It may crash when you select the new kernel if it's not added correctly but all you would have to do is reboot into a kernel you know is working and recheck menu.lst for any errors you have made in the new kernel listing. Linux is more user friendly than that unless you do something totally foolish like rm -rf / that would delete the entire partition. Of course you wouldn't do that.

HTH,

Leonard Chatagnier
lenc5570@sbcglobal.net



--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 11-13-2008, 03:15 PM
Ram Das
 
Default ubuntu-users Digest, Vol 51, Issue 185

Hi Leo,

To execute that command I need to have installed Ubuntu right?? I am installing Ubuntu for first time!!!!

Thanks
Ram

--- On Thu, 13/11/08, Leonard Chatagnier <lenc5570@sbcglobal.net> wrote:

> From: Leonard Chatagnier <lenc5570@sbcglobal.net>
> Subject: Re: ubuntu-users Digest, Vol 51, Issue 185
> To: "Ubuntu user technical support, not for general discussions" <ubuntu-users@lists.ubuntu.com>
> Date: Thursday, 13 November, 2008, 9:41 PM
> --- On Thu, 11/13/08, Bill Taylor
> <th1bill@sbcglobal.net> wrote:
>
> > From: Bill Taylor <th1bill@sbcglobal.net>
> > Subject: Re: ubuntu-users Digest, Vol 51, Issue 185
> > To: ubuntu-users@lists.ubuntu.com
> > Date: Thursday, November 13, 2008, 8:55 AM
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > I'm a compete noob, and even I know all he has to
> do
> > now is edit the
> > menu.lst file to add the new kernel to one of the boot
> > options. I had
> > the same thing happen to me when Hardy updated
> it's
> > kernel but didn't
> > update grub to point at the new one.
> >
> > gksu gedit & will open your editor in
> administrative
> > mode so you can
> > open and edit the menu.lst file.
> >
> > Later, Ray Parrish
> > - ---------------------------------------------
> >
> > Ray, I tried that but I must not have typed the
> correct
> > syntax. If I
> > knew exactly what form to type the new kernel into the
> > menu.lst I would
> > attempt that once more but I do not wish to kill the
> system
> > entirely.
> >
> Sorry if I've missed something as I've not followed
> this thread closely. However, you should only have to do:
>
> sudo update-grub to add any missing kernels that has been
> installed correctly on the version you are running. My
> output of the command includes all the kernels installed on
> Hardy as below:
>
> lchata@ubuntu-hardy-64bit:~$ sudo update-grub
> [sudo] password for lchata:
> Updating /boot/grub/grub.cfg ...
> Found linux image: /boot/vmlinuz-2.6.24-21-generic
> Found initrd image: /boot/initrd.img-2.6.24-21-generic
> Found linux image: /boot/vmlinuz-2.6.24-20-generic
> Found initrd image: /boot/initrd.img-2.6.24-20-generic
> Found linux image: /boot/vmlinuz-2.6.24-19-generic
> Found initrd image: /boot/initrd.img-2.6.24-19-generic
> Found linux image: /boot/vmlinuz-2.6.24-16-generic
> Found initrd image: /boot/initrd.img-2.6.24-16-generic
> Found memtest86+ image: /boot/memtest86+.bin
> done
>
> If you haven't yet run the above, please do and it
> should resolve your issuse. If you ran it before, it
> wouldn't hurt to run it again as it does no harm. If no
> joy with the above, you can still edit menu.lst to add the
> new kernel as it wont kill the entire system. It may crash
> when you select the new kernel if it's not added
> correctly but all you would have to do is reboot into a
> kernel you know is working and recheck menu.lst for any
> errors you have made in the new kernel listing. Linux is
> more user friendly than that unless you do something totally
> foolish like rm -rf / that would delete the entire
> partition. Of course you wouldn't do that.
>
> HTH,
>
> Leonard Chatagnier
> lenc5570@sbcglobal.net
>
>
>
> --
> ubuntu-users mailing list
> ubuntu-users@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 11-13-2008, 03:23 PM
NoOp
 
Default ubuntu-users Digest, Vol 51, Issue 185

On 11/13/2008 06:55 AM, Bill Taylor wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I'm a compete noob, and even I know all he has to do now is edit the
> menu.lst file to add the new kernel to one of the boot options. I had
> the same thing happen to me when Hardy updated it's kernel but didn't
> update grub to point at the new one.
>
> gksu gedit & will open your editor in administrative mode so you can
> open and edit the menu.lst file.
>
> Later, Ray Parrish
> - ---------------------------------------------
>
> Ray, I tried that but I must not have typed the correct syntax. If I
> knew exactly what form to type the new kernel into the menu.lst I would
> attempt that once more but I do not wish to kill the system entirely.

This should work. If booting to 8.10 fails, you still will be able to
boot to 8.04:

title Ubuntu 8.10, kernel 2.6.27-7-generic
root (hd0,5)
kernel /boot/vmlinuz-2.6.27-7-generic
root=UUID=d0357aa7-0f56-456b-8ce9-2b6fe6d8e429 ro quiet splash
initrd /boot/initrd.img-2.6.27-7-generic
quiet

title Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
root (hd0,5)
kernel /boot/vmlinuz-2.6.27-7-generic
root=UUID=d0357aa7-0f56-456b-8ce9-2b6fe6d8e429 ro single
initrd /boot/initrd.img-2.6.27-7-generic

title Ubuntu 8.04.1, kernel 2.6.24-19-generic
root (hd0,5)
kernel /boot/vmlinuz-2.6.24-19-generic
root=UUID=d0357aa7-0f56-456b-8ce9-2b6fe6d8e429 ro quiet splash
initrd /boot/initrd.img-2.6.24-19-generic
quiet

title Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
root (hd0,5)
kernel /boot/vmlinuz-2.6.24-19-generic
root=UUID=d0357aa7-0f56-456b-8ce9-2b6fe6d8e429 ro single
initrd /boot/initrd.img-2.6.24-19-generic


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 11-13-2008, 03:46 PM
 
Default ubuntu-users Digest, Vol 51, Issue 185

> -----Original Message-----
> From: Bill Taylor

> I'm a compete noob, and even I know all he has to do now is edit the
> menu.lst file to add the new kernel to one of the boot options. I had
> the same thing happen to me when Hardy updated it's kernel but didn't
> update grub to point at the new one.
>
> gksu gedit & will open your editor in administrative mode so you can
> open and edit the menu.lst file.
>

To be fair, if you even know that there is such a thing as a menu.lst
file, you are *not* a complete 'noob'.

And I have always felt that that should be part of the upgrade process.
If I am going to allow my system to be upgraded and/or modified by
someone else ( that includes the update manager ), then why would I not
want grub to point to the new kernel?





The information contained in this message and any attachment may be
proprietary, confidential, and privileged or subject to the work
product doctrine and thus protected from disclosure. If the reader
of this message is not the intended recipient, or an employee or
agent responsible for delivering this message to the intended
recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify me
immediately by replying to this message and deleting it and all
copies and backups thereof. Thank you.



--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 11-14-2008, 04:17 AM
Ray Parrish
 
Default ubuntu-users Digest, Vol 51, Issue 185

Ok, here is my menu.lst file which I modified to add a new kernel
update. The added entry is the first Linux kernel listed, and all I did
to add it was copy and paste the one below it, then change the numbers
in the kernel and initrd lines to match the new kernel version. Worked
like a charm!

*start of menu.lst*
default 0
fallback 2
timeout 30

title Microsoft Windows XP Home Edition
root (hd0,0)
chainloader +1
savedefault
makeactive

title Other operating systems that Rock!:
root

title Ubuntu 8.04.1, kernel 2.6.24-21-generic
root (hd0,5)
kernel /boot/vmlinuz-2.6.24-21-generic
root=UUID=d87df8a8-9b0a-46c9-82ef-7c5503f46c62 ro quiet splash
initrd /boot/initrd.img-2.6.24-21-generic
quiet

title Ubuntu 8.04.1, kernel 2.6.24-19-generic
root (hd0,5)
kernel /boot/vmlinuz-2.6.24-19-generic
root=UUID=d87df8a8-9b0a-46c9-82ef-7c5503f46c62 ro quiet splash
initrd /boot/initrd.img-2.6.24-19-generic
quiet

title Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
root (hd0,5)
kernel /boot/vmlinuz-2.6.24-19-generic
root=UUID=d87df8a8-9b0a-46c9-82ef-7c5503f46c62 ro single
initrd /boot/initrd.img-2.6.24-19-generic

title Ubuntu 8.04.1, kernel 2.6.24-16-generic
root (hd0,5)
kernel /boot/vmlinuz-2.6.24-16-generic
root=UUID=d87df8a8-9b0a-46c9-82ef-7c5503f46c62 ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic
quiet

title Ubuntu 8.04.1, kernel 2.6.24-16-generic (recovery mode)
root (hd0,5)
kernel /boot/vmlinuz-2.6.24-16-generic
root=UUID=d87df8a8-9b0a-46c9-82ef-7c5503f46c62 ro single
initrd /boot/initrd.img-2.6.24-16-generic

title Ubuntu 8.04.1, memtest86+
root (hd0,5)
kernel /boot/memtest86+.bin
quiet
*end of menu.lst*

That's all you need to do!

Later, Ray Parrish

Bill Taylor wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I'm a compete noob, and even I know all he has to do now is edit the
> menu.lst file to add the new kernel to one of the boot options. I had
> the same thing happen to me when Hardy updated it's kernel but didn't
> update grub to point at the new one.
>
> gksu gedit & will open your editor in administrative mode so you can
> open and edit the menu.lst file.
>
> Later, Ray Parrish
> - ---------------------------------------------
>
> Ray, I tried that but I must not have typed the correct syntax. If I
> knew exactly what form to type the new kernel into the menu.lst I would
> attempt that once more but I do not wish to kill the system entirely.
> - - --
> Bond servant,
> Bill Taylor
> Killer Spade 806 CE
> 1968-'69
> Visit me @ Basic Christianity
> http://th1ll.blogspot.com
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkkcP8UACgkQfZI9mSeRgpqaXQCgiJwEkYElsq WhWE72oBiTZKP7
> tEsAnRHAJ21fHxLAsaeLnKJCqyvWuFuF
> =MeGF
> -----END PGP SIGNATURE-----
>
>

--
http://www.rayslinks.com/ Web index of human reviewed links.
<http://www.rayslinks.com/Troubleshooting%20and%20fixing%20Windows.html>
Trouble shooting and Fixing Windows
http://www.writingsoftheschizophrenic.com My poetry in web pages


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 11-14-2008, 11:03 AM
Derek Broughton
 
Default ubuntu-users Digest, Vol 51, Issue 185

Ray, if you're going to use digest mode with a dumb mail program, at
least use recognizable subject lines, please.

Ray Parrish wrote:

> Ok, here is my menu.lst file which I modified to add a new kernel
...
> *end of menu.lst*
>
> That's all you need to do!

And now you've broken any hope of getting it automatically updated when
new kernels are installed. All those comments at the top of the file are
important, you know.
--
derek


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 11-14-2008, 01:04 PM
Ray Parrish
 
Default ubuntu-users Digest, Vol 51, Issue 185

I didn't start the thread, and I don't use digest mode... it wasn't my
subject line, I just replied to it.

Later, Ray Parrish

Derek Broughton wrote:
> Ray, if you're going to use digest mode with a dumb mail program, at
> least use recognizable subject lines, please.
>
> Ray Parrish wrote:
>
>
>> Ok, here is my menu.lst file which I modified to add a new kernel
>>
> ...
>
>> *end of menu.lst*
>>
>> That's all you need to do!
>>
>
> And now you've broken any hope of getting it automatically updated when
> new kernels are installed. All those comments at the top of the file are
> important, you know.
>

--
http://www.rayslinks.com/ Web index of human reviewed links.
<http://www.rayslinks.com/Troubleshooting%20and%20fixing%20Windows.html>
Trouble shooting and Fixing Windows
http://www.writingsoftheschizophrenic.com My poetry in web pages


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 06:43 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org