Ensure to mount /boot even for BTRFS filesystem
This commit is contained in:
		
							parent
							
								
									f008dd25e3
								
							
						
					
					
						commit
						f7d9fbed3c
					
				|  | @ -48,13 +48,12 @@ apt install ipcalc | |||
| mkdir -p -- /target | ||||
| mountpoint -q /target            || mount -- /dev/mapper/"${vgname}"-root /target | ||||
| 
 | ||||
| 	### boot - grub | ||||
| 	mountpoint -q /target/boot       || mount -- ${hdd}1 /target/boot | ||||
| ## | ||||
| if [ "${manage_btrfs}" -eq 0 ]; then | ||||
| 	printf '%b\n' "The root system is in ${GREEN}BTRFS${RESET}, no extra mount is required." | ||||
| else | ||||
| 	### boot - grub | ||||
| 	mountpoint -q /target/boot       || mount -- ${hdd}1 /target/boot | ||||
| 
 | ||||
| 	#### home LV | ||||
| 	mountpoint -q /target/home       || mount -- /dev/mapper/"${vgname}"-home /target/home | ||||
| 	#### opt LV | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue