我想将Ubuntu Focal Fossa安装到新的硬盘上。在我的计算机上,已经有另一个装有Windows 7的硬盘驱动器。但是,安装程序未检测到此安装。我很确定我以UEFI模式启动:
$ [ -d /sys/firmware/efi ] && echo UEFI || echo BIOS
UEFI
$ sudo efibootmgr
BootCurrent: 0006
...
Boot0006* UEFI: (FAT) Generic Flash Disk 8.07
在创建可启动USB记忆棒时,我曾在Rufus中尝试过其他选项,但是,这根本没有帮助。我还能做些什么吗?
提前致谢!
编辑:
在BIOS模式下开始安装后,将识别第二个Windows安装。
单击“其他”,将显示所有可用的驱动器:
I would like to install Ubuntu on hard drive "sda". However, I cannot choose this hard drive when I select "Install Ubuntu alongside them". The drive "sdc" is the only option in the "select drive" drop-down menue:
USE SOMETHING ELSE OPTION
ORIGINAL QUESTION
First you need to identify if Windows 7 is installed in UEFI or legacy mode. You can easily do this via BIOS settings or from Windows. Run msinfo32.exe
from Regedit, which can be opened with Windows + R. Under System Summary you can find BIOS MODE line with exact mode of installation.
Now you can proceed with installation. Depending on your PC/laptop you need to boot USB as BIOS mode (often named LEGACY mode on newer PCs). Easiest option would be to disable UEFI boot in BIOS settings completely. You will not need it now, and if you ever need it, you can easily enable it again. That option is probably under BOOT section of BIOS settings (or something similar depending on manufacturer. Now when that part is completed, you can proceed with instructions.
Choose "Something else" on step 4 of Ubuntu install:
You will see your disk as /dev/sda
,/dev/sdb
and /dev/sdc
. You said that you want to install it on /dev/sda
, so choose that device and press - to delete existing partition on it(/dev/sda1
) NOTE: Make sure that you want to delete that partition, and if it contains some important data make a backup. If you want to resize it, use change option and choose new size of /dev/sda1
so you can leave some room for other partitions. Click "New Partition Table..." Now you will see empty space for your Ubuntu installation:
Recommended if you are low on RAM Create swap partition, swap is the partition for keeping unneeded memory pages, like Windows swap. Also it can be used for hibernation. Note that swap is much slower compared to RAM, so too much swap can slower you system. Use following table for guidance:
RAM No hibernation With Hibernation Maximum
1GB 1GB 2GB 2GB
2GB 1GB 3GB 4GB
3GB 2GB 5GB 6GB
4GB 2GB 6GB 8GB
5GB 2GB 7GB 10GB
6GB 2GB 8GB 12GB
8GB 3GB 11GB 16GB
12GB 3GB 15GB 24GB
16GB 4GB 20GB 32GB
24GB 5GB 29GB 48GB
32GB 6GB 38GB 64GB
64GB 8GB 72GB 128GB
128GB 11GB 139GB 256GB
256GB 16GB 272GB 512GB
512GB 23GB 535GB 1TB
1TB 32GB 1056GB 2TB
2TB 46GB 2094GB 4TB
4TB 64GB 4160GB 8TB
8TB 91GB 8283GB 16TB
SOURCE: https://help.ubuntu.com
/
(root partition). This is base partition which contains Kernel, system files, program files etc. So like C
partition on Windows. You need about 20GiB for this partition, but you put more (if you have space) and if you need more in some time, you can simply extend it via GParted live USB.So:Create /home
partition. This is the partition for your user's files, like documents, images, song, movies etc. So like Users
folder on on Windows.
You can do this just like in step 4.
For advance users You can probably skip this part, but I will still put it here. Create separate /boot
, /tmp
and /var
partitions. For exact sizes of partition use this:
/boot
100 – 500 MiB/var
and /tmp
should be > 5 GiB or modify these values according to your needs.After all that, you should see your disk like this:
附注:您还问过关于分开/
和/home
分区的问题。严格来说,您不需要。这是个人喜好问题,但是拥有一个单独的/home
分区可以在升级到新版本的Ubuntu时发生错误的情况下为您提供帮助。在系统升级中总是极少会出现某种错误,这可能会导致数据丢失。
这就对了!您现在可以单击Install Now并开始使用Ubuntu。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句