New answers tagged

1

You don't encrypt the /boot partition. This partition is what boots and decrypts the rest of the system.


0

I have been searching for this solution whole day, After quite a lot of googling . It has worked . I have changed only one line in ks.cfg ** # Use CDROM installation media #cdrom url --url="http://192.168.1.215/rhel" // only added = and "" only # Use graphical install graphical ** Repeat of steps again for others: Server Setup: using http webdir= ...


1

you set up defines a CD install, but your kick script defines a network location. Steps I am performing for kickstart. mount /dev/sr0 /webdir/rhel //CD rom iso is mounted here chown -R root:root /website/rhel chmod 755 /webdir/ks.cfg # Use CDROM installation media #cdrom url --url http://192.168.1.201/rhel shouldn't it be something like: # Use CDROM ...


0

Edit the kernel booting options, change ro init=/sysroot/bin/sh to rw init=/sysroot/bin/sh and boot CentOS. When logged in, follow these commands: chroot /sysroot passwd root touch /.autorelabel reboot You now should be able to loggin as root user. Source


0

I think you should add the option net.ifnames=0 kernel command in file isolinux.cfg, the option will set your network interface to ifcfg-ethX intead of ifcfg-enX. network --device eth0 --bootproto dhcp --ipv6 xxxxx::10/64 --gateway xxxxx:1 --nameserver --hostname foo.example.com


0

I found the way to create custom DVD from the RHEL7 page. Mount the downloaded image mount -t iso9660 -o loop path/to/image.iso /mnt/iso Create a working directory - a directory where you want to place the contents of the ISO image. mkdir /tmp/ISO Copy all contents of the mounted image to your new working directory. Make sure to use the -p option to ...


1

I use the code to detect HDD or USB. Hope this solution will helpfull. hard_disks=`lsblk --nodeps -no name,type,tran | grep "disk" | grep -v "usb" | grep -Eo '^[^ ]+'` count_disk=`echo $hard_disks |grep -o ' ' | wc -l` if [ $count_disk -ne 0 ]; then hard_disks=`lsblk --nodeps -no name,type,tran | grep "disk" | grep -v "usb" | grep -Eo '^[^ ]+' | sed ...



Top 50 recent answers are included