F17 vs. Pentium 4

Felix Miata mrmazda at earthlink.net
Mon Apr 9 06:01:32 UTC 2012


On 2012/04/08 17:08 (GMT-0500) Michael Hennebry composed:

> Felix Miata wrote:

>>  On 2012/04/06 15:24 (GMT-0500) Michael Hennebry composed:

>>>  On Fri, 6 Apr 2012, Felix Miata wrote:

>>>>   How about "cloning" your F15, and upgrading that to F16 with latest fixes
>>>>   with Yum?

> I made a filesystem in a new partition and copied to it as follows:

Booted to what? File copy can't be expected to work satisfactorily if source 
is running.

> from /media as root:
> cp -a sata400-3-slash/* sata-400-17

You have far more confidence in the competency of cp than I. Until last week, 
I'd never cloned a partition except by one of two ways: 1-DFSee (sector by 
sector); 2-MC, however it manages. Last time I tried MC I ran into trouble 
that probably was little different from what you just did, so last week I 
switched to doing file copies via rsync.

> I edited the target's fstab.
> LABEL=sata400-17        /    ext3    defaults        1 1

>>  Just be sure that the first thing done after cloning is ensuring UUID and
>>  volume label on copy and clone do not match, and that on the clone fstab and
>>  Grub's menu are matched to the clone's location. Also, a typical cloning
>>  process does not clone Grub. That invariably must be done separately. Failing
>>  the fstab&  Grub menu post-cloning steps would almost surely result in damage
>>  to the F15 source, if not complete destruction, once is upgrade is begun.

> My first F15 install includes four partitions,
> one for / , one for /boot and two for swap.
> The copy uses the same /boot and swap partitions.

I suppose someone with a lot of experience could get away with sharing a 
/boot partition, but based upon your experiences of the past month I wouldn't 
expect that group to include you. I would have merged the content of the 
/boot partition into the /boot directory on the new /.

> Here are my grub stanzas:
> title Fedora 15 (2.6.42.12-1.fc15.i686.PAE)  sdb17
>   	root (hd1,1)
>   	kernel /vmlinuz-2.6.42.12-1.fc15.i686.PAE ro root=/dev/sdb17
>   	initrd /initramfs-2.6.42.12-1.fc15.i686.PAE.img

Leaving off some of those cmdline options could be a problem. I'm not 
familiar with all of them, and so would have included all I don't understand.

> title Fedora 15 (2.6.42.12-1.fc15.i686.PAE)  sdb3
>   	root (hd1,1)
>   	kernel /vmlinuz-2.6.42.12-1.fc15.i686.PAE ro root=UUID=ce978949-d044-4020-8001-02454648a64e rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet
>   	initrd /initramfs-2.6.42.12-1.fc15.i686.PAE.img

> I can boot sdb3.
> sdb17 fails.
> The last line before catatonia included:
> systemd-readahead-collect[406]: Failed to open pack file Permission denied
> There were other failures, but I mostly don't remember what they wer.
> One mentioned systemctl states and NetworkManager.service .

> Any ideas?

1-Do it again with rsync or a program designed specifically for cloning.
2-Merge /boot partition into the new /.
3-Either find out if any of those cmdline options can play a part in the 
problem and put back the ones you don't know you don't need, or add them all 
back except rhgb & quiet
4-Add option enforcing=0 to cmdline to ensure SELinux isn't in the way
5-Use the Grub on hd1,1 to start both, but for the clone include a hd1,16 
configfile stanza until you get it booted, then install Grub on sdb17 and 
afterward chainload from hd1,1 to hd1,16, where updates will ultimately be 
applied to grub.conf only for the clone on account of new kernels.
-- 
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

  Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/


More information about the test mailing list