Bug 587185 - Installation failed in kickstart after preupgrade
Summary: Installation failed in kickstart after preupgrade
Alias: None
Product: Fedora
Classification: Fedora
Component: preupgrade
Version: 12
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2010-04-29 09:45 UTC by He Rui
Modified: 2010-05-25 07:32 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-05-25 07:32:39 UTC
Type: ---

Attachments (Terms of Use)
kickstart install error (29.81 KB, image/png)
2010-04-29 09:45 UTC, He Rui
no flags Details
anaconda log from ivan (5.05 KB, text/plain)
2010-04-29 23:03 UTC, Iván Jiménez
no flags Details
My ks.cfg (283 bytes, application/octet-stream)
2010-04-30 00:00 UTC, Juan Manuel Rodriguez
no flags Details
Anaconda log from Nushio (5.28 KB, text/plain)
2010-04-30 00:21 UTC, Juan Manuel Rodriguez
no flags Details

Description He Rui 2010-04-29 09:45:28 UTC
Created attachment 410051 [details]
kickstart install error

Description of problem:
Install f12 x86_64 with 500M /boot, then preupgrade. After it finished and reboot, kickstart install failed with the error screen saying: The root for the previous installed system were not found. 
Version-Release number of selected component (if applicable):
anaconda 13.38

How reproducible:

Steps to Reproduce:
1. Install f12 x86_64 with 500M /boot
2. On the installed system, preupgrade to 13.
3. Click reboot after finishing.
4. Kickstart install failed with error screen(attached.)

Comment 1 James Laska 2010-04-29 14:34:58 UTC
Thanks for the bug report Hurry.  Do you have this system around still?  Are you able to attach the grub.conf prior to rebooting into upgrade.  Can you also change to tty2 and attach /tmp/anaconda.log when you see the error shown in the attached screenshot?


Comment 2 Iván Jiménez 2010-04-29 23:03:31 UTC
Created attachment 410258 [details]
anaconda log from ivan

Comment 3 Iván Jiménez 2010-04-29 23:06:56 UTC
Ups, bugzilla ate my comment, here it's again:

I can reproduce this on f12 x86_64 bare metal. I attached anaconda.log; partition layout is:

/dev/sda1               1           7       56196    6  FAT16
/dev/sda2               8         399     3148740    c  W95 FAT32 (LBA)
/dev/sda4             426       19452   152834377+   5  Extendida
/dev/sda5             426       16361   128000000   83  Linux
/dev/sda6   *       16361       17891    12287999+  83  Linux
/dev/sda7           17891       18400     4095999+  83  Linux

root fs is on sda6

anaconda 13.38 (with 290420010 install.img)

Comment 4 Juan Manuel Rodriguez 2010-04-29 23:43:45 UTC
I got hit with this bug too. 

I'll try to detail as much as I can on what I did. 

I put a Fresh Copy of Fedora 12 i686 LiveCD and installed it on a completely wiped Hard drive with only one gigantic / partition, and one 1024mb swap partition. 

I proceeded to update Fedora 12. Installed OpenOffice, emesene, messed with Gnome's config a bit, then rebooted and ran Preupgrade (Graphical one), and selected Fedora 13 (Branch). 

After all was done downloading, it boot into the pretty anaconda. After 5-6 mins in, the screen went blank. I thought it kicked in the screensaver, but moving the mouse wouldn't do anything. Hitting the Caps lock didn't light any keyboard lights, and ctrl-alt-f1/f2/f7 didn't bring any text input. (Side note: Function-Wireless did toggle bluetooth/wifi)

I ended up shutting off the computer entirely after 30 or 40 mins of staring onto the blank screen. Tried to run the Upgrade Process again, and no luck. Said no "install.img" was found. 

Ended up back on Fedora 12, but Gnome had no panels, and alt-f2 didn't pop up anything. I ended up running preupgrade-cli from terminal. It downloaded some packages. Reboot into Anaconda, and the cute "The root for the previous installed system were not found. " popped up. 

I'll attach logs when I get them.

Comment 5 Juan Manuel Rodriguez 2010-04-30 00:00:11 UTC
Created attachment 410274 [details]
My ks.cfg

After running preupgrade-cli, this is the ks.cfg I have.

Comment 6 Juan Manuel Rodriguez 2010-04-30 00:21:36 UTC
Created attachment 410278 [details]
Anaconda log from Nushio

Comment 7 Iván Jiménez 2010-04-30 21:23:13 UTC
I think this should be reassigned to anaconda, because I can reproduce it without preupgrade; just putting vmlinuz, initrd.img and install.img in /boot and booting from that I never get an option to upgrade, so anaconda never finds f12's root.

Also, problem here is that it mounts sda5 (DEBUG anaconda: isys.py:mount()- going to mount /dev/sda5 on /mnt/sysimage as ext4 with options ro) which is /home and then fails (DEBUG anaconda: No upgrade root was found). Even if I explicitly use upgrade with --root-device=sda6 in ks, it still mounts sda5.

Comment 8 He Rui 2010-05-25 07:32:39 UTC
It was the bug of anaconda 13.38, and verified it fixes in anaconda 13.42 after preupgrading.

Note You need to log in before you can comment on or make changes to this bug.