menu.lst problems
Leonard Chatagnier
lenc5570 at sbcglobal.net
Sat Jan 31 18:49:37 UTC 2009
--- On Sat, 1/31/09, Ray Parrish <crp at cmc.net> wrote:
From: Ray Parrish <crp at cmc.net>
Subject: Re: menu.lst problems
To: "Ubuntu user technical support, not for general discussions" <ubuntu-users at 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 at sbcglobal.net
--
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090131/83ac3606/attachment.html>
More information about the ubuntu-users
mailing list