Re: F12 -> F14 Preupgrade Issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7 November 2010 18:49, JB <jb.1234abcd@xxxxxxxxx> wrote:
> JB <jb.1234abcd <at> gmail.com> writes:
>
>>
>> Dave Cross <davorg <at> gmail.com> writes:
>>
>> > ...
>> > #boot=/dev/sda
>> > default=1
>> > timeout=5
>> > splashimage=(hd0,4)/boot/grub/splash.xpm.gz
>> > hiddenmenu
>>
>> Please modify /etc/grub.conf as below:
>> default=0
>> # hiddenmenu
>>
>> Reboot.
>> JB
>>
>
> Hi,
> I got your response by e-mail.
> It took half an hour for me to see my post in the gmane reader (on the fedora
> list it was seen immediatelly). Oh well, sleepy Sunday at gmane today :-)
>
> Make one more change to to /etc/grub.conf again, so you can manage it easily
> between the Preupgrade and your kernels (increase timeout to 20):
>
> default=0
> timeout=20
> # hiddenmenu

Done.

> Now back to the problem.
>
> Give me outpt of:
> # ls -al /boot/upgrade/

$ ls -al /boot/upgrade/
total 187604
drwxr-xr-x  2 root root      4096 2010-11-06 08:55 .
dr-xr-xr-x. 5 root root      4096 2010-11-06 08:25 ..
-rw-r--r--  1 root root  31252083 2010-10-21 19:16 initrd.img
-rw-r--r--  1 root root 157143040 2010-11-06 09:12 install.img
-rw-r--r--  1 root root       293 2010-11-06 08:31 ks.cfg
-rw-r--r--  1 root root   3696448 2010-10-21 19:16 vmlinuz

> # ls -al /var/cache/yum/

$ ls -al /var/cache/yum/
total 308
drwxr-xr-x. 16 root root   4096 2010-11-06 08:24 .
drwxr-xr-x. 17 root root   4096 2010-02-10 20:19 ..
drwxr-xr-x.  3 root root   4096 2010-02-10 19:19 i386
drwxr-xr-x   4 root root 249856 2010-11-06 10:28 preupgrade
drwxr-xr-x   3 root root   4096 2010-11-06 09:12 preupgrade-adobe-linux-i386
drwxr-xr-x   3 root root   4096 2010-11-06 09:15 preupgrade-fedora
drwxr-xr-x   3 root root   4096 2010-11-06 09:15 preupgrade-google
drwxr-xr-x   3 root root   4096 2010-11-06 09:15 preupgrade-google-chrome
drwxr-xr-x   3 root root   4096 2010-07-11 10:26 preupgrade-livna
drwxr-xr-x   3 root root   4096 2010-07-11 10:26 preupgrade-magnum
drwxr-xr-x   3 root root   4096 2010-11-06 08:23 preupgrade-main
drwxr-xr-x   3 root root   4096 2010-11-06 09:15 preupgrade-rpmfusion-free
drwxr-xr-x   3 root root   4096 2010-11-06 09:15
preupgrade-rpmfusion-free-updates
drwxr-xr-x   3 root root   4096 2010-11-06 09:15 preupgrade-rpmfusion-nonfree
drwxr-xr-x   3 root root   4096 2010-11-06 09:15
preupgrade-rpmfusion-nonfree-updates
drwxr-xr-x   3 root root   4096 2010-11-06 09:15 preupgrade-updates

> # findfs UUID=f8a71551-f7b7-45ef-b1d8-057f4cf69482

$ findfs UUID=f8a71551-f7b7-45ef-b1d8-057f4cf69482
/dev/sda5

> # cat /boot/upgrade/ks.cfg

$ cat /boot/upgrade/ks.cfg
# ks.cfg generated by preupgrade
lang en_US.UTF-8
keyboard uk
bootloader --upgrade --location=none
clearpart --none
upgrade --root-device=UUID=f8a71551-f7b7-45ef-b1d8-057f4cf69482
reboot


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


> Make a backup of
> # cp /etc/grub.conf /etc/grub.conf-backup
>
> and then reduce number of Linux kernel boot items in the original to the first
> two (2):
> ...
> title Upgrade to Fedora 14 (Laughlin)
>        kernel /boot/upgrade/vmlinuz preupgrade
> repo=hd::/var/cache/yum/preupgrade
> ks=hd:UUID=f8a71551-f7b7-45ef-b1d8-057f4cf69482:/boot/upgrade/ks.cfg
> stage2=hd:UUID=f8a71551-f7b7-45ef-b1d8-057f4cf69482:/boot/upgrade/install.img
>        initrd /boot/upgrade/initrd.img
> title Fedora (2.6.32.23-170.fc12.i686.PAE)
>        root (hd0,4)
>        kernel /boot/vmlinuz-2.6.32.23-170.fc12.i686.PAE ro
> root=UUID=f8a71551-f7b7-45ef-b1d8-057f4cf69482  LANG=en_US.UTF-8
> SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=uk rhgb quiet
> rdblacklist=nouveau
>        initrd /boot/initramfs-2.6.32.23-170.fc12.i686.PAE.img
> ...
>
> I see you appended to your working regular kernel lines
> rdblacklist=nouveau
> How about appending it to your Preupgrade kernel line:
> ...
> rdblacklist=nouveau
> initrd /boot/upgrade/initrd.img
> ...

All done.

> Give it a shot and reboot to start Preupgrade.

About to restart. I'll report on the results as soon as I can.

> In the meantime I will take a look at your response data.

Thanks,

Dave...

-- 
Dave Cross :: dave@xxxxxxxxxxx
http://dave.org.uk/
@davorg
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux