1. Cleanup
Cleanup.
-
Press Alt+F2 to switch to the 2nd console.
-
Press Enter to activate the console.
-
Enter the following commands at the Command Line.
mdadm --examine --verbose --scan
mdadm --zero-superblock /dev/sda1
mdadm --zero-superblock /dev/sda5
mdadm --zero-superblock /dev/sdb1
mdadm --zero-superblock /dev/sdb5
mdadm --examine --verbose --scan
fdisk -l
# Delete all partitions from /dev/sda and /dev/sdb.
# Create a huge partition on /dev/sda and /dev/sdb.
mkfs.ext4 /dev/sda1 # Format the huge partition on /dev/sda
mkfs.ext4 /dev/sdb1 # Format the huge partition on /dev/sdb
# Delete the huge partition from /dev/sda and /dev/sdb.
dd if=/dev/zero of=/dev/sda bs=1024 count=1024
dd if=/dev/zero of=/dev/sdb bs=1024 count=1024
fdisk -l
exit
-
Press Alt+F1 to return to the 1st console.
2. Errors
Check for errors.
-
Press Alt+F4 to switch to the 4th console.
-
Press Alt+F2 to switch to the 2nd console.
-
Press Enter to activate the console.
-
Enter the following commands at the Command Line.
dmesg | grep -Ei 'crit|erro|fail|warn' exit -
Press Alt+F1 to return to the 1st console.
3. Internet
Check internet connectivity.
-
Press Alt+F2 to switch to the 2nd console.
-
Press Enter to activate the console.
-
Enter the following commands at the Command Line.
date
ip address
# route
cat /etc/resolv.conf
ping 8.8.8.8
ping wwww.google.com
# wget --output-document=- http://ipinfo.io
wget -O- http://ipinfo.io
exit
-
Press Alt+F1 to return to the 1st console.