红联Linux门户
Linux帮助
当前位置: 红联Linux门户 > Ubuntu

求助:安装ubuntu11.04后按系统提示重启后出错

发布时间:2011-05-18 13:57:02来源:红联作者:xiaoman84
我的电脑配置是技嘉p45p-s3主板,两块120g并口硬盘,第一块硬盘安装有xp,安装ubuntu是已将第一块拆除。
ubuntu安装完提示重启后,bios自检通过,然后光标就一直在屏幕左下角闪了,硬盘灯常亮。
引导程序是装在mbr里的。我看grub指南上说“grub2会在任何操作系统前加载”。是不是加载失败了?
然后我用livecd启动,一次挂在/,/boot,将grub重新写入mbr。提示“没有错误,成功”
但是当我update -grub时,错误提示“
/usr/sbin/grub-probe: error: cannot stat `aufs'.”
这个是不是bug啊?
如何解决?
下面是我的硬盘以及grub.cfg资料
============================= Boot Info Summary: ==============================

=> Grub 2 is installed in the MBR of /dev/sda and looks for b7d.
=> Syslinux is installed in the MBR of /dev/sdb

sda1: _________________________________________________________________________

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

sda2: _________________________________________________________________________

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

sda3: _________________________________________________________________________

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

sda5: _________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs: /grub/grub.cfg /grub/core.img

sda6: _________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 11.04
Boot files/dirs: /etc/fstab

sda7: _________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:

sda8: _________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:

sda9: _________________________________________________________________________

File system: swap
Boot sector type: -
Boot sector info:

sdb4: _________________________________________________________________________

File system: vfat
Boot sector type: Unknown
Boot sector info: According to the info in the boot sector, sdb4 starts
at sector 0. But according to the info from fdisk,
sdb4 starts at sector 63.
Operating System:
Boot files/dirs:

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

Drive: sda ___________________ _____________________________________________________

Disk /dev/sda: 120.0 GB, 120033041920 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234439535 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 * 112,663,845 143,380,124 30,716,280 7 HPFS/NTFS
/dev/sda2 143,380,125 234,436,544 91,056,420 7 HPFS/NTFS
/dev/sda3 2,046 112,662,527 112,660,482 5 Extended
/dev/sda5 2,048 194,559 192,512 83 Linux
/dev/sda6 196,608 9,959,423 9,762,816 83 Linux
/dev/sda7 9,961,472 49,020,927 39,059,456 83 Linux
/dev/sda8 49,022,976 107,614,207 58,591,232 83 Linux
/dev/sda9 107,616,256 112,662,527 5,046,272 82 Linux swap / Solaris


Drive: sdb ___________________ _____________________________________________________

Disk /dev/sdb: 1998 MB, 1998519808 bytes
255 heads, 63 sectors/track, 242 cylinders, total 3903359 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sdb4 * 63 3,903,358 3,903,296 6 FAT16


blkid -c /dev/null: ____________________________________________________________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/sda1 8EC43EDFC43EC96B ntfs AV
/dev/sda2 D8703EF7703EDC46 ntfs 欣赏类
/dev/sda3: PTTYPE="dos"
/dev/sda5 bf3c08c9-884e-45c1-bac6-dd239745512c ext4
/dev/sda6 cdddd1c0-4e2a-4a6b-b8c4-babcb5fe3e72 ext4
/dev/sda7 70fb52d7-8ff0-4c95-ab45-841e143dc588 ext4
/dev/sda8 e714abef-19b0-4e6c-a1a7-01e6657f0abf ext4
/dev/sda9 d88ed5db-9e81-4b13-8f15-ce15d18cad46 swap
/dev/sda: PTTYPE="dos"
/dev/sdb4 9C3D-DC09 vfat 新卷
/dev/sdb: PTTYPE="dos"

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

Device Mount_Point Type Options

aufs / aufs (rw)
/dev/sdb4 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sda5 /media/bf3c08c9-884e-45c1-bac6-dd239745512c ext4 (rw,nosuid,nodev,uhelper=udisks)
/dev/sda6 /mnt ext4 (rw)
/dev/sda5 /mnt/boot ext4 (rw)


============================= sda5/grub/grub.cfg: =============================

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi

function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}

function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}

function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos7)'
search --no-floppy --fs-uuid --set=root 70fb52d7-8ff0-4c95-ab45-841e143dc588
if loadfont /share/grub/unicode.pf2 ; then
set gfxmode=auto
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos5)'
search --no-floppy --fs-uuid --set=root bf3c08c9-884e-45c1-bac6-dd239745512c
set locale_dir=($root)/grub/locale
set lang=zh_CN
insmod gettext
if [ "${recordfail}" = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30; then
clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
if [ ${recordfail} != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Ubuntu,Linux 2.6.38-8-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos5)'
search --no-floppy --fs-uuid --set=root bf3c08c9-884e-45c1-bac6-dd239745512c
linux /vmlinuz-2.6.38-8-generic root=UUID=cdddd1c0-4e2a-4a6b-b8c4-babcb5fe3e72 ro quiet splash vt.handoff=7
initrd /initrd.img-2.6.38-8-generic
}
menuentry 'Ubuntu,Linux 2.6.38-8-generic (恢复模式)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos5)'
search --no-floppy --fs-uuid --set=root bf3c08c9-884e-45c1-bac6-dd239745512c
echo 'Loading Linux 2.6.38-8-generic ...'
linux /vmlinuz-2.6.38-8-generic root=UUID=cdddd1c0-4e2a-4a6b-b8c4-babcb5fe3e72 ro single
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.38-8-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos5)'
search --no-floppy --fs-uuid --set=root bf3c08c9-884e-45c1-bac6-dd239745512c
linux16 /memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos5)'
search --no-floppy --fs-uuid --set=root bf3c08c9-884e-45c1-bac6-dd239745512c
linux16 /memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ "x${timeout}" != "x-1" ]; then
if keystatus; then
if keystatus --shift; then
set timeout=-1
else
set timeout=0
fi
else
if sleep --interruptible 3 ; then
set timeout=0
fi
fi
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

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


.0GB: grub/core.img
.0GB: grub/grub.cfg
.0GB: initrd.img-2.6.38-8-generic
.0GB: vmlinuz-2.6.38-8-generic

=============================== sda6/etc/fstab: ===============================

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
#
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda6 during installation
UUID=cdddd1c0-4e2a-4a6b-b8c4-babcb5fe3e72 / ext4 errors=remount-ro 0 1
# /boot was on /dev/sda5 during installation
UUID=bf3c08c9-884e-45c1-bac6-dd239745512c /boot ext4 defaults 0 2
# /home was on /dev/sda8 during installation
UUID=e714abef-19b0-4e6c-a1a7-01e6657f0abf /home ext4 defaults 0 2
/dev/sda7 /usr ext4 defaults 0 2
# swap was on /dev/sda9 during installation
UUID=d88ed5db-9e81-4b13-8f15-ce15d18cad46 none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0

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


.1GB: initrd.img
.1GB: vmlinuz
=========================== Unknown MBRs/Boot Sectors/etc =======================

Unknown BootLoader on sda3

00000000 01 00 00 00 00 00 00 00 d4 86 00 00 00 00 00 00 |................|
00000010 5e 5c 9e c1 2c 05 c6 01 38 49 49 13 2d 05 c6 01 |^\..,...8II.-...|
00000020 38 49 49 13 2d 05 c6 01 9c 8f a8 02 dc 7d c8 01 |8II.-........}..|
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 00 00 00 10 00 00 00 00 5e 5c 9e c1 2c 05 c6 01 |........^\..,...|
00000050 38 49 49 13 2d 05 c6 01 38 49 49 13 2d 05 c6 01 |8II.-...8II.-...|
00000060 8e 13 56 12 58 c2 c5 01 00 00 00 00 00 00 00 00 |..V.X...........|
00000070 00 00 00 00 00 00 00 00 00 00 00 10 00 00 00 00 |................|
00000080 d0 cd 01 14 00 00 00 00 b7 cd 01 14 00 00 00 00 |................|
00000090 00 00 00 00 00 00 00 00 28 00 00 00 00 00 00 00 |........(.......|
000000a0 01 00 00 00 18 00 00 00 00 00 00 00 00 00 00 00 |................|
000000b0 1b 00 01 00 28 00 00 00 28 00 08 00 18 00 00 00 |....(...(.......|
000000c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000d0 00 00 00 00 00 00 00 00 db cd 01 14 00 00 00 00 |................|
000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000f0 88 00 00 00 00 00 00 00 01 00 00 00 18 00 00 00 |................|
00000100 00 00 00 00 00 00 00 00 07 00 07 00 28 00 30 00 |............(.0.|
00000110 58 00 30 00 18 00 01 00 38 00 30 00 02 00 00 00 |X.0.....8.0.....|
00000120 7c 0e 00 00 00 00 00 00 7c 0e 0c 00 00 00 00 00 ||.......|.......|
00000130 9c 8f a8 02 dc 7d c8 01 00 00 00 00 00 00 00 00 |.....}..........|
00000140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000160 ae be 95 e1 4e bf c5 01 00 00 00 00 00 00 00 00 |....N...........|
00000170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000190 f2 cd 01 14 00 00 00 00 db cd 01 14 00 00 00 00 |................|
000001a0 db cd 01 14 00 00 00 00 98 00 00 00 00 00 00 00 |................|
000001b0 01 00 00 00 18 00 00 00 01 00 00 00 00 00 00 20 |............... |
000001c0 21 00 83 1c 10 0c 02 00 00 00 00 f0 02 00 00 1c |!...............|
000001d0 11 0c 05 f1 86 6b 02 f0 02 00 00 00 95 00 00 00 |.....k..........|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200

Unknown BootLoader on sdb4

00000000 eb 58 90 53 59 53 4c 49 4e 55 58 00 02 08 20 00 |.X.SYSLINUX... .|
00000010 02 00 00 00 00 f8 00 00 3e 00 3e 00 00 00 00 00 |........>.>.....|
00000020 40 8f 3b 00 e0 0e 00 00 00 00 00 00 02 00 00 00 |@.;.............|
00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 00 00 29 09 dc 3d 9c e6 96 b0 e5 8d b7 20 20 20 |..)..=....... |
00000050 20 20 46 41 54 33 32 20 20 20 fa fc 31 c9 8e d1 | FAT32 ..1...|
00000060 bc 76 7b 52 06 57 8e c1 b1 26 bf 78 7b f3 a5 8e |.v{R.W...&.x{...|
00000070 d9 bb 78 00 0f b4 37 0f a0 56 20 d2 78 1b 31 c0 |..x...7..V .x.1.|
00000080 b1 06 89 3f 89 47 02 f3 64 a5 8a 0e 18 7c 88 4d |...?.G..d....|.M|
00000090 bc 50 50 50 50 cd 13 eb 4b f6 45 b4 7f 75 25 38 |.PPPP...K.E..u%8|
000000a0 4d b8 74 20 66 3d 21 47 50 54 75 10 80 7d b8 ed |M.t f=!GPTu..}..|
000000b0 75 0a 66 ff 75 ec 66 ff 75 e8 eb 0f 51 51 66 ff |u.f.u.f.u...QQf.|
000000c0 75 bc eb 07 51 51 66 ff 36 1c 7c b4 08 cd 13 72 |u...QQf.6.|....r|
000000d0 13 20 e4 75 0f c1 ea 08 42 89 16 1a 7c 83 e1 3f |. .u....B...|..?|
000000e0 89 0e 18 7c fb bb aa 55 b4 41 8a 16 74 7b cd 13 |...|...U.A..t{..|
000000f0 72 10 81 fb 55 aa 75 0a f6 c1 01 74 05 c6 06 32 |r...U.u....t...2|
00000100 7d 00 66 b8 c8 86 15 00 66 ba 00 00 00 00 bb 00 |}.f.....f.......|
00000110 7e e8 10 00 66 81 3e 2c 7e ce 0d 08 72 75 76 ea |~...f.>,~...ruv.|
00000120 40 7e 00 00 66 03 06 64 7b 66 13 16 68 7b b9 10 |@~..f..d{f..h{..|
00000130 00 eb 2b 66 52 66 50 06 53 6a 01 6a 10 89 e6 66 |..+fRfP.Sj.j...f|
00000140 60 b4 42 e8 7f 00 66 61 8d 64 10 72 01 c3 66 60 |`.B...fa.d.r..f`|
00000150 31 c0 e8 70 00 66 61 e2 da c6 06 32 7d 2b 66 60 |1..p.fa....2}+f`|
00000160 66 0f b7 36 18 7c 66 0f b7 3e 1a 7c 66 f7 f6 31 |f..6.|f..>.|f..1|
00000170 c9 87 ca 66 f7 f7 66 3d ff 03 00 00 77 17 c0 e4 |...f..f=....w...|
00000180 06 41 08 e1 88 c5 88 d6 b8 01 02 e8 37 00 66 61 |.A..........7.fa|
00000190 72 01 c3 e2 c9 31 f6 8e d6 bc 6c 7b 8e de 66 8f |r....1....l{..f.|
000001a0 06 78 00 be cc 7d e8 09 00 31 c0 cd 16 cd 19 f4 |.x...}...1......|
000001b0 eb fd 66 60 ac 20 c0 74 09 b4 0e bb 07 00 cd 10 |..f`. .t........|
000001c0 eb f2 66 61 c3 8a 16 74 7b cd 13 c3 42 6f 6f 74 |..fa...t{...Boot|
000001d0 20 65 72 72 6f 72 0d 0a 00 00 00 00 00 00 00 00 | error..........|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
文章评论

共有 8 条评论

  1. xiaoman84 于 2011-05-21 19:25:20发表:

    问题已经解决,bios里把硬盘设置成lba模式就好了。
    21号针脚也修好了,不影响读写速度了

  2. xiaoman84 于 2011-05-21 11:39:46发表:

    gurb安装到第二块硬盘mbr,启动也是从第二块硬盘开始启动的,启动不了。
    我分析了一下原因,猜想不能启动可能是因为bios把这块硬盘默认成lrg模式了,而不是lba。
    要不就是21号阵脚断了,硬盘不能直接访问内存。

  3. zhoutingting 于 2011-05-20 21:29:47发表:

    重写一下硬盘的MBR就OK了!

  4. taoty 于 2011-05-20 16:35:13发表:

    安装ubuntu时,MBR安装到了第二块硬盘上了,再装上第一块硬盘当然不能起动ubuntu了。

  5. xiaoman84 于 2011-05-19 23:06:26发表:

    21号阵脚断了,dma request。难怪什么系统都不能启动了

  6. xiaoman84 于 2011-05-19 10:47:46发表:

    现在这块硬盘在做低级格式化,但是已经格式化了8小时还没好。越来越确信是硬盘问题了。

  7. xiaoman84 于 2011-05-19 10:42:35发表:

    硬盘里有ntfs分区,是因为在xp系统下,这块硬盘是从盘,里面有些资料。
    我把两块硬盘跳线都设置成自动识别了。
    bios里已经设置成从这块硬盘启动。
    我想应该是这块硬盘有问题。40针接口里面有一根针缩回去了,还没有查是哪个信号针还是接地针。
    但是有一点我感到奇怪的是,这块少一根针的硬盘,挂在xp下作从盘,只是放些数据一点问题都没有。
    但是如果单独安装系统,就是启动不了。不论是xp还是ubuntu。希望懂硬件知识的同学,帮我解答一下。

  8. q7262395 于 2011-05-18 18:52:37发表:

    shenhao0129说的好想有点道理,我们上计算机组装的时候好像有这么说,