Skip to main content

2 posts tagged with "Windows"

Microsoft Windows operating system

View All Tags

Safely Remove Ubuntu from Windows Dual-Boot - Complete UEFI & GRUB Cleanup

· 9 min read
Guangze Yang
Master of Control System, Ibaraki University

This comprehensive guide explains how to safely remove Ubuntu from a Windows dual-boot system, clean up partitions, and restore the Windows bootloader. Follow these steps carefully to avoid data loss and system issues.

Data Loss Warning

Removing Ubuntu involves deleting partitions and modifying system boot files. Always backup important data before proceeding. Incorrect execution can make your system unbootable.

Overview

When Ubuntu is installed alongside Windows in a dual-boot configuration, it typically:

  • Creates Linux partitions (root, swap, sometimes home)
  • Installs GRUB bootloader to manage boot options
  • Adds EFI entries for Linux boot process
  • Modifies system boot sequence

Proper removal requires:

  1. Backing up important data
  2. Removing Ubuntu EFI entries
  3. Deleting Ubuntu partitions
  4. Restoring Windows bootloader
  5. Reclaiming disk space

Prerequisites

Required Access

  • Windows Administrator privileges
  • Physical access to the computer
  • Windows installation media (for recovery if needed)
  • Complete data backup of important files
  • Create Windows recovery drive
  • Document current partition layout
  • Note Ubuntu version and installation details

System Requirements

  • UEFI-based system (most modern computers)
  • Windows 10/11 with Disk Management tools
  • Stable power supply during the process

Run Linux GUI Apps on Windows via SSH

· 8 min read
Guangze Yang
Master of Control System, Ibaraki University

When working on remote development via SSH, you sometimes need a graphical user interface (GUI). This guide explains how to set up and use an X server on Windows to run graphical Linux applications remotely via SSH, perfect for scenarios like using ROS with VS Code on a Windows machine while connecting to a Linux host.

X Server SSH Setup

Overview

X11 forwarding allows you to run graphical applications on a remote Linux machine and display them on your local Windows desktop. This is particularly useful for:

  • Remote development with GUI tools
  • Running ROS applications with visualization (RViz, Gazebo)
  • Using Linux-specific GUI applications from Windows
  • Docker containers with GUI applications