/etc/crypttab
/etc/fstab
Important — Access to Software Repositories Might Be Required
root
account:
su -
yum groupinstall "X Window System" Desktop
yum groupinstall "X Window System" "KDE Desktop"
rm -f /etc/systemd/system/default.target
ln -s /lib/systemd/system/graphical.target
/etc/systemd/system/default.target
reboot
command. Your system will restart and present a graphical login.
root
account:
su -
mkdir -p /path/to/repo
/mnt/repo
cat /proc/sys/dev/cdrom/info
. The first CD or DVD drive on the system is typically named sr0
. When you know the device name, mount the DVD:
mount -r -t iso9660 /dev/device_name /path/to/repo
mount -r -t iso9660 /dev/sr0 /mnt/repo
mount -r -t iso9660 -o loop /path/to/image/file.iso /path/to/repo
mount -r -o loop /home/root/Downloads/Fedora20-Server-i386-DVD.iso /mnt/repo
/dev/sdb
that is not automatically mounted at boot time and which has an image file stored in a directory named Downloads
on its first partition:
mkdir /mnt/temp
mount /dev/sdb1 /mnt/temp
mkdir /mnt/repo
mount -r -t iso9660 -o loop /mnt/temp/Downloads/Fedora-20-i386-DVD.iso /mnt/repo
mount
command to obtain a list of current mounts. If you are not sure of the device name or partition number of a storage device, run fdisk -l
and try to identify it in the output.
/etc/yum.repos.d/
directory. The name of the file is not important, as long as it ends in .repo
. For example, dvd.repo
is an obvious choice.
vi /etc/yum.repos.d/dvd.repo
insert
mode.
[dvd] baseurl=file:///mnt/repo/Server enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
[dvd]
. The name is not important, but you should choose something that is meaningful and recognizable.
baseurl
should contain the path to the mount point that you created previously.
insert
mode.
:wq
and press the Enter key to save the file and exit the vi text editor.