Ask Your Question
0

Anaconda Install only creates 3 files and 1 folder in home/<username> directory

asked 2017-10-24 21:39:22 -0500

suvretta gravatar image

updated 2017-10-25 17:13:01 -0500

I'm currently using Fedora F26 Gnome and F26 KDE in two separate partitions on my laptop. I am trying to install F27 gnome in another partition but cannot get the install to work. I have also tried installing F27 XFCE and F26 XFCE but get the same problem and failure to boot.

In all cases my home/<username> folder in the new installation only contains 4 items -

.mozilla folder .bashlogout file .bashprofile file .bashrc file

Nothing else is in the home/<username> folder. And the boot fails just before the login screen - with the screen freezing (black screen with cursor in top left corner) and no keyboard response.

The laptop is a macbook pro with nvidia but I have added nomodeset to the linux line in the grub.cfg. The installs are done with a USB stick made with a downloaded ISO and Fedora Media Writer.

I had no major problems installing F26 gnome and F26 kde and want to continue using Fedora but I've spent the last 2 days trying to do another Fedora install without any success.

If anyone can shed some light on what's going wrong with my install that would be most appreciated.

edit retag flag offensive close merge delete

Comments

Welcome to ask.fedora. I don't know why Anaconda isn't populating your home folder correctly, but I don't think it's the main issue. More important is the fact that boot fails before you reach the login screen. I'd suggest comparing the line in /boot/grub2/grub.cfg that loads vmlinuz with the one in the install that fails and see what command line arguments are different, if any.

sideburns gravatar imagesideburns ( 2017-10-25 18:03:46 -0500 )edit

Thanks for your suggestion sideburns - the command line arguments are the same:

After the root=UUID=......... is 'ro nomodeset'

I wonder if it has something to do with installing on an existing partition - even though I ticked the option to reformat the partition during the Anaconda install?

suvretta gravatar imagesuvretta ( 2017-10-25 20:25:17 -0500 )edit

No, I've installed that way a number of times with no problems. Once the partition's been reformatted, there's nothing left of your old install to make trouble. Is what you quoted all that's there, because there should be more. In my case, it's ro rhgb quiet LANG=en_US.UTF-8 on all of the entries, except rescue, which leaves out the last item.

sideburns gravatar imagesideburns ( 2017-10-25 20:42:47 -0500 )edit

I added rhgb quiet LANG=en_US.UTF-8 to the vmlinuz line in the grub.cfg but still no luck. I'm now wondering if my install problems are somehow related to SELinux.

suvretta gravatar imagesuvretta ( 2017-10-25 21:45:42 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-10-26 05:13:38 -0500

villykruse gravatar image

Anaconda is only installing files and directories it finds in /etc/skel into the user home directories. The desktop environment will create additional files and directories when you log in the first time. For a typical installation it would be only those three files and the .mozilla directory you mentioned.

Anyway, this has nothing to do with your real problem, as the contents of your home directory is not relevant for the login process -- the login program (gdm for example) cannot know which home directory would be used until after you provide your username and password.

If you later install for example zsh you can find the default .zshrc in /etc/skel.

edit flag offensive delete link more

Comments

Thanks for the explanation. I'm looking at the Xorg log now & I see a lot of problems with the video driver & missing config files. So I'll probably post another question in relation to that issue.

suvretta gravatar imagesuvretta ( 2017-10-26 16:46:29 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2017-10-24 21:39:22 -0500

Seen: 81 times

Last updated: Oct 26 '17