Brak wyboru windowsa 7 po instalacji ubuntu 12,04

Wyłącznie system! Wątpliwości dotyczące aplikacji proszę umieszczać niżej, w odpowiednich forach.
Bred
Piegowaty Guziec
Piegowaty Guziec
Posty: 3
Rejestracja: 01 mar 2013, 07:22
Płeć: Mężczyzna
Kontakt:

Brak wyboru windowsa 7 po instalacji ubuntu 12,04

Post autor: Bred »

Witam wszystkich i zwracam się z prośbą o pomoc z moim problemem, szukałem na forum ale nie znalazłem albo nie zrozumiałem (jestem zupełnie zielony) odpowiedzi na moje pytanie. Dokładnie to chodzi mi o to że z ciekawości zainstalowałem ubuntu 12,04 obok już istniejącego windows 7.
Wykorzystałem do tego celu osobną partycją. Podzieliłem tę partycję na ext4 z księgowaniem plików ( / ) i dodatkowo przestrzeń wymiany. Instalacja przebiegła bezproblemowo, po uruchomieniu ponownym komputera od razu zaczął włączać się ubuntu bez możliwości wyboru systemu. I to właśnie jest mój problem. Co trzeba zrobić żeby menu wyboru systemu się wyświetliło? Dodam że po updacie gruba wyskoczyło coś takiego:

Teraz mam inny problem przy pomocy rescatux rozwiązałem swój poprzedni do tego stopnia że przy wyborze systemów figurował tylko ubuntu natomiast windowsa nie było. Miałem nadzieje że dodanie do menu.lst wpisu poniżej coś zmieni ale nawet nie wiem co się do czego odnosi i w przypadku wyboru windowsa wyskakuje error 12: invalid device requested.

Kod: Zaznacz cały

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda2
title Microsoft Windows XP Home Edition
root (hd0,1)
savedefault
makeactive
chainloader +1
bear7
Przyjaciel
Przyjaciel
Posty: 6686
Rejestracja: 20 sty 2009, 23:12
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Środowisko graficzne: Inne
Architektura: x86_64
Lokalizacja: pwd

Re: Brak wyboru windowsa 7 po instalacji ubuntu 12,04

Post autor: bear7 »

Bred pisze: Miałem nadzieje że dodanie do menu.lst wpisu poniżej coś zmieni ale nawet nie wiem co się do czego odnosi
Zamiast kombinować, wrzuć na forum (pomiędzy zancznikami CODE) wynik skrytpu http://sourceforge.net/projects/bootinfoscript/.
manu.lst to plik odpowiedzialny za konfigurację starego GRUB-a, który to (bodajże w wersji 9.04) został zastąpiony przez GRUB2.
O pomoc pytaj a forum, a nie przez PW.
Bred
Piegowaty Guziec
Piegowaty Guziec
Posty: 3
Rejestracja: 01 mar 2013, 07:22
Płeć: Mężczyzna
Kontakt:

Re: Brak wyboru windowsa 7 po instalacji ubuntu 12,04

Post autor: Bred »

Wiem że jest to opisane w ściągniętym pliku ale i tak nie daje rady uruchomić tego skryptu. Nie wiem co dokładnie wpisać w wierszu terminala. Rozpakowałem folder na pulpit i jestem w kropce.
Co mam wpisać po "mariusz@bred:~$" ?
Ostatnio zmieniony 03 mar 2013, 17:47 przez Bred, łącznie zmieniany 3 razy.
marcin1982
Gibki Gibbon
Gibki Gibbon
Posty: 3209
Rejestracja: 30 wrz 2007, 13:49
Płeć: Mężczyzna

Re: Brak wyboru windowsa 7 po instalacji ubuntu 12,04

Post autor: marcin1982 »

Rozpakowałem folder na pulpit i jestem w kropce.
Uruchom terminal. Zaloguj się na konto roota:

Kod: Zaznacz cały

sudo su
Wykonaj polecenie:

Kod: Zaznacz cały

bash bootinfoscript
Wstaw na forum zawartość pliku RESULTS.txt w tagach Code.

PS

W nagłówku pliku skryptu masz opisane jak go uruchamiać. Poznawaj, szukaj, ucz się ...
Bred
Piegowaty Guziec
Piegowaty Guziec
Posty: 3
Rejestracja: 01 mar 2013, 07:22
Płeć: Mężczyzna
Kontakt:

Re: Brak wyboru windowsa 7 po instalacji ubuntu 12,04

Post autor: Bred »

Żeby podane komendy zadziałały trzeba było dodatkowo przenieść pliki do "/home". Dziękuje bardzo a o to mój wynik:

Kod: Zaznacz cały

                  Boot Info Script 0.61      [1 April 2012]


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

 => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for (,msdos1)/boot/grub on this drive.

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

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

sda5: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7: NTFS
    Boot sector info:  According to the info in the boot sector, sda5 starts 
                       at sector 63.
    Operating System:  Windows 7
    Boot files:        /Windows/System32/winload.exe

sda6: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7: NTFS
    Boot sector info:  According to the info in the boot sector, sda6 starts 
                       at sector 63.
    Operating System:  
    Boot files:        

sda7: __________________________________________________________________________

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

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

Drive: sda _____________________________________________________________________

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

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *          2,048    20,002,815    20,000,768  83 Linux
/dev/sda2          20,004,862   976,751,999   956,747,138   f W95 Extended (LBA)
/dev/sda5          20,964,888   136,311,524   115,346,637   7 NTFS / exFAT / HPFS
/dev/sda6         136,311,588   976,751,999   840,440,412   7 NTFS / exFAT / HPFS
/dev/sda7          20,004,864    20,963,327       958,464  82 Linux swap / Solaris


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        4d9e2fde-cf02-4674-9f6c-54e4baf1c367   ext4       
/dev/sda5        26005E02005DD8FF                       ntfs       
/dev/sda6        BAC4F082C4F04265                       ntfs       
/dev/sda7        6fbf2355-0fdb-456f-91a1-0d6a06b27a72   swap       

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

Device           Mount_Point              Type       Options

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


=========================== sda1/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}

function load_video {
  insmod vbe
  insmod vga
  insmod video_bochs
  insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 4d9e2fde-cf02-4674-9f6c-54e4baf1c367
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  insmod part_msdos
  insmod ext2
  set root='(hd0,msdos1)'
  search --no-floppy --fs-uuid --set=root 4d9e2fde-cf02-4674-9f6c-54e4baf1c367
  set locale_dir=($root)/boot/grub/locale
  set lang=pl_PL
  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
if [ "${linux_gfx_mode}" != "text" ]; then load_video; fi
menuentry 'Ubuntu, za pomocą systemu Linux 3.2.0-38-generic' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root 4d9e2fde-cf02-4674-9f6c-54e4baf1c367
	linux	/boot/vmlinuz-3.2.0-38-generic root=UUID=4d9e2fde-cf02-4674-9f6c-54e4baf1c367 ro   quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.2.0-38-generic
}
menuentry 'Ubuntu, za pomocą systemu Linux 3.2.0-38-generic (tryb ratunkowy)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root 4d9e2fde-cf02-4674-9f6c-54e4baf1c367
	echo	'Wczytywanie systemu Linux 3.2.0-38-generic...'
	linux	/boot/vmlinuz-3.2.0-38-generic root=UUID=4d9e2fde-cf02-4674-9f6c-54e4baf1c367 ro recovery nomodeset 
	echo	'Wczytywanie początkowego dysku RAM...'
	initrd	/boot/initrd.img-3.2.0-38-generic
}
submenu "Previous Linux versions" {
menuentry 'Ubuntu, za pomocą systemu Linux 3.0.0-31-generic' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root 4d9e2fde-cf02-4674-9f6c-54e4baf1c367
	linux	/boot/vmlinuz-3.0.0-31-generic root=UUID=4d9e2fde-cf02-4674-9f6c-54e4baf1c367 ro   quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.0.0-31-generic
}
menuentry 'Ubuntu, za pomocą systemu Linux 3.0.0-31-generic (tryb ratunkowy)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root 4d9e2fde-cf02-4674-9f6c-54e4baf1c367
	echo	'Wczytywanie systemu Linux 3.0.0-31-generic...'
	linux	/boot/vmlinuz-3.0.0-31-generic root=UUID=4d9e2fde-cf02-4674-9f6c-54e4baf1c367 ro recovery nomodeset 
	echo	'Wczytywanie początkowego dysku RAM...'
	initrd	/boot/initrd.img-3.0.0-31-generic
}
menuentry 'Ubuntu, za pomocą systemu Linux 2.6.38-16-generic' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root 4d9e2fde-cf02-4674-9f6c-54e4baf1c367
	linux	/boot/vmlinuz-2.6.38-16-generic root=UUID=4d9e2fde-cf02-4674-9f6c-54e4baf1c367 ro   quiet splash $vt_handoff
	initrd	/boot/initrd.img-2.6.38-16-generic
}
menuentry 'Ubuntu, za pomocą systemu Linux 2.6.38-16-generic (tryb ratunkowy)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root 4d9e2fde-cf02-4674-9f6c-54e4baf1c367
	echo	'Wczytywanie systemu Linux 2.6.38-16-generic...'
	linux	/boot/vmlinuz-2.6.38-16-generic root=UUID=4d9e2fde-cf02-4674-9f6c-54e4baf1c367 ro recovery nomodeset 
	echo	'Wczytywanie początkowego dysku RAM...'
	initrd	/boot/initrd.img-2.6.38-16-generic
}
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root 4d9e2fde-cf02-4674-9f6c-54e4baf1c367
	linux16	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root 4d9e2fde-cf02-4674-9f6c-54e4baf1c367
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ "x${timeout}" != "x-1" ]; then
  if keystatus; then
    if keystatus --shift; then
      set timeout=-1
    else
      set timeout=0
    fi
  else
    if sleep --interruptible 3 ; then
      set timeout=0
    fi
  fi
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### 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  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

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

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid -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/sda1 during installation
UUID=4d9e2fde-cf02-4674-9f6c-54e4baf1c367 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda7 during installation
UUID=6fbf2355-0fdb-456f-91a1-0d6a06b27a72 none            swap    sw              0       0
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

               =                boot/grub/core.img                             1
               =                boot/grub/grub.cfg                             1
               =                boot/initrd.img-2.6.38-16-generic              2
               =                boot/initrd.img-3.0.0-31-generic               2
               =                boot/initrd.img-3.2.0-38-generic               2
               =                boot/vmlinuz-2.6.38-16-generic                 1
               =                boot/vmlinuz-3.0.0-31-generic                  1
               =                boot/vmlinuz-3.2.0-38-generic                  2
               =                initrd.img                                     2
               =                initrd.img.old                                 2
               =                vmlinuz                                        2
               =                vmlinuz.old                                    1

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

Unknown BootLoader on sda2

00000000  28 1f dc 8b e8 ef 71 c0  e3 0d 3f 25 fa c0 8d 3d  |(.....q...?%...=|
00000010  59 f7 7b c3 c7 ea 1f ef  99 6f f2 13 e7 59 5f a4  |Y.{......o...Y_.|
00000020  7f 4c ad 03 7f 49 54 2c  4c f8 6a cb f3 0e 1b c6  |.L...IT,L.j.....|
00000030  d0 9c e6 43 73 33 73 83  83 c5 22 8e e6 aa 8f 41  |...Cs3s..."....A|
00000040  db 31 34 6d 96 74 52 f9  61 68 95 5e 5c 4e 3d 21  |.14m.tR.ah.^\N=!|
00000050  e6 6a ff cb 7f ef 1e 36  ea f8 db 8d 06 06 a7 ae  |.j.....6........|
00000060  9e f6 5f c8 2b 4d f7 c6  78 a6 e6 09 ff 29 ff da  |.._.+M..x....)..|
00000070  0c d9 5b 6e 7d 33 6e 04  fa 61 5a 7a fd 54 61 13  |..[n}3n..aZz.Ta.|
00000080  fa 75 f5 f0 25 d6 2f f9  23 1b eb fd 2c f3 16 9a  |.u..%./.#...,...|
00000090  3e 0c 2d 51 3b 82 b0 2c  65 fc e8 3d 7f e8 ab 5b  |>.-Q;..,e..=...[|
000000a0  53 d9 5e d3 93 8f ae 90  1b 73 b6 e3 c7 9c 19 f1  |S.^......s......|
000000b0  9d cc d6 8d cd 36 97 f4  c3 be 8d 66 72 bc b6 71  |.....6.....fr..q|
000000c0  ba f7 d2 65 a3 8f b3 30  7b 4d f8 b8 fd 94 fe 29  |...e...0{M.....)|
000000d0  a9 9f 3e 6e f2 08 10 d0  1f 67 c1 fa a7 eb 5d 25  |..>n.....g....]%|
000000e0  d0 bf b6 7b 67 a3 5c 10  73 a3 3e 9b 4f fc 5b b3  |...{g.\.s.>.O.[.|
000000f0  fc f4 7f bf f1 19 be ee  e2 fc ce 5f 93 a3 ce 9b  |..........._....|
00000100  fe bf 26 e4 f5 d3 d7 df  bb af df e7 67 96 5f f7  |..&.........g._.|
00000110  df fc 37 fc af 3f 1e 1f  b8 d9 64 c9 c6 6c b2 64  |..7..?....d..l.d|
00000120  e3 36 d9 b2 71 9b 6c d9  38 4d 36 6c 9c 26 9b 36  |.6..q.l.8M6l.&.6|
00000130  ce 9f 4d 7f a3 64 ed ba  30 f1 cb d6 a0 8c df 7e  |..M..d..0......~|
00000140  fb 9a f4 95 c3 fb ff 3f  de c6 07 65 e3 b6 85 cf  |.......?...e....|
00000150  57 fe 82 5b 34 7e f8 fb  bf 01 6b 91 5a 2f 58 0e  |W..[4~....k.Z/X.|
00000160  49 9c cb 91 fb bb 1f bb  1e 81 8f c7 fb 77 f1 43  |I............w.C|
00000170  23 02 23 a1 fb bd 61 bf  c7 05 87 1f 7f 20 fd 5a  |#.#...a...... .Z|
00000180  be 7a fc b9 2d 7c dc dd  2f 7e 0a 58 eb 94 7a 5f  |.z..-|../~.X..z_|
00000190  58 45 e6 92 be 81 9b d3  9d d3 5e f9 de 18 21 0c  |XE........^...!.|
000001a0  de 37 f0 de 3b a0 08 b1  d1 09 12 69 b9 e9 1e 96  |.7..;......i....|
000001b0  37 d1 49 38 2e 4e 25 74  67 74 df cb 9e a1 00 fe  |7.I8.N%tgt......|
000001c0  ff ff 07 fe ff ff 1a a6  0e 00 cd 0c e0 06 00 fe  |................|
000001d0  ff ff 05 fe ff ff e7 b2  ee 06 9b 1a 18 32 00 00  |.............2..|
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


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

xz: (stdin): Dane skompresowane są uszkodzone
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in



Awatar użytkownika
Kiro
Wytworny Kaczor
Wytworny Kaczor
Posty: 340
Rejestracja: 06 lis 2007, 12:38
Płeć: Mężczyzna
Wersja Ubuntu: 14.10
Środowisko graficzne: Unity
Architektura: x86_64

Re: Brak wyboru windowsa 7 po instalacji ubuntu 12,04

Post autor: Kiro »

Spróbuj wykonać komendę

Kod: Zaznacz cały

update-grub
ODPOWIEDZ

Wróć do „Instalacja, aktualizacja i konfiguracja Ubuntu”

Kto jest online

Użytkownicy przeglądający to forum: Amazon [Bot] i 17 gości