[求助] ubuntu 光盘安装不能识别已有分区

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
saintli86
帖子: 1
注册时间: 2013-09-08 12:11
系统: windows 7

Re: [求助] ubuntu 光盘安装不能识别已有分区

#31

帖子 saintli86 » 2013-09-08 12:14

非常有用!!!! :em06
Space-Z
帖子: 1
注册时间: 2014-04-22 21:09
系统: win7

Re: [求助] ubuntu 光盘安装不能识别已有分区

#32

帖子 Space-Z » 2014-04-23 23:23

我刚入门,我用的是U盘安装ubuntu-14.04-desktop-amd64,已经装了win7系统。用U盘安装的时候也遇到楼主的问题,后来弄了半天时间才做好了。
方法是:先用DiskGenius将要安装的空闲磁盘转换格式为FAT32,然后用U盘重新启动,进入Ubuntu安装界面,这时候可以看到不只有一整块空闲磁盘,而是分成了几部分,这样选中FAT32格式的磁盘,点击“-”将其移除使其成为空闲磁盘,之后就可以安装了。
bowei
帖子: 2
注册时间: 2014-07-26 18:35
系统: ubuntu

Re: [求助] ubuntu 光盘安装不能识别已有分区

#33

帖子 bowei » 2014-08-12 9:05

你好,请问一下,我也出现同样的问题,sudo fdisk -l 可以打印出分区的信息,但是安装到第四步就不可以安装,整个分区都不能看见,而且连U盘都不能看见,求大神帮忙啊
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: [求助] ubuntu 光盘安装不能识别已有分区

#34

帖子 poloshiao » 2014-08-12 11:37

sudo fdisk -l 可以打印出分区的信息,但是安装到第四步就不可以安装,整个分区都不能看见
參閱
viewtopic.php?p=3092933#p3092933
wild_wind
帖子: 1
注册时间: 2014-09-21 22:21
系统: ubuntu

Re: [求助] ubuntu 光盘安装不能识别已有分区

#35

帖子 wild_wind » 2014-09-21 22:33

bill the result after excuting cd ~/Desktop && wget 'http://home.comcast.net/~ubuntu_grub/bo ... script.txt' && sudo bash boot_info_script.txt

is there any body can anaylize this???

system: win 7 64bit
ubuntu 14.04 64bit

============================ Boot Info Summary: ==============================

=> Windows is installed in the MBR of /dev/sda
=> Syslinux is installed in the MBR of /dev/sdb

sda1: _______________________________________________________________________

File system: ntfs
Boot sector type: Windows Vista
Boot sector info: According to the info in the boot sector, sda1 starts
at sector 2048. But according to the info from fdisk,
sda1 starts at sector 63. The info in boot sector on
the starting sector of the MFT is wrong. According to
the info in the boot sector, sda1 has 204799 sectors,
but according to the info from fdisk, it has 1985
sectors.
Operating System:
Boot files/dirs: /bootmgr /Boot/BCD

sda2: _________________________________________________________________________

File system: ntfs
Boot sector type: Windows Vista
Boot sector info: According to the info in the boot sector, sda2 starts
at sector 206848. But according to the info from
fdisk, sda2 starts at sector 2048. The info in boot
sector on the starting sector of the MFT is wrong.
According to the info in the boot sector, sda2 has
81715199 sectors, but according to the info from
fdisk, it has 204800 sectors.
Operating System: Windows Vista
Boot files/dirs: /NST/menu.lst /Windows/System32/winload.exe

sda3: _________________________________________________________________________

File system: ntfs
Boot sector type: Windows Vista
Boot sector info: According to the info in the boot sector, sda3 starts
at sector 81922048. But according to the info from
fdisk, sda3 starts at sector 206848. According to the
info in the boot sector, sda3 has 122879999 sectors,
but according to the info from fdisk, it has 81715200
sectors.
Operating System:
Boot files/dirs:

sda4: _________________________________________________________________________

File system: ntfs
Boot sector type: Windows Vista
Boot sector info: According to the info in the boot sector, sda4 starts
at sector 204802048. But according to the info from
fdisk, sda4 starts at sector 81922048. According to
the info in the boot sector, sda4 has 409599999
sectors, but according to the info from fdisk, it has
1871601072 sectors.
Operating System:
Boot files/dirs:

sdb4: _________________________________________________________________________

File system: vfat
Boot sector type: Vista: Fat 32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs: /bootmgr /BOOTMGR /boot/bcd /BOOT/bcd /Boot/bcd
/boot/BCD /BOOT/BCD /Boot/BCD

=========================== Drive/Partition Info: =============================

Drive: sda ___________________ _____________________________________________________

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = 扇区 of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes

Partition Boot Start End Size Id System

/dev/sda1 63 2,047 1,985 42 SFS
/dev/sda2 * 2,048 206,847 204,800 42 SFS
/dev/sda3 206,848 81,922,047 81,715,200 42 SFS
/dev/sda4 81,922,048 1,953,523,119 1,871,601,072 42 SFS


Drive: sdb ___________________ _____________________________________________________

Disk /dev/sdb: 4009 MB, 4009754624 bytes
255 heads, 63 sectors/track, 487 cylinders, total 7831552 sectors
Units = 扇区 of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sdb4 * 63 7,831,551 7,831,489 c W95 FAT32 (LBA)


blkid -c /dev/null: ____________________________________________________________

/dev/loop0: LABEL="Ubuntu 14.04.1 LTS amd64" TYPE="iso9660"
/dev/loop1: TYPE="squashfs"
/dev/sda1: LABEL="M-gM-3M-;M-gM-;M-^_M-dM-?M-^]M-gM-^UM-^Y" UUID="CC30AC1030AC0414" TYPE="ntfs"
/dev/sda2: UUID="A2BE8DABBE8D7915" TYPE="ntfs"
/dev/sda3: LABEL="M-fM-^\M-,M-eM-^\M-0M-gM-#M-^AM-gM-^[M-^X" UUID="8446A1E046A1D2EA" TYPE="ntfs"
/dev/sda4: UUID="E2AC18B0AC1880E9" TYPE="ntfs"
/dev/sda5: LABEL="M-fM-^VM-0M-eM-^JM- M-eM-^MM-7" UUID="304AEB9B4AEB5BDA" TYPE="ntfs"
/dev/sda6: LABEL="M-fM-^VM-0M-eM-^JM- M-eM-^MM-7" UUID="0005FAA1000FB501" TYPE="ntfs"
/dev/sdb4: LABEL="GSP1RMCULXF" UUID="B4FE-5315" TYPE="vfat"

=============================== "mount" output: ===============================

/cow on / type overlayfs (rw)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
/dev/sda2 on /isodevice type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/loop0 on /cdrom type iso9660 (ro,noatime)
/dev/loop1 on /rofs type squashfs (ro,noatime)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=ubuntu)


============================== sda2/NST/menu.lst: ==============================

# NeoSmart NeoGrub Bootloader Configuration File
#
# This is the NeoGrub configuration file, and should be located at C:\NST\menu.lst
# Please see the EasyBCD Documentation for information on how to create/modify entries:
# http://neosmart.net/wiki/display/EBCD/

title Install Ubuntu
root (hd0,2)
kernel (hd0,2)/vmlinuz boot=casper iso-scan/filename=/ubuntu-14.04.1-desktop-amd64.iso ro quiet splash locale=zh_CN.UTF-8
initrd (hd0,2)/initrd.lz


=================== sda2: Location of files loaded by Grub: ===================


.0GB: initrd.lz
.0GB: vmlinuz
=========================== Unknown MBRs/Boot Sectors/etc =======================

MFT Sector of sda1

00000000 46 49 4c 45 30 00 03 00 e0 22 10 00 00 00 00 00 |FILE0...."......|
00000010 01 00 01 00 38 00 01 00 a0 01 00 00 00 04 00 00 |....8...........|
00000020 00 00 00 00 00 00 00 00 06 00 00 00 00 00 00 00 |................|
00000030 02 00 ff ff 00 00 00 00 10 00 00 00 60 00 00 00 |............`...|
00000040 00 00 18 00 00 00 00 00 48 00 00 00 18 00 00 00 |........H.......|
00000050 6b bd dd ab 89 d4 cf 01 6b bd dd ab 89 d4 cf 01 |k.......k.......|
*
00000070 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000080 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 |................|
00000090 00 00 00 00 00 00 00 00 30 00 00 00 68 00 00 00 |........0...h...|
000000a0 00 00 18 00 00 00 03 00 4a 00 00 00 18 00 01 00 |........J.......|
000000b0 05 00 00 00 00 00 05 00 6b bd dd ab 89 d4 cf 01 |........k.......|
000000c0 6b bd dd ab 89 d4 cf 01 6b bd dd ab 89 d4 cf 01 |k.......k.......|
000000d0 6b bd dd ab 89 d4 cf 01 00 40 00 00 00 00 00 00 |k........@......|
000000e0 00 40 00 00 00 00 00 00 06 00 00 00 00 00 00 00 |.@..............|
000000f0 04 03 24 00 4d 00 46 00 54 00 00 00 00 00 00 00 |..$.M.F.T.......|
00000100 80 00 00 00 48 00 00 00 01 00 40 00 00 00 01 00 |....H.....@.....|
00000110 00 00 00 00 00 00 00 00 3f 00 00 00 00 00 00 00 |........?.......|
00000120 40 00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 |@...............|
00000130 00 00 04 00 00 00 00 00 00 00 04 00 00 00 00 00 |................|
00000140 21 40 55 21 00 f8 ff ff b0 00 00 00 50 00 00 00 |!@U!........P...|
00000150 01 00 40 00 00 00 05 00 00 00 00 00 00 00 00 00 |..@.............|
00000160 01 00 00 00 00 00 00 00 40 00 00 00 00 00 00 00 |........@.......|
00000170 00 20 00 00 00 00 00 00 08 10 00 00 00 00 00 00 |. ..............|
00000180 08 10 00 00 00 00 00 00 21 01 54 21 21 01 fe fd |........!.T!!...|
00000190 00 d6 d9 04 80 fa ff ff ff ff ff ff 00 00 00 00 |................|
000001a0 00 00 04 00 00 00 00 00 21 40 55 21 00 f8 ff ff |........!@U!....|
000001b0 b0 00 00 00 50 00 00 00 01 00 40 00 00 00 05 00 |....P.....@.....|
000001c0 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 |................|
000001d0 40 00 00 00 00 00 00 00 00 20 00 00 00 00 00 00 |@........ ......|
000001e0 08 10 00 00 00 00 00 00 08 10 00 00 00 00 00 00 |................|
000001f0 21 01 54 21 21 01 fe fd 00 d6 d9 04 80 fa 02 00 |!.T!!...........|
00000200
MFT Sector of sda2

00000000 46 49 4c 45 30 00 03 00 69 21 12 1e 00 00 00 00 |FILE0...i!......|
00000010 01 00 01 00 38 00 01 00 b0 01 00 00 00 04 00 00 |....8...........|
00000020 00 00 00 00 00 00 00 00 06 00 00 00 00 00 00 00 |................|
00000030 56 00 ff ff 00 00 00 00 10 00 00 00 60 00 00 00 |V...........`...|
00000040 00 00 18 00 00 00 00 00 48 00 00 00 18 00 00 00 |........H.......|
00000050 33 b9 ee 8c 8a d4 cf 01 33 b9 ee 8c 8a d4 cf 01 |3.......3.......|
*
00000070 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000080 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 |................|
00000090 00 00 00 00 00 00 00 00 30 00 00 00 68 00 00 00 |........0...h...|
000000a0 00 00 18 00 00 00 03 00 4a 00 00 00 18 00 01 00 |........J.......|
000000b0 05 00 00 00 00 00 05 00 33 b9 ee 8c 8a d4 cf 01 |........3.......|
000000c0 33 b9 ee 8c 8a d4 cf 01 33 b9 ee 8c 8a d4 cf 01 |3.......3.......|
000000d0 33 b9 ee 8c 8a d4 cf 01 00 40 00 00 00 00 00 00 |3........@......|
000000e0 00 40 00 00 00 00 00 00 06 00 00 00 00 00 00 00 |.@..............|
000000f0 04 03 24 00 4d 00 46 00 54 00 00 00 00 00 00 00 |..$.M.F.T.......|
00000100 80 00 00 00 58 00 00 00 01 00 40 00 00 00 01 00 |....X.....@.....|
00000110 00 00 00 00 00 00 00 00 ff 4c 00 00 00 00 00 00 |.........L......|
00000120 40 00 00 00 00 00 00 00 00 00 d0 04 00 00 00 00 |@...............|
00000130 00 00 d0 04 00 00 00 00 00 00 d0 04 00 00 00 00 |................|
00000140 32 40 49 00 00 0c 31 40 8c 0a 48 31 40 7c 35 02 |2@I...1@..H1@|5.|
00000150 32 40 03 60 f3 3f 00 00 b0 00 00 00 50 00 00 00 |2@.`.?......P...|
00000160 01 00 40 00 00 00 05 00 00 00 00 00 00 00 00 00 |..@.............|
00000170 03 00 00 00 00 00 00 00 40 00 00 00 00 00 00 00 |........@.......|
00000180 00 40 00 00 00 00 00 00 08 30 00 00 00 00 00 00 |.@.......0......|
00000190 08 30 00 00 00 00 00 00 31 01 ff ff 0b 31 03 55 |.0......1....1.U|
000001a0 21 fe 00 05 80 fa ff ff ff ff ff ff 00 00 00 00 |!...............|
000001b0 b0 00 00 00 50 00 00 00 01 00 40 00 00 00 05 00 |....P.....@.....|
000001c0 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 |................|
000001d0 40 00 00 00 00 00 00 00 00 20 00 00 00 00 00 00 |@........ ......|
000001e0 08 10 00 00 00 00 00 00 08 10 00 00 00 00 00 00 |................|
000001f0 31 01 ff ff 0b 11 01 ff 00 19 ee 04 80 fa 56 00 |1.............V.|
00000200
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: [求助] ubuntu 光盘安装不能识别已有分区

#36

帖子 poloshiao » 2014-09-22 5:57

/dev/sda1 63 2,047 1,985 42 SFS
/dev/sda2 * 2,048 206,847 204,800 42 SFS
/dev/sda3 206,848 81,922,047 81,715,200 42 SFS
/dev/sda4 81,922,048 1,953,523,119 1,871,601,072 42 SFS
http://askubuntu.com/questions/41667/ho ... than-other
SFS
windows 的動態硬盤
Ubuntu 無法識別
Ubuntu 只能識別 基本硬盤 (Basic)
如果你要安裝 Ubuntu
必須把 SFS 改為 Basic
zhubaohua
帖子: 1
注册时间: 2016-11-29 15:48
系统: win7

Re: [求助] ubuntu 光盘安装不能识别已有分区

#37

帖子 zhubaohua » 2016-11-29 16:26

billbear, 大神我也遇到了标题类似的问题,我用的是U盘装ubantu,具体问题为我电脑重装了win10后,再重装ubantu的到达ubantu分区的这一步时,ubantu不识别windows分区,执行完以下两个命令的输出是这样的:


ubuntu@ubuntu:~$ sudo fdisk -l

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sda: 128.0 GB, 128035676160 bytes
255 heads, 63 sectors/track, 15566 cylinders, total 250069680 sectors
Units = 扇区 of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x580edf02

设备 启动 起点 终点 块数 Id 系统
/dev/sda1 2048 250066943 125032448 7 HPFS/NTFS/exFAT

WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = 扇区 of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x580edf01

设备 启动 起点 终点 块数 Id 系统
/dev/sdb1 * 2048 1026047 512000 7 HPFS/NTFS/exFAT
/dev/sdb2 1026048 420456447 209715200 7 HPFS/NTFS/exFAT
/dev/sdb3 420456448 839886847 209715200 7 HPFS/NTFS/exFAT
/dev/sdb4 839886848 1953521663 556817408 f W95 扩展 (LBA)
/dev/sdb5 839888896 1259319295 209715200 7 HPFS/NTFS/exFAT
/dev/sdb6 1259321344 1678802943 209740800 7 HPFS/NTFS/exFAT

Disk /dev/sdc: 4009 MB, 4009754624 bytes
255 heads, 63 sectors/track, 487 cylinders, total 7831552 sectors
Units = 扇区 of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xcad4ebea

设备 启动 起点 终点 块数 Id 系统
/dev/sdc4 * 256 7831551 3915648 b W95 FAT32



ubuntu@ubuntu:~$ sudo parted /dev/sda print
Model: ATA SAMSUNG MZNTY128 (scsi)
磁盘 /dev/sda: 128GB
Sector size (logical/physical): 512B/512B
分区表:msdos

数字 开始: End 大小 类型 文件系统 标志
1 1049kB 128GB 128GB primary ntfs
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: [求助] ubuntu 光盘安装不能识别已有分区

#38

帖子 poloshiao » 2016-11-30 6:38

@zhubaohua
sudo fdisk -l
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
請提供 Ubuntu 版本
不同版本 提供的建議 可能不同
hitzsy
帖子: 1
注册时间: 2017-10-19 19:26
系统: Mac

Re: [求助] ubuntu 光盘安装不能识别已有分区

#39

帖子 hitzsy » 2017-10-19 19:28

billbear, 大神你好,我的macbook是guide分区,我在装双系统的时候一直显示不出来硬盘,请问我该怎么办?
pettywormmy
帖子: 3
注册时间: 2017-11-30 16:30
系统: windows7

Re: [求助] ubuntu 光盘安装不能识别已有分区

#40

帖子 pettywormmy » 2017-11-30 16:35

@billbear 大神求助

我在win8.1基础上安装双系统的时候,使用了您在本帖12楼提供的指令:sudo dd if=/dev/zero of=/dev/sda bs=1 count=8 seek=512

然后windows进不去了。。。

请问如何恢复GPT信息?恢复了应该就可以进到windows了吧?
回复