Windows 8.1 niewidoczny po instalacji UBUNTU 14.04

Jeśli już na pewno nie da się umieścić posta wyżej.
bartek1470
Piegowaty Guziec
Piegowaty Guziec
Posty: 10
Rejestracja: 02 lut 2015, 19:39
Wersja Ubuntu: 14.04
Architektura: x86_64

Windows 8.1 niewidoczny po instalacji UBUNTU 14.04

Post autor: bartek1470 »

Cześć, to mój pierwszy post, więc mam nadzieję, że w dobrym dziale założyłem post.

Mam laptopa lenovo G510 z oryginalnym Windows'em 8.1, wszystkie aktualizacje były zainstalowane. Jako, że w następnym semestrze mam przedmiot wprowadzenie do linuxa, postanowiłem zainstalować Ubuntu. Zmniejszyłem partycje D (na C mam zainstalowanego Windowsa), wyłączyłem fast boot. Dodam, że w BIOS'ie nie mam żadnej opcji, w której w nazwie jest coś związanego z SecureBoot. Nagrałem Ubuntu za pomocą Universal USB Installer, pobranego z http://www.pendrivelinux.com/, na pendrive. W BIOS'ie miałem domyślnie włączony boot z pendrive, więc nie musiałem przestawiać tej opcji :). Zobaczyłem, że odpaliło się okno jak przy wyborze systemów, to pomyślałem, że jest wszystko w porządku. Miałem do wyboru kilka opcji. Na początek wybrałem, żeby wypróbować Ubuntu. Wszystko pięknie uruchomiło się, ładnie działało, więc ostatecznie zdecydowałem się i zacząłem instalacje systemu. Z nieprzydzielonego miejsca, które zostało po zmniejszeniu partycji D, utworzyłem nową partycje podstawową dla Ubuntu z systemem plików ext4, i zaznaczyłem z listy opcje "/" - z tego co wyczytałem to oznacza partycje root, na której będzie zainstalowany system. Po instalacji, Ubuntu poprosiło mnie o zrestartowanie komputera.
I tu jest problem: Po odłączeniu pendrive Ubuntu automatycznie uruchomiło się bez jakiegokolwiek ekranu wyboru systemu. Próbowałem zmieniać różne opcje w BIOS'ie, jednak bezskutecznie.
Dodam, że przed tworzeniem partycji dla Ubuntu musiałem odmontanować pozostałe partycje. Ma to jakiś związek z problemem?

Prosiłbym o dokładne tłumaczenie, ponieważ jestem zielony jeżeli chodzi o te tematy. Jeżeli chodzi o linuxa to nie miałem jako takiej styczności z konsolą, a gdy próbowałem coś zrobić i prosiło mnie o hasło, to nic nie mogłem wpisać; mogłem tylko nacisnąć enter po czym pokazywało mi, że wpisałem nieprawidłowe hasło.
Jeżeli macie jakieś pytania dotyczące sprzętu lub czegokolwiek w tym stylu to postaram się odpowiedzieć :)
Oba systemy sa x64.
Awatar użytkownika
igotit4free
Przyjaciel
Przyjaciel
Posty: 6453
Rejestracja: 29 paź 2008, 22:51
Płeć: Mężczyzna
Architektura: x86_64
Lokalizacja: KRK

Re: Windows 8.1 niewidoczny po instalacji UBUNTU 14.04

Post autor: igotit4free »

Zacznij jak tutaj: viewtopic.php?f=145&t=166849
Czyli podaj wynik działania skryptu, zobaczymy czy Windows się tam w ogóle ostał.
Windows 10 @ GA-P67A-D3-B3, i3-2100 3.10GHz, 8GB RAM, Gigabyte HD6850 1GB RAM
Android 7.0 @ Motorola Moto G4+
bartek1470
Piegowaty Guziec
Piegowaty Guziec
Posty: 10
Rejestracja: 02 lut 2015, 19:39
Wersja Ubuntu: 14.04
Architektura: x86_64

Re: Windows 8.1 niewidoczny po instalacji UBUNTU 14.04

Post autor: bartek1470 »

Patrzyłem do tego tematu i nawet próbowałem uruchomić ten skrypt, jednak tak jak już mówiłem - po wpisaniu do terminala jakiejś komendy, przez którą prosi mnie o podanie hasła (np. su, albo sudo), terminal nie reaguje na nic oprócz klawisza enter :/
Wszystkie pliki Windowsa, jak i dane z dysku C i D zostały, więc liczę, że jakaś nadzieja jest :D
Awatar użytkownika
igotit4free
Przyjaciel
Przyjaciel
Posty: 6453
Rejestracja: 29 paź 2008, 22:51
Płeć: Mężczyzna
Architektura: x86_64
Lokalizacja: KRK

Re: Windows 8.1 niewidoczny po instalacji UBUNTU 14.04

Post autor: igotit4free »

OK, jak instalowałeś Ubuntu to podawałeś jakieś hasło dla użytkownika. Kiedy cię system zapyta o hasło => wpisz je i klepnij Enter.
Nie przejmuj się tym, że nie widać ilości i obrazów wpisywanych znaków, wpisz je i klepnij Enter.
Windows 10 @ GA-P67A-D3-B3, i3-2100 3.10GHz, 8GB RAM, Gigabyte HD6850 1GB RAM
Android 7.0 @ Motorola Moto G4+
bartek1470
Piegowaty Guziec
Piegowaty Guziec
Posty: 10
Rejestracja: 02 lut 2015, 19:39
Wersja Ubuntu: 14.04
Architektura: x86_64

Re: Windows 8.1 niewidoczny po instalacji UBUNTU 14.04

Post autor: bartek1470 »

Oto co się wyświetliło:

Kod: Zaznacz cały

Boot Info Script 0.61      [1 April 2012]


"gawk" could not be found, using "busybox awk" instead.
This may lead to unreliable results.

Identifying MBRs...
Computing Partition Table of /dev/sda...
Searching sda1 for information... 
Searching sda2 for information... 
Searching sda3 for information... 
                  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 
    in partition 112 for .

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

sda2: __________________________________________________________________________

    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:        

sda3: __________________________________________________________________________

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

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
głowic: 255, sektorów/ścieżkę: 63, cylindrów: 121601, w sumie sektorów: 1953525168
Jednostka = sektorów, czyli 1 * 512 = 512 bajtów
Rozmiar sektora (logiczny/fizyczny) w bajtach: 512 / 4096

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *          2,048   209,881,087   209,879,040   7 NTFS / exFAT / HPFS
/dev/sda2         209,881,088 1,848,664,063 1,638,782,976   7 NTFS / exFAT / HPFS
/dev/sda3       1,848,664,064 1,953,523,711   104,859,648  83 Linux


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        76DE52BBDE5272FB                       ntfs       OS
/dev/sda2        5CDC53F6DC53C8C2                       ntfs       DATA
/dev/sda3        b1c04d2f-4637-46e9-b5e1-6f96814712ad   ext4       

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

Device           Mount_Point              Type       Options

/dev/sda1        /media/bartek/OS         fuseblk    (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
/dev/sda2        /media/bartek/DATA       fuseblk    (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
/dev/sda3        /                        ext4       (rw,errors=remount-ro)


=========================== sda3/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
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

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_msdos
insmod ext2
set root='hd0,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  b1c04d2f-4637-46e9-b5e1-6f96814712ad
else
  search --no-floppy --fs-uuid --set=root b1c04d2f-4637-46e9-b5e1-6f96814712ad
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=pl_PL
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=-1
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=hidden
    set timeout=0
  # Fallback hidden-timeout code in case the timeout_style feature is
  # unavailable.
  elif sleep --interruptible 0 ; then
    set timeout=0
  fi
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-b1c04d2f-4637-46e9-b5e1-6f96814712ad' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos3'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  b1c04d2f-4637-46e9-b5e1-6f96814712ad
	else
	  search --no-floppy --fs-uuid --set=root b1c04d2f-4637-46e9-b5e1-6f96814712ad
	fi
	linux	/boot/vmlinuz-3.13.0-32-generic.efi.signed root=UUID=b1c04d2f-4637-46e9-b5e1-6f96814712ad ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.13.0-32-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-b1c04d2f-4637-46e9-b5e1-6f96814712ad' {
	menuentry 'Ubuntu, with Linux 3.13.0-32-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-32-generic-advanced-b1c04d2f-4637-46e9-b5e1-6f96814712ad' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  b1c04d2f-4637-46e9-b5e1-6f96814712ad
		else
		  search --no-floppy --fs-uuid --set=root b1c04d2f-4637-46e9-b5e1-6f96814712ad
		fi
		echo	'Loading Linux 3.13.0-32-generic ...'
		linux	/boot/vmlinuz-3.13.0-32-generic.efi.signed root=UUID=b1c04d2f-4637-46e9-b5e1-6f96814712ad ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-32-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-32-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-32-generic-recovery-b1c04d2f-4637-46e9-b5e1-6f96814712ad' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  b1c04d2f-4637-46e9-b5e1-6f96814712ad
		else
		  search --no-floppy --fs-uuid --set=root b1c04d2f-4637-46e9-b5e1-6f96814712ad
		fi
		echo	'Loading Linux 3.13.0-32-generic ...'
		linux	/boot/vmlinuz-3.13.0-32-generic.efi.signed root=UUID=b1c04d2f-4637-46e9-b5e1-6f96814712ad ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-32-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 ###
### 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 ###
--------------------------------------------------------------------------------

=============================== sda3/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/sda3 during installation
UUID=b1c04d2f-4637-46e9-b5e1-6f96814712ad /               ext4    errors=remount-ro 0       1
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)


========= Devices which don't seem to have a corresponding hard drive: =========

sdb 

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

cat: /tmp/BootInfo-HtpYv3xZ/Tmp_Log: Nie ma takiego pliku ani katalogu

Awatar użytkownika
igotit4free
Przyjaciel
Przyjaciel
Posty: 6453
Rejestracja: 29 paź 2008, 22:51
Płeć: Mężczyzna
Architektura: x86_64
Lokalizacja: KRK

Re: Windows 8.1 niewidoczny po instalacji UBUNTU 14.04

Post autor: igotit4free »

Jak dla mnie, to sytuacja taka sama jak w podlinkowanym już, rozwiązanym wątku. Wydaj

Kod: Zaznacz cały

sudo nano /etc/grub.d/40_custom
wklej tam

Kod: Zaznacz cały

menuentry "windows" {
   set root=(hd0,1)
   chainloader (hd0,1)+1
   boot
}
Zapisz i wyjdź, wydaj

Kod: Zaznacz cały

sudo update-grub
i restart.
Windows 10 @ GA-P67A-D3-B3, i3-2100 3.10GHz, 8GB RAM, Gigabyte HD6850 1GB RAM
Android 7.0 @ Motorola Moto G4+
bartek1470
Piegowaty Guziec
Piegowaty Guziec
Posty: 10
Rejestracja: 02 lut 2015, 19:39
Wersja Ubuntu: 14.04
Architektura: x86_64

Re: Windows 8.1 niewidoczny po instalacji UBUNTU 14.04

Post autor: bartek1470 »

Nic z tego ;) jak nie działało tak nie działa. Poniżej wklejam kod z bootinfoscript:

Kod: Zaznacz cały

Boot Info Script 0.61      [1 April 2012]


"gawk" could not be found, using "busybox awk" instead.
This may lead to unreliable results.

Identifying MBRs...
Computing Partition Table of /dev/sda...
Searching sda1 for information... 
Searching sda2 for information... 
Searching sda3 for information... 
                  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 
    in partition 112 for .

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

sda2: __________________________________________________________________________

    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:        

sda3: __________________________________________________________________________

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

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
głowic: 255, sektorów/ścieżkę: 63, cylindrów: 121601, w sumie sektorów: 1953525168
Jednostka = sektorów, czyli 1 * 512 = 512 bajtów
Rozmiar sektora (logiczny/fizyczny) w bajtach: 512 / 4096

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *          2,048   209,881,087   209,879,040   7 NTFS / exFAT / HPFS
/dev/sda2         209,881,088 1,848,664,063 1,638,782,976   7 NTFS / exFAT / HPFS
/dev/sda3       1,848,664,064 1,953,523,711   104,859,648  83 Linux


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        76DE52BBDE5272FB                       ntfs       OS
/dev/sda2        5CDC53F6DC53C8C2                       ntfs       DATA
/dev/sda3        b1c04d2f-4637-46e9-b5e1-6f96814712ad   ext4       

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

Device           Mount_Point              Type       Options

/dev/sda3        /                        ext4       (rw,errors=remount-ro)


=========================== sda3/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
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

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_msdos
insmod ext2
set root='hd0,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  b1c04d2f-4637-46e9-b5e1-6f96814712ad
else
  search --no-floppy --fs-uuid --set=root b1c04d2f-4637-46e9-b5e1-6f96814712ad
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=pl_PL
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=-1
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=hidden
    set timeout=0
  # Fallback hidden-timeout code in case the timeout_style feature is
  # unavailable.
  elif sleep --interruptible 0 ; then
    set timeout=0
  fi
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-b1c04d2f-4637-46e9-b5e1-6f96814712ad' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos3'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  b1c04d2f-4637-46e9-b5e1-6f96814712ad
	else
	  search --no-floppy --fs-uuid --set=root b1c04d2f-4637-46e9-b5e1-6f96814712ad
	fi
	linux	/boot/vmlinuz-3.13.0-32-generic.efi.signed root=UUID=b1c04d2f-4637-46e9-b5e1-6f96814712ad ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.13.0-32-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-b1c04d2f-4637-46e9-b5e1-6f96814712ad' {
	menuentry 'Ubuntu, with Linux 3.13.0-32-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-32-generic-advanced-b1c04d2f-4637-46e9-b5e1-6f96814712ad' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  b1c04d2f-4637-46e9-b5e1-6f96814712ad
		else
		  search --no-floppy --fs-uuid --set=root b1c04d2f-4637-46e9-b5e1-6f96814712ad
		fi
		echo	'Loading Linux 3.13.0-32-generic ...'
		linux	/boot/vmlinuz-3.13.0-32-generic.efi.signed root=UUID=b1c04d2f-4637-46e9-b5e1-6f96814712ad ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-32-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-32-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-32-generic-recovery-b1c04d2f-4637-46e9-b5e1-6f96814712ad' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  b1c04d2f-4637-46e9-b5e1-6f96814712ad
		else
		  search --no-floppy --fs-uuid --set=root b1c04d2f-4637-46e9-b5e1-6f96814712ad
		fi
		echo	'Loading Linux 3.13.0-32-generic ...'
		linux	/boot/vmlinuz-3.13.0-32-generic.efi.signed root=UUID=b1c04d2f-4637-46e9-b5e1-6f96814712ad ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-32-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 ###
### 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 ###
--------------------------------------------------------------------------------

=============================== sda3/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/sda3 during installation
UUID=b1c04d2f-4637-46e9-b5e1-6f96814712ad /               ext4    errors=remount-ro 0       1
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)


========= Devices which don't seem to have a corresponding hard drive: =========

sdb 

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

cat: /tmp/BootInfo-ULPAg1Cc/Tmp_Log: Nie ma takiego pliku ani katalogu
-- 2 lut 2015, o 22:12 --

Tak u mnie wygląda BIOS i ustawienia w nim:
http://oi57.tinypic.com/wb5qhd.jpg
http://oi61.tinypic.com/1z66v11.jpg
http://oi62.tinypic.com/k4eb7t.jpg
http://oi61.tinypic.com/53037o.jpg
http://oi58.tinypic.com/6ekffa.jpg
namok
Przebojowy Jelonek
Przebojowy Jelonek
Posty: 1703
Rejestracja: 01 mar 2008, 12:21
Płeć: Mężczyzna
Wersja Ubuntu: 16.04
Środowisko graficzne: Unity
Architektura: x86_64
Kontakt:

Re: Windows 8.1 niewidoczny po instalacji UBUNTU 14.04

Post autor: namok »

Zrobiłeś to co podał @igotit4free bo skrypt tego nie widzi:

Kod: Zaznacz cały

### 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 ###
bartek1470
Piegowaty Guziec
Piegowaty Guziec
Posty: 10
Rejestracja: 02 lut 2015, 19:39
Wersja Ubuntu: 14.04
Architektura: x86_64

Re: Windows 8.1 niewidoczny po instalacji UBUNTU 14.04

Post autor: bartek1470 »

Tak, zrobiłem. Oto screen:
http://oi58.tinypic.com/rbbhtw.jpg

+ to co napisał jeszcze, czyli wpisałem i zatwierdziłem komende

Kod: Zaznacz cały

sudo update-grub
i zrobiłem restart. Nic to nie dało :cry:

-- 2 lut 2015, o 23:13 --

Czegoś tu nie rozumiem. Dlaczego nie uruchamia się Windows skoro mam zaznaczony przy nim boot?

Kod: Zaznacz cały

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *          2,048   209,881,087   209,879,040   7 NTFS / exFAT / HPFS
/dev/sda2         209,881,088 1,848,664,063 1,638,782,976   7 NTFS / exFAT / HPFS
/dev/sda3       1,848,664,064 1,953,523,711   104,859,648  83 Linux
namok
Przebojowy Jelonek
Przebojowy Jelonek
Posty: 1703
Rejestracja: 01 mar 2008, 12:21
Płeć: Mężczyzna
Wersja Ubuntu: 16.04
Środowisko graficzne: Unity
Architektura: x86_64
Kontakt:

Re: Windows 8.1 niewidoczny po instalacji UBUNTU 14.04

Post autor: namok »

Podaj wynik polecenia

Kod: Zaznacz cały

cat /etc/grub.d/40_custom
i

Kod: Zaznacz cały

ls -la /etc/grub.d/
bartek1470
Piegowaty Guziec
Piegowaty Guziec
Posty: 10
Rejestracja: 02 lut 2015, 19:39
Wersja Ubuntu: 14.04
Architektura: x86_64

Re: Windows 8.1 niewidoczny po instalacji UBUNTU 14.04

Post autor: bartek1470 »

Kod: Zaznacz cały

cat /etc/grub.d/40_custom
Wynik polecenia:

Kod: Zaznacz cały

#!/bin/sh
exec tail -n +3 $0
# 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.
menuentry "windows" {
   set root=(hd0,1)
   chainloader (hd0,1)+1
   boot
}
i

Kod: Zaznacz cały

ls -la /etc/grub.d/
Wynik polecenia:

Kod: Zaznacz cały

razem 96
drwxr-xr-x   2 root root  4096 lut  2 21:23 .
drwxr-xr-x 133 root root 12288 lut  3 08:55 ..
-rwxr-xr-x   1 root root  9424 maj 15  2014 00_header
-rwxr-xr-x   1 root root  6058 maj  8  2014 05_debian_theme
-rwxr-xr-x   1 root root 11608 maj 15  2014 10_linux
-rwxr-xr-x   1 root root 10412 maj 15  2014 20_linux_xen
-rwxr-xr-x   1 root root  1992 mar 12  2014 20_memtest86+
-rwxr-xr-x   1 root root 11692 maj 15  2014 30_os-prober
-rwxr-xr-x   1 root root  1416 maj 15  2014 30_uefi-firmware
-rwxr-xr-x   1 root root   291 lut  2 21:28 40_custom
-rwxr-xr-x   1 root root   290 lut  2 21:23 40_custom.save
-rwxr-xr-x   1 root root   216 maj 15  2014 41_custom
-rw-r--r--   1 root root   483 maj 15  2014 README
namok
Przebojowy Jelonek
Przebojowy Jelonek
Posty: 1703
Rejestracja: 01 mar 2008, 12:21
Płeć: Mężczyzna
Wersja Ubuntu: 16.04
Środowisko graficzne: Unity
Architektura: x86_64
Kontakt:

Re: Windows 8.1 niewidoczny po instalacji UBUNTU 14.04

Post autor: namok »

Podaj wynik:

Kod: Zaznacz cały

cat /etc/grub.d/40_custom.save
bartek1470
Piegowaty Guziec
Piegowaty Guziec
Posty: 10
Rejestracja: 02 lut 2015, 19:39
Wersja Ubuntu: 14.04
Architektura: x86_64

Re: Windows 8.1 niewidoczny po instalacji UBUNTU 14.04

Post autor: bartek1470 »

Wynik:

Kod: Zaznacz cały

menuentry "windows" {
   set root=(hd0,1)
   chainloader (hd0,1)+1
   boot
}#!/bin/sh
exec tail -n +3 $0
# 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.
namok
Przebojowy Jelonek
Przebojowy Jelonek
Posty: 1703
Rejestracja: 01 mar 2008, 12:21
Płeć: Mężczyzna
Wersja Ubuntu: 16.04
Środowisko graficzne: Unity
Architektura: x86_64
Kontakt:

Re: Windows 8.1 niewidoczny po instalacji UBUNTU 14.04

Post autor: namok »

Wykonaj kolejno polecenia:

Kod: Zaznacz cały

sudo chmod -x /etc/grub.d/40_custom.save

Kod: Zaznacz cały

sudo update-grub

Kod: Zaznacz cały

cat /boot/grub/grub.cfg | grep menuentry
Wynik ostatniego wklej na forum. Gdyby były jakieś błędy to także je podaj.
bartek1470
Piegowaty Guziec
Piegowaty Guziec
Posty: 10
Rejestracja: 02 lut 2015, 19:39
Wersja Ubuntu: 14.04
Architektura: x86_64

Re: Windows 8.1 niewidoczny po instalacji UBUNTU 14.04

Post autor: bartek1470 »

Kod: Zaznacz cały

cat /boot/grub/grub.cfg | grep menuentry
Wynik:

Kod: Zaznacz cały

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
  menuentry_id_option=""
export menuentry_id_option
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-b1c04d2f-4637-46e9-b5e1-6f96814712ad' {
submenu 'Opcje zaawansowane dla systemu Ubuntu' $menuentry_id_option 'gnulinux-advanced-b1c04d2f-4637-46e9-b5e1-6f96814712ad' {
	menuentry 'Ubuntu, za pomocą systemu Linux 3.13.0-32-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-32-generic-advanced-b1c04d2f-4637-46e9-b5e1-6f96814712ad' {
	menuentry 'Ubuntu, with Linux 3.13.0-32-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-32-generic-recovery-b1c04d2f-4637-46e9-b5e1-6f96814712ad' {
menuentry 'Memory test (memtest86+)' {
menuentry 'Memory test (memtest86+, serial console 115200)' {
menuentry 'Windows 8 (loader) (na /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-76DE52BBDE5272FB' {
menuentry "windows" {
Błędów żadnych nie zauważyłem.
namok
Przebojowy Jelonek
Przebojowy Jelonek
Posty: 1703
Rejestracja: 01 mar 2008, 12:21
Płeć: Mężczyzna
Wersja Ubuntu: 16.04
Środowisko graficzne: Unity
Architektura: x86_64
Kontakt:

Re: Windows 8.1 niewidoczny po instalacji UBUNTU 14.04

Post autor: namok »

Sprawdzałeś czy windows startuje?
bartek1470
Piegowaty Guziec
Piegowaty Guziec
Posty: 10
Rejestracja: 02 lut 2015, 19:39
Wersja Ubuntu: 14.04
Architektura: x86_64

Re: Windows 8.1 niewidoczny po instalacji UBUNTU 14.04

Post autor: bartek1470 »

Wszystko działa jak należy. Mogę już włączyć Windowsa. Dziękuje bardzo :)
Jeszcze takie pytanie mam. Czy da się jakoś zmienić, żeby Windows był domyślnie uruchamiany, gdy nie zdążę wybrać systemu?
Wybieranie systemu wygląda u mnie tak:
http://oi57.tinypic.com/4r6h6x.jpg

A co do samego uruchamiania się to trochę to niepokojąco wygląda.
http://oi57.tinypic.com/15p0ax0.jpg (przepraszam za odbicia, no ale błyszcząca matryca, więc mam nadzieję, że mnie zrozumiecie :))
Następnie po tym ekranie jak ze screena, mam czarny ekran przez około 5 sekund, może trochę mniej. U was też tak to wygląda? Nie są to jakieś skutki niepoprawnych działań/komend czy czegokolwiek takiego?
EDIT:
To z tym dziwnym ekranem to po prostu zamiast Windows wybierałem Windows 8 (loader) (na /dev/sda1) :)
Ostatnio zmieniony 03 lut 2015, 12:13 przez bartek1470, łącznie zmieniany 1 raz.
namok
Przebojowy Jelonek
Przebojowy Jelonek
Posty: 1703
Rejestracja: 01 mar 2008, 12:21
Płeć: Mężczyzna
Wersja Ubuntu: 16.04
Środowisko graficzne: Unity
Architektura: x86_64
Kontakt:

Re: Windows 8.1 niewidoczny po instalacji UBUNTU 14.04

Post autor: namok »

bartek1470 pisze:Czy da się jakoś zmienić, żeby Windows był domyślnie uruchamiany, gdy nie zdążę wybrać systemu?
Da się:

Kod: Zaznacz cały

sudo gedit /etc/default/grub
Zamieniasz

Kod: Zaznacz cały

GRUB_DEFAULT=0
na

Kod: Zaznacz cały

GRUB_DEFAULT="windows"
Następnie

Kod: Zaznacz cały

sudo update-grub
i domyślnie powinien być zaznaczony windows.
bartek1470
Piegowaty Guziec
Piegowaty Guziec
Posty: 10
Rejestracja: 02 lut 2015, 19:39
Wersja Ubuntu: 14.04
Architektura: x86_64

Re: Windows 8.1 niewidoczny po instalacji UBUNTU 14.04

Post autor: bartek1470 »

Wszystko działa, jeszcze raz dziękuję :D Jeszcze z tak szybkimi odpowiedziami na żadnym forum się nie spotkałem :clap:
namok
Przebojowy Jelonek
Przebojowy Jelonek
Posty: 1703
Rejestracja: 01 mar 2008, 12:21
Płeć: Mężczyzna
Wersja Ubuntu: 16.04
Środowisko graficzne: Unity
Architektura: x86_64
Kontakt:

Re: Windows 8.1 niewidoczny po instalacji UBUNTU 14.04

Post autor: namok »

To nie chwal się tym głośno bo się inni zlecą ;)
ODPOWIEDZ

Wróć do „Ostatnia deska ratunku”

Kto jest online

Użytkownicy przeglądający to forum: Obecnie na forum nie ma żadnego zarejestrowanego użytkownika i 9 gości