GPU Workstation fixes ("IN WIN” Small White)
Source: Notion | Last edited: 2024-09-26 | ID: efc0f675-b3e...
Here is a summary of the essential steps taken on 2024-07-23 to troubleshoot and resolve the boot issue on the Ubuntu system hosted in the white “IN WIN” labeled workstation:
- Initial Disk Space Analysis:
- Checked disk space usage with
df -hand found that the root filesystem (/) was 100% full. - Used
du -sh /*to identify large directories, focusing on/homeand/var.
- Cleaning Up Disk Space:
- Identified large files and directories in
/varand/home. - Cleared Docker-related files and volumes.
- Removed unnecessary files and logs from
/var.
- Encrypted Home Directory Recovery:
- Identified that
/home/chenwas encrypted. - Attempted to recover the encrypted private directory using
ecryptfs-utils. - Unwrapped the passphrase and attempted to mount the encrypted directory.
- Chroot and System Repair:
- Mounted the root filesystem and necessary virtual filesystems (e.g.,
/dev,/proc,/sys) to a chroot environment. - Entered the chroot environment.
- Updated the system’s package lists and attempted to reinstall the kernel packages.
- Dealing with ESM (Extended Security Maintenance):
- Removed unnecessary ESM-related sources from the
sources.list.ddirectory. - Updated the package lists again and successfully reinstalled kernel packages after removing ESM-related errors.
- Final Steps:
- Generated a new initramfs with
update-initramfs -u. - Updated the GRUB configuration with
update-grub. - Reinstalled GRUB on the boot device with
grub-install /dev/sda.
- Reboot Preparation:
- Unmounted the bound directories.
- Rebooted the system to check if the boot issue was resolved. By following these steps, we addressed the full disk issue, handled the encrypted home directory, and repaired the bootloader configuration, ultimately preparing the system for a successful reboot.
The following file is the raw ChatGPT dialogue for future reference.