Windows 7 nie uruchamia się po instalacji Ubuntu
-
- Piegowaty Guziec
- Posty: 12
- Rejestracja: 04 gru 2008, 14:51
- Płeć: Mężczyzna
- Wersja Ubuntu: 13.04
- Środowisko graficzne: Unity
- Architektura: x86_64
Windows 7 nie uruchamia się po instalacji Ubuntu
Witam, kiedyś już miałem ten problem, ale temat z rozwiązaniem został niestety usunięty, więc próbuję jeszcze raz. Instalowałem od podstaw Ubu 13.04 na oddzielnej partycji ext4, Windows spokojnie siedzi sobie na NTFSie nie ruszany. Po instalacji po uruchomieniu GRUBa mam kilka wpisów do wyboru, jednak wybór "Windows 7 /dev/sda1" skutkuje błędem "error no hard drive found". Ostatnio musiałem dodawać ręcznie wpisy do GRUBa, więc teraz prawdopodobnie tez będę musiał. Tylko jak to zrobić?
-
- Piegowaty Guziec
- Posty: 12
- Rejestracja: 04 gru 2008, 14:51
- Płeć: Mężczyzna
- Wersja Ubuntu: 13.04
- Środowisko graficzne: Unity
- Architektura: x86_64
Re: Windows 7 nie uruchamia się po instalacji Ubuntu
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
918615408 of the same hard drive for core.img. core.img is at this
location and looks in partition 94 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: Windows 7
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: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
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 13.04
Boot files: /boot/grub/grub.cfg /etc/fstab
sda6: __________________________________________________________________________
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 104,857,599 104,855,552 7 NTFS / exFAT / HPFS
/dev/sda2 104,857,600 314,570,751 209,713,152 7 NTFS / exFAT / HPFS
/dev/sda3 314,570,752 871,913,471 557,342,720 7 NTFS / exFAT / HPFS
/dev/sda4 871,915,518 976,773,119 104,857,602 5 Extended
/dev/sda5 871,915,520 974,675,285 102,759,766 83 Linux
/dev/sda6 974,678,016 976,773,119 2,095,104 82 Linux swap / Solaris
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/sda1 72C508B76EB9B4EC ntfs
/dev/sda2 246A6B797A716773 ntfs
/dev/sda3 2E263BB91902BE83 ntfs
/dev/sda5 05f1aa61-a4f4-4487-9434-6c4dda8f95bb ext4
/dev/sda6 f85dd219-17c0-48e8-9b3e-29547de482b4 swap
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/sda3 /media/filip/2E263BB91902BE83 fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
/dev/sda5 / ext4 (rw,errors=remount-ro)
=========================== 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 [ 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,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 05f1aa61-a4f4-4487-9434-6c4dda8f95bb
else
search --no-floppy --fs-uuid --set=root 05f1aa61-a4f4-4487-9434-6c4dda8f95bb
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
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-05f1aa61-a4f4-4487-9434-6c4dda8f95bb' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 05f1aa61-a4f4-4487-9434-6c4dda8f95bb
else
search --no-floppy --fs-uuid --set=root 05f1aa61-a4f4-4487-9434-6c4dda8f95bb
fi
linux /boot/vmlinuz-3.8.0-19-generic root=UUID=05f1aa61-a4f4-4487-9434-6c4dda8f95bb ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.8.0-19-generic
}
submenu 'Opcje zaawansowane dla systemu Ubuntu' $menuentry_id_option 'gnulinux-advanced-05f1aa61-a4f4-4487-9434-6c4dda8f95bb' {
menuentry 'Ubuntu, za pomocą systemu 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-05f1aa61-a4f4-4487-9434-6c4dda8f95bb' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 05f1aa61-a4f4-4487-9434-6c4dda8f95bb
else
search --no-floppy --fs-uuid --set=root 05f1aa61-a4f4-4487-9434-6c4dda8f95bb
fi
echo 'Wczytywanie systemu Linux 3.8.0-19-generic...'
linux /boot/vmlinuz-3.8.0-19-generic root=UUID=05f1aa61-a4f4-4487-9434-6c4dda8f95bb ro quiet splash $vt_handoff
echo 'Wczytywanie początkowego dysku RAM...'
initrd /boot/initrd.img-3.8.0-19-generic
}
menuentry 'Ubuntu, za pomocą systemu Linux 3.8.0-19-generic (tryb ratunkowy)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.0-19-generic-recovery-05f1aa61-a4f4-4487-9434-6c4dda8f95bb' {
recordfail
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 05f1aa61-a4f4-4487-9434-6c4dda8f95bb
else
search --no-floppy --fs-uuid --set=root 05f1aa61-a4f4-4487-9434-6c4dda8f95bb
fi
echo 'Wczytywanie systemu Linux 3.8.0-19-generic...'
linux /boot/vmlinuz-3.8.0-19-generic root=UUID=05f1aa61-a4f4-4487-9434-6c4dda8f95bb ro recovery nomodeset
echo 'Wczytywanie początkowego dysku RAM...'
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+ ###
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 05f1aa61-a4f4-4487-9434-6c4dda8f95bb
else
search --no-floppy --fs-uuid --set=root 05f1aa61-a4f4-4487-9434-6c4dda8f95bb
fi
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 05f1aa61-a4f4-4487-9434-6c4dda8f95bb
else
search --no-floppy --fs-uuid --set=root 05f1aa61-a4f4-4487-9434-6c4dda8f95bb
fi
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 7 (loader) (na /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-72C508B76EB9B4EC' {
insmod ldm
insmod ntfs
set root='ldm/51c03cf4-6f96-11e1-afc9-6c626d2c1ee6/Volume1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0 --hint-efi=hd0 --hint-baremetal=ahci0 --hint='ldm/51c03cf4-6f96-11e1-afc9-6c626d2c1ee6/Volume1' 72C508B76EB9B4EC
else
search --no-floppy --fs-uuid --set=root 72C508B76EB9B4EC
fi
chainloader +1
}
### 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 ${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 ###
--------------------------------------------------------------------------------
=============================== sda5/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/sda5 during installation
UUID=05f1aa61-a4f4-4487-9434-6c4dda8f95bb / ext4 errors=remount-ro 0 1
# swap was on /dev/sda6 during installation
UUID=f85dd219-17c0-48e8-9b3e-29547de482b4 none swap sw 0 0
--------------------------------------------------------------------------------
=================== sda5: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
= boot/grub/grub.cfg 1
= boot/initrd.img-3.8.0-19-generic 1
= boot/vmlinuz-3.8.0-19-generic 1
= initrd.img 1
= initrd.img.old 1
= vmlinuz 1
======================== Unknown MBRs/Boot Sectors/etc: ========================
Unknown BootLoader on sda4
00000000 34 3b 22 65 38 de 4d d6 28 ec ff 71 59 ab 61 d9 |4;"e8.M.(..qY.a.|
00000010 5f 54 97 1b 56 a1 d2 e5 2d 50 a7 f5 44 67 e3 71 |_T..V...-P..Dg.q|
00000020 d7 0f dd ff 7c 9c c1 6a be f0 de d3 f5 6d e9 4c |....|..j.....m.L|
00000030 d2 13 7c 87 95 eb 2c 51 94 a3 6d 50 de 6e 66 e9 |..|...,Q..mP.nf.|
00000040 b3 99 58 ae 01 05 67 d5 b7 d4 f4 49 30 31 95 d2 |..X...g....I01..|
00000050 f3 5f c4 96 61 39 08 9b 90 8b 47 17 26 24 64 d3 |._..a9....G.&$d.|
00000060 55 ea e1 d5 26 5c c4 a9 d2 e3 24 23 de f3 42 b7 |U...&\....$#..B.|
00000070 d7 6e 59 52 35 77 25 8e 9e 8b 50 4d c5 33 59 cb |.nYR5w%...PM.3Y.|
00000080 6f b5 37 89 46 5f 63 08 8c a7 25 7e e5 9d 19 58 |o.7.F_c...%~...X|
00000090 5b e1 5d fa 88 8f 6c f5 1c 42 5d a3 77 1d db 43 |[.]...l..B].w..C|
000000a0 63 63 df a1 dd 5c 22 f1 b5 79 9a 42 1d b7 cd 35 |cc...\"..y.B...5|
000000b0 64 60 5e 4d 05 b5 91 b1 b0 9a 52 24 f6 0e ce 67 |d`^M......R$...g|
000000c0 cd ef 51 bb bd 39 2d a9 ea 2d fd e0 96 1a 53 cf |..Q..9-..-....S.|
000000d0 34 da 70 33 b1 63 3c f5 dc 5c 47 7e 8e 37 3b 47 |4.p3.c<..\G~.7;G|
000000e0 b7 31 1a 58 c2 e5 44 c6 9c 61 93 1d c8 9a f4 ea |.1.X..D..a......|
000000f0 e4 b6 42 c2 bb cd e7 b0 20 5b db 84 0a 81 fa 8e |..B..... [......|
00000100 b9 58 02 73 1a c1 27 ca 19 cf f4 c9 7d b8 b6 e4 |.X.s..'.....}...|
00000110 24 0e 8c 14 2f e0 88 78 43 ee ae 2e a8 89 17 73 |$.../..xC......s|
00000120 30 2c 3c 96 93 a1 98 86 d0 e2 04 86 78 d1 1b 88 |0,<.........x...|
00000130 c4 89 c4 49 82 95 64 9f 97 0f 7e d7 c2 f6 5d 33 |...I..d...~...]3|
00000140 c5 83 d3 ec 33 dd c1 c7 4e a3 80 83 b0 f2 00 0a |....3...N.......|
00000150 08 28 2a 98 ac ae 20 8e 95 3c 68 04 59 60 b6 40 |.(*... ..<h.Y`.@|
00000160 80 f3 85 38 9b 6d 53 da 80 7f 18 91 80 f0 af de |...8.mS.........|
00000170 a6 1c bc 51 b3 e7 62 80 2f 5a b4 e1 5f 02 8b 78 |...Q..b./Z.._..x|
00000180 9f 42 fb 3c 3e 12 67 96 82 11 b7 58 ef fa 1c c3 |.B.<>.g....X....|
00000190 57 2c 50 cb df f2 87 08 54 31 28 33 40 a5 c1 23 |W,P.....T1(3@..#|
000001a0 8e 26 f1 db 4f 8c 2c 87 cd c7 1e 48 ac 8c cd c7 |.&..O.,....H....|
000001b0 2f 8f 4d 95 b7 28 17 cf 03 db a2 40 54 82 00 fe |/.M..(.....@T...|
000001c0 ff ff 83 fe ff ff 02 00 00 00 56 fd 1f 06 00 fe |..........V.....|
000001d0 ff ff 05 fe ff ff 58 fd 1f 06 aa 02 20 00 00 00 |......X..... ...|
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
========= Devices which don't seem to have a corresponding hard drive: =========
sdb
=============================== 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
-
- 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 7 nie uruchamia się po instalacji Ubuntu
Do /etc/grub.d/40_custom dodaj:
Następnie:restart i sprawdź czy zadziała.
Kod: Zaznacz cały
menuentry "windows" {
set root=(hd0,1)
chainloader (hd0,1)+1
boot
}
Kod: Zaznacz cały
sudo update-grub
-
- Piegowaty Guziec
- Posty: 12
- Rejestracja: 04 gru 2008, 14:51
- Płeć: Mężczyzna
- Wersja Ubuntu: 13.04
- Środowisko graficzne: Unity
- Architektura: x86_64
Re: Windows 7 nie uruchamia się po instalacji Ubuntu
Dzięki wielki, śmiga. A czy mógłbym przy okazji wiedzieć dlaczego instalator sam sobie nie poradził?
-
- 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 7 nie uruchamia się po instalacji Ubuntu
Ależ oczywiście. Prawdopodobnie masz ten problem:https://bugs.launchpad.net/ubuntu/+sour ... ug/1061255 Sugeruję nie bawić się dd bo to może się źle skończyć.
Kto jest online
Użytkownicy przeglądający to forum: Bing [Bot] i 10 gości