在硬盘上装的是WIN7和XP,将ubuntu装在一个8G的usb上,然后直接在usb上重新编译内核完成后,在安装时提示出错!!
搜索了下baidu和google上跟/usr/sbin/grub-probe: error: cannot stat `aufs'.相关到帖子,没找到解决办法
尝试了下grub-install /dev/sdb1也是报同样错误,请各位大牛支下招!!,
因为重新编译到内核有特别的用途,工作需要,急,在线等!!
详细信息:
ubuntu@ubuntu:/usr/src$ sudo dpkg -i linux-image-2.6.38wifidrv-ice_2.6.38wifidrv-ice-10.00.Custom_i386.deb
Selecting previously deselected package linux-image-2.6.38wifidrv-ice.
(Reading database ... 141276 files and directories currently installed.)
Unpacking linux-image-2.6.38wifidrv-ice (from linux-image-2.6.38wifidrv-ice_2.6.38wifidrv-ice-10.00.Custom_i386.deb) ...
Done.
Setting up linux-image-2.6.38wifidrv-ice (2.6.38wifidrv-ice-10.00.Custom) ...
Running depmod.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.38wifidrv-ice /boot/vmlinuz-2.6.38wifidrv-ice
update-initramfs: Generating /boot/initrd.img-2.6.38wifidrv-ice
cryptsetup: WARNING: failed to detect canonical device of aufs
cryptsetup: WARNING: could not determine root device from /etc/fstab
run-parts: executing /etc/kernel/postinst.d/nvidia-common 2.6.38wifidrv-ice /boot/vmlinuz-2.6.38wifidrv-ice
run-parts: executing /etc/kernel/postinst.d/pm-utils 2.6.38wifidrv-ice /boot/vmlinuz-2.6.38wifidrv-ice
run-parts: executing /etc/kernel/postinst.d/update-notifier 2.6.38wifidrv-ice /boot/vmlinuz-2.6.38wifidrv-ice
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 2.6.38wifidrv-ice /boot/vmlinuz-2.6.38wifidrv-ice
/usr/sbin/grub-probe: error: cannot stat `aufs'.
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.38wifidrv-ice.postinst line 346.
dpkg: error processing linux-image-2.6.38wifidrv-ice (--install):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
linux-image-2.6.38wifidrv-ice
用boot_info_script055.sh收集到信息:
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Windows is installed in the MBR of /dev/sda
=> Windows is installed in the MBR of /dev/sdb
sda1: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files/dirs: /boot.ini /bootmgr /Boot/BCD
/Windows/System32/winload.exe /grldr /NTLDR
/NTDETECT.COM
sda2: _________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: According to the info in the boot sector, sda5 starts
at sector 63.
Operating System:
Boot files/dirs:
sda6: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: According to the info in the boot sector, sda6 starts
at sector 63.
Operating System:
Boot files/dirs:
sda7: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: According to the info in the boot sector, sda7 starts
at sector 63.
Operating System:
Boot files/dirs:
sdb1: _________________________________________________________________________
File system: vfat
Boot sector type: Unknown
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
=========================== Drive/Partition Info: =============================
Drive: sda ___________________ _____________________________________________________
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
Partition Boot Start End Size Id System
/dev/sda1 * 63 77,015,609 77,015,547 7 HPFS/NTFS
/dev/sda2 77,015,610 312,576,704 235,561,095 f W95 Ext d (LBA)
/dev/sda5 77,015,673 133,059,699 56,044,027 7 HPFS/NTFS
/dev/sda6 154,031,283 231,030,764 76,999,482 7 HPFS/NTFS
/dev/sda7 231,030,828 312,576,704 81,545,877 7 HPFS/NTFS
Drive: sdb ___________________ _____________________________________________________
Disk /dev/sdb: 8025 MB, 8025800704 bytes
5 heads, 32 sectors/track, 97971 cylinders, total 15675392 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 * 8,064 15,675,391 15,667,328 c W95 FAT32 (LBA)
blkid -c /dev/null: ____________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/loop1 819a28d3-d66c-f447-9557-758f7f967ff2 ext2 casper-rw
/dev/sda1 13A02C341B25E791 ntfs SYSTEM
/dev/sda2: PTTYPE="dos"
/dev/sda5 4E80B0D06C979E44 ntfs TOOLS
/dev/sda6 B0A18DDEEC101C79 ntfs DATA
/dev/sda7 02F5A88B6AC74F10 ntfs BACKUP
/dev/sda: PTTYPE="dos"
/dev/sdb1 C9B1-D80C vfat PENDRIVE
/dev/sdb: PTTYPE="dos"
============================ "mount | grep ^/dev output: ===========================
Device Mount_Point Type Options
aufs / aufs (rw)
/dev/sdb1 /cdrom vfat (rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/loop1 /media/casper-rw ext2 (rw,nosuid,nodev,uhelper=udisks)
/dev/sda7 /media/BACKUP fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
/dev/sda1 /media/SYSTEM fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
/dev/sda6 /media/DATA fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
================================ sda1/boot.ini: ================================
[boot loader]
default=multi(0)disk(0)rdisk(0)partition(3)\windows
timeout=8
[operating systems]
multi(0)disk(0)rdisk(0)partition(3)\windows="Microsoft Windows XP x86 " /fastdetect
multi(0)disk(0)rdisk(0)partition(5)\windows="Microsoft Windows XP x86 " /fastdetect
=========================== Unknown MBRs/Boot Sectors/etc =======================
Unknown BootLoader on sdb1
00000000 eb 58 90 53 59 53 4c 49 4e 55 58 00 02 20 80 02 |.X.SYSLINUX.. ..|
00000010 02 00 00 00 00 f8 00 00 20 00 10 00 80 1f 00 00 |........ .......|
00000020 80 10 ef 00 f0 0e 00 00 00 00 00 00 02 00 00 00 |................|
00000030 01 00 08 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 00 01 29 0c d8 b1 c9 4b 49 4e 47 53 54 4f 4e 20 |..)....KINGSTON |
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 1e 56 8e c1 b1 26 bf 78 7b f3 |.v{R.W.V...&.x{.|
00000070 a5 8e d9 bb 78 00 0f b4 37 0f a0 56 20 d2 78 1b |....x...7..V .x.|
00000080 31 c0 b1 06 89 3f 89 47 02 f3 64 a5 8a 0e 18 7c |1....?.G..d....||
00000090 88 4d f8 50 50 50 50 cd 13 eb 62 8b 55 aa 8b 75 |.M.PPPP...b.U..u|
000000a0 a8 c1 ee 04 01 f2 83 fa 4f 76 31 81 fa b2 07 73 |........Ov1....s|
000000b0 2b f6 45 b4 7f 75 25 38 4d b8 74 20 66 3d 21 47 |+.E..u%8M.t f=!G|
000000c0 50 54 75 10 80 7d b8 ed 75 0a 66 ff 75 ec 66 ff |PTu..}..u.f.u.f.|
000000d0 75 e8 eb 0f 51 51 66 ff 75 bc eb 07 51 51 66 ff |u...QQf.u...QQf.|
000000e0 36 1c 7c b4 08 e8 e9 00 72 13 20 e4 75 0f c1 ea |6.|.....r. .u...|
000000f0 08 42 89 16 1a 7c 83 e1 3f 89 0e 18 7c fb bb aa |.B...|..?...|...|
00000100 55 b4 41 e8 cb 00 72 10 81 fb 55 aa 75 0a f6 c1 |U.A...r...U.u...|
00000110 01 74 05 c6 06 46 7d 00 66 b8 00 27 00 00 66 ba |.t...F}.f..'..f.|
00000120 00 00 00 00 bb 00 7e e8 0e 00 66 81 3e 1c 7e cf |......~...f.>.~.|
00000130 ae 1e 73 75 74 e9 f8 00 66 03 06 60 7b 66 13 16 |..sut...f..`{f..|
00000140 64 7b b9 10 00 eb 2b 66 52 66 50 06 53 6a 01 6a |d{....+fRfP.Sj.j|
00000150 10 89 e6 66 60 b4 42 e8 77 00 66 61 8d 64 10 72 |...f`.B.w.fa.d.r|
00000160 01 c3 66 60 31 c0 e8 68 00 66 61 e2 da c6 06 46 |..f`1..h.fa....F|
00000170 7d 2b 66 60 66 0f b7 36 18 7c 66 0f b7 3e 1a 7c |}+f`f..6.|f..>.||
00000180 66 f7 f6 31 c9 87 ca 66 f7 f7 66 3d ff 03 00 00 |f..1...f..f=....|
00000190 77 17 c0 e4 06 41 08 e1 88 c5 88 d6 b8 01 02 e8 |w....A..........|
000001a0 2f 00 66 61 72 01 c3 e2 c9 31 f6 8e d6 bc 68 7b |/.far....1....h{|
000001b0 8e de 66 8f 06 78 00 be da 7d ac 20 c0 74 09 b4 |..f..x...}. .t..|
000001c0 0e bb 07 00 cd 10 eb f2 31 c0 cd 16 cd 19 f4 eb |........1.......|
000001d0 fd 8a 16 74 7b 06 cd 13 07 c3 42 6f 6f 74 20 65 |...t{.....Boot e|
000001e0 72 72 6f 72 0d 0a 00 00 00 00 00 00 00 00 00 00 |rror............|
000001f0 00 00 00 00 00 00 00 00 fe 02 b2 3e 18 37 55 aa |...........>.7U.|
00000200
急!安装新内核时报错“/usr/sbin/grub-probe: error: cannot stat `aufs'.”
-
- 帖子: 2
- 注册时间: 2011-06-19 9:02
-
- 帖子: 2
- 注册时间: 2011-06-19 9:02