Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.
Vaše pomoc je stále potřeba!

Autor Téma: Grub2 nabidka není vidět [vyřešeno]  (Přečteno 1430 krát)

ZdenoTN

  • Návštěvník
  • Příspěvků: 79
Grub2 nabidka není vidět [vyřešeno]
« kdy: 16 Ledna 2013, 19:27:49 »
Zdravím,

   po vyzkoušení Kubuntu 12.04 32 bit ve VB, jsem se rozhodl jej naistalovat na HD.

Mám dva disky:

první M  SATA   Arch

(instalace tohoto distra mě stála hoooodně hodin u PC  :D, již přes rok stará verze a změny které nastaly už nechci řešit)

druhý S  ATA   Win7

Přepínaní mezi OS jsem řesil kla. F8 při startu PC, default boot na Win7 (žena měla problém že winy nenaskočily hned  :) )

Po instalaci me Grub2 nezklamal, obnova z Live CD, žel bohu není vidět nabídka OS. Na monitoru se objeví

Input not Supported          zhruba tak 30 s a pak

No Signal     taky tak 30 s

pak se vypne monitor, zapne a naskočí Kubuntu, jo a před chvílí jsem zjistil že mě zamrzne PC. Teď to píšu z Debianu 5 co mám na flešce. Kubuntu jsem dal na ext4, takže se nedostanu k výpisu z bootinfoscript. Zkusim se nalogovat a dát sem ten výpis.

Kód: [Vybrat]
                  Boot Info Script 0.61      [1 April 2012]


============================= 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 (,msdos1)/boot/grub on this drive.
 => Grub2 (v1.99) is installed in the MBR of /dev/sdb and looks at sector 1 of
    the same hard drive for core.img. core.img is at this location and uses an
    embedded config file:
   
    ---------------------------------------------------------------------------
    search.fs_uuid ea8ba8c3-91dd-45a0-9510-09a893ee0551 root
    set prefix=($root)/boot/grub
    ---------------------------------------------------------------------------
    -----.

sda1: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:
    Operating System:  Ubuntu 12.04.1 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

    File system:       ext3
    Boot sector type:  -
    Boot sector info:
    Operating System: 
    Boot files:       

sda4: __________________________________________________________________________

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

sda5: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 7
    Boot files:        /grldr /bootmgr /Boot/BCD
                       /Windows/System32/winload.exe /grldr

sdb2: __________________________________________________________________________

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

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 320.1 GB, 320072933376 bytes
hlav: 255, sektorů na stopu: 63, cylindrů: 38 913, celkem 625 142 448 sektorů
Jednotky = sektory po 1 * 512 = 512 bajtech
Velikost sektoru (logického/fyzického): 512 bajtů / 512 bajtů

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *             63    39,070,079    39,070,017  83 Linux
/dev/sda2          39,070,080   245,360,744   206,290,665  83 Linux
/dev/sda3         245,360,745   612,221,084   366,860,340  83 Linux
/dev/sda4         612,221,146   625,137,344    12,916,199   5 Extended
/dev/sda5         612,221,148   625,137,344    12,916,197   7 NTFS / exFAT / HPFS


Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 200.0 GB, 200049647616 bytes
hlav: 255, sektorů na stopu: 63, cylindrů: 24 321, celkem 390 721 968 sektorů
Jednotky = sektory po 1 * 512 = 512 bajtech
Velikost sektoru (logického/fyzického): 512 bajtů / 512 bajtů

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1    *             63   195,366,464   195,366,402   7 NTFS / exFAT / HPFS
/dev/sdb2         195,366,465   390,716,864   195,350,400   7 NTFS / exFAT / HPFS


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        17c7905b-bdae-4dfc-a067-ebd18e414c37   ext4       
/dev/sda2        dba56865-c8aa-4162-9cd3-af74f951194b   ext4       
/dev/sda3        e37baa18-fe71-4382-9c90-facb6dc5ac05   ext3       
/dev/sda5        7C9B455F7B2F8BF8                       ntfs       
/dev/sdb1        A0E88D30E88D05AE                       ntfs       
/dev/sdb2        637B5FD1416AEC7F                       ntfs       Moje

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/sda1        /                        ext4       (rw,errors=remount-ro)
/dev/sda2        /home                    ext4       (rw)


=========================== sda1/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 video_bochs
  insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(hd1,msdos1)'
search --no-floppy --fs-uuid --set=root 17c7905b-bdae-4dfc-a067-ebd18e414c37
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  insmod part_msdos
  insmod ext2
  set root='(hd1,msdos1)'
  search --no-floppy --fs-uuid --set=root 17c7905b-bdae-4dfc-a067-ebd18e414c37
  set locale_dir=($root)/boot/grub/locale
  set lang=
  insmod gettext
fi
terminal_output gfxterm
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 75,75,75; then
  clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
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, with Linux 3.2.0-35-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd1,msdos1)'
search --no-floppy --fs-uuid --set=root 17c7905b-bdae-4dfc-a067-ebd18e414c37
linux /boot/vmlinuz-3.2.0-35-generic-pae root=UUID=17c7905b-bdae-4dfc-a067-ebd18e414c37 ro   quiet splash $vt_handoff
initrd /boot/initrd.img-3.2.0-35-generic-pae
}
menuentry 'Ubuntu, with Linux 3.2.0-35-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd1,msdos1)'
search --no-floppy --fs-uuid --set=root 17c7905b-bdae-4dfc-a067-ebd18e414c37
echo 'Loading Linux 3.2.0-35-generic-pae ...'
linux /boot/vmlinuz-3.2.0-35-generic-pae root=UUID=17c7905b-bdae-4dfc-a067-ebd18e414c37 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.2.0-35-generic-pae
}
submenu "Previous Linux versions" {
menuentry 'Ubuntu, with Linux 3.2.0-29-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd1,msdos1)'
search --no-floppy --fs-uuid --set=root 17c7905b-bdae-4dfc-a067-ebd18e414c37
linux /boot/vmlinuz-3.2.0-29-generic-pae root=UUID=17c7905b-bdae-4dfc-a067-ebd18e414c37 ro   quiet splash $vt_handoff
initrd /boot/initrd.img-3.2.0-29-generic-pae
}
menuentry 'Ubuntu, with Linux 3.2.0-29-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd1,msdos1)'
search --no-floppy --fs-uuid --set=root 17c7905b-bdae-4dfc-a067-ebd18e414c37
echo 'Loading Linux 3.2.0-29-generic-pae ...'
linux /boot/vmlinuz-3.2.0-29-generic-pae root=UUID=17c7905b-bdae-4dfc-a067-ebd18e414c37 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.2.0-29-generic-pae
}
}
### 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='(hd1,msdos1)'
search --no-floppy --fs-uuid --set=root 17c7905b-bdae-4dfc-a067-ebd18e414c37
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(hd1,msdos1)'
search --no-floppy --fs-uuid --set=root 17c7905b-bdae-4dfc-a067-ebd18e414c37
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda1)" --class windows --class os {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root A0E88D30E88D05AE
chainloader +1
}
### 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 ###
--------------------------------------------------------------------------------

=============================== sda1/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' 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/sdb1 during installation
UUID=17c7905b-bdae-4dfc-a067-ebd18e414c37 /               ext4    errors=remount-ro 0       1
# /home was on /dev/sdb2 during installation
UUID=dba56865-c8aa-4162-9cd3-af74f951194b /home           ext4    defaults        0       2
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

               =                boot/grub/core.img                             1
               =                boot/grub/grub.cfg                             1
               =                boot/initrd.img-3.2.0-29-generic-pae           2
               =                boot/initrd.img-3.2.0-35-generic-pae           2
               =                boot/vmlinuz-3.2.0-29-generic-pae              1
               =                boot/vmlinuz-3.2.0-35-generic-pae              2
               =                initrd.img                                     2
               =                initrd.img.old                                 2
               =                vmlinuz                                        2
               =                vmlinuz.old                                    1

======================== Unknown MBRs/Boot Sectors/etc: ========================

Unknown BootLoader on sda4

00000000  80 4e 02 69 7a a5 79 49  d4 81 cf de 5c fa 70 5a  |.N.iz.yI....\.pZ|
00000010  95 53 2b 95 cd 93 f6 57  05 ac e3 4c 2f d1 5b 98  |.S+....W...L/.[.|
00000020  dc f7 73 5f 73 b3 36 ca  7b 53 53 8b d8 54 81 a3  |..s_s.6.{SS..T..|
00000030  8f 96 fa 25 2f bd 9f 7d  f4 5b 4d bc 8b 8d b2 4a  |...%/..}.[M....J|
00000040  97 9f a3 59 17 b4 83 c7  85 38 d3 fe 93 44 73 c6  |...Y.....8...Ds.|
00000050  c8 f7 e4 2f d5 89 59 d5  5f 00 95 53 ee 36 ab 95  |.../..Y._..S.6..|
00000060  b8 7d 10 ff 19 55 ef cf  c0 32 31 ca c0 80 f7 53  |.}...U...21....S|
00000070  26 c7 22 e1 84 b5 03 24  7f 91 91 a2 62 4e 43 df  |&."....$....bNC.|
00000080  0c e4 79 19 6b 73 ab f8  8d cd 3f 5c 33 fd 14 f2  |..y.ks....?\3...|
00000090  27 37 32 ab 1e 93 0f 66  71 aa f9 1a b2 5d 87 1e  |'72....fq....]..|
000000a0  46 7d cf 14 eb c4 c1 8f  da d6 21 38 97 39 b5 93  |F}........!8.9..|
000000b0  df cb 52 8d 00 d9 a6 53  c1 c0 83 83 6b 03 ca 81  |..R....S....k...|
000000c0  e3 80 6e e3 68 c6 f6 9e  1c 82 98 7e a3 18 c6 54  |..n.h......~...T|
000000d0  fb c3 6c d1 10 50 6e a4  fa af c5 28 c2 68 78 c3  |..l..Pn....(.hx.|
000000e0  ed f1 53 4f 67 e9 3b d4  dc 4e 8b 79 e7 ae b7 98  |..SOg.;..N.y....|
000000f0  66 c3 a7 0e a0 31 32 5d  13 be 74 6a 9d de 19 9c  |f....12]..tj....|
00000100  e1 2a 41 1b e4 3c f6 1d  3e cd 80 e0 05 40 42 2e  |.*A..<..>....@B.|
00000110  5d e9 7b 07 c2 52 ff 8f  b3 86 4d a1 ab 1c e9 23  |].{..R....M....#|
00000120  54 52 0c e4 f7 43 f0 f3  84 f6 73 9c e9 7d d2 eb  |TR...C....s..}..|
00000130  2d 7b f6 f2 57 dd 6b 67  5f 6b 38 c7 4e 3e 9e 18  |-{..W.kg_k8.N>..|
00000140  c6 3d 62 fd 48 02 c4 cb  11 23 69 12 6a c1 ca 79  |.=b.H....#i.j..y|
00000150  4b 3a 1f 52 d0 fc 52 e2  10 6c 73 04 91 d2 aa c2  |K:.R..R..ls.....|
00000160  f6 0e 83 1c 54 07 23 c8  f3 28 ea 6d 56 5c ac b8  |....T.#..(.mV\..|
00000170  bf ea a0 ec f7 61 37 98  ff e3 3c 70 1d 51 25 79  |.....a7...<p.Q%y|
00000180  19 37 15 57 82 13 9e 3d  6f a6 cc a6 23 80 5a ef  |.7.W...=o...#.Z.|
00000190  a1 97 f0 e9 1c cf 52 d7  3b 8e 53 28 19 1d 93 79  |......R.;.S(...y|
000001a0  44 8f 93 76 1d 05 3b ab  b9 4b dc f9 7c f6 6d ce  |D..v..;..K..|.m.|
000001b0  1e 11 0b c0 f7 74 7d 9f  f8 17 89 85 98 24 00 01  |.....t}......$..|
000001c0  c1 fe 07 57 c6 fe 02 00  00 00 e5 15 c5 00 00 00  |...W............|
000001d0  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: ===============================

xz: (stdin): Komprimovaná data jsou poškozená
xz: (stdin): Komprimovaná data jsou poškozená
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in




« Poslední změna: 17 Ledna 2013, 17:24:57 od ZdenoTN »

František Zatloukal

  • Závislák
  • ***
  • Příspěvků: 1799
    • frantisek.zatloukalu.eu
Re:Grub2 nabidka není vidět
« Odpověď #1 kdy: 16 Ledna 2013, 21:22:57 »
Jestli se dostaneš do Kubuntu tak udělej tohle:
Kód: [Vybrat]
kdesudo kate /etc/default/grub
a přidej tam řádek:
GRUB_GFXMODE=800×600
Soubor ulož a ještě zaktualizuj grub konfiguraci pomocí
Kód: [Vybrat]
sudo update-gruba GRUB by mělo fungovat.
Jestliže se do Kubuntu nedostaneš, tak zkus zjistit, na kterém oddílu Máš Ubuntu pomocí(v Debianu)
Kód: [Vybrat]
sudo fdisk -l
a postupovat dle wiki
s tím, že provedeš v chrootu potřebné změny, jako v případě, že by ses do Kubuntu dostal.
Pokud by sis s tím nevěděl rady, tak napiš, zítra bych zkusil udělat nějaký návod.
First they ignore you, then they laugh at you,
then they fight you, then you win.
Powered by Fedora 22 | Ubuntu 15.10

ZdenoTN

  • Návštěvník
  • Příspěvků: 79
Re:Grub2 nabidka není vidět
« Odpověď #2 kdy: 17 Ledna 2013, 17:07:58 »
Děkuji za pomoc, už je to OK  :)

 

Provoz zaštiťuje spolek OpenAlt.