Skip to content

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:

  1. Initial Disk Space Analysis:
  • Checked disk space usage with df -h and found that the root filesystem (/) was 100% full.
  • Used du -sh /* to identify large directories, focusing on /home and /var.
  1. Cleaning Up Disk Space:
  • Identified large files and directories in /var and /home.
  • Cleared Docker-related files and volumes.
  • Removed unnecessary files and logs from /var.
  1. Encrypted Home Directory Recovery:
  • Identified that /home/chen was encrypted.
  • Attempted to recover the encrypted private directory using ecryptfs-utils.
  • Unwrapped the passphrase and attempted to mount the encrypted directory.
  1. 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.
  1. Dealing with ESM (Extended Security Maintenance):
  • Removed unnecessary ESM-related sources from the sources.list.d directory.
  • Updated the package lists again and successfully reinstalled kernel packages after removing ESM-related errors.
  1. 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.
  1. 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.

File attachment