f11 to f12 with preugrade doesn't find root device

Gianluca Cecchi gianluca.cecchi at gmail.com
Tue Nov 17 17:19:53 UTC 2009


hello,
F11 x86_64 updated.
Installed preupgrade package and run preupgrade successfully with target F12
(Costantine).

When I boot and choose the line created in grub.conf:

title Upgrade to Fedora 12 (Constantine)
        kernel /upgrade/vmlinuz preupgrade
repo=hd::/var/cache/yum/preupgrade
stage2=hd:UUID=4d1780d4-6bbd-449c-8932-f12bb1d40990:/upgrade/install.img
ks=hd:UUID=4d1780d4-6bbd-449c-8932-f12bb1d40990:/upgrade/ks.cfg
        initrd /upgrade/initrd.img

I get an error that previous root device could not be found, forced to exit
installer....

Reboot in F11, doing some debug:

df -k gives:
[root ~]# df -k
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/vg_virtfed-lv_root
                      12381360   8580336   3172108  74% /
/dev/cciss/c0d0p1       198333    163474     34859  83% /boot
tmpfs                  6104292         0   6104292   0% /dev/shm

root filesystem (on LV, I imagine supported...)
[root ~]# tune2fs -l /dev/mapper/vg_virtfed-lv_root | grep UU
Filesystem UUID:          fa312b21-9db9-4ddc-b8eb-684cfb076941

/boot filesystem on partition:
[root ~]# tune2fs -l /dev/cciss/c0d0p1 | grep UU
Filesystem UUID:          4d1780d4-6bbd-449c-8932-f12bb1d40990

[root ~]# ll /boot/upgrade/
total 146584
-rw-r--r-- 1 root root  23540852 2009-11-09 01:06 initrd.img
-rw-r--r-- 1 root root 122544128 2009-11-09 01:07 install.img
-rw-r--r-- 1 root root       276 2009-11-17 17:26 ks.cfg
-rw-r--r-- 1 root root   3423296 2009-11-09 01:06 vmlinuz

ks.cfg created by preupgrade contains:
# ks.cfg generated by preupgrade
lang en_US.UTF-8
keyboard us
bootloader --upgrade --location=none
upgrade --root-device=UUID=fa312b21-9db9-4ddc-b8eb-684cfb076941
reboot


%post
grubby --remove-kernel=/boot/upgrade/vmlinuz
rm -rf /boot/upgrade /var/cache/yum/preupgrade*
%end

so the rott device and other things seems ok....
Only the bootloader string is not quite clear... donna if created wrong or
not...

Thanks for help,
Gianluca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-test-list/attachments/20091117/5de7989f/attachment.htm>


More information about the fedora-test-list mailing list