Ask Your Question
2

Fedora 21 install by copying

asked 2015-03-15 08:39:21 -0500

x0rzz0r gravatar image

updated 2015-03-15 13:58:14 -0500

mether gravatar image

I am looking to set up Fedora, but I have various problems with the Anaconda installer(getting many errors and I'd also like to do my partitioning manually). So I was wondering - can I instead, get the files from a successful installation and just copy them on my partitions? That is - are there any hardware specific processes that happen during the installation(besides configuring networking interfaces maybe and .. I don't know what?? Since most drivers(kernel modules) are part of the kernel tree I think they will be there regardless of the actual hardware configuration).

So what are the downsides to said approach if it works? I currently am an Arch user but I am mostly migrating for the ease of use and added stability(plus I think maybe I will like the complexity of the RPM's against the simple tar.xz arch packages).

Also how complex is the setting up of LUKS with said configuration(I'm already familiar with the process when using Arch - creating an initrd hook and regenerating the file + kernel parameters in grub.cfg). Since most people use Fedora with the tools out of the box - I am really wondering if it's fine for me - since I am used to DIY stuff, yet would like to have the best of both worlds. I am not afraid of complex processes - instead of lack of information since those processes are automated.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2015-03-15 10:42:14 -0500

lsatenstein gravatar image

For the most part, yes. You must copy all files, (hidden or other. You must be able to change several files after the copy. One is /etc/fstab which will have UUID entries. Another may be the mac address for the network card.

You would then boot with a recovery flashdrive entry, do the switch to the sysimage and run the grub2-install /dev/..... So that your new system will boot.

I have not checked, but there may already exist somewhere, some migration software to help you do what it is you want to do.

edit flag offensive delete link more

Comments

Yes, I am familiar with all of those, so you're saying it's okay, and there won't be any missing kernel modules for example. So if that's true I am wondering what's the point to the installer?

Now onto question 2 - how easy is it to setup custom storage considering LUKS needs hooks(basically copying cryptsetup+libs to initrd)? In Arch I just have to create a script or two and rebuild my initrd. But here probably plymouth is being used and I will have to disable that first I guess?(using luks with plymouth has been a buggy experience and plymouth as a whole slows down the booting process).

x0rzz0r gravatar imagex0rzz0r ( 2015-03-15 12:26:06 -0500 )edit

Question Tools

Stats

Asked: 2015-03-15 08:39:21 -0500

Seen: 106 times

Last updated: Mar 15 '15