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 01-31-2009, 03:20 PM
Peter Hillier-Brook
 
Default menu.lst problems

Hello all,

is there anyone who can help to stop my head hurting? After a trivial
edit of menu.lst to fix a couple of options, I can no longer boot the
default kernel (Error 15: File not found), although I can boot from the
recovery version and, at the appropriate time, select to continue
normally. I can see no differences and therefore I suspect that I'm
missing the obvious, whatever that might be.

The relevant fragment of menu.lst follows.

title Ubuntu 8.10, kernel 2.6.27-11-generic
uuid a42730ca-039c-485d-a153-c367d8ef4f51
kernel
/vmlinuz-2.6.27-11-genericroot=UUID=1d77c373-b6c8-41ba-bb0f-2f2a99d88df8 ro
initrd /initrd.img-2.6.27-11-generic
quiet

title Ubuntu 8.10, kernel 2.6.27-11-generic (recovery mode)
uuid a42730ca-039c-485d-a153-c367d8ef4f51
kernel /vmlinuz-2.6.27-11-generic
root=UUID=1d77c373-b6c8-41ba-bb0f-2f2a99d88df8 ro single
initrd /initrd.img-2.6.27-11-generic

Whilst on this topic, I also tried to manually use update-grub to detect
the -11 kernel which should have been automatically added to menu.lst
(the relevant entries are in kernel-img.conf), but wasn't. It claimed to
be doing the job, but the result was an unchanged menu.lst.

Ant thoughts gratefully received.

Peter HB

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 01-31-2009, 03:47 PM
Paul Kaplan
 
Default menu.lst problems

In my file, the uuid associated with the kernel line matches the entry in the
uuid line.

However the only difference between the recovery and standard boots is that
following the kernel uuid entry the recovery stanza ends in "ro single" (no
quotes) where as the standard stanza ends with just "ro". (The default ends
in "ro splash noquiet" which hides the boot messages and displays a pretty
ubuntu splash screen.)

Try duplicating your recovery stanza and removing "single" (and give it some
unique title other than "recovery mode".

Paul
On Saturday 31 January 2009 11:20:15 Peter Hillier-Brook wrote:
> Hello all,
>
> is there anyone who can help to stop my head hurting? After a trivial
> edit of menu.lst to fix a couple of options, I can no longer boot the
> default kernel (Error 15: File not found), although I can boot from the
> recovery version and, at the appropriate time, select to continue
> normally. I can see no differences and therefore I suspect that I'm
> missing the obvious, whatever that might be.
>
> The relevant fragment of menu.lst follows.
>
> title Ubuntu 8.10, kernel 2.6.27-11-generic
> uuid a42730ca-039c-485d-a153-c367d8ef4f51
> kernel
> /vmlinuz-2.6.27-11-genericroot=UUID=1d77c373-b6c8-41ba-bb0f-2f2a99d88df8 ro
> initrd /initrd.img-2.6.27-11-generic
> quiet
>
> title Ubuntu 8.10, kernel 2.6.27-11-generic (recovery mode)
> uuid a42730ca-039c-485d-a153-c367d8ef4f51
> kernel /vmlinuz-2.6.27-11-generic
> root=UUID=1d77c373-b6c8-41ba-bb0f-2f2a99d88df8 ro single
> initrd /initrd.img-2.6.27-11-generic
>
> Whilst on this topic, I also tried to manually use update-grub to detect
> the -11 kernel which should have been automatically added to menu.lst
> (the relevant entries are in kernel-img.conf), but wasn't. It claimed to
> be doing the job, but the result was an unchanged menu.lst.
>
> Ant thoughts gratefully received.
>
> Peter HB




--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 01-31-2009, 05:02 PM
Ray Parrish
 
Default menu.lst problems

Peter Hillier-Brook wrote:
> Hello all,
>
> is there anyone who can help to stop my head hurting? After a trivial
> edit of menu.lst to fix a couple of options, I can no longer boot the
> default kernel (Error 15: File not found), although I can boot from the
> recovery version and, at the appropriate time, select to continue
> normally. I can see no differences and therefore I suspect that I'm
> missing the obvious, whatever that might be.
>
> The relevant fragment of menu.lst follows.
>
> title Ubuntu 8.10, kernel 2.6.27-11-generic
> uuid a42730ca-039c-485d-a153-c367d8ef4f51
> kernel
> /vmlinuz-2.6.27-11-genericroot=UUID=1d77c373-b6c8-41ba-bb0f-2f2a99d88df8 ro
> initrd /initrd.img-2.6.27-11-generic
> quiet
>
> title Ubuntu 8.10, kernel 2.6.27-11-generic (recovery mode)
> uuid a42730ca-039c-485d-a153-c367d8ef4f51
> kernel /vmlinuz-2.6.27-11-generic
> root=UUID=1d77c373-b6c8-41ba-bb0f-2f2a99d88df8 ro single
> initrd /initrd.img-2.6.27-11-generic
>
> Whilst on this topic, I also tried to manually use update-grub to detect
> the -11 kernel which should have been automatically added to menu.lst
> (the relevant entries are in kernel-img.conf), but wasn't. It claimed to
> be doing the job, but the result was an unchanged menu.lst.
>
> Ant thoughts gratefully received.
>
> Peter HB
>
>
Well, if you copied and pasted that in, I'm noticing that there is no
space, or line feed between the kernel line, and the root line in the
one you're trying to boot from, but can't.. Make it look like the
following -

title Ubuntu 8.10, kernel 2.6.27-11-generic
uuid a42730ca-039c-485d-a153-c367d8ef4f51
kernel /vmlinuz-2.6.27-11-generic
root=UUID=1d77c373-b6c8-41ba-bb0f-2f2a99d88df8 ro
initrd /initrd.img-2.6.27-11-generic quiet

Note the added space charachter after the word generic. Or, better yet,
format it like this entry from my menu.lst file -

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

Note that the UUID setting isn't repeated normally, and the first root
setting points to the partition Ubuntu is on. I'm not sure why the
"quiet" setting is repeated, but it's in all of my old menu.lst files
that way, as well as in your examples so I guess it's the norm.

Later, Ray Parrish


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 01-31-2009, 05:49 PM
Leonard Chatagnier
 
Default menu.lst problems

--- On Sat, 1/31/09, Ray Parrish <crp@cmc.net> wrote:
From: Ray Parrish <crp@cmc.net>
Subject: Re: menu.lst problems
To: "Ubuntu user technical support, not for general discussions" <ubuntu-users@lists.ubuntu.com>
Date: Saturday, January 31, 2009, 12:02 PM

Peter Hillier-Brook wrote:
> Hello all,
>
> is there anyone who can help to stop my head hurting? After a trivial
> edit of menu.lst to fix a couple of options, I can no longer boot the
> default kernel (Error 15: File not found), although I can boot from the
> recovery version and, at the appropriate time, select to continue
> normally. I can see no differences and therefore I suspect that I'm
>
missing the obvious, whatever that might be.
>
> The relevant fragment of menu.lst follows.
>
> title Ubuntu 8.10, kernel 2.6.27-11-generic
> uuid a42730ca-039c-485d-a153-c367d8ef4f51
> kernel
> /vmlinuz-2.6.27-11-genericroot=UUID=1d77c373-b6c8-41ba-bb0f-2f2a99d88df8
ro
> initrd /initrd.img-2.6.27-11-generic
> quiet
>
> title Ubuntu 8.10, kernel 2.6.27-11-generic (recovery mode)
> uuid a42730ca-039c-485d-a153-c367d8ef4f51
> kernel /vmlinuz-2.6.27-11-generic
> root=UUID=1d77c373-b6c8-41ba-bb0f-2f2a99d88df8 ro single
> initrd /initrd.img-2.6.27-11-generic
>
> Whilst on this topic, I also tried to manually use update-grub to detect
> the -11 kernel which should have been automatically added to menu.lst
> (the relevant entries are in kernel-img.conf), but wasn't. It claimed
to
> be doing the job, but the result was an
unchanged menu.lst.
>
> Ant thoughts gratefully received.
>
> Peter HB
>
>
Well, if you copied and pasted that in, I'm noticing that there is no
space, or line feed between the kernel line, and the root line in the
one you're trying to boot from, but can't.. Make it look like the
following -

title Ubuntu 8.10, kernel 2.6.27-11-generic
uuid a42730ca-039c-485d-a153-c367d8ef4f51
kernel /vmlinuz-2.6.27-11-generic
root=UUID=1d77c373-b6c8-41ba-bb0f-2f2a99d88df8 ro
initrd /initrd.img-2.6.27-11-generic quiet

Note the added space charachter after the word generic. Or, better yet,
format it like this entry from my menu.lst file -

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

Note that the UUID setting isn't repeated normally, and the first root
setting points to the partition Ubuntu is on. I'm not sure why the
"quiet" setting is repeated, but it's in all of my old menu.lst
files
that way, as well as in your examples so I guess it's the norm.

Later, Ray Parrish

Sorry to hijack your thread, Ray, but couldn't find the OP original.
Just want to mention that on my Intrepid 64 bit, the uuid's for the
-11 kernel and all for that matter are identical for each kernel entry.
I think they must be identical or what good would a uuid be for ident-
ification. According to my fstab for the partition for intrepid, the
uuid for the partition is the same as listed for the kernel entries.
Sugest the OP take a look at /etc/fstab to determine the uuid used
for his drive/partition he is running on and use that value for both
entries for the -11
kernel. The uuids should be the same for all
kernel entries according to my menu.lst.
Also, the OP mentioned that he ran "update-grub" even. It should be
"sudo update-grub" just in case he wasn't aware of 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
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 01-31-2009, 06:33 PM
Peter Hillier-Brook
 
Default menu.lst problems

Ray Parrish wrote:
> Peter Hillier-Brook wrote:
>> Hello all,
>>
>> is there anyone who can help to stop my head hurting? After a trivial
>> edit of menu.lst to fix a couple of options, I can no longer boot the
>> default kernel (Error 15: File not found), although I can boot from the
>> recovery version and, at the appropriate time, select to continue
>> normally. I can see no differences and therefore I suspect that I'm
>> missing the obvious, whatever that might be.
>>
>> The relevant fragment of menu.lst follows.
>>
>> title Ubuntu 8.10, kernel 2.6.27-11-generic
>> uuid a42730ca-039c-485d-a153-c367d8ef4f51
>> kernel
>> /vmlinuz-2.6.27-11-genericroot=UUID=1d77c373-b6c8-41ba-bb0f-2f2a99d88df8 ro
>> initrd /initrd.img-2.6.27-11-generic
>> quiet
>>
>> title Ubuntu 8.10, kernel 2.6.27-11-generic (recovery mode)
>> uuid a42730ca-039c-485d-a153-c367d8ef4f51
>> kernel /vmlinuz-2.6.27-11-generic
>> root=UUID=1d77c373-b6c8-41ba-bb0f-2f2a99d88df8 ro single
>> initrd /initrd.img-2.6.27-11-generic
>>
>> Whilst on this topic, I also tried to manually use update-grub to detect
>> the -11 kernel which should have been automatically added to menu.lst
>> (the relevant entries are in kernel-img.conf), but wasn't. It claimed to
>> be doing the job, but the result was an unchanged menu.lst.
>>
>> Ant thoughts gratefully received.
>>
>> Peter HB
>>
>>
> Well, if you copied and pasted that in, I'm noticing that there is no
> space, or line feed between the kernel line, and the root line in the
> one you're trying to boot from, but can't.. Make it look like the
> following -
[cut]

Ray, you've put your finger on the problem, for which many thanks! There
isn't a root line, the previous kernel line should have a space between
"generic" and "root". The delights of vi and incompetent fingers:-)

Thanks again to you and all who have helped.

Peter HB

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 02-02-2009, 04:07 PM
Rashkae
 
Default menu.lst problems

Peter Hillier-Brook wrote:
> Hello all,
>
> is there anyone who can help to stop my head hurting? After a trivial
> edit of menu.lst to fix a couple of options, I can no longer boot the
> default kernel (Error 15: File not found), although I can boot from the
> recovery version and, at the appropriate time, select to continue
> normally. I can see no differences and therefore I suspect that I'm
> missing the obvious, whatever that might be.
>
> The relevant fragment of menu.lst follows.
>
> title Ubuntu 8.10, kernel 2.6.27-11-generic
> uuid a42730ca-039c-485d-a153-c367d8ef4f51
> kernel
> /vmlinuz-2.6.27-11-genericroot=UUID=1d77c373-b6c8-41ba-bb0f-2f2a99d88df8 ro
> initrd /initrd.img-2.6.27-11-generic
> quiet
>
> title Ubuntu 8.10, kernel 2.6.27-11-generic (recovery mode)
> uuid a42730ca-039c-485d-a153-c367d8ef4f51
> kernel /vmlinuz-2.6.27-11-generic
> root=UUID=1d77c373-b6c8-41ba-bb0f-2f2a99d88df8 ro single
> initrd /initrd.img-2.6.27-11-generic
>
> Whilst on this topic, I also tried to manually use update-grub to detect
> the -11 kernel which should have been automatically added to menu.lst
> (the relevant entries are in kernel-img.conf), but wasn't. It claimed to
> be doing the job, but the result was an unchanged menu.lst.
>
> Ant thoughts gratefully received.
>
> Peter HB
>

This issue has been resolved, but if I can be forgiven to hijack the
thread for a related question.

What is this new uuid in menu.lst?

I notice that the entries no longer have a root (0,0) type line, which
in the old days, was used by grub to identify the /boot partition where
the kernel and initrd files were to be found. Has that been replaced
with the uuid a42730ca-039c-485d-a153-c367d8ef4f51 ?

And to the OP, do you have a separate /boot? That would explain why
your grub uuid and your kernel option root= are different.


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 02-02-2009, 04:28 PM
Peter Hillier-Brook
 
Default menu.lst problems

Rashkae wrote:
[cut]

>
> And to the OP, do you have a separate /boot? That would explain why
> your grub uuid and your kernel option root= are different.

I do, but it's not relevant. As I said in my closing speech, it was a
typo during use of vi :-)

Peter HB

--
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 03:11 PM.

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