Skip to content

Commit

Permalink
v6.25
Browse files Browse the repository at this point in the history
+ DietPi-Drive_Manager | BTRFS support is not natively built into the kernel on RPi and Odroid: #2909
  • Loading branch information
MichaIng committed Jun 14, 2019
1 parent f08888e commit 9c2b9ca
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions dietpi/dietpi-drive_manager
Expand Up @@ -1367,10 +1367,16 @@ Please enter the desired percentage of reserved blocks, e.g. "0.05" for 0.05% or
# Transfer RootFS
elif [[ $G_WHIP_RETURNED_VALUE == 'Transfer RootFS' ]]; then

# - Kernel lacks native BTRFS support (enabled as module): https://github.com/MichaIng/DietPi/issues/2909
if [[ ${aDRIVE_FSTYPE[$MENU_DRIVE_INDEX]} == 'btrfs' ]]; then

G_WHIP_MSG "[WARNING] Booting from ${aDRIVE_FSTYPE[$MENU_DRIVE_INDEX]} is not supported by this device.\n
We recommend "\ext4\" as filesystem type for the RootFS."
# - User must unmount partition before format
if (( ${aDRIVE_ISMOUNTED[$MENU_DRIVE_INDEX]} )); then
elif (( ${aDRIVE_ISMOUNTED[$MENU_DRIVE_INDEX]} )); then
G_WHIP_MSG 'Partition must be unmounted, before format and RootFS transfer can begin.\n\nPlease unmount the partition, then try again.'
G_WHIP_MSG '[WARNING] Partition must be unmounted, before format and RootFS transfer can begin.\n\nPlease unmount the partition, then try again.'
else
Expand Down

0 comments on commit 9c2b9ca

Please sign in to comment.