poloshiao 写了:怎么确认ubuntu安装在哪里
0. 比較合適的說法是 ubuntu 的 系統目錄 (包含 / 跟 其子目錄) 掛載在哪個分割區
使用
Ubuntu Live CD/DVD/USB 開機
1. 第一優先確認 你的開機韌體是 UEFI 還是 Legacy Bios ?
你的開機畫面是 1-1 或 1-2 ?
1-1. UEFI
1-2. Legacy Bios
2. 登入 試用桌面 把下面指令 複製 貼進終端機 執行
2-1. sudo parted -l print
2-2. sudo gdisk -l /dev/sda
机子是双硬盘的
2-3. sudo gdisk -l /dev/sdb
2-4. 把結果直接 選取/複製/貼上來
不必擷圖
2-1结果:Model: ATA HGST HTS541010A9 (scsi)
磁盘 /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
分区表:gpt
Disk Flags:
数字 开始: End 大小 文件系统 Name 标志
1 1049kB 106MB 105MB fat32 Basic data partition msftdata
2 106MB 1050MB 944MB ntfs Basic data partition msftdata
3 1050MB 1184MB 134MB Microsoft reserved partition msftres
4 1184MB 187GB 186GB ntfs Basic data partition msftdata
5 187GB 393GB 206GB ext4
6 393GB 401GB 8467MB linux-swap(v1)
7 401GB 979GB 577GB ntfs Basic data partition msftdata
8 979GB 1000GB 21.5GB ntfs Basic data partition 隐藏分区, diag
Model: ATA INTEL SSDSC2BW12 (scsi)
磁盘 /dev/sdb: 120GB
Sector size (logical/physical): 512B/512B
分区表:gpt
Disk Flags:
数字 开始: End 大小 文件系统 Name 标志
1 1049kB 630MB 629MB fat32 EFI system partition 启动, esp
2 630MB 120GB 119GB ntfs Basic data partition msftdata
3 120GB 120GB 482MB ntfs 隐藏分区, diag
2-2结果:GPT fdisk (gdisk) version 1.0.1
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 1953525168 sectors, 931.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 60E3E9DB-A3FE-47EA-A9D8-ED5676521912
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1953525134
Partitions will be aligned on 16-sector boundaries
Total free space is 4834 sectors (2.4 MiB)
Number Start (sector) End (sector) Size Code Name
1 2048 206847 100.0 MiB 0700 Basic data partition
2 206848 2050047 900.0 MiB 0700 Basic data partition
3 2050048 2312191 128.0 MiB 0C01 Microsoft reserved ...
4 2313360 365430554 173.1 GiB 0700 Basic data partition
5 365430784 767180799 191.6 GiB 8300
6 767180800 783718399 7.9 GiB 8200
7 783718400 1911560191 537.8 GiB 0700 Basic data partition
8 1911560192 1953523711 20.0 GiB 2700 Basic data partition
2-3结果:GPT fdisk (gdisk) version 1.0.1
The protective MBR's 0xEE partition is oversized! Auto-repairing.
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/sdb: 234441648 sectors, 111.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 0B330EB7-5858-9090-8081-828310111213
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 234441614
Partitions will be aligned on 2048-sector boundaries
Total free space is 13211 sectors (6.5 MiB)
Number Start (sector) End (sector) Size Code Name
1 2048 1230846 600.0 MiB EF00 EFI system partition
2 1230848 233488338 110.7 GiB 0700 Basic data partition
3 233494528 234436607 460.0 MiB 2700