GNU GRUB version 2.02 - CLI problem z bootowaniem Windowsa 8

Witam,

 

Posiadałem na laptopie dwa systemy operacyjne, windows 8 oraz Ubuntu. Dzisiaj postanowiłem zrobić totalnego “reseta” na moim laptopie. Pierwsze co zrobiłem to usunąłem partycje z Ubuntu (co także usunęło configi z grub’a)  no i teraz jest problem.

 

Po zresetowaniu komputera wyskakuje GNU GRUB version 2.02~beta2~9ubuntu1

 

Potem wyswietla sie taki komunikat:

 

Minimal BASH-like line editing is supported. For the first word. TAB lists possible command completions. Anywhere else TAB lists possible device or file completions.

 

grub>_

 

No i teraz mam wpisać jakieś komendy albo nacisnąć TAB aby mi się wyświetla lista komend.

 

Screen shoty:

 

http://pl.tinypic.com/r/ekqbmr/8

 

http://pl.tinypic.com/r/301q5ns/8

 

 

Tak to wygląda. Chciałbym żeby nie było tego GRUBA, chciałbym to wywalić abym mógł normalnie “zbootowac” windowsa i zrobić tam factory reset. Wiem, że mogę zrobić “boota” z płyty i zainstalować tam pirata na nowo, ale nie chce.  Chciałbym mieć oryginalny OS który był tam już do tego lapka wgrany. Nie mam tez płyty aby zrobić “Repair’a”… Wszystko jest na partycjach w laptopie.

 

Mój laptop to Dell Inspiron 5721 17r.

 

Czy istnieją jakieś komendy aby wywalić tego gruba przez ten “Grubowy” CLI?? Proszę o pomoc. z góry dzięki.

Jak usunąć Linuksa?

Uruchom livecd Ubuntu w trybie “Wypróbuj Ubuntu” - jeśli w live cd działa internet to zaloguj się na konto roota:

sudo su -

Zainstaluj program testdisk:

apt-get update && apt-get install testdisk

Następnie uruchom program testdisk za pomocą komendy:

testdisk

i wykonaj kroki zgodnie z obrazkami:

image.png image.png image.png image.png

image.png image.png image.png image.png

Jako uzupełnienie przydałby się wynik skryptu bootinfoscript.

Uwaga! Operacje wykonywałem w systemie Windows 7 w analogicznej sytuacji. Nie wiem czy na 100% zadziała w Windows8.

@marcin’82  - W trybie “Try Ubuntu” Nie mogę otworzyć terminalu ani żadnej aplikacji. Nie mogę wejść tez w pliki ani w Firefox. Udało mi się połączyć z internetem.

 

@rgabrysiak - Próbowałem użyć “parted magic”, ale inna wersje bo wersja na “dobreprogramy” (tam jest link podany) jest niedostępna i obecna wersja nie pokazuje Super Grub Disk 1 ani Super Grub Disk 2.

 

 

//

edit

 

Teraz po uruchomieniu parę razy Ubuntu, terminal się odpalił.

 

//edit2

 

Unable to locate package testdisk.  - Dodaje repozytorium

 

//edit3

 

Sorrka nie wiem jak zrobić spoiler. Wyszło coś takiego:

Czy teraz będzie działać poprawnie ?

Boot Info Script 0.61 [1 April 2012]

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

=> Testdisk is installed in the MBR of /dev/sda.

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

File system: vfat
Boot sector type: Unknown
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:

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:

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

sda6: __________________________________________________________________________

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:

sda7: __________________________________________________________________________

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

sda8: __________________________________________________________________________

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:

sda9: __________________________________________________________________________

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:

sdb: ___________________________________________________________________________

File system: vfat
Boot sector type: SYSLINUX 4.03 2010-10-22 …>…sr>…8…0…~…~…f…M.f.f…f…0~…>E}.u…
Boot sector info: Syslinux looks at sector 7372160 of /dev/sdb 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 / 512 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 1,026,047 1,024,000 EFI System partition
/dev/sda2 1,026,048 1,107,967 81,920 -
/dev/sda3 1,107,968 1,370,111 262,144 Microsoft Reserved Partition (Windows)
/dev/sda4 1,370,112 2,394,111 1,024,000 Windows Recovery Environment (Windows)
/dev/sda5 2,394,112 212,109,311 209,715,200 Data partition (Windows/Linux)
/dev/sda6 212,109,312 901,902,335 689,793,024 Data partition (Windows/Linux)
/dev/sda7 901,902,336 903,903,231 2,000,896 Swap partition (Linux)
/dev/sda8 1,069,676,544 1,927,237,631 857,561,088 Data partition (Windows/Linux)
/dev/sda9 1,927,239,680 1,953,523,119 26,283,440 Windows Recovery Environment (Windows)

“blkid” output: ________________________________________________________________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/sda1 9AD3-ED5D vfat ESP
/dev/sda2 B22B-E8FB vfat DIAGS
/dev/sda4 92E22D36E22D2049 ntfs WINRETOOLS
/dev/sda5 9882314782312B60 ntfs OS
/dev/sda6 7604CFBE04CF801B ntfs Gabrysia
/dev/sda7 39274068-59fb-4d20-b4af-cd731ec4eef8 swap
/dev/sda8 206A02466A021964 ntfs Klara
/dev/sda9 3E6054E16054A187 ntfs PBR Image
/dev/sdb 4C72-6F1E vfat

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

Device Mount_Point Type Options

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

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

============================== sdb/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 –


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

GiB - GB File Fragment(s)

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

GiB - GB File Fragment(s)

=============== sdb: Version of COM32® files used by Syslinux: ===============

menu.c32 : COM32R module (v4.xx)

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

Unknown GPT Partiton Type
d3ad6b79bf6b9f4db631466eb71a4965
Unknown BootLoader on sda1

00000000 eb 58 90 4d 53 44 4f 53 35 2e 30 00 02 08 3e 18 |.X.MSDOS5.0…>.|
00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |…?..|
00000020 00 a0 0f 00 e1 03 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 5d ed d3 9a 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

Unknown BootLoader on sda2

00000000 eb 58 90 4d 53 44 4f 53 35 2e 30 00 02 01 7e 1b |.X.MSDOS5.0…~.|
00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 a8 0f 00 |…?..|
00000020 00 40 01 00 41 02 00 00 00 00 00 00 02 00 00 00 |.@…A…|
00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |…|
00000040 80 00 29 fb e8 2b b2 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

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

sdc

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

No volume groups found
/home/ubuntu/Downloads/bootinfoscript: line 1646: [: 2.73495e+09: integer expression expected
cat: /tmp/BootInfo-ZS5ZE83B/Tmp_Log: No such file or directory
cat: /tmp/BootInfo-ZS5ZE83B/Tmp_Log: No such file or directory

Sorry że post pod postem… No ale nie działa. Zrobilem to co @marcin’82 kazał no i nic …

 

No ale co “no i nic”? Czy masz w ogóle menu wyboru systemów - inaczej czy widzisz windowsowy bootloader?

Jakie błędy się pojawiają?

 

 

W takim razie zajrzyj tutaj:

coreey7 , na forum piszemy w języku polskim, w związku z tym należy korzystać z polskich znaków diakrytycznych (ą,ę,ć,ł,ń,ó,ś,ź,ż), proszę poprawić swoje posty, w przeciwnym razie temat zostanie przeniesiony do kosza.

Nic, czyli dalej to samo (Tak jak na obrazkach w linkach wyżej). -  Po przeczytaniu paru artykułów, zrozumiałem i zostałem zmuszony do zamówienia - “Recovery Disk”, jutro albo w czwartek powinno przyjść więc powinno zadziałać… Jak nie zadziała, zainstaluję metodą tradycyjną Windowsa 7.

 

Zdam wam report jak przyjdzie płytka. Jak na razie dziękuje, że próbowaliście mi pomóc. :slight_smile: pozdrawiam.

Jakiego recovery disk? To się przecież da zrobić z każdej instalki Win 7/8.

Tak, tylko chodziło o to że, nie jestem w posiadaniu takiej instalki. Próbowałem to zrobić z instalki win7 ale nie dało rady i wyszedł error żebym dał płyte z windowstem 8. Recovery Disk czyli OEM od della.

 

Zbootowałem płytkę od Della którą zamówiłem i uruchomiłem CMD w którym później uruchomiłem diskpart’a. Tam zrobiłem cleana i zainstalowałem ponownie Windowsa 8. Teraz instaluje “Driver’y” :)   Dzięki wam za pomoc. Temat można zamknąć.