Re: encrypting /home partition post-install

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

 



On Sun, 29 Nov 2015 20:29:09 -0800 Gordon Messmer <gordon.messmer@xxxxxxxxx> wrote:

> On 11/29/2015 05:59 PM, Ranjan Maitra wrote:
> > Thanks! I was wondering about this some more. Can I not put this tool
> > luksipc on a LiveCD and then compile and run it from there? Then the
> > actual disks would be "offline", isn't that correct?
> 
> Yes, but you don't really need to do that.  You just need to unmount the 
> filesystem you want to encrypt.

But there is only one filesystem (/dev/sda) and one HDD on these two laptops. Therefore, I am not sure how to do this other than through going in through a LiveCD.
 
> > Btw, I also tried building an RPM of the tool. But I am stuck in the
> > step of installing in the spec file.
> ...
> > %install
> > (what do I put in here?)
> 
> Maybe:
> 
> install -d $RPM_BUILD_ROOT/%{_bindir}
> install -m 755 luskipc $RPM_BUILD_ROOT/%{_bindir}/luksipc

Thanks! I tried this but get the following error (also posted in response to Michael's suggestion).

+ install -m 755 luskipc /home/maitra/rpmbuild/BUILDROOT/luksipc-0.04-1.fc23.x86_64//usr/bin/luksipc
install: cannot stat 'luskipc': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.lyU1cP (%install)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.lyU1cP (%install)

Any other suggestions? The SPEC file is here:

$ fpaste luksipc.spec
Uploading (2.0KiB)...
WARNING: Could not shorten URL
http://paste.fedoraproject.org/295774/88887881

Thanks again!
Ranjan

____________________________________________________________
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
Check it out at http://www.inbox.com/earth


-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[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