Как установить Ubuntu, сохраняя резервную копию моих файлов раздел диска, который я сделал с помощью windows (D:)?

Итак, мой диск объемом 2 ТБ разделен на два раздела (C :) и (D :), меня не волнует (C :), на котором размещены окна. Я хочу только Ubuntu в качестве операционной системы, сохраняя все в разделе (D :). Любая идея, если это возможно?

1
задан 5 June 2020 в 09:43

2 ответа

A) UEFI/BIOS

  1. Set to "UEFI mode only" (no legacy/CSM).

  2. Disable "secure boot"

  3. Disable "Intel Rapid Start" (if equipped)

  4. Disable "fast boot" in UEFI (note this is different than the "fast startup" setting in Windows 8/10). The options in your UEFI/BIOS might say something like Full/Minimal/Automatic for boot mode. Select Full (or thorough, or complete, etc whatever your UEFI vendor has chosen to call it).

B) Advanced Power Options (Fastboot)

Disable fast startup in Windows 8/10 under "advanced power options". Restart the computer to ensure that this subsequent boot and the next reboot/shutdown will be in "normal" mode.

C) Bitlocker (For Windows 10 Pro)

If you have Windows 10 Pro and encrypted the drive with "Bitlocker" remove the encryption.

D) Rufus / Bootable USB stick

Use Rufus to create a bootable USB stick with your choice of Ubuntu based distro. Make sure in Rufus that you CHOOSE the option UEFI/GPT only. This ensures the Linux environment boots only into UEFI mode during your install.

E) Boot Menu

Reboot your computer and press key for one time boot menu (Dell is typically F12). Select your USB stick from the boot options.

Note:

Make sure it says UEFI in front of the USB stick in the boot menu.

If not, return to Windows and recreate your USB stick with Rufus ensuring you choose the UEFI/GPT (only) option.

F) Boot into USB Stick

Boot into Linux live environment and begin the install.

G) Installation type

When you get to the installation option, choose "Something else" at the bottom of the Ubiquity installer.

H) Create partitions

Find your C: partition. It will be called something like /dev/sda1

Select it and press the "-" sign to delete it and create "free space".

  • 1st Partition / Root (All the software you install are stored here)

    1. Select "free space" that you created by deleting the C: drive.

    2. Select "+"

    3. Partition the target drive as follows:

    • Size: min. 10 GB (25GB+ recommended. I have 40GB)

    • Type for the new partition: Primary

    • Location for the new partition: Beginning of this space

    • Use as: ext4

    • Mount point: Choose "/"

  • 2nd Partition / Swap (Only needed if you want to Hybernate)

    1. Select "free space"

    2. Select "+"

    3. Partition the target drive as follows:

    • Size: Depends on your RAM. See Swap FAQ.

    • Type for the new partition: Primary

    • Location for the new partition: Beginning of this space

    • Use as: swap

  • 4th Partition / Home (Only needed if you want to keep your personal files separate from / Root partition. It seems you save your personal files in D: so you may not need this.)

    1. Select "free space"

    2. Select "+"

    3. Partition the target drive as follows:

    • Size: Remainder of "free space" or any size you want. (You will need to leave some space if you want to make another partition. Of course, you can always shrink "/home" partition later)

    • Type for the new partition: Primary

    • Location for the new partition: Beginning of this space

    • Use as: ext4

    • Mount point: Choose "/home"

I) Installation & Reboot

  • Finish the installation process and reboot (removing the USB stick when your UEFI/BIOS screen logo appears).

J) Upon reboot

  1. Boot into Linux

  2. Install any updates

**K) Setup Automout for D:

  1. Open the "Disks" utility.

  2. Select the partition you want to automount. (D:)

  3. Click the icon with 2 cogwheels. (Additional partition options)

  4. Select "Edit Mount Options".

  5. Turn the "User Session Defaults" option to "Off".

  6. Check the box "Mount at system startup" Make sure "Show in the user interface" is also checked.

  7. Replace the line that says nosuid,nodev,nofail,x-gvfs-show to users,uid=1000,dmask=027,fmask=137,x-gvfs-show,utf8.

  8. Change the "Mount point" to something less complicated like /mnt/D or /mnt/MyFiles.

  9. Change the "Filesystem Type" to ntfs-3g.

  10. Click "OK" and you are all set!

Borrowed and edited from user613363's answer. (Dual Boot Windows 10 and Linux Ubuntu on Separate Hard Drives)

0
ответ дан 19 June 2020 в 21:30

Затем просто:

  1. загрузите Live USB, выберите другой параметр и
  2. отформатируйте в Windows это С :. В Linux он может называться / dev / sda1.
  3. При желании можно изменить размер раздела, чтобы в конце его было оставлено место для раздела подкачки (соответствует размеру ОЗУ).
  4. Отформатируйте измененный размер раздела как ext4 и установите точку монтирования в /.
  5. Создайте раздел подкачки в пустом месте, оставленном путем изменения размера (если вы решили это сделать).
  6. Продолжайте установку.

Однако, имейте в виду: установка ОС и разбиение диска несут небольшой риск данных потеря. НАСТОЯТЕЛЬНО РЕКОМЕНДУЕТСЯ иметь резервную копию ваших файлов на D: в другом месте, чтобы быть в безопасности.

0
ответ дан 19 June 2020 в 21:30

Другие вопросы по тегам:

Похожие вопросы: