求助,ubuntu10.10安装看不到硬盘,分区那一步空白

系统安装、升级讨论
回复
grfov
帖子: 7
注册时间: 2011-03-23 14:45
送出感谢: 0
接收感谢: 0

求助,ubuntu10.10安装看不到硬盘,分区那一步空白

#1

帖子 grfov » 2011-03-23 14:59

装了3、4天了,一直卡在这里。

160G sata硬盘,最开始用wubi安装,进入ubuntu系统以后提示“没有定义根文件系统”。

于是改用硬盘安装,顺利通过grub4dos进入ubuntu的livecd,通过磁盘管理器能看到硬盘以及各个分区,gparted分区软件也能看到硬盘及各个分区,也能挂载各分区,可以看里面的图片什么的。可是在安装过程到了分区那一步时硬盘那一栏是空白,什么也看不到。如果选择前进就会提示“没有定义根文件系统”。

于是又改用U盘安装,安装过程分区那一步时只能看到U盘,还是看不到硬盘。

于是刻了盘改用光盘安装,分区那一步还是完全空白,看不到硬盘。

尝试了各种方法,包括硬盘IDE兼容、noapic,卸载isodevice等等……始终不能解决问题。旁边的LP看着都急了,说作为一个操作系统,这也忒难装了吧……
头像
smallapple
论坛版主
帖子: 7867
注册时间: 2009-03-28 15:12
送出感谢: 0
接收感谢: 19 次

Re: 求助,ubuntu10.10安装看不到硬盘,分区那一步空白

#2

帖子 smallapple » 2011-03-23 15:02

代码: 全选

sudo fdisk -ul
sudo parted print /dev/sda
看看
grfov
帖子: 7
注册时间: 2011-03-23 14:45
送出感谢: 0
接收感谢: 0

Re: 求助,ubuntu10.10安装看不到硬盘,分区那一步空白

#3

帖子 grfov » 2011-03-23 15:08

smallapple 写了:

代码: 全选

sudo fdisk -ul
sudo parted print /dev/sda
看看
晚上贴出来,这两个命令也试过了,我自己是看不出什么问题。
Ho_[h0]
帖子: 8
注册时间: 2011-03-23 15:53
送出感谢: 0
接收感谢: 0

Re: 求助,ubuntu10.10安装看不到硬盘,分区那一步空白

#4

帖子 Ho_[h0] » 2011-03-23 16:04

会不会是动态磁盘的缘故
grfov
帖子: 7
注册时间: 2011-03-23 14:45
送出感谢: 0
接收感谢: 0

Re: 求助,ubuntu10.10安装看不到硬盘,分区那一步空白

#5

帖子 grfov » 2011-03-23 23:27

ubuntu@ubuntu:~$ sudo fdisk -ul

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 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: 0xfa585056

Device Boot Start End Blocks Id System
/dev/sda1 * 63 58605119 29302528+ c W95 FAT32 (LBA)
/dev/sda2 58605120 312576704 126985792+ f W95 Ext'd (LBA)
/dev/sda3 312578048 312580095 1024 82 Linux swap / Solaris
/dev/sda5 58605183 136745279 39070048+ b W95 FAT32
/dev/sda6 136745343 214885439 39070048+ b W95 FAT32
/dev/sda7 214885503 276317999 30716248+ b W95 FAT32
/dev/sda8 276318063 312576704 18129321 b W95 FAT32


ubuntu@ubuntu:~$ sudo parted print /dev/sda
错误: 无法对设备 print - 没有那个文件或目录 做 stat 操作。
重试/Retry/放弃/Cancel?


其中,/dev/sda3是我在livecd环境下看到有大约2m的空白,自己加的一个swap分区,这不是关键,有没有它都会有1楼的问题
上次由 grfov 在 2011-03-23 23:54,总共编辑 1 次。
grfov
帖子: 7
注册时间: 2011-03-23 14:45
送出感谢: 0
接收感谢: 0

Re: 求助,ubuntu10.10安装看不到硬盘,分区那一步空白

#6

帖子 grfov » 2011-03-23 23:52

Ho_[h0] 写了:会不会是动态磁盘的缘故
绝对不是,肯定是基本磁盘
头像
smallapple
论坛版主
帖子: 7867
注册时间: 2009-03-28 15:12
送出感谢: 0
接收感谢: 19 次

Re: 求助,ubuntu10.10安装看不到硬盘,分区那一步空白

#7

帖子 smallapple » 2011-03-24 8:45

:em03
第二条命令打错了,是

代码: 全选

sudo parted /dev/sda print
fdisk 看不出问题,贴下面结果看看

代码: 全选

cd ~/桌面 && wget 'http://nchc.dl.sourceforge.net/project/bootinfoscript/bootinfoscript/0.55/boot_info_script055.sh' && sudo bash boot_info_script055.sh
grfov
帖子: 7
注册时间: 2011-03-23 14:45
送出感谢: 0
接收感谢: 0

Re: 求助,ubuntu10.10安装看不到硬盘,分区那一步空白

#8

帖子 grfov » 2011-03-24 20:29

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

数字 开始: End 大小 类型 文件系统 标志
1 32.3kB 30.0GB 30.0GB primary fat32 启动, lba
2 30.0GB 160GB 130GB extended lba
5 30.0GB 70.0GB 40.0GB logical fat32
6 70.0GB 110GB 40.0GB logical fat32
7 110GB 141GB 31.5GB logical fat32
8 141GB 160GB 18.6GB logical fat32
3 160GB 160GB 1049kB primary linux-swap(v1)

ubuntu@ubuntu:~$ cd ~/桌面 && wget 'http://nchc.dl.sourceforge.net/project/ ... ript055.sh' && sudo bash boot_info_script055.sh
bash: cd: /home/ubuntu/桌面: 没有那个文件或目录

请问第二个命令是什么意思?
grfov
帖子: 7
注册时间: 2011-03-23 14:45
送出感谢: 0
接收感谢: 0

Boot Info Script 0.55的results

#9

帖子 grfov » 2011-03-24 20:44

Boot Info Script 0.55 dated February 15th, 2010

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

=> No boot loader is installed in the MBR of /dev/sda
=> Windows is installed in the MBR of /dev/sdb
=> Windows is installed in the MBR of /dev/mapper/isw_ecagbcaaij_Volume_0000

sda1: _________________________________________________________________________

File system: vfat
Boot sector type: Windows XP: Fat32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:

sdb1: _________________________________________________________________________

File system: vfat
Boot sector type: Windows XP: Fat32
Boot sector info: No errors found in the Boot Parameter Block.
Mounting failed:
mount: /dev/sdb1 已被挂载或 sdb1 正忙

sdb2: _________________________________________________________________________

File system: Extended Partition
Boot sector type: -
Boot sector info:

sdb5: _________________________________________________________________________

File system: vfat
Boot sector type: -
Boot sector info: No errors found in the Boot Parameter Block.
Mounting failed:
mount: /dev/sdb1 已被挂载或 sdb1 正忙
mount: /dev/sdb5 已被挂载或 sdb5 正忙

sdb6: _________________________________________________________________________

File system: vfat
Boot sector type: -
Boot sector info: No errors found in the Boot Parameter Block.
Mounting failed:
mount: /dev/sdb1 已被挂载或 sdb1 正忙
mount: /dev/sdb5 已被挂载或 sdb5 正忙
mount: /dev/sdb6 已被挂载或 sdb6 正忙

sdb7: _________________________________________________________________________

File system: vfat
Boot sector type: Windows XP: Fat32
Boot sector info: According to the info in the boot sector, sdb7 starts
at sector 63.
Mounting failed:
mount: /dev/sdb1 已被挂载或 sdb1 正忙
mount: /dev/sdb5 已被挂载或 sdb5 正忙
mount: /dev/sdb6 已被挂载或 sdb6 正忙
mount: /dev/sdb7 已被挂载或 sdb7 正忙

sdb8: _________________________________________________________________________

File system: vfat
Boot sector type: Windows XP: Fat32
Boot sector info: According to the info in the boot sector, sdb8 starts
at sector 63.
Mounting failed:
mount: /dev/sdb1 已被挂载或 sdb1 正忙
mount: /dev/sdb5 已被挂载或 sdb5 正忙
mount: /dev/sdb6 已被挂载或 sdb6 正忙
mount: /dev/sdb7 已被挂载或 sdb7 正忙
mount: /dev/sdb8 已被挂载或 sdb8 正忙

sdb3: _________________________________________________________________________

File system:
Boot sector type: -
Boot sector info:
Mounting failed:
mount: /dev/sdb1 已被挂载或 sdb1 正忙
mount: /dev/sdb5 已被挂载或 sdb5 正忙
mount: /dev/sdb6 已被挂载或 sdb6 正忙
mount: /dev/sdb7 已被挂载或 sdb7 正忙
mount: /dev/sdb8 已被挂载或 sdb8 正忙
mount: 未知的文件系统 `'

isw_ecagbcaaij_Volume_00001: _________________________________________________________________________

File system: vfat
Boot sector type: Windows XP: Fat32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows XP
Boot files/dirs: /menu.lst /boot.ini /grldr /ntldr /NTDETECT.COM

isw_ecagbcaaij_Volume_00002: _________________________________________________________________________

File system: Extended Partition
Boot sector type: Unknown
Boot sector info:

isw_ecagbcaaij_Volume_00005: _________________________________________________________________________

File system: vfat
Boot sector type: -
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:

isw_ecagbcaaij_Volume_00006: _________________________________________________________________________

File system: vfat
Boot sector type: -
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:

isw_ecagbcaaij_Volume_00007: _________________________________________________________________________

File system: vfat
Boot sector type: Windows XP: Fat32
Boot sector info: According to the info in the boot sector,
isw_ecagbcaaij_Volume_00007 starts at sector 63.
Operating System:
Boot files/dirs:

isw_ecagbcaaij_Volume_00008: _________________________________________________________________________

File system: vfat
Boot sector type: Windows XP: Fat32
Boot sector info: According to the info in the boot sector,
isw_ecagbcaaij_Volume_00008 starts at sector 63.
Operating System:
Boot files/dirs:

isw_ecagbcaaij_Volume_00003: _________________________________________________________________________

File system:
Boot sector type: Unknown
Boot sector info:
Mounting failed:
mount: /dev/sdb1 已被挂载或 sdb1 正忙
mount: /dev/sdb5 已被挂载或 sdb5 正忙
mount: /dev/sdb6 已被挂载或 sdb6 正忙
mount: /dev/sdb7 已被挂载或 sdb7 正忙
mount: /dev/sdb8 已被挂载或 sdb8 正忙
mount: 未知的文件系统 `'
mount: 未知的文件系统 `'

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

Drive: sda ___________________ _____________________________________________________

Disk /dev/sda: 4016 MB, 4016046080 bytes
90 heads, 25 sectors/track, 3486 cylinders, total 7843840 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sda1 32 7,843,839 7,843,808 b W95 FAT32


Drive: sdb ___________________ _____________________________________________________

Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sdb1 * 63 58,605,119 58,605,057 c W95 FAT32 (LBA)
/dev/sdb2 58,605,120 312,576,704 253,971,585 f W95 Ext d (LBA)
/dev/sdb5 58,605,183 136,745,279 78,140,097 b W95 FAT32
/dev/sdb6 136,745,343 214,885,439 78,140,097 b W95 FAT32
/dev/sdb7 214,885,503 276,317,999 61,432,497 b W95 FAT32
/dev/sdb8 276,318,063 312,576,704 36,258,642 b W95 FAT32
/dev/sdb3 312,578,048 312,580,095 2,048 82 Linux swap / Solaris


Drive: isw_ecagbcaaij_Volume_0000 ___________________ _____________________________________________________

Disk /dev/mapper/isw_ecagbcaaij_Volume_0000: 160.0 GB, 160039706112 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312577551 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/mapper/isw_ecagbcaaij_Volume_00001 * 63 58,605,119 58,605,057 c W95 FAT32 (LBA)
/dev/mapper/isw_ecagbcaaij_Volume_00002 58,605,120 312,576,704 253,971,585 f W95 Ext d (LBA)
/dev/mapper/isw_ecagbcaaij_Volume_00005 58,605,183 136,745,279 78,140,097 b W95 FAT32
/dev/mapper/isw_ecagbcaaij_Volume_00006 136,745,343 214,885,439 78,140,097 b W95 FAT32
/dev/mapper/isw_ecagbcaaij_Volume_00007 214,885,503 276,317,999 61,432,497 b W95 FAT32
/dev/mapper/isw_ecagbcaaij_Volume_00008 276,318,063 312,576,704 36,258,642 b W95 FAT32
/dev/mapper/isw_ecagbcaaij_Volume_00003 312,578,048 312,580,095 2,048 82 Linux swap / Solaris

/dev/mapper/isw_ecagbcaaij_Volume_00003 ends after the last sector of /dev/mapper/isw_ecagbcaaij_Volume_0000

blkid -c /dev/null: ____________________________________________________________

Device UUID TYPE LABEL

/dev/loop0 iso9660 Ubuntu 10.10 i386
/dev/loop1 squashfs
/dev/mapper/isw_ecagbcaaij_Volume_00001 4993-F85F vfat
/dev/mapper/isw_ecagbcaaij_Volume_00005 72E9-9107 vfat
/dev/mapper/isw_ecagbcaaij_Volume_00006 7791-E408 vfat
/dev/mapper/isw_ecagbcaaij_Volume_00007 ECC8-691B vfat
/dev/mapper/isw_ecagbcaaij_Volume_00008 0C21-F5A0 vfat
/dev/mapper/isw_ecagbcaaij_Volume_0000: PTTYPE="dos"
/dev/sda1 347F-31DB vfat
/dev/sda: PTTYPE="dos"
/dev/sdb1 4993-F85F vfat
/dev/sdb2: PTTYPE="dos"
/dev/sdb5 72E9-9107 vfat
/dev/sdb6 7791-E408 vfat
/dev/sdb7 ECC8-691B vfat
/dev/sdb8 0C21-F5A0 vfat
/dev/sdb isw_raid_member
error: /dev/mapper/isw_ecagbcaaij_Volume_00002: No such file or directory
error: /dev/mapper/isw_ecagbcaaij_Volume_00003: No such file or directory

============================ "mount | grep ^/dev output: ===========================

Device Mount_Point Type Options

aufs / aufs (rw)
/dev/sda1 /isodevice vfat (rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 /cdrom iso9660 (ro,noatime)
/dev/loop1 /rofs squashfs (ro,noatime)


==================== isw_ecagbcaaij_Volume_00001/menu.lst: ====================

# This is a sample menu.lst file. You should make some changes to it.

# The old install method of booting via the stage-files has been removed.

# Please install GRLDR boot strap code to MBR with the bootlace.com

# utility under DOS/Win9x or Linux.



color black/cyan yellow/cyan

timeout 30

default /default



title find and load NTLDR of Windows NT/2K/XP

fallback 1

find --set-root /ntldr

chainloader /ntldr

savedefault --wait=2



title find and load CMLDR, the Recovery Console of Windows NT/2K/XP

fallback 2

find --set-root /cmldr

chainloader /cmldr

#####################################################################

# write string "cmdcons" to memory 0000:7C03 in 2 steps:

#####################################################################

# step 1. Write 4 chars "cmdc" at 0000:7C03

write 0x7C03 0x63646D63

# step 2. Write 3 chars "ons" and an ending null at 0000:7C07

write 0x7C07 0x00736E6F

savedefault --wait=2



title find and load IO.SYS of Windows 9x/Me

fallback 3

find --set-root /io.sys

chainloader /io.sys

savedefault --wait=2



title find and boot Mandriva with menu.lst already installed

fallback 4

find --set-root /etc/mandriva-release

savedefault --wait=2

configfile /boot/grub/menu.lst



title find and boot Linux with menu.lst already installed

fallback 5

find --set-root /sbin/init

savedefault --wait=2

configfile /boot/grub/menu.lst



title commandline

savedefault --wait=2

commandline



title floppy (fd0)

chainloader (fd0)+1

rootnoverify (fd0)

savedefault --wait=2



title back to dos

savedefault --wait=2

quit



title reboot

savedefault --wait=2

reboot



title halt

savedefault --wait=2

halt



title memdrive duplicated from floppy image file (hd0,0)/sbm.bin

map --mem (hd0,0)/sbm.bin (fd0)

map --hook

chainloader (fd0)+1

rootnoverify (fd0)

savedefault --wait=2



title memdrive based on win98 partition (hd0,6)

map --mem (hd0,6)+1 (hd0)

# map --mem (hd0,0)/win98.gz (hd0)

map --hook

chainloader (hd0)+1

rootnoverify (hd0)

savedefault --wait=2



title install Ubuntu

root (hd0,0)

kernel (hd0,0)/vmlinuz boot=casper iso-scan/filename=/ubuntu.iso ro quiet splash locale=zh_CN.UTF-8 apic=off noapic nolapic

initrd (hd0,0)/initrd.lz


==================== isw_ecagbcaaij_Volume_00001/boot.ini: ====================

[boot loader]

timeout=30

default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS

[operating systems]

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect

multi(0)disk(0)rdisk(0)partition(4)\WINDOWS="Microsoft Windows XP Professional backup" /noexecute=optin /fastdetect



c:\grldr="Ubuntu10.10"


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


??GB: initrd.lz
??GB: menu.lst
??GB: vmlinuz
=========================== Unknown MBRs/Boot Sectors/etc =======================

Unknown BootLoader on isw_ecagbcaaij_Volume_00002


Unknown BootLoader on isw_ecagbcaaij_Volume_00003



=============================== StdErr Messages: ===============================

ERROR: isw: wrong number of devices in RAID set "isw_ecagbcaaij_Volume_0000" [1/2] on /dev/sdb
ERROR: isw: wrong number of devices in RAID set "isw_ecagbcaaij_Volume_0000" [1/2] on /dev/sdb
ERROR: creating degraded mirror mapping for "isw_ecagbcaaij_Volume_0000"
ERROR: dos: partition address past end of RAID device
ERROR: isw: wrong number of devices in RAID set "isw_ecagbcaaij_Volume_0000" [1/2] on /dev/sdb
ERROR: isw: wrong number of devices in RAID set "isw_ecagbcaaij_Volume_0000" [1/2] on /dev/sdb
hexdump: /dev/mapper/isw_ecagbcaaij_Volume_00002: 没有那个文件或目录
hexdump: /dev/mapper/isw_ecagbcaaij_Volume_00002: 没有那个文件或目录
hexdump: /dev/mapper/isw_ecagbcaaij_Volume_00003: 没有那个文件或目录
hexdump: /dev/mapper/isw_ecagbcaaij_Volume_00003: 没有那个文件或目录
ERROR: isw: wrong number of devices in RAID set "isw_ecagbcaaij_Volume_0000" [1/2] on /dev/sdb
ERROR: dos: partition address past end of RAID device
grfov
帖子: 7
注册时间: 2011-03-23 14:45
送出感谢: 0
接收感谢: 0

parted命令的结果,硬盘又变成sdb了

#10

帖子 grfov » 2011-03-24 20:46

ubuntu@ubuntu:~$ sudo parted /dev/sda print
Model: General USB Flash Disk (scsi)
磁盘 /dev/sda: 4016MB
Sector size (logical/physical): 512B/512B
分区表:msdos

数字 开始: End 大小 类型 文件系统 标志
1 16.4kB 4016MB 4016MB primary fat32

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

数字 开始: End 大小 类型 文件系统 标志
1 32.3kB 30.0GB 30.0GB primary fat32 启动, lba
2 30.0GB 160GB 130GB extended lba
5 30.0GB 70.0GB 40.0GB logical fat32
6 70.0GB 110GB 40.0GB logical fat32
7 110GB 141GB 31.5GB logical fat32
8 141GB 160GB 18.6GB logical fat32
3 160GB 160GB 1049kB primary linux-swap(v1)
头像
smallapple
论坛版主
帖子: 7867
注册时间: 2009-03-28 15:12
送出感谢: 0
接收感谢: 19 次

Re: 求助,ubuntu10.10安装看不到硬盘,分区那一步空白

#11

帖子 smallapple » 2011-03-24 21:01

isw_ecagbcaaij_Volume?
是什么东东?硬raid?软raid?

看不懂,PM 熊大 billbear :em02
回复

回到 “系统安装和升级”