menu.lst problems

Peter Hillier-Brook phb at hbsys.plus.com
Sat Jan 31 19:33:27 UTC 2009


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




More information about the ubuntu-users mailing list