Ahoj, instaloval jsem Ubuntu 11.10 na konci mi to skončilo s kritickou chybou že nelze nainstalovat Grub. Mám to s dualbootem s W7.
Chtěl jsem grub obnovit podle tohohle návodu, ale po restartu a znvu nabootování do live CD mi to u toho posledního kroku kde se spouští update grub vyhodí toto ubuntu@ubuntu:~$ sudo update-grub
/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
Boot Info Script 0.60 from 17 May 2011
============================= Boot Info Summary: ===============================
=> Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for on this drive.
=> No boot loader is installed in the MBR of /dev/sdb.
=> Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sdc.
sda1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows XP
Boot files: /boot.ini /bootmgr /Boot/BCD /ntldr /NTDETECT.COM
/boot/grub/core.img
sda2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: Unknown
Boot sector info:
sda5: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: According to the info in the boot sector, sda5 starts
at sector 63.
Operating System: Windows 7
Boot files: /Windows/System32/winload.exe
sda6: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda7: __________________________________________________________________________
File system: btrfs
Boot sector type: -
Boot sector info:
Operating System:
Boot files: /boot/grub/core.img
sda8: __________________________________________________________________________
File system: btrfs
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdb1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sdb2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sdb5: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: According to the info in the boot sector, sdb5 starts
at sector 2048.
Operating System:
Boot files:
sdb6: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: According to the info in the boot sector, sdb6 starts
at sector 2048.
Operating System:
Boot files:
sdb7: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: According to the info in the boot sector, sdb7 starts
at sector 0.
Operating System:
Boot files:
sdc1: __________________________________________________________________________
File system: vfat
Boot sector type: SYSLINUX 4.04 20110518
Boot sector info: Syslinux looks at sector 1442264 of /dev/sdc1 for its
second stage. SYSLINUX is installed in the directory.
The integrity check of the ADV area failed. According
to the info in the boot sector, sdc1 starts at sector
0. But according to the info from fdisk, sdc1 starts
at sector 62.
Operating System:
Boot files: /boot/grub/grub.cfg /syslinux/syslinux.cfg /ldlinux.sys
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 160.0 GB, 160040803840 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312579695 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 * 63 104,197,589 104,197,527 7 NTFS / exFAT / HPFS
/dev/sda2 104,197,651 312,559,615 208,361,965 f W95 Extended (LBA)
/dev/sda5 104,197,653 208,395,179 104,197,527 7 NTFS / exFAT / HPFS
/dev/sda6 228,880,384 239,120,383 10,240,000 82 Linux swap / Solaris
/dev/sda7 239,122,432 312,559,615 73,437,184 83 Linux
/dev/sda8 208,398,336 228,878,335 20,480,000 83 Linux
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 1000.2 GB, 1000203804160 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953523055 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdb1 2,055 1,743,806,463 1,743,804,409 7 NTFS / exFAT / HPFS
/dev/sdb2 1,743,806,464 1,953,521,663 209,715,200 f W95 Extended (LBA)
/dev/sdb5 1,743,808,512 1,813,104,639 69,296,128 7 NTFS / exFAT / HPFS
/dev/sdb6 1,813,106,688 1,883,404,287 70,297,600 7 NTFS / exFAT / HPFS
/dev/sdb7 1,883,406,336 1,953,521,663 70,115,328 7 NTFS / exFAT / HPFS
Drive: sdc _____________________________________________________________________
Disk /dev/sdc: 4007 MB, 4007657472 bytes
124 heads, 62 sectors/track, 1018 cylinders, total 7827456 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdc1 * 62 7,826,383 7,826,322 c W95 FAT32 (LBA)
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/loop1 71075f3c-ab99-4deb-a630-49470d336941 ext3
/dev/sda1 0838B95238B9400C ntfs
/dev/sda5 CE7840C27840AAD3 ntfs
/dev/sda6 d94d0df1-2537-4292-9dff-ec11b50a73e8 swap
/dev/sda7 356334d9-aa9c-4572-9101-83bc5813b183 btrfs home
/dev/sda8 72e2a8c9-1fd2-4c71-bde5-b8b3ef285bcf btrfs ubuntu
/dev/sdb1 6048926606FB2A94 ntfs Download
/dev/sdb5 8811CBA73233C64C ntfs WinXP
/dev/sdb6 03C1A959A9E2F372 ntfs test1
/dev/sdb7 DD8C2E0C9790EDEC ntfs test2
/dev/sdc1 C7CA-425B vfat
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sda1 /mnt fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sdc1 /cdrom vfat (rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
================================ sda1/boot.ini: ================================
--------------------------------------------------------------------------------
;
;Warning: Boot.ini is used on Windows XP and earlier operating systems.
;Warning: Use BCDEDIT.exe to modify Windows Vista boot options.
;
[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
--------------------------------------------------------------------------------
=================== sda1: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
?? = ?? boot/grub/core.img 1
=================== sda7: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
= boot/grub/core.img 1
=========================== sdc1/boot/grub/grub.cfg: ===========================
--------------------------------------------------------------------------------
if loadfont /boot/grub/font.pf2 ; then
set gfxmode=auto
insmod efi_gop
insmod efi_uga
insmod gfxterm
terminal_output gfxterm
fi
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
menuentry "Try Ubuntu without installing" {
set gfxpayload=keep
linux /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --
initrd /casper/initrd.lz
}
menuentry "Install Ubuntu" {
set gfxpayload=keep
linux /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash --
initrd /casper/initrd.lz
}
menuentry "Check disc for defects" {
set gfxpayload=keep
linux /casper/vmlinuz boot=casper integrity-check quiet splash --
initrd /casper/initrd.lz
}
--------------------------------------------------------------------------------
========================= sdc1/syslinux/syslinux.cfg: ==========================
--------------------------------------------------------------------------------
# D-I config version 2.0
include menu.cfg
default vesamenu.c32
prompt 0
timeout 50
ui gfxboot bootlogo
--------------------------------------------------------------------------------
=================== sdc1: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
?? = ?? boot/grub/grub.cfg 1
================= sdc1: Location of files loaded by Syslinux: ==================
GiB - GB File Fragment(s)
?? = ?? ldlinux.sys 1
?? = ?? syslinux/gfxboot.c32 1
?? = ?? syslinux/chain.c32 1
?? = ?? syslinux/syslinux.cfg 1
?? = ?? syslinux/vesamenu.c32 1
============== sdc1: Version of COM32(R) files used by Syslinux: ===============
syslinux/gfxboot.c32 : COM32R module (v4.xx)
syslinux/chain.c32 : COM32R module (v4.xx)
syslinux/vesamenu.c32 : COM32R module (v4.xx)
======================== Unknown MBRs/Boot Sectors/etc: ========================
Unknown BootLoader on sda2
00000000 07 01 20 7f 88 41 7f aa d0 fb 8f 09 e0 f2 ad 50 |.. ..A.........P|
00000010 a5 85 f8 2f 2b a8 e2 92 01 ff c0 49 5f 07 d0 f7 |.../+......I_...|
00000020 ff 1e c0 01 ff 86 d0 f7 ff 0b e0 6e 84 85 42 d1 |...........n..B.|
00000030 c3 6f 07 0a c0 7b 6f 00 d0 f7 ff 25 81 27 8f c0 |.o...{o....%.'..|
00000040 c0 7f 06 e0 89 63 65 42 d1 48 3f 06 78 d0 f7 ff |.....ceB.H?.x...|
00000050 01 86 27 ff d0 f5 ff 1b d1 41 5f 00 0f c0 6c 6f |..'......A_...lo|
00000060 05 80 09 bf 88 87 6f 57 d5 e0 0e 95 b5 2b c0 d2 |......oW.....+..|
00000070 df 09 c0 6d 0f 07 d0 f5 ff 1d d1 f7 ff 0d 0f 87 |...m............|
00000080 2a ef e0 2f ad 66 aa 87 46 af e0 d0 f7 ff 0b d1 |*../.f..F.......|
00000090 f5 ff 0c ce d2 74 9f 09 c7 aa d0 f5 ff 00 8b 05 |.....t..........|
000000a0 3f d0 13 7f 09 d0 f5 ff 2a d2 fa 9f 06 a5 7a 44 |?.......*.....zD|
000000b0 0f d1 f5 ff 06 5f e0 4f 9d 2b 74 86 92 5f 7b ab |....._.O.+t.._{.|
000000c0 c0 50 9f 01 96 20 6f c0 5a bf 0f d0 f7 ff 37 8c |.P... o.Z.....7.|
000000d0 01 ff 21 cf e9 d1 3f 5f 0a e0 d0 f7 ff 27 b0 01 |..!...?_.....'..|
000000e0 ff 8c 1b 9f a8 01 ff c1 01 ff 51 91 d0 16 3f 34 |..........Q...?4|
000000f0 c0 01 ff 9b d0 b4 ff 01 85 51 1f e3 00 1f d1 67 |.........Q.....g|
00000100 7f 07 63 80 51 cf 8d d0 d4 af 0a d1 21 8f 0a 78 |..c.Q.......!..x|
00000110 d1 cc df 08 ba d0 f5 ff 0c d3 87 ff 05 5b 55 d5 |.............[U.|
00000120 e0 ee 8c 4b 7c 86 94 af c3 60 01 ff b1 d0 39 8f |...K|....`....9.|
00000130 09 20 2f 87 05 4f d0 f7 ff 2e e0 ab 00 a0 f0 d0 |. /..O..........|
00000140 f7 ff 09 86 75 4f a0 21 ef 0b d1 f5 ff 18 78 d2 |....uO.!......x.|
00000150 ac af 07 86 aa d0 f5 ff 00 c0 70 ff 06 80 0c 1f |..........p.....|
00000160 aa 8f 5f 02 20 d0 f7 ff 17 80 16 5f c0 e5 2f 07 |.._. ......_../.|
00000170 e0 2f 95 2b 74 d2 14 6f 07 a5 b7 c0 b8 ef 0a d0 |./.+t..o........|
00000180 91 af 00 c0 46 8f 05 30 ff 18 4f 8c 1e 5f 80 48 |....F..0..O.._.H|
00000190 1f e9 d0 f7 ff 2c 86 06 4f 28 ff 87 1f 9f 9c 01 |.....,..O(......|
000001a0 ff 8c 23 9f 80 0a 9f c0 47 6f 07 20 ff d3 f7 ff |..#.....Go. ....|
000001b0 05 74 eb f0 90 01 ff 8b 41 ff 35 d1 12 cf 00 fe |.t......A.5.....|
000001c0 ff ff 07 fe ff ff 02 00 00 00 97 ed 35 06 00 fe |............5...|
000001d0 ff ff 05 fe ff ff ed 79 6e 07 00 48 9c 00 00 00 |.......yn..H....|
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
=============================== StdErr Messages: ===============================
unlzma: Decoder error
awk: cmd. line:36: Math support is not compiled in
boot_info_script.sh: line 1579: [: 2.73495e+09: integer expression expected
Co s tím dál?