migrating to new disk - selinux problem?

Petr Fischer petr.fischer at praguesoft.cz
Tue Feb 14 20:39:08 UTC 2006


One additional question:
Is copying root filesystem with "cp -ax" sufficient method?

Thanks, pf

Daniel J Walsh píše v Út 14. 02. 2006 v 12:43 -0500:
> Petr Fischer wrote:
> > Hi!
> >
> > I need to migrate to new hard-disk.
> >
> > My steps:
> >
> > 1) booted FC4 install CD and created LVM structures with anaconda (on
> > new disk)
> >         100MB boot ext3 partision 
> >         100GB LVM partition named "PFNOTES"
> >                 4GB logical volume for swap named "SWAP"
> >                 96GB logical volume for root filesystem named "ROOT"    
> > 2) copied old root filesystem to new disk with: cp -ax
> > 3) edited NEW_ROOT/etc/fstab & NEW_BOOT/grub/grub.conf
> > 4) unplugged old disk and rebooted - OK
> >
> > If I login as root, this message occurs:
> > ------
> > Yout default context is root:system_r:kernel_t.
> >
> > Do you want to choose a different one? [n]
> > ------
> >
> > Relabel did not help.
> >
> > What is wrong? Thanks very much, pf
> >
> >   
> You need to relabel.
> In permissive mode.
> 
> touch /.autorelabel
> reboot
> 




More information about the fedora-list mailing list