LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-01-2011, 11:49 AM   #1
Moore
Member
 
Registered: Sep 2005
Posts: 49

Rep: Reputation: 15
preupgrade from F15 to F16 : "Error 15 : File not found"


hello,
I was going to put this under the Fedora distro list but I have a feeling it might be a more general grub related issue.

would appreciate some guidance please on this issue if possible.

Performed preupgrade from f15 to f16 on a toshiba satellite pro laptop.
All seemed to go fine and the system rebooted.
Looks like the new shell is running as it gave me a new looking login prompt and screen background.
However then I checked the kernel and saw that the f15 kernel version was actually running.
I then rebooted and saw that "Upgrade to fedare16 (verne) was an option on the boot list along with the older linux kernels and windows xp.
But it has defaulted to the latest f15 kernel I had.
I then tried the f16 verne and immediately got:

Error 15 : File not found
Press any key to continue

and it gives back the grub menu list with the options again.

Here is the grub menu list:

Code:
cat /boot/grub/menu.lst
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,1)
#          kernel /vmlinuz-version ro root=/dev/mapper/vg_moore0-lv_root
#          initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=1
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
hiddenmenu
title Upgrade to Fedora 16 (Verne)
	kernel /upgrade/vmlinuz preupgrade repo=hd::/var/cache/yum/preupgrade ks=hd:UUID=117ae55c-20d6-4fe7-af15-5c96853839b6:/upgrade/ks.cfg
	initrd /upgrade/initrd.img
title Fedora (2.6.38.8-35.fc15.i686)
	root (hd0,1)
	kernel /vmlinuz-2.6.38.8-35.fc15.i686 ro root=/dev/mapper/vg_moore0-lv_root rd_LVM_LV=vg_moore0/lv_root rd_LVM_LV=vg_moore0/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=uk rhgb quiet
	initrd /initramfs-2.6.38.8-35.fc15.i686.img
title Fedora (2.6.38.8-32.fc15.i686)
	root (hd0,1)
	kernel /vmlinuz-2.6.38.8-32.fc15.i686 ro root=/dev/mapper/vg_moore0-lv_root rd_LVM_LV=vg_moore0/lv_root rd_LVM_LV=vg_moore0/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=uk rhgb quiet
	initrd /initramfs-2.6.38.8-32.fc15.i686.img
title WindowXP
	rootnoverify (hd0,0)
	chainloader +1
/etc/fstab

Code:
#
# /etc/fstab
# Created by anaconda on Sat Jun 18 12:00:44 2011
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/vg_moore0-lv_root /                       ext4    defaults        1 1
UUID=117ae55c-20d6-4fe7-af15-5c96853839b6 /boot                   ext4    defaults        1 2
/dev/mapper/vg_moore0-lv_home /home                   ext4    defaults        1 2
/dev/mapper/vg_moore0-lv_swap swap                    swap    defaults        0 0
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
/dev/sda1               /mnt/windows            ntfs    auto,user       0 0
fdisk -l
Code:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x7b54220b

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63   309251249   154625593+   7  HPFS/NTFS/exFAT
/dev/sda2       309252096   310276095      512000   83  Linux
/dev/sda3       310276096   976773119   333248512   8e  Linux LVM

Disk /dev/mapper/vg_moore0-lv_swap: 5301 MB, 5301600256 bytes
255 heads, 63 sectors/track, 644 cylinders, total 10354688 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/vg_moore0-lv_swap doesn't contain a valid partition table

Disk /dev/mapper/vg_moore0-lv_root: 53.7 GB, 53687091200 bytes
255 heads, 63 sectors/track, 6527 cylinders, total 104857600 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/vg_moore0-lv_root doesn't contain a valid partition table

Disk /dev/mapper/vg_moore0-lv_home: 282.2 GB, 282226327552 bytes
255 heads, 63 sectors/track, 34312 cylinders, total 551223296 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/vg_moore0-lv_home doesn't contain a valid partition table
I have read a number of issues related to this but I;m nowhere near solving.
The error makes sense in that I guess its looking for
kernel /upgrade/vmlinuz preupgrade repo=hd::/var/cache/yum/preupgrade ks=hd:UUID=117ae55c-20d6-4fe7-af15-5c96853839b6:/upgrade/ks.cfg
initrd /upgrade/initrd.img

but I could not find them on my system after the preupgrade.

Would really appreciate some guidance.
thanks.
 
Old 12-01-2011, 03:57 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
I'd say the upgrade was incomplete .. does /boot/upgrade/vmlinuz still exist? .. if not just start again.
 
Old 12-01-2011, 05:37 PM   #3
Moore
Member
 
Registered: Sep 2005
Posts: 49

Original Poster
Rep: Reputation: 15
Thanks for reply. Strange thing is that it seemed to complete fine. That dir, the upgrade dir, is not present though. But I even have the new f16 wall paper. When you say try over, I presume you mean simply perform the pre upgrade command again. I will try assuming nothing else has to be done at this point. Thanks.
 
Old 12-01-2011, 07:34 PM   #4
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
If everything looks ok then just clean up /boot/grub/menu.lst to remove the upgrade entry.
 
Old 12-01-2011, 11:34 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,103

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
Go look at the "Common Problems" on the fedoraproject site.

Consider yourself lucky you only have one disk. At this reboot you should probably be booting grub2 - have you got a sane grub.cfg under /boot/grub2 ?.
I did similar yesterday. Got around this, then fell into the caribou problem on x_64, then gnome-shell, ...
I'll be doing a full (clean) install tonight - as I have tended to do in the past. Did one pre-upgrade; it worked, I got cocky.
Tried again, and of course, it all went to hell in a hand-basket. Live and learn ...
 
Old 12-02-2011, 03:42 AM   #6
Moore
Member
 
Registered: Sep 2005
Posts: 49

Original Poster
Rep: Reputation: 15
So I ran the preupgrade again, but this time it says no releases available to upgrade.
Guess that makes sense, since it has already ran thru the f16 upgrade. (even though kbp suggests it may not have completed)

In my /boot dir there is a grub and grub2 directory.

In grub2, there is a grub.cfg but it is empty.


In /boot, there is no upgrade directory.
However there is a vmlinuz-3.1.2-1.fc16.i686 file and initramfs-3.1.2-1.fc16.i686.img file (along with the older fc15 stuff)

Code:
[root@moore0 boot]# ls -lrt
total 61873
-rw-r--r--. 1 root root   176760 Mar  7  2011 memtest86+-4.20
-rw-r--r--. 1 root root   178436 Mar  7  2011 elf-memtest86+-4.20
drwxr-xr-x. 3 root root     1024 May 13  2011 efi
-rwxr-xr-x. 1 root root  3806192 Jun 13 21:06 vmlinuz-2.6.38.8-32.fc15.i686
-rw-------. 1 root root  1852537 Jun 13 21:06 System.map-2.6.38.8-32.fc15.i686
-rw-r--r--. 1 root root   120082 Jun 13 21:06 config-2.6.38.8-32.fc15.i686
drwx------. 2 root root    12288 Jun 18 11:53 lost+found
-rw-r--r--. 1 root root 14017516 Jun 19 10:23 initramfs-2.6.38.8-32.fc15.i686.img
-rwxr-xr-x. 1 root root  3852208 Jul  6 16:00 vmlinuz-2.6.38.8-35.fc15.i686
-rw-------. 1 root root  1857020 Jul  6 16:00 System.map-2.6.38.8-35.fc15.i686
-rw-r--r--. 1 root root   120094 Jul  6 16:00 config-2.6.38.8-35.fc15.i686
-rw-r--r--. 1 root root 14016153 Jul 21 15:24 initramfs-2.6.38.8-35.fc15.i686.img
-rwxr-xr-x. 1 root root  4066496 Nov 22 09:01 vmlinuz-3.1.2-1.fc16.i686
-rw-------. 1 root root  1902316 Nov 22 09:01 System.map-3.1.2-1.fc16.i686
-rw-r--r--. 1 root root   124475 Nov 22 09:01 config-3.1.2-1.fc16.i686
-rw-r--r--. 1 root root  1582979 Nov 30 21:44 initrd-plymouth.img
drwxr-xr-x. 2 root root     1024 Nov 30 22:00 grub2
-rw-r--r--. 1 root root 15643532 Nov 30 22:14 initramfs-3.1.2-1.fc16.i686.img
drwxr-xr-x. 2 root root     1024 Dec  1 17:17 grub
[root@moore0 boot]#

First time using the preupgrade too so a bit lost. Should I just bite the bullet and do a full install? Its a 64 bits system but using 32 bit OS so I wouldnt have the typical issues associated with 64 bit install.
thanks for replies.
 
Old 12-02-2011, 03:59 AM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,103

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
To be honest, this F16 preupgrade just seems a (bigger) mess.
As I said, I've given up on it - my system is such a schemozzle now. I have a separate /home partition - it may be worth you while doing likewise. Note the change in base uid/gid with F16, so trying to use a common /home will get "interesting" especially if you try to fallback to F15.

Note my sigline.
 
Old 12-02-2011, 04:23 AM   #8
Moore
Member
 
Registered: Sep 2005
Posts: 49

Original Poster
Rep: Reputation: 15
your experienced opinion is good enough for me.
I'm going to leave it for now and may perform a full clean install at some stage later when I have the time.

thanks for your input.
 
Old 12-02-2011, 07:32 PM   #9
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
Found the problem, it just happened to me as well ... https://bugzilla.redhat.com/show_bug...iple&id=751131

Preupgrade didn't handle the grub -> grub2 migration gracefully, /boot/grub2/grub.cfg is created blank.

Try the following :-

Code:
grub2-mkconfig -o /boot/grub2/grub.cfg
grub2-install /dev/sda
.. and reboot.
 
1 members found this post helpful.
Old 12-04-2011, 05:55 AM   #10
Moore
Member
 
Registered: Sep 2005
Posts: 49

Original Poster
Rep: Reputation: 15
that seemed to work sweet.
I'm up and running now and hopefully it will remain that way.
thanks ever so much!
 
Old 12-05-2011, 04:31 AM   #11
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,103

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
And just as a clean-up note ...

My system was completely toast. I tried recoveries, rebuilds, finally a re-install over the top.
Even then the grub install fsck'd up. The Fedora devs have excelled themselves this time.

It's now working, but no help to them.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
F15 "Failed to execute default file manager" error xtiansimon Linux - Software 3 08-31-2011 12:15 PM
[SOLVED] Errors executing shell script: "command not found" and "no such file or directory" eko000 Linux - Newbie 1 01-14-2011 07:54 AM
[SOLVED] cannot open Places>Home Folder --- getting " error, file not found " uriri Linux - Newbie 1 01-13-2011 06:59 AM
LFS6.3 - Ch5.4.1 "/bin/sh sort not found" error at "make bootstrap" ubyt3m3 Linux From Scratch 2 06-23-2008 12:09 AM
DNS error : "localhost.zone file not found" rajat Linux - Server 2 04-25-2007 11:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration