debian-8.2.0-i386-netinst.iso,卡在"分区格式化",貌似未进行格式化,是怎么了?

最大的社区版本,Ubuntu的发源地
回复
科学之子
帖子: 2284
注册时间: 2013-05-26 6:58
系统: Debian 9

debian-8.2.0-i386-netinst.iso,卡在"分区格式化",貌似未进行格式化,是怎么了?

#1

帖子 科学之子 » 2015-12-26 3:08

debian-8.2.0-i386-netinst.iso,卡在"分区格式化",貌似未进行格式化,是怎么了?
进度是33%,卡了好久,发现被格式化分区的原有debian 8.2依然可以启动,看起来好像压根就没有实际执行格式化.
附件是busybox里的/var/log/partman
参考资料中用了一些"无厘头"的方法"解决了"这个问题,我还没有尝试,但很快会尝试
参考资料1:http://tieba.baidu.com/p/3697890576
参考资料2:http://tieba.baidu.com/p/4081140495
附件
partman.log.zip
日志有5306行,所以只能以附件形式上传.
(5.91 KiB) 已下载 142 次
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: debian-8.2.0-i386-netinst.iso,卡在"分区格式化",貌似未进行格式化,是怎么了?

#2

帖子 poloshiao » 2015-12-26 13:02

debian-8.2.0-i386-netinst.iso,卡在"分区格式化"
1. 使用 Ubuntu Live CD/DVD/USB 開機 (Debian Live CD/DVD/USB 也行)
登入 試用桌面 把下面指令 複製 貼進終端機 執行
1-1. sudo fdisk -l
1-2. sudo parted -l print
把結果直接 選取/複製/貼上來
1-3. 請說明 你的 / 掛載在哪個分割區
科学之子
帖子: 2284
注册时间: 2013-05-26 6:58
系统: Debian 9

Re: debian-8.2.0-i386-netinst.iso,卡在"分区格式化",貌似未进行格式化,是怎么了?

#3

帖子 科学之子 » 2015-12-27 0:05

poloshiao 写了:
debian-8.2.0-i386-netinst.iso,卡在"分区格式化"
1. 使用 Ubuntu Live CD/DVD/USB 開機 (Debian Live CD/DVD/USB 也行)
登入 試用桌面 把下面指令 複製 貼進終端機 執行
1-1. sudo fdisk -l
1-2. sudo parted -l print
把結果直接 選取/複製/貼上來
1-3. 請說明 你的 / 掛載在哪個分割區
没有用LiveCD,直接在Lubuntu启动了

代码: 全选

#sudo fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xef39ef39

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63   104872319    52436128+   7  HPFS/NTFS/exFAT
/dev/sda2       104872383   209729804    52428711   83  Linux
/dev/sda3       959563776   976773119     8604672   83  Linux
/dev/sda4       209744707   959562449   374908871+   f  W95 Ext'd (LBA)
/dev/sda5       209744709   942781874   366518583    7  HPFS/NTFS/exFAT
/dev/sda6       942781938   959562449     8390256   83  Linux

Partition table entries are not in disk order

代码: 全选

#sudo parted -l print
Model: ATA ST3500418AS (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type      File system  Flags
 1      32.3kB  53.7GB  53.7GB  primary   ntfs         boot
 2      53.7GB  107GB   53.7GB  primary   ext4
 4      107GB   491GB   384GB   extended               lba
 5      107GB   483GB   375GB   logical   ntfs
 6      483GB   491GB   8592MB  logical
 3      491GB   500GB   8811MB  primary   ext4


Error: /dev/zram0: unrecognised disk label                                

Error: /dev/zram1: unrecognised disk label 
busybox里mount显示/挂载在rootfs上,大小和free显示的内存大小相同,应该是在内存里?

下面这句意思是?
Partition table entries are not in disk order
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: debian-8.2.0-i386-netinst.iso,卡在"分区格式化",貌似未进行格式化,是怎么了?

#4

帖子 poloshiao » 2015-12-27 5:40

6 483GB 491GB 8592MB logical
3 491GB 500GB 8811MB primary ext4
Partition table entries are not in disk order
1. 表示 分割表 順序 (指 1,2,3,4,...順序) 不是依照 實體順序
例如 /dev/sda3 實際上 實體順序 是在 /dev/sda6 後面
使用 gparted 可以看得更清楚 實體順序
這只是通知 不是錯誤

2. 依照 實體順序 重排
/dev/sda1 * 63 104872319 52436128+ 7 HPFS/NTFS/exFAT
/dev/sda2 104872383 209729804 52428711 83 Linux
/dev/sda4 209744707 959562449 374908871+ f W95 Ext'd (LBA)
---/dev/sda5 209744709 942781874 366518583 7 HPFS/NTFS/exFAT
---/dev/sda6 942781938 959562449 8390256 83 Linux
/dev/sda3 959563776 976773119 8604672 83 Linux
註 /dev/sda5 /dev/sda6 包在 延伸分割區 /dev/sda4 內

3. 登入 windows
磁盤管理
把 /dev/sda 分割表 圖形 擷圖 貼上來
busybox里mount显示/挂载在rootfs上,大小和free显示的内存大小相同,应该是在内存里?
4. 這應該是 iso 直接掛載 或 燒錄成的 Live USB/DVD 開機的掛載
1-3. 請說明 你的 / 掛載在哪個分割區
4-1. 這裡問的是 你安裝 debian 8.2.0 i386 時
你打算把 安裝的 debian 的 / 掛載在哪個分割區 ?

5. 如果你是 debian 的新手
建議先下載 5-1 或 5-2

5-1. http://cdimage.debian.org/debian-cd/8.2 ... 6-CD-1.iso
debian-8.2.0-i386-CD-1.iso
5-1-1. 詳細參閱
https://www.debian.org/CD/http-ftp/#stable

5-2. http://cdimage.debian.org/debian-cd/8.2 ... -DVD-1.iso
debian-8.2.0-i386-DVD-1.iso
5-2-1. 詳細參閱
http://cdimage.debian.org/debian-cd/8.2.0/i386/iso-dvd/

5-3. Debian GNU/Linux 安装手册
https://www.debian.org/releases/jessie/i386/

5-4. 有經驗以後 再使用 netinst 安裝

6. 補充
下載 ISO 以後要先檢查 MD5sum 通過以後 才能燒錄或掛載
燒錄或掛載以後要先檢查燒錄完整性 通過以後 才能拿來安裝或試用
科学之子
帖子: 2284
注册时间: 2013-05-26 6:58
系统: Debian 9

Re: debian-8.2.0-i386-netinst.iso,卡在"分区格式化",貌似未进行格式化,是怎么了?

#5

帖子 科学之子 » 2015-12-27 13:16

poloshiao 写了:
6 483GB 491GB 8592MB logical
3 491GB 500GB 8811MB primary ext4
Partition table entries are not in disk order
1. 表示 分割表 順序 (指 1,2,3,4,...順序) 不是依照 實體順序
例如 /dev/sda3 實際上 實體順序 是在 /dev/sda6 後面
使用 gparted 可以看得更清楚 實體順序
這只是通知 不是錯誤

2. 依照 實體順序 重排
/dev/sda1 * 63 104872319 52436128+ 7 HPFS/NTFS/exFAT
/dev/sda2 104872383 209729804 52428711 83 Linux
/dev/sda4 209744707 959562449 374908871+ f W95 Ext'd (LBA)
---/dev/sda5 209744709 942781874 366518583 7 HPFS/NTFS/exFAT
---/dev/sda6 942781938 959562449 8390256 83 Linux
/dev/sda3 959563776 976773119 8604672 83 Linux
註 /dev/sda5 /dev/sda6 包在 延伸分割區 /dev/sda4 內

3. 登入 windows
磁盤管理
把 /dev/sda 分割表 圖形 擷圖 貼上來
busybox里mount显示/挂载在rootfs上,大小和free显示的内存大小相同,应该是在内存里?
4. 這應該是 iso 直接掛載 或 燒錄成的 Live USB/DVD 開機的掛載
1-3. 請說明 你的 / 掛載在哪個分割區
4-1. 這裡問的是 你安裝 debian 8.2.0 i386 時
你打算把 安裝的 debian 的 / 掛載在哪個分割區 ?

5. 如果你是 debian 的新手
建議先下載 5-1 或 5-2

5-1. http://cdimage.debian.org/debian-cd/8.2 ... 6-CD-1.iso
debian-8.2.0-i386-CD-1.iso
5-1-1. 詳細參閱
https://www.debian.org/CD/http-ftp/#stable

5-2. http://cdimage.debian.org/debian-cd/8.2 ... -DVD-1.iso
debian-8.2.0-i386-DVD-1.iso
5-2-1. 詳細參閱
http://cdimage.debian.org/debian-cd/8.2.0/i386/iso-dvd/

5-3. Debian GNU/Linux 安装手册
https://www.debian.org/releases/jessie/i386/

5-4. 有經驗以後 再使用 netinst 安裝

6. 補充
下載 ISO 以後要先檢查 MD5sum 通過以後 才能燒錄或掛載
燒錄或掛載以後要先檢查燒錄完整性 通過以後 才能拿來安裝或試用
1.感谢翻译指示
3.WinXP磁盘管理截图:
WinXP磁盘管理截图.PNG
4.安装后的debian的根目录打算挂载到/dev/sda3
4-1.目标是单硬盘状态下通过iso文件真机安装debian,所以这个不在考虑之内
5.我已经成功安装过一次,只不过那次是ext4分区提前在Lubuntu创建好了;
这次打算用netinst重新格式化那个分区,就发现这个问题.

6.
感谢提醒,MD5SUM校验完成,完整性也校验过
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: debian-8.2.0-i386-netinst.iso,卡在"分区格式化",貌似未进行格式化,是怎么了?

#6

帖子 poloshiao » 2015-12-27 18:58

图片

在 Windows 被標示為聯機
在 Linux 無法使用

請搜尋為何被標示為聯機
科学之子
帖子: 2284
注册时间: 2013-05-26 6:58
系统: Debian 9

Re: debian-8.2.0-i386-netinst.iso,卡在"分区格式化",貌似未进行格式化,是怎么了?

#7

帖子 科学之子 » 2015-12-27 22:48

poloshiao 写了:图片

在 Windows 被標示為聯機
在 Linux 無法使用

請搜尋為何被標示為聯機
可是Lubuntu就可以正常进行格式化.
这里"联机"的意思会不会是指"正在使用"而非"磁盘阵列"?

参考资料:http://wenku.baidu.com/link?url=XNg9VSS ... ELNJEaP89C
貌似"联机"的意思,就是连接到系统的意思..
联机

当基本或动态磁盘可以访问且没有已知问题时,就会出现"联机"状态。这是正常的磁盘状态。不要求用户的操作
http://doc.helplib.com/help/229eb95768d ... 3d733a6494
"联机"提示貌似只是表明磁盘正常,Lubuntu下也可以正常访问这些分区,但不知为何netinst格式化这个分区时就毫无提示的卡在那里
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: debian-8.2.0-i386-netinst.iso,卡在"分区格式化",貌似未进行格式化,是怎么了?

#8

帖子 poloshiao » 2015-12-28 6:56

使用 Ubuntu Live CD/DVD/USB 開機
登入 試用桌面 把下面指令 複製 貼進終端機 執行
sudo gdisk -l /dev/sda
把結果直接 選取/複製/貼上來
目的 要看看你的分割表有沒有受到污染
因為 分割表受到污染 也可能出現聯機標示
科学之子
帖子: 2284
注册时间: 2013-05-26 6:58
系统: Debian 9

Re: debian-8.2.0-i386-netinst.iso,卡在"分区格式化",貌似未进行格式化,是怎么了?

#9

帖子 科学之子 » 2015-12-29 0:52

poloshiao 写了:使用 Ubuntu Live CD/DVD/USB 開機
登入 試用桌面 把下面指令 複製 貼進終端機 執行
sudo gdisk -l /dev/sda
把結果直接 選取/複製/貼上來
目的 要看看你的分割表有沒有受到污染
因為 分割表受到污染 也可能出現聯機標示
不知为何Ubuntu iso,我用引导Lubuntu 的方法无法引导了,直接在Lubuntu下载gdisk了
sda2是Lubuntu的根目录
是否我需要dd出sda前64个扇区?

代码: 全选

#sudo gdisk -l /dev/sda
GPT fdisk (gdisk) version 0.8.10

Partition table scan:
  MBR: MBR only
  BSD: not present
  APM: not present
  GPT: not present


***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format
in memory. 
***************************************************************

Disk /dev/sda: 976773168 sectors, 465.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 2AC26286-4566-4140-BFBF-0B176E23664A
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 976773134
Partitions will be aligned on 8-sector boundaries
Total free space is 16400 sectors (8.0 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1              63       104872319   50.0 GiB    0700  Microsoft basic data
   2       104872383       209729804   50.0 GiB    8300  Linux filesystem
   3       959563776       976773119   8.2 GiB     8300  Linux filesystem
   5       209744709       942781874   349.5 GiB   0700  Microsoft basic data
   6       942781938       959562449   8.0 GiB     8300  Linux filesystem
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: debian-8.2.0-i386-netinst.iso,卡在"分区格式化",貌似未进行格式化,是怎么了?

#10

帖子 poloshiao » 2015-12-29 7:06

2. 依照 實體順序 重排
/dev/sda1 * 63 104872319 52436128+ 7 HPFS/NTFS/exFAT
/dev/sda2 104872383 209729804 52428711 83 Linux
/dev/sda4 209744707 959562449 374908871+ f W95 Ext'd (LBA)
---/dev/sda5 209744709 942781874 366518583 7 HPFS/NTFS/exFAT
---/dev/sda6 942781938 959562449 8390256 83 Linux
/dev/sda3 959563776 976773119 8604672 83 Linux
註 /dev/sda5 /dev/sda6 包在 延伸分割區 /dev/sda4 內
1. 你的硬盤應該是 MBR 分割 (又稱 msdos 分割)
#sudo gdisk -l /dev/sda
GPT fdisk (gdisk) version 0.8.10
... 中間省略
***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format
in memory.
***************************************************************
... 中間省略
Number Start (sector) End (sector) Size Code Name
1 63 104872319 50.0 GiB 0700 Microsoft basic data
2 104872383 209729804 50.0 GiB 8300 Linux filesystem
3 959563776 976773119 8.2 GiB 8300 Linux filesystem
5 209744709 942781874 349.5 GiB 0700 Microsoft basic data
6 942781938 959562449 8.0 GiB 8300 Linux filesystem
2. 你的硬盤應該是在 Windows 分割
早期 windows 的分割工具 把 ext4 誤判為 Microsoft basic data
(後來修正了)
2-1. https://bbs.archlinux.org/viewtopic.php?id=191163
linux ext4 partitions show up as "Microsoft basic data" type
2-2. 是不是 Microsoft basic data 分割型態 Linux 無法識別 待查
2-2-1. http://askubuntu.com/questions/544340/u ... partitions
2-2-2. http://askubuntu.com/questions/667831/d ... -windows-7

3. 補充
你的硬盤是 MBR (或稱 msdos) 分割
但是 gdisk 是針對 gpt 分割的指令
意思是 你貼上來的結果 只能當參考
要具以證明 需要對 gdisk 多一點了解
進一步參閱
3-1. http://manpages.ubuntu.com/manpages/wil ... isk.8.html
gdisk - Interactive GUID partition table (GPT) manipulator
3-2. http://www.rodsbooks.com/gdisk/
GPT fdisk Tutorial

4. 參見 本論壇 以前的討論 以及 各種可能的解決方案
search.php?keywords=invalid+GPT+convert ... C%E5%B0%8B
4-1. 如果這個問題 一直無法解決 使用 gparted 重新分割 是徹底解決方案 但是 有重要資料 要先備存
回复