当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 3 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : [solved]ubuntu 12.04 启动时 Invalid patition table!错误
帖子发表于 : 2016-04-05 11:55 

注册: 2016-04-05 11:39
帖子: 2
系统: ubuntu 12.04
送出感谢: 0 次
接收感谢: 0 次
Hi,all:
PC支持硬raid,将两个500g的硬盘做了个RAID 1镜像。安装ubuntu 12.04时将grub安装在/dev/mapper/isw_dfciehgfed_Volume0.
安装后机器启动就出现“Invalid Partition Table!”的错误然后停在哪里,如果按ESC或F5可以跳过这个错误,然后ubuntu就能正常启动了。
感觉系统已经安装在raid盘上了 ,只是这个错误很烦人,每次启动都要人工干预,所以请教大家如何解决。硬盘信息:
代码:
# 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 / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000edbe5


   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048   943368191   471683072   83  Linux
/dev/sda2       943370238   976766975    16698369    5  Extended
Partition 2 does not start on physical sector boundary.
/dev/sda5       943370240   976766975    16698368   82  Linux swap / Solaris


Disk /dev/sdb: 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 / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000edbe5


   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1            2048   943368191   471683072   83  Linux
/dev/sdb2       943370238   976766975    16698369    5  Extended
Partition 2 does not start on physical sector boundary.
/dev/sdb5       943370240   976766975    16698368   82  Linux swap / Solaris


Disk /dev/mapper/isw_dfciehgfed_Volume0: 500.1 GB, 500104826880 bytes
255 heads, 63 sectors/track, 60800 cylinders, total 976767240 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000edbe5


                              Device Boot      Start         End      Blocks   Id  System
/dev/mapper/isw_dfciehgfed_Volume0p1            2048   943368191   471683072   83  Linux
/dev/mapper/isw_dfciehgfed_Volume0p2       943370238   976766975    16698369    5  Extended
Partition 2 does not start on physical sector boundary.
/dev/mapper/isw_dfciehgfed_Volume0p5       943370240   976766975    16698368   82  Linux swap / Solaris


Disk /dev/mapper/isw_dfciehgfed_Volume0p1: 483.0 GB, 483003465728 bytes
255 heads, 63 sectors/track, 58721 cylinders, total 943366144 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000


Disk /dev/mapper/isw_dfciehgfed_Volume0p1 doesn't contain a valid partition table
fdisk: unable to read /dev/mapper/isw_dfciehgfed_Volume0p2: Inappropriate ioctl for device
root@kr:~# mount
/dev/mapper/isw_dfciehgfed_Volume0p1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
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)
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)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
gvfs-fuse-daemon on /home/x/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=x)


谢谢!

Regards,
soar


最后由 soar2 编辑于 2016-04-06 16:19,总共编辑了 1 次

页首
 用户资料  
 
2 楼 
 文章标题 : Re: ubuntu 12.04 启动时 Invalid patition table!错误
帖子发表于 : 2016-04-05 19:24 

注册: 2009-08-04 16:33
帖子: 16893
送出感谢: 21
接收感谢: 1827
引用:
安装ubuntu 12.04时将grub安装在/dev/mapper/isw_dfciehgfed_Volume0.
安装后机器启动就出现“Invalid Partition Table!”的错误然后停在哪里

1. /dev/mapper/isw_dfciehgfed_Volume0 並不是 分割區
所以 出現 Invalid Partition Table 是必然的訊息

2. 通常 建議 /boot 不要 掛載或說安裝在 Raid 上面
當然 掛載或說安裝在 Raid 上面 不是說完全不行

3. 你安裝 Ubuntu 12.04 是使用 desktop 版 來安裝的嗎


页首
 用户资料  
 
3 楼 
 文章标题 : Re: ubuntu 12.04 启动时 Invalid patition table!错误
帖子发表于 : 2016-04-06 16:19 

注册: 2016-04-05 11:39
帖子: 2
系统: ubuntu 12.04
送出感谢: 0 次
接收感谢: 0 次
引用:
1. /dev/mapper/isw_dfciehgfed_Volume0 並不是 分割區
所以 出現 Invalid Partition Table 是必然的訊息

是这个原因!使用boot repair工具将grub安装到/dev/mapper/isw_dfciehgfed_Volume0p1上就ok了!
感谢poloshiao!


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 3 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 1 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译