You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

完全迁移至Ubuntu的技术求助:双系统移除Windows且无数据丢失的方法及USB存储需求咨询

完全迁移至Ubuntu的技术求助:双系统移除Windows且无数据丢失的方法及USB存储需求咨询

Hey there! Let’s break down exactly how you can ditch Windows entirely and expand your Ubuntu setup without losing any of your existing Ubuntu data, plus answer your USB storage question.

First: Backup Your Ubuntu Data (Critical!)

Even though we’re only touching the Windows partition, it’s always smart to protect your Ubuntu files just in case something goes sideways. Here’s how:

  • Graphical tool option: Use Ubuntu’s built-in Déjà Dup Backup Tool (search for it in your app menu). Pick an external drive or cloud storage as the backup location, select your /home folder (where all your docs, photos, configs live), and start the backup.
  • Command line option: If you prefer terminal commands, use rsync to copy your data to an external drive. Plug in your drive, mount it, then run:
    rsync -av /home/your_username/ /media/your_username/external_drive_name/ubuntu_backup/
    
    Just replace your_username and external_drive_name with your actual details.

Step-by-Step: Remove Windows & Expand Ubuntu

  1. Boot into Ubuntu: Make sure you’re logged into your Ubuntu system (not Windows) before starting any partition changes.
  2. Use the Disks Tool (Graphical):
    • Open the Disks app from your menu.
    • Locate your Windows partition: It’ll be an NTFS-formatted drive around 222GB, probably labeled "Windows" or "OS".
    • Select it, click the gear icon in the top-right, choose Delete Partition, and confirm the action (double-check you’ve got the right partition—this can’t be undone!).
    • Now you’ll see unallocated space where Windows used to be. Find your Ubuntu main partition (ext4 format, mounted at /), click the gear icon again, select Resize Partition, and drag the slider to take up all the unallocated space. Hit Resize and wait for the process to finish (don’t interrupt it!).
  3. Alternative: GParted (Command-Line/GUI Hybrid):
    • If you prefer more control, install GParted first:
      sudo apt update && sudo apt install gparted
      
    • Launch it with sudo gparted.
    • Right-click the Windows partition, select Delete, then right-click your Ubuntu ext4 partition and choose Resize/Move. Drag the right edge to fill the unallocated space, then click the green checkmark at the top to apply all changes.

USB Storage Needs?

Short answer: No, you don’t need a large USB for this process—since we’re modifying existing partitions instead of reinstalling Ubuntu.

  • If you’re just backing up data, a USB drive with enough space for your /home files works (even a 16GB drive is usually more than enough for most users).
  • That said, keeping an 8GB Ubuntu installation USB handy is a good safety net. If something goes wrong with the bootloader after resizing, you can boot from this USB, select "Try Ubuntu", and fix the boot with sudo update-grub in the terminal. The Ubuntu ISO is only ~4GB, so 8GB is more than sufficient.

Quick Notes to Avoid Headaches

  • Double-check every partition you select before deleting or resizing—mixing up Ubuntu and Windows partitions would be bad news.
  • Keep your laptop plugged in during the partition resize process—losing power mid-operation can corrupt partitions.
  • If your boot menu looks off after the change, boot into Ubuntu (or the live USB) and run sudo update-grub to refresh the bootloader.

备注:内容来源于stack exchange,提问作者Mahiguhappriyaprakash

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.21 15:03:07