Install Fedora by hand ... feeling brave :-)

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

 



Hi, I'm keen to install F22 on a laptop (shared with windows 7), but the
installer bugs out due to problems in libparted when reading my disk
(bz: 1223111):
https://bugzilla.redhat.com/show_bug.cgi?id=1223111

The machine boots and runs the live iso via usb, but also can't do
install to the HD due to the above.

So, what would it take to set up Fedora by hand ?

My first go is:
boot live iso to runlevel 2
login: root

mount /dev/sda6 /mnt
mount /dev/sda5 /mnt/boot
mount /dev/sda7 /mnt/home
mount --bind /dev /mnt/dev
mount --bind /proc /mnt/proc
mount --bind /sys /mnt/proc
mount -t tmpfs  tmpfs  /mnt/tmp ???

dnf --installroot=/mnt install filesystem kernel firefox grub2  grubby
(workstation stuff)

chroot /mnt
passwd

dnf reinstall kernel (to make initrd creation work.)

useradd myuser
passwd myuser
usermod -G wheel ??

grub2-install /dev/sda
grub2-mkconfig -o /boot/grub2/grub.cfg

What other things will I need to do / what does Anaconda do ?

My first effort looks like it may be hanging/dying on selinux parts; I
was able to /etc/selinux/config to turn is to DISABLED and add selinux=0
to kernel command line.

Since all my files are installed without SE context, boot fails with SE
enforcing. If SE disabled then restorecon etc don't work. What's the
steps, to bootstrap selinux ?

I imagine someone has done / documented this before, but google search
not fruitful.
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux