[solved]ubuntu 12.04 启动时 Invalid patition table!错误

启动讨论 grub/grub2/syslinux/grub4dos/Lilo
回复
soar2
帖子: 2
注册时间: 2016-04-05 11:39
系统: ubuntu 12.04

[solved]ubuntu 12.04 启动时 Invalid patition table!错误

#1

帖子 soar2 » 2016-04-05 11:55

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 次。
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: ubuntu 12.04 启动时 Invalid patition table!错误

#2

帖子 poloshiao » 2016-04-05 19:24

安装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 版 來安裝的嗎
soar2
帖子: 2
注册时间: 2016-04-05 11:39
系统: ubuntu 12.04

Re: ubuntu 12.04 启动时 Invalid patition table!错误

#3

帖子 soar2 » 2016-04-06 16:19

1. /dev/mapper/isw_dfciehgfed_Volume0 並不是 分割區
所以 出現 Invalid Partition Table 是必然的訊息
是这个原因!使用boot repair工具将grub安装到/dev/mapper/isw_dfciehgfed_Volume0p1上就ok了!
感谢poloshiao!
回复