dmesg debug level fix for initramfs
This commit is contained in:
		
							parent
							
								
									a621a6cc5f
								
							
						
					
					
						commit
						54e35e4ed4
					
				@ -76,10 +76,10 @@ fi
 | 
			
		||||
if [ -n "$(blkid ${ROOT_DEV}2 | grep crypto_LUKS)" ]
 | 
			
		||||
then
 | 
			
		||||
    #decrypt and mount the root filesystem, disable kernel log messages to avoid clashing with the prompt
 | 
			
		||||
    dmesg -D
 | 
			
		||||
    dmesg -n 4
 | 
			
		||||
    echo "Opening encrypted root partition, this will take 30s..."
 | 
			
		||||
    cryptsetup --tries 5 luksOpen ${ROOT_DEV}2 luksroot || rescue_shell
 | 
			
		||||
    dmesg -E
 | 
			
		||||
    dmesg -n 7
 | 
			
		||||
    mount /dev/mapper/luksroot /newroot
 | 
			
		||||
else
 | 
			
		||||
    # mount the unencrypted root filesystem
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user