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: Bootování - chybí mi po instalaci výběr os Ubuntu, ale win7 je tam stále  (Přečteno 3355 krát)

klainer

  • Návštěvník
  • Příspěvků: 43
Dobrý večer,
dnes jsem se pokoušel po letech znovu vyzkoušet tuto populární distribuci linuxu na svém notebooku. Instalace systému proběhla úspěšně bez problémů, avšak po vyzvání vyjmutí instalačního media a následném restartu pc se mi neobjevila možnost zvolit operační systém. Na hradisku mám současně nainstalovaný Os Windows 7 a ten mi jako defautlně naběhne.

Chci se zeptat, jak zavést položku Ubuntu do bootovací nabídky.
Děkuji mnohokrát za Vaše rady a čas.


daysleeper

  • Stálý člen
  • **
  • Příspěvků: 1206
muzes tady zkopirovat vypisy z disku?
http://wiki.ubuntu.cz/boot_info_script

klainer

  • Návštěvník
  • Příspěvků: 43
Kód: [Vybrat]
             Boot Info Script 0.55    dated February 15th, 2010                    

============================= Boot Info Summary: ==============================

 => Windows is installed in the MBR of /dev/sda
 => 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:   /bootmgr /Boot/BCD

sda2: _________________________________________________________________________

    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:   /Windows/System32/winload.exe

sda3: _________________________________________________________________________

    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:   /bootmgr /boot/BCD

sda4: _________________________________________________________________________

    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:  Unknown
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files/dirs:   /boot/grub/grub.cfg

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

Drive: sda ___________________ _____________________________________________________

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 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    *          2,048       616,447       614,400   7 HPFS/NTFS
/dev/sda2             616,448   652,030,467   651,414,020   7 HPFS/NTFS
/dev/sda3         941,115,392   972,572,671    31,457,280   7 HPFS/NTFS
/dev/sda4         652,031,998   941,115,391   289,083,394   5 Extended
/dev/sda5         652,032,000   929,292,287   277,260,288  83 Linux
/dev/sda6         929,294,336   941,115,391    11,821,056  82 Linux swap / Solaris


Drive: sdb ___________________ _____________________________________________________

Disk /dev/sdb: 4011 MB, 4011851776 bytes
5 heads, 32 sectors/track, 48972 cylinders, total 7835648 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     7,835,647     7,827,584   c W95 FAT32 (LBA)


blkid -c /dev/null: ____________________________________________________________

Device           UUID                                   TYPE       LABEL                        

/dev/loop0                                              squashfs                                
/dev/loop1       9a057777-b9b3-8a4a-8b97-077096950c2b   ext2       casper-rw                    
/dev/mmcblk0p1   C280-B624                              vfat                                    
/dev/sda1        24D0252ED025081E                       ntfs       SYSTEM                        
/dev/sda2        CAC8EE80C8EE69E1                       ntfs                                    
/dev/sda3        00E2378EE23786C6                       ntfs       HP_RECOVERY                  
/dev/sda4: PTTYPE="dos"
/dev/sda5        415d48f7-23b8-4591-bf4b-1b3dc37e748a   ext4                                    
/dev/sda6        017df5ec-4629-4f7a-b340-7d5f95855c6f   swap                                    
/dev/sda: PTTYPE="dos"
/dev/sdb1        1B0A-1164                              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/mmcblk0p1   /media/C280-B624         vfat       (rw,nosuid,nodev,uhelper=udisks,uid=999,gid=999,shortname=mixed,dmask=0077,utf8=1,showexec,flush)


=========================== 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='(hd1,msdos5)'
search --no-floppy --fs-uuid --set 415d48f7-23b8-4591-bf4b-1b3dc37e748a
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='(hd1,msdos5)'
search --no-floppy --fs-uuid --set 415d48f7-23b8-4591-bf4b-1b3dc37e748a
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='(hd1,msdos5)'
search --no-floppy --fs-uuid --set 415d48f7-23b8-4591-bf4b-1b3dc37e748a
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=415d48f7-23b8-4591-bf4b-1b3dc37e748a 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='(hd1,msdos5)'
search --no-floppy --fs-uuid --set 415d48f7-23b8-4591-bf4b-1b3dc37e748a
echo 'Loading Linux 2.6.35-22-generic ...'
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=415d48f7-23b8-4591-bf4b-1b3dc37e748a 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='(hd1,msdos5)'
search --no-floppy --fs-uuid --set 415d48f7-23b8-4591-bf4b-1b3dc37e748a
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(hd1,msdos5)'
search --no-floppy --fs-uuid --set 415d48f7-23b8-4591-bf4b-1b3dc37e748a
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)" {
insmod part_msdos
insmod ntfs
set root='(hd1,msdos1)'
search --no-floppy --fs-uuid --set 24d0252ed025081e
chainloader +1
}
menuentry "Windows Vista (loader) (on /dev/sda3)" {
insmod part_msdos
insmod ntfs
set root='(hd1,msdos3)'
search --no-floppy --fs-uuid --set 00e2378ee23786c6
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 ###

=============================== 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=415d48f7-23b8-4591-bf4b-1b3dc37e748a /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda6 during installation
UUID=017df5ec-4629-4f7a-b340-7d5f95855c6f none            swap    sw              0       0

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


 426.3GB: boot/grub/core.img
 340.4GB: boot/grub/grub.cfg
 353.5GB: boot/initrd.img-2.6.35-22-generic
 426.3GB: boot/vmlinuz-2.6.35-22-generic
 353.5GB: initrd.img
 426.3GB: vmlinuz

=========================== sdb1/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
}

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


    ??GB: boot/grub/grub.cfg
=========================== Unknown MBRs/Boot Sectors/etc =======================

Unknown BootLoader  on sda4

00000000  fc 37 ba 5e b7 a6 49 5a  c9 25 d9 8d 5e 56 db 3b  |.7.^..IZ.%..^V.;|
00000010  94 06 2e ea 5d 76 a5 ce  c9 25 8a 0e f2 d5 c3 e9  |....]v...%......|
00000020  4a 41 c8 24 e8 4c 02 4b  cc 09 83 ec b3 51 79 48  |JA.$.L.K.....QyH|
00000030  55 b5 23 a1 73 7a fc ac  7c 61 b0 fe d6 85 37 1b  |U.#.sz..|a....7.|
00000040  49 bb 00 b5 e9 fb 1b d7  a1 77 21 44 f9 b5 e4 fa  |I........w!D....|
00000050  93 79 89 84 f1 37 24 2d  82 14 49 ef f6 0f 92 ec  |.y...7$-..I.....|
00000060  1d 84 60 96 af ac 45 fd  cf dc d5 3e dc 74 5d 23  |..`...E....>.t]#|
00000070  84 3a 61 8b f3 bd 05 eb  a3 fb de c9 da db e1 5a  |.:a............Z|
00000080  48 dc cf 72 9e 1d 41 98  f8 7a c1 38 33 34 b8 58  |H..r..A..z.834.X|
00000090  2f 58 27 02 d9 45 75 db  62 d5 85 da 89 58 7e e8  |/X'..Eu.b....X~.|
000000a0  94 9c 81 44 61 e1 f7 1f  fa e0 5f 27 dd 85 60 f1  |...Da....._'..`.|
000000b0  91 4f 91 16 38 40 fb 2c  0e ae 0f 35 91 49 1d 66  |.O..8@.,...5.I.f|
000000c0  ec a1 32 e8 03 d1 6f b0  93 69 82 a5 25 63 44 70  |..2...o..i..%cDp|
000000d0  75 45 6f 77 62 c8 4b 53  73 18 a6 9e dd be 2a 52  |uEowb.KSs.....*R|
000000e0  7d 61 88 d3 6f c0 a5 44  06 e6 3a 0d e8 45 aa 74  |}a..o..D..:..E.t|
000000f0  04 33 d6 e3 d3 9c 45 69  1f cd e5 fe 75 62 ec 30  |.3....Ei....ub.0|
00000100  3c 12 1d a4 88 2a 7e 9d  79 88 26 0f 33 1a c3 25  |<....*~.y.&.3..%|
00000110  2b a4 ef c4 ec cb e9 24  86 06 7e b7 65 22 90 e7  |+......$..~.e"..|
00000120  4c 23 32 c9 b9 4e 2a 48  e7 db 65 81 85 5c 5a a6  |L#2..N*H..e..\Z.|
00000130  a0 21 29 a4 ce 1b da 6f  21 58 71 cb 2c 58 31 74  |.!)....o!Xq.,X1t|
00000140  e1 98 2f ff fa 3d 91 2f  36 93 ef 85 f0 60 eb b6  |../..=./6....`..|
00000150  02 b1 6f 40 50 a7 c2 0d  04 ce d2 5f fd 2a 26 99  |..o@P......_.*&.|
00000160  3d da 6d 8c f8 96 cc d7  34 42 40 2a 85 e6 be c6  |=.m.....4B@*....|
00000170  f3 b9 0e c0 fb 8b 10 4b  f6 e5 91 62 74 18 e3 25  |.......K...bt..%|
00000180  8f 07 92 1c 61 b9 09 5d  19 92 16 68 b1 74 28 2c  |....a..]...h.t(,|
00000190  c8 f7 b0 09 84 fe 2e a6  50 15 04 9f d2 32 52 5d  |........P....2R]|
000001a0  9a 0d 51 88 5a ee 62 76  31 7b 9f 9f 6b 96 36 2f  |..Q.Z.bv1{..k.6/|
000001b0  c4 88 44 14 a5 65 d0 0a  38 b1 4c 7a 64 93 00 fe  |..D..e..8.Lzd...|
000001c0  ff ff 83 fe ff ff 02 00  00 00 00 a8 86 10 00 fe  |................|
000001d0  ff ff 05 fe ff ff 02 a8  86 10 00 68 b4 00 00 00  |...........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

Unknown BootLoader  on sdb1

00000000  eb 58 90 53 59 53 4c 49  4e 55 58 00 02 04 20 00  |.X.SYSLINUX... .|
00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 80 1f 00 00  |........?.......|
00000020  80 70 77 00 7d 3b 00 00  00 00 00 00 02 00 00 00  |.pw.};..........|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  80 00 29 64 11 0a 1b 4e  4f 20 4e 41 4d 45 20 20  |..)d...NO NAME  |
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 1e 77 00 00  66 ba 00 00 00 00 bb 00  |}.f..w..f.......|
00000110  7e e8 10 00 66 81 3e 24  7e 34 be f5 72 75 76 ea  |~...f.>$~4..ruv.|
00000120  38 7e 00 00 66 03 06 64  7b 66 13 16 68 7b b9 10  |8~..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

« Poslední změna: 24 Února 2011, 20:55:31 od Martin Kiklhorn »

daysleeper

  • Stálý člen
  • **
  • Příspěvků: 1206
v MBR disku neni nahran zavadec Grub
podrobny navod na opravu zde
http://forum.ubuntu.cz/index.php?topic=42267.0

Grub se nainstaluje na sda s tim, ze odkazuje na konfiguracni soubory ulozene na sda5
Kód: [Vybrat]
sudo mount /dev/sda5 /mnt
sudo grub-install --root-directory=/mnt /dev/sda

klainer

  • Návštěvník
  • Příspěvků: 43
Potom co jsem zadal zminene prikazi se mi nenacte vubec zadne boot menu a nenabootuje se mi nic, jen se objevi prikazovi radek> grub rescue commands .... Co stimto mam delat, jak to vratim zpet dekuji

daysleeper

  • Stálý člen
  • **
  • Příspěvků: 1206
zpet do LiveCD a znovu vypis
http://wiki.ubuntu.cz/boot_info_script

jinak vsechny prikazy z uvedeneho odkazu na obnovu grubu probehly bez chyby?

klainer

  • Návštěvník
  • Příspěvků: 43
Ano Příkazy proběhly bez chyby

Kód: [Vybrat]
               Boot Info Script 0.55    dated February 15th, 2010                    

============================= Boot Info Summary: ==============================

 => Windows is installed in the MBR of /dev/sda

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:   /bootmgr /Boot/BCD

sda2: _________________________________________________________________________

    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:   /Windows/System32/winload.exe

sda3: _________________________________________________________________________

    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:   /bootmgr /boot/BCD

sda4: _________________________________________________________________________

    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:  

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

Drive: sda ___________________ _____________________________________________________

Disk /dev/sda: 500,1 GB, 500 107 862 016 bajtů
hlav: 255, sektorů na stopu: 63, cylindrů: 60 801, celkem 976 773 168 sektorů
Jednotky = sektory po 1 * 512 = 512 bajtech
Velikost sektoru (logického/fyzického): 512 bajtů / 512 bajtů

Partition  Boot         Start           End          Size  Id System

/dev/sda1    *          2,048       616,447       614,400   7 HPFS/NTFS
/dev/sda2             616,448   652,030,467   651,414,020   7 HPFS/NTFS
/dev/sda3         941,115,392   972,572,671    31,457,280   7 HPFS/NTFS
/dev/sda4         652,031,998   941,115,391   289,083,394   5 Extended
/dev/sda5         652,032,000   929,292,287   277,260,288  83 Linux
/dev/sda6         929,294,336   941,115,391    11,821,056  82 Linux swap / Solaris


blkid -c /dev/null: ____________________________________________________________

Device           UUID                                   TYPE       LABEL                        

/dev/mmcblk0p1   C280-B624                              vfat                                    
/dev/sda: PTTYPE="dos"
/dev/sda1        24D0252ED025081E                       ntfs       SYSTEM                        
/dev/sda2        CAC8EE80C8EE69E1                       ntfs                                    
/dev/sda3        00E2378EE23786C6                       ntfs       HP_RECOVERY                  
/dev/sda4: PTTYPE="dos"
/dev/sda5        415d48f7-23b8-4591-bf4b-1b3dc37e748a   ext4                                    
/dev/sda6        017df5ec-4629-4f7a-b340-7d5f95855c6f   swap                                    

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

Device           Mount_Point              Type       Options

/dev/sda5        /                        ext4       (rw,errors=remount-ro,commit=0)
/dev/mmcblk0p1   /media/C280-B624         vfat       (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush)


=========================== 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='(hd1,msdos5)'
search --no-floppy --fs-uuid --set 415d48f7-23b8-4591-bf4b-1b3dc37e748a
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='(hd1,msdos5)'
search --no-floppy --fs-uuid --set 415d48f7-23b8-4591-bf4b-1b3dc37e748a
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='(hd1,msdos5)'
    search --no-floppy --fs-uuid --set 415d48f7-23b8-4591-bf4b-1b3dc37e748a
    linux    /boot/vmlinuz-2.6.35-22-generic root=UUID=415d48f7-23b8-4591-bf4b-1b3dc37e748a 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='(hd1,msdos5)'
    search --no-floppy --fs-uuid --set 415d48f7-23b8-4591-bf4b-1b3dc37e748a
    echo    'Loading Linux 2.6.35-22-generic ...'
    linux    /boot/vmlinuz-2.6.35-22-generic root=UUID=415d48f7-23b8-4591-bf4b-1b3dc37e748a 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='(hd1,msdos5)'
    search --no-floppy --fs-uuid --set 415d48f7-23b8-4591-bf4b-1b3dc37e748a
    linux16    /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
    insmod part_msdos
    insmod ext2
    set root='(hd1,msdos5)'
    search --no-floppy --fs-uuid --set 415d48f7-23b8-4591-bf4b-1b3dc37e748a
    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)" {
    insmod part_msdos
    insmod ntfs
    set root='(hd1,msdos1)'
    search --no-floppy --fs-uuid --set 24d0252ed025081e
    chainloader +1
}
menuentry "Windows Vista (loader) (on /dev/sda3)" {
    insmod part_msdos
    insmod ntfs
    set root='(hd1,msdos3)'
    search --no-floppy --fs-uuid --set 00e2378ee23786c6
    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 ###

=============================== 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=415d48f7-23b8-4591-bf4b-1b3dc37e748a /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda6 during installation
UUID=017df5ec-4629-4f7a-b340-7d5f95855c6f none            swap    sw              0       0

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


 426.3GB: boot/grub/core.img
 359.7GB: boot/grub/grub.cfg
 334.5GB: boot/initrd.img-2.6.35-22-generic
 426.3GB: boot/vmlinuz-2.6.35-22-generic
 334.5GB: initrd.img
 426.3GB: vmlinuz
=========================== Unknown MBRs/Boot Sectors/etc =======================

Unknown BootLoader  on sda4

00000000  fc 37 ba 5e b7 a6 49 5a  c9 25 d9 8d 5e 56 db 3b  |.7.^..IZ.%..^V.;|
00000010  94 06 2e ea 5d 76 a5 ce  c9 25 8a 0e f2 d5 c3 e9  |....]v...%......|
00000020  4a 41 c8 24 e8 4c 02 4b  cc 09 83 ec b3 51 79 48  |JA.$.L.K.....QyH|
00000030  55 b5 23 a1 73 7a fc ac  7c 61 b0 fe d6 85 37 1b  |U.#.sz..|a....7.|
00000040  49 bb 00 b5 e9 fb 1b d7  a1 77 21 44 f9 b5 e4 fa  |I........w!D....|
00000050  93 79 89 84 f1 37 24 2d  82 14 49 ef f6 0f 92 ec  |.y...7$-..I.....|
00000060  1d 84 60 96 af ac 45 fd  cf dc d5 3e dc 74 5d 23  |..`...E....>.t]#|
00000070  84 3a 61 8b f3 bd 05 eb  a3 fb de c9 da db e1 5a  |.:a............Z|
00000080  48 dc cf 72 9e 1d 41 98  f8 7a c1 38 33 34 b8 58  |H..r..A..z.834.X|
00000090  2f 58 27 02 d9 45 75 db  62 d5 85 da 89 58 7e e8  |/X'..Eu.b....X~.|
000000a0  94 9c 81 44 61 e1 f7 1f  fa e0 5f 27 dd 85 60 f1  |...Da....._'..`.|
000000b0  91 4f 91 16 38 40 fb 2c  0e ae 0f 35 91 49 1d 66  |.O..8@.,...5.I.f|
000000c0  ec a1 32 e8 03 d1 6f b0  93 69 82 a5 25 63 44 70  |..2...o..i..%cDp|
000000d0  75 45 6f 77 62 c8 4b 53  73 18 a6 9e dd be 2a 52  |uEowb.KSs.....*R|
000000e0  7d 61 88 d3 6f c0 a5 44  06 e6 3a 0d e8 45 aa 74  |}a..o..D..:..E.t|
000000f0  04 33 d6 e3 d3 9c 45 69  1f cd e5 fe 75 62 ec 30  |.3....Ei....ub.0|
00000100  3c 12 1d a4 88 2a 7e 9d  79 88 26 0f 33 1a c3 25  |<....*~.y.&.3..%|
00000110  2b a4 ef c4 ec cb e9 24  86 06 7e b7 65 22 90 e7  |+......$..~.e"..|
00000120  4c 23 32 c9 b9 4e 2a 48  e7 db 65 81 85 5c 5a a6  |L#2..N*H..e..\Z.|
00000130  a0 21 29 a4 ce 1b da 6f  21 58 71 cb 2c 58 31 74  |.!)....o!Xq.,X1t|
00000140  e1 98 2f ff fa 3d 91 2f  36 93 ef 85 f0 60 eb b6  |../..=./6....`..|
00000150  02 b1 6f 40 50 a7 c2 0d  04 ce d2 5f fd 2a 26 99  |..o@P......_.*&.|
00000160  3d da 6d 8c f8 96 cc d7  34 42 40 2a 85 e6 be c6  |=.m.....4B@*....|
00000170  f3 b9 0e c0 fb 8b 10 4b  f6 e5 91 62 74 18 e3 25  |.......K...bt..%|
00000180  8f 07 92 1c 61 b9 09 5d  19 92 16 68 b1 74 28 2c  |....a..]...h.t(,|
00000190  c8 f7 b0 09 84 fe 2e a6  50 15 04 9f d2 32 52 5d  |........P....2R]|
000001a0  9a 0d 51 88 5a ee 62 76  31 7b 9f 9f 6b 96 36 2f  |..Q.Z.bv1{..k.6/|
000001b0  c4 88 44 14 a5 65 d0 0a  38 b1 4c 7a 64 93 00 fe  |..D..e..8.Lzd...|
000001c0  ff ff 83 fe ff ff 02 00  00 00 00 a8 86 10 00 fe  |................|
000001d0  ff ff 05 fe ff ff 02 a8  86 10 00 68 b4 00 00 00  |...........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

« Poslední změna: 25 Února 2011, 07:49:40 od klainer »

daysleeper

  • Stálý člen
  • **
  • Příspěvků: 1206
jak se tam pise
Windows is installed in the MBR of /dev/sda

takze Grub se nenainstaloval. delal jsi to presne podle toho navodu, ktery jsem odkazoval? muzes zde pripadne zkopirovat vsechny vypisy, jak jsi postupoval a co to vypsalo?
alternativni navod je zde:
http://wiki.ubuntu.cz/GRUB2#Obnoven.2BAO0_GRUB2_pomoc.2BAO0_LiveCD

pripadne vraceni zpet do puv. stavu
http://wiki.ubuntu.cz/Odstran%C4%9Bn%C3%AD%20Ubuntu#Obnova_zavad.2BARsBDQ-e_Windows

 

Provoz zaštiťuje spolek OpenAlt.