Fórum Ubuntu CZ/SK
Ubuntu pro osobní počítače => Instalace, aktualizace a spouštění => Téma založeno: husak 15 Prosince 2010, 21:02:21
-
Zdravím,
snažím se nainstalovat ubuntu 10.10 na desktop. Při prvním pokusu jsem instaloval na disk rozdělený na 3 oddíly (win7, winXP, prázdný oddíl). Z CD se mi to nepodařilo. Nabootoval jsem, ale dál to zamrzlo a vypsalo nějaký chyby. Instalace z flashky proběhla hladce, postupoval jsem podle návodu na wiki (výběr disku ručne). Po restartu ovšem nenabootuje, nezobrazí se grub a vypíše:
error: no such partition.
grub rescue>_
Pokoušel jsem se obnovit grub podle http://forum.ubuntu.cz/index.php?topic=42267.0 bez výsledku.
S jiným diskem, stejná závada.
Přikládám výpis z boot_info_script:
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
partition #5 for (,msdos5)/boot/grub.
=> Syslinux 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:
Boot files/dirs:
sda2: _________________________________________________________________________
File system: Extended Partition
Boot sector type: Unknown
Boot sector info:
sda5: _________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 10.10
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sda6: _________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sdb1: _________________________________________________________________________
File system: vfat
Boot sector type: Fat32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
=========================== Drive/Partition Info: =============================
Drive: sda ___________________ _____________________________________________________
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 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 314,065,174 314,065,112 7 HPFS/NTFS
/dev/sda2 * 314,066,942 488,396,799 174,329,858 5 Extended
/dev/sda5 314,066,944 481,210,367 167,143,424 83 Linux
/dev/sda6 481,212,416 488,396,799 7,184,384 82 Linux swap / Solaris
Drive: sdb ___________________ _____________________________________________________
Disk /dev/sdb: 1030 MB, 1030750208 bytes
8 heads, 32 sectors/track, 7864 cylinders, total 2013184 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 * 32 2,013,183 2,013,152 6 FAT16
blkid -c /dev/null: ____________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 0A4436094435F7D1 ntfs Nový svazek
/dev/sda2: PTTYPE="dos"
/dev/sda5 790efae5-bf2c-4b0f-952f-713c1fb345e6 ext4
/dev/sda6 8302f196-7bdc-4702-a69a-6010706fdeba swap
/dev/sda: PTTYPE="dos"
/dev/sdb1 9C02-26A8 vfat
/dev/sdb: PTTYPE="dos"
============================ "mount | grep ^/dev output: ===========================
Device Mount_Point Type Options
aufs / aufs (rw)
/dev/sdb1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 /rofs squashfs (ro,noatime)
=========================== sda5/boot/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 part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 790efae5-bf2c-4b0f-952f-713c1fb345e6
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 790efae5-bf2c-4b0f-952f-713c1fb345e6
set locale_dir=($root)/boot/grub/locale
set lang=cs
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
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.35-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 790efae5-bf2c-4b0f-952f-713c1fb345e6
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=790efae5-bf2c-4b0f-952f-713c1fb345e6 ro quiet splash
initrd /boot/initrd.img-2.6.35-22-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 790efae5-bf2c-4b0f-952f-713c1fb345e6
echo 'Loading Linux 2.6.35-22-generic ...'
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=790efae5-bf2c-4b0f-952f-713c1fb345e6 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-22-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='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 790efae5-bf2c-4b0f-952f-713c1fb345e6
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 790efae5-bf2c-4b0f-952f-713c1fb345e6
linux16 /boot/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/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).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda5 during installation
UUID=790efae5-bf2c-4b0f-952f-713c1fb345e6 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda6 during installation
UUID=8302f196-7bdc-4702-a69a-6010706fdeba none swap sw 0 0
=================== sda5: Location of files loaded by Grub: ===================
165.2GB: boot/grub/core.img
165.2GB: boot/grub/grub.cfg
238.3GB: boot/initrd.img-2.6.35-22-generic
161.1GB: boot/vmlinuz-2.6.35-22-generic
238.3GB: initrd.img
161.1GB: vmlinuz
=========================== Unknown MBRs/Boot Sectors/etc =======================
Unknown BootLoader on sda2
00000000 d2 17 9f 27 0a 35 ee b2 7f 54 90 34 7f 0d 1f 10 |...'.5...T.4....|
00000010 b3 d5 ad 38 4e e2 25 51 a7 cf 8d 4f 24 de 4d 98 |...8N.%Q...O$.M.|
00000020 44 44 f7 e7 83 37 82 4e dd bf 3d 79 0d 36 f0 41 |DD...7.N..=y.6.A|
00000030 fe f7 5c 20 79 e0 a3 cf bc fc d3 67 06 7a a8 c9 |..\ y......g.z..|
00000040 1c 72 a8 cb bc 7a 9e 19 52 4c 19 a2 26 15 85 3c |.r...z..RL..&..<|
00000050 99 52 b1 1a 85 87 3c af 54 5a 46 4a 4e 14 ef 7e |.R....<.TZFJN..~|
00000060 bb 64 87 6d c5 cc 0e fc 20 3d ba 7b 86 c1 04 9d |.d.m.... =.{....|
00000070 1a d2 25 7c 53 04 de 53 04 c3 50 29 b5 37 bc a4 |..%|S..S..P).7..|
00000080 cb fc 8d 45 9a 6e a4 c4 66 9a c5 ce c5 07 46 3b |...E.n..f.....F;|
00000090 f0 23 53 27 3b bc 36 4b c2 61 1d d6 7a e4 1a 69 |.#S';.6K.a..z..i|
000000a0 aa 9c e3 82 91 a4 c7 a2 77 b2 75 c9 b4 fb 50 d6 |........w.u...P.|
000000b0 9f 26 59 f0 f8 53 3e 10 30 47 8f 96 a8 3b 9b 6a |.&Y..S>.0G...;.j|
000000c0 88 66 3c 29 81 b0 52 aa 06 3a 01 ed 1a 50 c1 e5 |.f<)..R..:...P..|
000000d0 75 5c 9e 3a 6e 3c 0a 61 40 5e a3 a5 f0 46 90 ff |u\.:n<.a@^...F..|
000000e0 b2 84 74 bd 5a 9b c3 1f df 70 61 e2 86 45 9f 9e |..t.Z....pa..E..|
000000f0 55 37 f4 76 a5 46 48 2f 0a 74 f7 d7 ad d3 5c c1 |U7.v.FH/.t....\.|
00000100 1c 8d 57 eb 37 6d 30 3e 83 d5 69 9d 11 1b e9 94 |..W.7m0>..i.....|
00000110 c2 e3 0f bc a6 b7 0d 2a 21 55 79 72 58 46 a9 2c |.......*!UyrXF.,|
00000120 16 02 19 91 54 52 ee 55 5f bb 21 c0 60 c8 32 11 |....TR.U_.!.`.2.|
00000130 bc ba fc 94 7d 69 a1 23 30 d8 90 90 8f d4 94 29 |....}i.#0......)|
00000140 86 b7 db f1 fa 25 37 a6 bd 3b e3 63 b5 1e 7b 8e |.....%7..;.c..{.|
00000150 82 1d de f4 65 47 44 ab 3b aa 1f 25 c3 e2 50 ef |....eGD.;..%..P.|
00000160 f5 bc c2 68 70 10 de 53 8d 16 5c 5f df 38 df 9a |...hp..S..\_.8..|
00000170 e3 cb 94 bc 02 82 98 ef ea 77 c7 3a 01 5e aa 18 |.........w.:.^..|
00000180 a7 89 8d 88 c2 c1 9e 2f 60 33 1f 6e 9d 1f 6c e1 |......./`3.n..l.|
00000190 f5 43 ac 36 ab 0f 81 47 b9 e3 9f 34 e7 a3 a6 8c |.C.6...G...4....|
000001a0 a1 87 08 ce 77 10 34 63 9c 77 8f 02 08 cc 66 66 |....w.4c.w....ff|
000001b0 ef ba 16 11 59 71 46 90 4a 44 33 55 7b 5d 00 fe |....YqF.JD3U{]..|
000001c0 ff ff 83 fe ff ff 02 00 00 00 00 68 f6 09 00 fe |...........h....|
000001d0 ff ff 05 fe ff ff 84 6a f6 09 7e a5 6d 00 00 00 |.......j..~.m...|
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
-
No z toho výpisu jsem zmatený. Ale co tam dělá toto:
set root='(hd0,msdos5)'
Tohle by mělo být na sda. Při botu, je tam ta fleška zastrčena?
Syslinux is installed in the MBR of /dev/sdb
-
Už jsem taky zmatený. Možná by bylo leší udělat výpis z toho druhého disku. Na tom prvním jsem pak už zkoušel věci, aniž bych věděl, co přesně dělám.
Při bootu tam fleška strčená není.
Bootoval jsem přez Ultimate boot CD, tam jsem nabootoval z USB. Můj BIOS nepodporuje BOOT z USB.
-
Beru zpet, vypis je z toho prvniho disku. To jen potvrzuje moji zmatenst.