jochemin / raspnode

Bitcoin full node + LND 0.4 Beta installation script

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hard disk without PARTUUID

jochemin opened this issue · comments

@bigafricanhat_ report an error in line 83

sudo sed -i".bak" "/$PARTUUID/d" /etc/fstab

His hard drive doesn't have a PARTUUID:

image

I had the same issue and worked around it by running gparted and creating a master partition. You could presumably create a master partition in an automated fashion if the PARTUUID comes back empty (though it's possible there are complications with this approach).

You can replicate the error if you have a spare external harddrive by wiping everything on it manually, including its partition table.

I,ve change the code to use UUID instead PARTUUID. As the script formats the disk I think there will be no problem.