Hello,
I'm having a strange problem booting a new centos7 installation. Below some
background on this. [I have attached the tech details at the bottom of this
message]
I started a new CentOS7 installation on a VM, so far all good, o/s boots
fine. Then I decided to increase VM disk size (initially was 10G) to 13G.
Powered off the VM, increased the vhd via the hypervisor, booted from
CentOS livecd, selected "recover my centos installation". Then I used the
following sequence of commands to make the new vhd size "visible" to the
o/s ...
- ran fdisk /dev/sda and deleted partition 2. (This is the LVM partition
where the o/s is stored. The first partition is /boot [xfs] partition *non
lvm*.)
- created a new partition with same starting sector as before deleting it,
but a different ending sector (to reflect to the increased space).
- set partition type to 8e (lvm), saved settings and exit.
- ran pvresize and lvresize to make new space visible to the o/s.All good,
I can see the space increase on 'lvdisplay centos/root'.
- ran 'mount /dev/mapper/centos-root /mnt/root' to temporarily mount the
o/s partition.
- ran 'xfs_growfs /mnt/root' to resize the o/s fs to the new size. It was
successful and I could actually chroot to the o/s and verify new disk size.
- rebooted and tried to boot from hdd this time. Grub menu shows up and
loads default kernel (3.10.0-862.9.1.el7.x86_64).
- after initial kernel boot up process, booting continues to initrd and
then it's where the problem starts...
- looks like dracut has issues locating/enabling /dev/mapper/centos-root
(lv) and as a result it cannot boot to the 'real' root fs (/).
- while in dracut shell, I execute the following command sequence:
1. lvm lvchange -ay /dev/centos/root
2. lvm lvchange -ay /dev/centos/swap
3. ln -s /dev/mapper/centos-root /dev/root
4. exit
...and the o/s boots fine...so looks like the pv,vg,lv is detected properly
while in initrd, but somehow dracut has difficulties enabling the root,swap
LVs ?
- While in o/s, I rebuild initrd by using: 'dracut -f -v -a lvm'
Note, I have to use '-a lvm' as for some reason, if don't, the lvm utils
(lvm,lvm_scan) are not being included to the initrd, not sure why this
happens.
After rebooting, same thing happens, I have to manually boot the system via
dracut shell.
I'm a bit stuck at this point, any clues what I'm doing wrong in here ?
As I previously said, this is a new installation, so I could simply
reinstall the whole thing, but I would rather try to find out some answer
to why is this happening ... :-) [curiosity]
Some additional details:
==================
I've attached /run/initramfs/rdsosreport.txt file [generated while in
inird] here:
https://privatebin.net/?fdc4052c0c402884#gdB/QYR3IeR55SxUbjfrkZPQfJ7jMxiUxq…
o/s ver=CentOS Linux release 7.5.1804 (Core)
[root@localhost ~]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 13G 0 disk
├─sda1 8:1 0 500M 0 part /boot
└─sda2 8:2 0 12.5G 0 part
├─centos-root 253:0 0 11.5G 0 lvm /
└─centos-swap 253:1 0 1G 0 lvm [SWAP]
[root@localhost ~]# cat /etc/default/grub
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rd.shell
rhgb"
GRUB_DISABLE_RECOVERY="true"
Hi all,
the EPEL repository for CentOS7 contains httpd-itk, an apache module for
running different vhosts under specific user/group ID.
For RHEL8 I can find it only in 3rd party repos, while I misses it
entirely for RHEL9.
Is the module deprecated? Can it be re-included into EPEL?
Regards.
--
Danti Gionatan
Supporto Tecnico
Assyoma S.r.l. - www.assyoma.it
email: g.danti(a)assyoma.it - info(a)assyoma.it
GPG public key ID: FF5F32A8
Hey folks, I wonder if anyone also suffers from the following:
I updated the BIOS/Firmware of a DELL notebook from 1.8 to 1.9. and
after this the latest C9S
kernel-5.14.0-171.el9.x86_64
can't be booted anymore (secure boot on) but the two older ones do boot:
kernel-5.14.0-165.el9.x86_64
kernel-5.14.0-168.el9.x86_64
The grub error message when trying to boot kernel-5.14.0-171.el9.x86_64
looks like:
error: ../../grub-core/kern/efi/sb.c:183:bad shim signature.
error: ../../grub-core/loader/i386/efi/linux.c:259:you need to load the
kernel first.
I wonder how this happens. The firmware is classified as bug-fix update.
Not sure if DBX list was update. fwupdmgr shows "Current version: 83"
If so, it does not make sense that older kernels can be used to boot the
system. So, a big question mark how to solve this issue? Any hints ...?
# sha256sum /boot/efi/EFI/BOOT/BOOTX64.EFI
3ae459e79408b5287ce70c5b86ddcc92c243c7442d6769a330390598b7a351b1
/boot/efi/EFI/BOOT/BOOTX64.EFI
--
Thanks
Leon
Is anyone using odpdown to convert markdown files to OpenOffice Impress slide presentations under CentOS 7?
It is not available in the CentOS repositories I have searched.
I have a new computer with 2 x 2TB SSDs where I wanted to install C7 and use mdadm for RAID1 configuration and encrypting the /home partition. On the net I found https://tuxfixer.com/centos-7-installation-with-lvm-raid-1-mirroring/ which I adopted slightly with respect to partition sizes, using RAID1 for /boot and /root as well and added the /home partition with RAID1 and chose to have /home encrypted.
Is there an "official/recommended/suggested" page for installing C7 and using mdadm for RAID1 in combination with LUKS encryption? As far as I can tell things seem right but would like to check before proceeding to install lots of other software.
Thanks.
Hey Y'all,
I cannot adjust the recording level in Audacity on my CentOS Stream
release 8 system. It says that my system is prohibiting that.
Bus 005 Device 004: ID 08bb:2900 Texas Instruments PCM2900 Audio Codec
Is there a way to fix this without building a whole new system?
--
_
°v°
/(_)\
^ ^
Mark LaPierre
****
Hi All
I have a server out there running centos 7.
I installed fetchmail to monitor an email inbox - has worked for years.
Microsoft deprecated basic authentication so fetchmail is not working any
more.
Anyone else run into this ?
fetchmail 6 does not support oauth.
Any thoughts on how to update - get this working again ?
its nearly impossible to change the OS - as the box is not local to me.
Thanks!
Jerry
Hi,
I am running GitLab SCM on CentOS Linux release 7.9.2009 (Core) and this
service is monitored by Nagios for host and service checks. Are there any
security monitoring tools to scan and monitor continuously the CentOS Linux
release 7.9.2009 (Core) system and trigger alerts via email or slack if
the tool reports any vulnerabilities?
Thanks in advance.
Best Regards,
Kaushal
Thanks Kenneth for your response and much appreciated. !!!
On Mon, Oct 10, 2022 at 2:44 AM Kenneth Porter <shiva(a)sewingwitch.com>
wrote:
> --On Monday, October 10, 2022 12:42 AM +0530 Kaushal Shriyan
> <kaushalshriyan(a)gmail.com> wrote:
>
> > Is there a way to check which process consumed network throughput,
> memory,
> > cpu load, cpu usage, disk io on CentOS Linux release 7.9.2009 (Core) on a
> > specific date on Sept 28, 2022?
>
> Take a look at Cacti:
>
> <https://www.cacti.net/>
>
>
>
> _______________________________________________
> CentOS mailing list
> CentOS(a)centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
Hi,
Is there a way to check which process consumed network throughput, memory,
cpu load, cpu usage, disk io on CentOS Linux release 7.9.2009 (Core) on a
specific date on Sept 28, 2022?
Thanks in advance.
Best Regards,
Kaushal