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: Po instalaci vedle Windows 8 se automaticky bootuje W8 (VYŘEŠENO)  (Přečteno 3004 krát)

zakerr

  • Návštěvník
  • Příspěvků: 10
Dobrý den,
mám problém ohledně bootování Ubuntu. Nainstaloval jsem linux dle návodu zde na wiki, na dual (vedle Windows 8 ). Když ovšem zapnu počítač, není mi umožněno zvolit si OS, ale automaticky se bootuje W8.
Instaloval jsem verzi 13.04 z USB. Instalace proběhla naprosto v pořádku, akorát po restartu pc se mi automaticky načítá ten Win.
Předem děkuji za pomoc a omlouvám se, pokud tu toto téma již někde je, snažil jsem se ho najít, ale bezúspěšně.
« Poslední změna: 02 Září 2013, 12:41:56 od zakerr »

Cuore

  • Závislák
  • ***
  • Příspěvků: 2534
Re:Po instalaci vedle Windows 8 se automaticky bootuje W8
« Odpověď #1 kdy: 31 Srpna 2013, 15:35:04 »
netuším čeho se chytit
http://forum.ubuntu.cz/index.php?topic=5279.0
prosím nějaké info, zejména jak proběhla instalace, na jakém hardware
Kód: [Vybrat]
lspci a stav disku po instalace
Kód: [Vybrat]
sudo fdisk -l
sudo parted -l
je tam bios, efi, uefi, je vypnutý secureboot??

zakerr

  • Návštěvník
  • Příspěvků: 10
Re:Po instalaci vedle Windows 8 se automaticky bootuje W8
« Odpověď #2 kdy: 31 Srpna 2013, 15:39:38 »
Secureboot je vypnutý. Jinak je tam uefi.
Instalace proběhla naprosto bez problémů. Přesně podle návodu na wiki: http://wiki.ubuntu.cz/Instalace/Pr%C5%AFvodce%20instalac%C3%AD?redirect=1
Co se kódů týče, potřeboval bych poradit co s nimi. Jsem zde na foru i u Linuxu naprosto nově a nevím jak v tom chodit.
Děkuji mockrát.
« Poslední změna: 31 Srpna 2013, 15:45:12 od zakerr »

janek-m

  • Host
Re:Po instalaci vedle Windows 8 se automaticky bootuje W8
« Odpověď #3 kdy: 31 Srpna 2013, 16:27:48 »
Co se kódů týče, potřeboval bych poradit co s nimi. Jsem zde na foru i u Linuxu naprosto nově a nevím jak v tom chodit.

Ono to nie sú kódy ale príkazy.  ;) Je potrebné nabootovať Live CD/USB, kliknúť na "Vyskúšať Ubuntu" a potom otvoriť terminál (Ctrl + Alt + T) a tie príkazy od Coure si postupne prekopíruj do terminálu (v Live CD môžeš v pohode surfovať po nete). Po každom zadaní príkazu klikni na ENTER. Obsah skopíruješ sem a dáš ho do #code.

zakerr

  • Návštěvník
  • Příspěvků: 10
Re:Po instalaci vedle Windows 8 se automaticky bootuje W8
« Odpověď #4 kdy: 01 Září 2013, 08:02:05 »
Takze HW je
Kód: [Vybrat]
ubuntu@ubuntu:~$ lspci
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM77 Express Chipset LPC Controller (rev 04)
00:1f.2 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
01:00.0 Network controller: Atheros Communications Inc. AR9565 Wireless Network Adapter (rev 01)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 05)

A ty dalsi 2 kody

Kód: [Vybrat]
ubuntu@ubuntu:~$ sudo fdisk -l

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x333c2f7e

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1  1953525167   976762583+  ee  GPT
Partition 1 does not start on physical sector boundary.

Disk /dev/sdb: 4022 MB, 4022337024 bytes
255 heads, 63 sectors/track, 489 cylinders, total 7856127 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *          38     7839719     3919841    b  W95 FAT32

Kód: [Vybrat]
ubuntu@ubuntu:~$ sudo parted -l
Model: ATA TOSHIBA MQ01ABD1 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt

Number  Start   End     Size    File system     Name                          Flags
 1      1049kB  420MB   419MB   ntfs            Basic data partition          hidden, diag
 2      420MB   693MB   273MB   fat32           EFI system partition          boot
 3      693MB   827MB   134MB                   Microsoft reserved partition  msftres
 4      827MB   491GB   491GB   ntfs            Basic data partition
 6      491GB   978GB   486GB   ext4
 7      978GB   982GB   4182MB  linux-swap(v1)
 5      982GB   1000GB  18.1GB  ntfs            Basic data partition          hidden


Model: SanDisk SanDisk Cruzer (scsi)
Disk /dev/sdb: 4022MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
 1      19.5kB  4014MB  4014MB  primary  fat32        boot

janek-m

  • Host
Re:Po instalaci vedle Windows 8 se automaticky bootuje W8
« Odpověď #5 kdy: 01 Září 2013, 09:07:01 »
Ajaj, tabuľka GPT. Keďže fdisk nevie pracovať s GPT, neukáže ani informácie, ktoré by sme chceli vidieť. V tomto prípade môžem iba tipovať, že pri inštalácii bol zavádzač pravdepodobne zavedený na USB kľúč a nie na HDD. To by vysvetľovalo, prečo systém bootuje iba Windows. Odporučil by som, zverejniť ešte boot_info_script. Ten si stiahneš tu:http://sourceforge.net/projects/bootinfoscript/
Po stiahnutí klikni na súbor pravým tl. myši a rozbaľ ho. Priečinok "Bootinfoscript-061" bude obsahovať 3 súbory, nás bude zaujímať súbor bootinfoscript, ten si prekopíruj mimo priečinka. (info je aj tu: http://wiki.ubuntu.cz/boot_info_script) Klikni naň pravým tl. myši → Vlastnosti a tu si pozri umiestnenie.
Otvor terminál a zadaj:
Kód: [Vybrat]
sudo /home/cesta/ksúboru/bootinfoscript
- cesta/ksúboru/ - je to, čo si videl vo vlastnostiach "Umiestnenie"
ENTER
Vygeneruje sa RESULTS.txt a ten prekopíruj zas sem a daj ho do code.

Keďže píšeš, že sa v linuxe ešte nevyznáš, tak som sa to snažil podrobne rozpísať, dúfam, že je to zrozumiteľné.  ;)

Cuore

  • Závislák
  • ***
  • Příspěvků: 2534
Re:Po instalaci vedle Windows 8 se automaticky bootuje W8
« Odpověď #6 kdy: 01 Září 2013, 12:39:45 »
Hmm GPT a navíc efi to je průser, nemám zatím osobní zkušenost, takže ani netuším, kde začít. Každopádně problém budeš mít právě v tom efi, budeš tam muset nějak nacpat zavaděč pro ubuntu, ale jak na to netuším.

zakerr

  • Návštěvník
  • Příspěvků: 10
Re:Po instalaci vedle Windows 8 se automaticky bootuje W8
« Odpověď #7 kdy: 01 Září 2013, 13:00:23 »
Dekuju za podrobny postup, snad jsem udelal vse spravne.
v results.txt mi to vyplivlo toto
Kód: [Vybrat]
                  Boot Info Script 0.61      [1 April 2012]


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

 => No boot loader is installed in the MBR of /dev/sda.
 => Syslinux MBR (3.61-4.03) is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

    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:       

sda2: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Unknown
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System: 
    Boot files:        /efi/Boot/bootx64.efi /efi/ubuntu/grubx64.efi
                       /efi/ubuntu/shimx64.efi

sda3: __________________________________________________________________________

    File system:       
    Boot sector type:  -
    Boot sector info:
    Mounting failed:   mount: unknown filesystem type ''

sda4: __________________________________________________________________________

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

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

sda6: __________________________________________________________________________

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

sda7: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info:

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 4.03 2010-10-22 ........>..sr>..........9...0...~.....~...f...M.f.f....f..0~....>E}.u......
    Boot sector info:  Syslinux looks at sector 1684698 of /dev/sdb1 for its
                       second stage. SYSLINUX is installed in the  directory.
                       The integrity check of the ADV area failed. No errors
                       found in the Boot Parameter Block.
    Operating System: 
    Boot files:        /boot/grub/grub.cfg /syslinux.cfg
                       /efi/BOOT/grubx64.efi /ldlinux.sys

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1                   1 1,953,525,167 1,953,525,167  ee GPT


GUID Partition Table detected.

Partition    Start Sector    End Sector  # of Sectors System
/dev/sda1           2,048       821,247       819,200 Windows Recovery Environment (Windows)
/dev/sda2         821,248     1,353,727       532,480 EFI System partition
/dev/sda3       1,353,728     1,615,871       262,144 Microsoft Reserved Partition (Windows)
/dev/sda4       1,615,872   959,889,407   958,273,536 Data partition (Windows/Linux)
/dev/sda5   1,918,164,992 1,953,513,471    35,348,480 Data partition (Windows/Linux)
/dev/sda6     959,889,408 1,909,997,567   950,108,160 Data partition (Windows/Linux)
/dev/sda7   1,909,997,568 1,918,164,991     8,167,424 Swap partition (Linux)

Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 4022 MB, 4022337024 bytes
255 heads, 63 sectors/track, 489 cylinders, total 7856127 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    *             38     7,839,719     7,839,682   b W95 FAT32


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/sda1        463A5F1B3A5F0779                       ntfs       WINRE
/dev/sda2        C2DF-B93D                              vfat       
/dev/sda4        4C64F2D364F2BF30                       ntfs       
/dev/sda5        5CC05D35C05D171C                       ntfs       RECOVERY
/dev/sda6        9d9254bf-f83b-439a-9add-76554b0f8728   ext4       
/dev/sda7        0bff3797-0ad6-474c-a51e-7ac623f77579   swap       
/dev/sdb1        E000-E13C                              vfat       FLASH

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

Device           Mount_Point              Type       Options

/dev/loop0       /rofs                    squashfs   (ro,noatime)
/dev/sdb1        /cdrom                   vfat       (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)


=========================== sda6/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 [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

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 {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  9d9254bf-f83b-439a-9add-76554b0f8728
else
  search --no-floppy --fs-uuid --set=root 9d9254bf-f83b-439a-9add-76554b0f8728
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=cs_CZ
  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 44,0,30; 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
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-9d9254bf-f83b-439a-9add-76554b0f8728' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  9d9254bf-f83b-439a-9add-76554b0f8728
else
  search --no-floppy --fs-uuid --set=root 9d9254bf-f83b-439a-9add-76554b0f8728
fi
linux /boot/vmlinuz-3.8.0-29-generic.efi.signed root=UUID=9d9254bf-f83b-439a-9add-76554b0f8728 ro   quiet splash $vt_handoff
initrd /boot/initrd.img-3.8.0-29-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-9d9254bf-f83b-439a-9add-76554b0f8728' {
menuentry 'Ubuntu, with Linux 3.8.0-29-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.0-29-generic-advanced-9d9254bf-f83b-439a-9add-76554b0f8728' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  9d9254bf-f83b-439a-9add-76554b0f8728
else
  search --no-floppy --fs-uuid --set=root 9d9254bf-f83b-439a-9add-76554b0f8728
fi
echo 'Loading Linux 3.8.0-29-generic ...'
linux /boot/vmlinuz-3.8.0-29-generic.efi.signed root=UUID=9d9254bf-f83b-439a-9add-76554b0f8728 ro   quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.8.0-29-generic
}
menuentry 'Ubuntu, with Linux 3.8.0-29-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.0-29-generic-recovery-9d9254bf-f83b-439a-9add-76554b0f8728' {
recordfail
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  9d9254bf-f83b-439a-9add-76554b0f8728
else
  search --no-floppy --fs-uuid --set=root 9d9254bf-f83b-439a-9add-76554b0f8728
fi
echo 'Loading Linux 3.8.0-29-generic ...'
linux /boot/vmlinuz-3.8.0-29-generic.efi.signed root=UUID=9d9254bf-f83b-439a-9add-76554b0f8728 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.8.0-29-generic
}
menuentry 'Ubuntu, with Linux 3.8.0-19-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.0-19-generic-advanced-9d9254bf-f83b-439a-9add-76554b0f8728' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  9d9254bf-f83b-439a-9add-76554b0f8728
else
  search --no-floppy --fs-uuid --set=root 9d9254bf-f83b-439a-9add-76554b0f8728
fi
echo 'Loading Linux 3.8.0-19-generic ...'
linux /boot/vmlinuz-3.8.0-19-generic root=UUID=9d9254bf-f83b-439a-9add-76554b0f8728 ro   quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.8.0-19-generic
}
menuentry 'Ubuntu, with Linux 3.8.0-19-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.0-19-generic-recovery-9d9254bf-f83b-439a-9add-76554b0f8728' {
recordfail
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  9d9254bf-f83b-439a-9add-76554b0f8728
else
  search --no-floppy --fs-uuid --set=root 9d9254bf-f83b-439a-9add-76554b0f8728
fi
echo 'Loading Linux 3.8.0-19-generic ...'
linux /boot/vmlinuz-3.8.0-19-generic root=UUID=9d9254bf-f83b-439a-9add-76554b0f8728 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.8.0-19-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+ ###
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 8 (loader) (on /dev/sda4)' --class windows --class os $menuentry_id_option 'osprober-chain-4C64F2D364F2BF30' {
insmod part_gpt
insmod ntfs
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  4C64F2D364F2BF30
else
  search --no-floppy --fs-uuid --set=root 4C64F2D364F2BF30
fi
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry 'Windows Recovery Environment (loader) (on /dev/sda5)' --class windows --class os $menuentry_id_option 'osprober-chain-5CC05D35C05D171C' {
insmod part_gpt
insmod ntfs
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  5CC05D35C05D171C
else
  search --no-floppy --fs-uuid --set=root 5CC05D35C05D171C
fi
drivemap -s (hd0) ${root}
chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###

### 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  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=============================== sda6/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>
# / was on /dev/sda6 during installation
UUID=9d9254bf-f83b-439a-9add-76554b0f8728 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda2 during installation
UUID=C2DF-B93D  /boot/efi       vfat    defaults        0       1
# swap was on /dev/sda7 during installation
UUID=0bff3797-0ad6-474c-a51e-7ac623f77579 none            swap    sw              0       0
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

               =                boot/grub/grub.cfg                             1
               =                boot/initrd.img-3.8.0-19-generic               2
               =                boot/initrd.img-3.8.0-29-generic               1
               =                boot/vmlinuz-3.8.0-19-generic                  2
               =                boot/vmlinuz-3.8.0-29-generic                  1
               =                boot/vmlinuz-3.8.0-29-generic.efi.signed       1
               =                initrd.img                                     2
               =                vmlinuz                                        2

=========================== 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.efi  file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --
initrd /casper/initrd.lz
}
menuentry "Install Ubuntu" {
set gfxpayload=keep
linux /casper/vmlinuz.efi  file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash --
initrd /casper/initrd.lz
}
menuentry "OEM install (for manufacturers)" {
set gfxpayload=keep
linux /casper/vmlinuz.efi  file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash oem-config/enable=true --
initrd /casper/initrd.lz
}
menuentry "Check disc for defects" {
set gfxpayload=keep
linux /casper/vmlinuz.efi  boot=casper integrity-check quiet splash --
initrd /casper/initrd.lz
}
--------------------------------------------------------------------------------

============================== sdb1/syslinux.cfg: ==============================

--------------------------------------------------------------------------------
default menu.c32
prompt 0
menu title UNetbootin
timeout 100

label unetbootindefault
menu label Default
kernel /ubnkern
append initrd=/ubninit file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --

label ubnentry0
menu label ^Help
kernel /ubnkern
append initrd=/ubninit

label ubnentry1
menu label ^Try Ubuntu without installing
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper  quiet splash --

label ubnentry2
menu label ^Install Ubuntu
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity  quiet splash --

label ubnentry3
menu label ^Check disc for defects
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz boot=casper integrity-check  quiet splash --

label ubnentry4
menu label Test ^memory
kernel /install/mt86plus
append initrd=/ubninit

label ubnentry5
menu label ^Boot from first hard disk
kernel /ubnkern
append initrd=/ubninit

label ubnentry6
menu label Try Ubuntu without installing
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --

label ubnentry7
menu label Install Ubuntu
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash --

label ubnentry8
menu label OEM install (for manufacturers)
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash oem-config/enable=true --

label ubnentry9
menu label Check disc for defects
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz boot=casper integrity-check quiet splash --

--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

            ?? = ??             boot/grub/grub.cfg                             1

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

           GiB - GB             File                                 Fragment(s)

            ?? = ??             ldlinux.sys                                    1
            ?? = ??             menu.c32                                       1
            ?? = ??             syslinux.cfg                                   1

============== sdb1: Version of COM32(R) files used by Syslinux: ===============

 menu.c32                           :  COM32R module (v4.xx)

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

Unknown BootLoader on sda2

00000000  eb 58 90 4d 53 44 4f 53  35 2e 30 00 02 08 fe 1b  |.X.MSDOS5.0.....|
00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 00 88 0c 00  |........?.......|
00000020  00 20 08 00 01 02 00 00  00 00 00 00 02 00 00 00  |. ..............|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  80 00 29 3d b9 df c2 4e  4f 20 4e 41 4d 45 20 20  |..)=...NO NAME  |
00000050  20 20 46 41 54 33 32 20  20 20 33 c9 8e d1 bc f4  |  FAT32   3.....|
00000060  7b 8e c1 8e d9 bd 00 7c  88 56 40 88 4e 02 8a 56  |{......|.V@.N..V|
00000070  40 b4 41 bb aa 55 cd 13  72 10 81 fb 55 aa 75 0a  |@.A..U..r...U.u.|
00000080  f6 c1 01 74 05 fe 46 02  eb 2d 8a 56 40 b4 08 cd  |...t..F..-.V@...|
00000090  13 73 05 b9 ff ff 8a f1  66 0f b6 c6 40 66 0f b6  |.s......f...@f..|
000000a0  d1 80 e2 3f f7 e2 86 cd  c0 ed 06 41 66 0f b7 c9  |...?.......Af...|
000000b0  66 f7 e1 66 89 46 f8 83  7e 16 00 75 39 83 7e 2a  |f..f.F..~..u9.~*|
000000c0  00 77 33 66 8b 46 1c 66  83 c0 0c bb 00 80 b9 01  |.w3f.F.f........|
000000d0  00 e8 2c 00 e9 a8 03 a1  f8 7d 80 c4 7c 8b f0 ac  |..,......}..|...|
000000e0  84 c0 74 17 3c ff 74 09  b4 0e bb 07 00 cd 10 eb  |..t.<.t.........|
000000f0  ee a1 fa 7d eb e4 a1 7d  80 eb df 98 cd 16 cd 19  |...}...}........|
00000100  66 60 80 7e 02 00 0f 84  20 00 66 6a 00 66 50 06  |f`.~.... .fj.fP.|
00000110  53 66 68 10 00 01 00 b4  42 8a 56 40 8b f4 cd 13  |Sfh.....B.V@....|
00000120  66 58 66 58 66 58 66 58  eb 33 66 3b 46 f8 72 03  |fXfXfXfX.3f;F.r.|
00000130  f9 eb 2a 66 33 d2 66 0f  b7 4e 18 66 f7 f1 fe c2  |..*f3.f..N.f....|
00000140  8a ca 66 8b d0 66 c1 ea  10 f7 76 1a 86 d6 8a 56  |..f..f....v....V|
00000150  40 8a e8 c0 e4 06 0a cc  b8 01 02 cd 13 66 61 0f  |@............fa.|
00000160  82 74 ff 81 c3 00 02 66  40 49 75 94 c3 42 4f 4f  |.t.....f@Iu..BOO|
00000170  54 4d 47 52 20 20 20 20  00 00 00 00 00 00 00 00  |TMGR    ........|
00000180  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001a0  00 00 00 00 00 00 00 00  00 00 00 00 0d 0a 44 69  |..............Di|
000001b0  73 6b 20 65 72 72 6f 72  ff 0d 0a 50 72 65 73 73  |sk error...Press|
000001c0  20 61 6e 79 20 6b 65 79  20 74 6f 20 72 65 73 74  | any key to rest|
000001d0  61 72 74 0d 0a 00 00 00  00 00 00 00 00 00 00 00  |art.............|
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  ac 01 b9 01 00 00 55 aa  |..............U.|
00000200


=============================== StdErr Messages: ===============================

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
/home/ubuntu/Desktop/bootinfoscript: line 1646: [: 2.73495e+09: integer expression expected
  No volume groups found

Cuore

  • Závislák
  • ***
  • Příspěvků: 2534
Re:Po instalaci vedle Windows 8 se automaticky bootuje W8
« Odpověď #8 kdy: 01 Září 2013, 13:04:14 »
Citace
=> No boot loader is installed in the MBR of /dev/sda.
 => Syslinux MBR (3.61-4.03) is installed in the MBR of /dev/sdb.
žeby se janek-m trefil?

janek-m

  • Host
Re:Po instalaci vedle Windows 8 se automaticky bootuje W8
« Odpověď #9 kdy: 01 Září 2013, 13:09:05 »
Kolega bol rýchlejší  ;D Je to tak, zavádzač je na sdb, čiže na USB kľúči.
Keďže ani ja som ešte s efi/uefi nemal tú česť, tak sa neodvážim navrhnúť opravu Grubu cez Live CD. Zatiaľ by som odporučil Boot Repair: https://help.ubuntu.com/community/Boot-Repair Tento by mal automaticky opraviť Grub. vyskúšaj, ak nepomôže, urobíme pokus s opravou Grubu príkazmi v terminále.

jmp

  • Host
Re:Po instalaci vedle Windows 8 se automaticky bootuje W8
« Odpověď #10 kdy: 01 Září 2013, 13:10:42 »
Citace
=> No boot loader is installed in the MBR of /dev/sda.
 => Syslinux MBR (3.61-4.03) is installed in the MBR of /dev/sdb.
žeby se janek-m trefil?
Citace
sda2: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Unknown
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System: 
    Boot files:        /efi/Boot/bootx64.efi /efi/ubuntu/grubx64.efi
                       /efi/ubuntu/shimx64.efi
netrefil...[/b]
« Poslední změna: 01 Září 2013, 13:30:45 od jmp »

janek-m

  • Host
Re:Po instalaci vedle Windows 8 se automaticky bootuje W8
« Odpověď #11 kdy: 01 Září 2013, 13:18:30 »
@jmp: ja mám veľmi rád také "obsiahle" odpovede. Prečo boot_info_script uvádza: Syslinux MBR (3.61-4.03) is installed in the MBR of /dev/sdb a o pár riadkov nižšie zas niečo iné. Čím to môže byť? A aké by malo byť riešenie? Toto je to, čo by nás zaujímalo, keďže s efi som sa ešte nestretol.  :-\

zakerr

  • Návštěvník
  • Příspěvků: 10
Re:Po instalaci vedle Windows 8 se automaticky bootuje W8
« Odpověď #12 kdy: 01 Září 2013, 13:50:03 »
Tak jsem provedl doporučenou opravu boot-repairem, ale bohužel problém stále trvá.

zakerr

  • Návštěvník
  • Příspěvků: 10
Re:Po instalaci vedle Windows 8 se automaticky bootuje W8 (VYŘEŠENO)
« Odpověď #13 kdy: 02 Září 2013, 12:43:16 »
Naprosto nechápu proč, ale reinstall Ubuntu a opětovné provedení Boot-repair problém vyřešil. Mám teď možnost výběru mezi W8 a Ubuntu a oboje bez problému bootuje. Děkuji všem za pomoc.

 

Provoz zaštiťuje spolek OpenAlt.