Re: relabel

2014-04-30 Thread Patrick O'Callaghan
On Tue, 2014-04-29 at 12:03 -0700, Dan Thurman wrote: > You are top-posting! IIRC he's using a severely broken webmail system which doesn't even do threading correctly. poc -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedorapro

Re: relabel

2014-04-29 Thread Dan Thurman
On 04/29/2014 11:58 AM, Patrick Dupre wrote: Thank, I know, but I guess that there is an option from grub2 by setting something!! On 04/29/2014 11:46 AM, Patrick Dupre wrote: Hello, I guess that I can force the relabel of a disk or partition at boot by using grub2, but I cannnot rememeber h

Re: relabel

2014-04-29 Thread Patrick Dupre
Thank, I know, but I guess that there is an option from grub2 by setting something!! > On 04/29/2014 11:46 AM, Patrick Dupre wrote: > > Hello, > > > > I guess that I can force the relabel of a disk or partition at boot > > by using grub2, but I cannnot rememeber how to do it!! > > > > Thank for

Re: relabel

2014-04-29 Thread Richard Shaw
On Tue, Apr 29, 2014 at 1:46 PM, Patrick Dupre wrote: > Hello, > > I guess that I can force the relabel of a disk or partition at boot > by using grub2, but I cannnot rememeber how to do it!! You can use Dan's method or this link has a grub option: http://fedoraproject.org/wiki/Zh/HowTo/SELinu

Re: relabel

2014-04-29 Thread Dan Thurman
On 04/29/2014 11:46 AM, Patrick Dupre wrote: Hello, I guess that I can force the relabel of a disk or partition at boot by using grub2, but I cannnot rememeber how to do it!! Thank for your help. === Patrick DUPRÉ

Re: relabel

2013-12-27 Thread Patrick Dupre
Hello Chris, > > > > I am back with you. > > Thinking about your suggestion. > > How did you clone it? Did you use cp? Did you use rsync? What was the exact > command? > > > > I generate a file: /boot/grub2/grub.cfg > > Did you use chroot at all? Yes I did That is, did you mount the clone's

Re: relabel

2013-12-27 Thread Chris Murphy
On Dec 27, 2013, at 6:45 PM, "Patrick Dupre" wrote: > Hello Chris, > > I am back with you. > Thinking about your suggestion. How did you clone it? Did you use cp? Did you use rsync? What was the exact command? > I generate a file: /boot/grub2/grub.cfg Did you use chroot at all? That is, di

Re: relabel

2013-12-27 Thread Patrick Dupre
Hello Chris, I am back with you. Thinking about your suggestion. I generate a file: /boot/grub2/grub.cfg and a file initramfs but these files are on the clone. If I understand (I guess) the point in generating a new initramfs, I do not see the point in generating a new grub.cfg file since it is no

Re: relabel

2013-12-26 Thread Tom H
On Thu, Dec 26, 2013 at 12:18 PM, Patrick Dupre wrote: > > I try to uncompress the new img, but it does not work > cpio -i -d -H newc -F ../initramfs-3.12.5-200.fc19.i686.PAE.img > --no-absolute-filenames > > cpio: premature end of file It's gzipped too. gzip -dc ../initramfs-3.12.5-200.fc19.i6

Re: relabel

2013-12-26 Thread Patrick Dupre
Hello Chris, Thank for your help. I did exactly like you said, but the result is the same as before. I am sure that the issue is with the initramfs. According to the tests that I made. it is probably due to the /boot which is not found However, how can I know exactly what is going on? I try to u

Re: relabel

2013-12-25 Thread Chris Murphy
On Dec 25, 2013, at 5:48 PM, Patrick Dupre wrote: > Hello, > > I wanted to clone my distribution fedora 19, I used to do it with > previous release but I failed with fedora 19. > > I copy (-a) the partition / (lvm2) and /boot (ext4) You probably need to remake the initramfs. The easiest way t

Re: relabel

2013-12-25 Thread Patrick Dupre
Hello, I wanted to clone my distribution fedora 19, I used to do it with previous release but I failed with fedora 19. I copy (-a) the partition / (lvm2) and /boot (ext4) I ran: grub2-mkconfig -o /boot/grub2/grub.cfg fixfiles relabel (the new partitions) the file grub.cfg seems OK. To try to ha

Re: relabel

2013-12-25 Thread Frank Murphy
On Wed, 25 Dec 2013 18:46:35 +0100 "Patrick Dupre" wrote: > Hello, > > I dupliqued a distribution. > I propably need to relabel the partitions. > and/or run restorecon > How I do it in fedora19 ? > > Thank. > sudo fixfiles onboot # then reboot -- Regards, Frank www.frankly3d.com -- user