PDA

View Full Version : [SOLVED] No GRUB menu after install



trevorrr.rice
November 3rd, 2013, 06:07 PM
I know this question has been asked a lot, but none of the suggestions in other threads have solved my problem.

I finally installed Ubuntu after weeks of trying, but when I went to re-boot my computer, it booted straight to Windows 7. I then went back into Ubuntu using my LiveUSB and ran boot-repair.

Here are my results:


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
Boot Info Script e7fc706 + Boot-Repair extra info


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

=> No boot loader is installed in the MBR of /dev/sda.
=> Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sdb.

sda1: __________________________________________________ ________________________

File system: vfat
Boot sector type: Windows 7/2008: FAT32
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/microsoft/boot/bootmgfw.efi

sda2: __________________________________________________ ________________________

File system: ntfs
Boot sector type: Windows 7/2008: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /bootmgr /boot/bcd

sda3: __________________________________________________ ________________________

File system: vfat
Boot sector type: Windows 7/2008: FAT32
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/shimx64.efi
/EFI/Microsoft/Boot/bootmgfw.efi
/EFI/Microsoft/Boot/bootmgr.efi
/EFI/Microsoft/Boot/memtest.efi

sda4: __________________________________________________ ________________________

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

sda5: __________________________________________________ ________________________

File system: ntfs
Boot sector type: Windows 7/2008: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files: /Windows/System32/winload.exe

sda6: __________________________________________________ ________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 13.10
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.06 2012-10-23
Boot sector info: Syslinux looks at sector 2906 of /dev/sdb1 [B]for its
second stage. SYSLINUX is installed in the directory.
No errors found in the Boot Parameter Block.
Operating System:
Boot files: /boot/grub/grub.cfg /syslinux/syslinux.cfg
/casper/vmlinuz.efi /EFI/BOOT/grubx64.efi /ldlinux.sys

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

Drive: sda __________________________________________________ ___________________

Disk /dev/sda: 640.1 GB, 640135028736 bytes
255 heads, 63 sectors/track, 77825 cylinders, total 1250263728 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,250,263,727 1,250,263,727 ee GPT


GUID Partition Table detected.

Partition Start Sector End Sector # of Sectors System
/dev/sda1 2,048 534,527 532,480 -
/dev/sda2 534,528 40,624,127 40,089,600 Windows Recovery Environment (Windows)
/dev/sda3 40,624,128 41,156,607 532,480 EFI System partition
/dev/sda4 41,156,608 41,418,751 262,144 Microsoft Reserved Partition (Windows)
/dev/sda5 41,418,752 717,783,694 676,364,943 Data partition (Windows/Linux)
/dev/sda6 717,785,088 1,229,502,463 511,717,376 Data partition (Linux)
/dev/sda7 1,229,502,464 1,250,263,039 20,760,576 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 648D-DD82 vfat SONYSYS
/dev/sda2 74D09CA8D09C71DA ntfs Recovery
/dev/sda3 A493-926E vfat
/dev/sda5 40CEA28ACEA277B4 ntfs
/dev/sda6 5110ffca-d09e-434a-bcc4-d78723d781f8 ext4
/dev/sda7 10534b2d-0307-4c74-aedb-03995061416b swap
/dev/sdb1 0872-D3ED vfat PENDRIVE

================================ 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,ioc harset=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 5110ffca-d09e-434a-bcc4-d78723d781f8
else
search --no-floppy --fs-uuid --set=root 5110ffca-d09e-434a-bcc4-d78723d781f8
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=en_US
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ]; then
set timeout=10
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-5110ffca-d09e-434a-bcc4-d78723d781f8' {
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 5110ffca-d09e-434a-bcc4-d78723d781f8
else
search --no-floppy --fs-uuid --set=root 5110ffca-d09e-434a-bcc4-d78723d781f8
fi
linux /boot/vmlinuz-3.11.0-12-generic root=UUID=5110ffca-d09e-434a-bcc4-d78723d781f8 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.11.0-12-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-5110ffca-d09e-434a-bcc4-d78723d781f8' {
menuentry 'Ubuntu, with Linux 3.11.0-12-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11.0-12-generic-advanced-5110ffca-d09e-434a-bcc4-d78723d781f8' {
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 5110ffca-d09e-434a-bcc4-d78723d781f8
else
search --no-floppy --fs-uuid --set=root 5110ffca-d09e-434a-bcc4-d78723d781f8
fi
echo 'Loading Linux 3.11.0-12-generic ...'
linux /boot/vmlinuz-3.11.0-12-generic root=UUID=5110ffca-d09e-434a-bcc4-d78723d781f8 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.11.0-12-generic
}
menuentry 'Ubuntu, with Linux 3.11.0-12-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11.0-12-generic-recovery-5110ffca-d09e-434a-bcc4-d78723d781f8' {
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 5110ffca-d09e-434a-bcc4-d78723d781f8
else
search --no-floppy --fs-uuid --set=root 5110ffca-d09e-434a-bcc4-d78723d781f8
fi
echo 'Loading Linux 3.11.0-12-generic ...'
linux /boot/vmlinuz-3.11.0-12-generic root=UUID=5110ffca-d09e-434a-bcc4-d78723d781f8 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.11.0-12-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/25_custom ###

menuentry "Windows UEFI bootmgfw.efi" {
search --fs-uuid --no-floppy --set=root A493-926E
chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi
}

menuentry "Windows Boot UEFI loader" {
search --fs-uuid --no-floppy --set=root A493-926E
chainloader (${root})/EFI/Boot/bkpbootx64.efi
}

menuentry "EFI/boot/bkpbootx64.efi" {
search --fs-uuid --no-floppy --set=root 648D-DD82
chainloader (${root})/EFI/boot/bkpbootx64.efi
}

menuentry "EFI/microsoft/boot/bootmgfw.efi" {
search --fs-uuid --no-floppy --set=root 648D-DD82
chainloader (${root})/EFI/microsoft/boot/bootmgfw.efi
}

menuentry "EFI/boot/bootx64.efi" {
search --fs-uuid --no-floppy --set=root 74D09CA8D09C71DA
chainloader (${root})/EFI/boot/bootx64.efi
}

menuentry "EFI/microsoft/boot/bootmgfw.efi sda2" {
search --fs-uuid --no-floppy --set=root 74D09CA8D09C71DA
chainloader (${root})/EFI/microsoft/boot/bootmgfw.efi
}
### END /etc/grub.d/25_custom ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows Boot Manager (UEFI on /dev/sda3)" --class windows --class os {
insmod part_gpt
insmod fat
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 A493-926E
else
search --no-floppy --fs-uuid --set=root A493-926E
fi
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
### 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 ###
--------------------------------------------------------------------------------

=============================== 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=5110ffca-d09e-434a-bcc4-d78723d781f8 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda3 during installation
#UUID=A493-926E /boot/efi vfat defaults 0 1
# swap was on /dev/sda7 during installation
UUID=10534b2d-0307-4c74-aedb-03995061416b none swap sw 0 0
UUID=A493-926E /boot/efi vfat defaults 0 1
--------------------------------------------------------------------------------

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

GiB - GB File Fragment(s)


=========================== 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/syslinux.cfg: ==========================

--------------------------------------------------------------------------------
# D-I config version 2.0
include menu.cfg
default vesamenu.c32
prompt 0
timeout 50
ui gfxboot bootlogo
--------------------------------------------------------------------------------

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

GiB - GB File Fragment(s)


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

GiB - GB File Fragment(s)


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

syslinux/chain.c32 : COM32R module (v4.xx)
syslinux/gfxboot.c32 : COM32R module (v4.xx)
syslinux/menu.c32 : COM32R module (v4.xx)
syslinux/vesamenu.c32 : COM32R module (v4.xx)

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

Unknown GPT Partiton Type
329701f46e06124e8273346c5641494f

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

cat: /tmp/BootInfo-PLm4as4H/Tmp_Log: No such file or directory
cat: /tmp/BootInfo-PLm4as4H/Tmp_Log: No such file or directory
cat: /tmp/BootInfo-PLm4as4H/Tmp_Log: No such file or directory
File descriptor 9 (/proc/4359/mounts) leaked on lvscan invocation. Parent PID 17811: bash
No volume groups found

ADDITIONAL INFORMATION :
=================== log of boot-repair 2013-11-01__23h11 ===================
boot-repair version : 3.199~ppa31~saucy
boot-sav version : 3.199~ppa31~saucy
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version : 3.199~ppa31~saucy
boot-repair is executed in live-session (Ubuntu 13.10, saucy, Ubuntu, x86_64)
ls: cannot access /home/usr/.config: No such file or directory
CPU op-mode(s): 32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --

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


=================== os-prober:
/dev/sda3@/efi/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
/dev/sda6:Ubuntu 13.10 (13.10):Ubuntu:linux

=================== blkid:
/dev/loop0: TYPE="squashfs"
/dev/sda1: LABEL="SONYSYS" UUID="648D-DD82" TYPE="vfat"
/dev/sda2: LABEL="Recovery" UUID="74D09CA8D09C71DA" TYPE="ntfs"
/dev/sda3: UUID="A493-926E" TYPE="vfat"
/dev/sda5: UUID="40CEA28ACEA277B4" TYPE="ntfs"
/dev/sda6: UUID="5110ffca-d09e-434a-bcc4-d78723d781f8" TYPE="ext4"
/dev/sda7: UUID="10534b2d-0307-4c74-aedb-03995061416b" TYPE="swap"
/dev/sdb1: LABEL="PENDRIVE" UUID="0872-D3ED" TYPE="vfat"


1 disks with OS, 2 OS : 1 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.

Windows not detected by os-prober on sda5.

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


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

Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda1/EFI/Microsoft/boot/bootmgfw.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/bkpbootx64.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/bootx64.efi
Presence of .bkp file detected: /mnt/boot-sav/sda1/EFI/boot/bkpbootx64.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda2/EFI/Boot/bootx64.efi
Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda3/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda3/EFI/Boot/bkpbootx64.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda3/EFI/Boot/bootx64.efi
Presence of .bkp file detected: /mnt/boot-sav/sda3/EFI/Boot/bkpbootx64.efi

=================== sda6/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Oct 28 03:50 grub.d
drwxr-xr-x 2 root root 4096 Oct 27 03:18 grub.d.bak
total 72
-rwxr-xr-x 1 root root 7850 Oct 10 17:48 00_header
-rwxr-xr-x 1 root root 5949 Aug 15 08:26 05_debian_theme
-rwxr-xr-x 1 root root 11479 Oct 10 17:48 10_linux
-rwxr-xr-x 1 root root 10258 Oct 10 17:48 20_linux_xen
-rwxr-xr-x 1 root root 907 Oct 28 03:50 25_custom
-rwxr-xr-x 1 root root 11531 Oct 10 17:48 30_os-prober
-rwxr-xr-x 1 root root 1426 Oct 10 17:48 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Oct 10 17:48 40_custom
-rwxr-xr-x 1 root root 216 Oct 10 17:48 41_custom
-rw-r--r-- 1 root root 483 Oct 10 17:48 README




=================== sda6/etc/default/grub :

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"



/boot/efi detected in the fstab of sda6: UUID=A493-926E (sda3)
=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot disabled. (maybe sec-boot, Please report this message to boot.repair@gmail.com)


=================== PARTITIONS & DISKS:
sda1 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, is-maybe-EFI, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/sda1.
sda2 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, bootmgr, is-winboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/sda2.
sda3 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, is-correct-EFI, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/sda3.
sda5 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda5.
sda6 : sda, not-sepboot, grubenv-ok grub2, grub-efi , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, farbios, /mnt/boot-sav/sda6.

sda : GPT, no-BIOS_boot, has-correctEFI, not-usb, has-os, 2048 sectors * 512 bytes


=================== parted -l:

Model: ATA Hitachi HTS72756 (scsi)
Disk /dev/sda: 640GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt

Number Start End Size File system Name Flags
1 1049kB 274MB 273MB fat32 EFI system partition hidden
2 274MB 20.8GB 20.5GB ntfs Basic data partition hidden, diag
3 20.8GB 21.1GB 273MB fat32 EFI system partition boot
4 21.1GB 21.2GB 134MB Microsoft reserved partition msftres
5 21.2GB 368GB 346GB ntfs Basic data partition msftdata
6 368GB 630GB 262GB ext4
7 630GB 640GB 10.6GB linux-swap(v1)


Model: 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

=================== parted -lm:

BYT;
/dev/sda:640GB:scsi:512:4096:gpt:ATA Hitachi HTS72756;
1:1049kB:274MB:273MB:fat32:EFI system partition:hidden;
2:274MB:20.8GB:20.5GB:ntfs:Basic data partition:hidden, diag;
3:20.8GB:21.1GB:273MB:fat32:EFI system partition:boot;
4:21.1GB:21.2GB:134MB::Microsoft reserved partition:msftres;
5:21.2GB:368GB:346GB:ntfs:Basic data partition:msftdata;
6:368GB:630GB:262GB:ext4::;
7:630GB:640GB:10.6GB:linux-swap(v1)::;

BYT;
/dev/sdb:4022MB:scsi:512:512:msdos:SanDisk Cruzer;
1:19.5kB:4014MB:4014MB:fat32::boot;


=================== mount:
/cow on / type overlayfs (rw)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
/dev/sdb1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,ioc harset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /sys/firmware/efi/efivars type efivarfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=ubuntu)
/dev/sda1 on /mnt/boot-sav/sda1 type vfat (rw)
/dev/sda2 on /mnt/boot-sav/sda2 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda3 on /mnt/boot-sav/sda3 type vfat (rw)
/dev/sda5 on /mnt/boot-sav/sda5 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda6 on /mnt/boot-sav/sda6 type ext4 (rw)


=================== ls:
/sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 sda3 sda4 sda5 sda6 sda7 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sdb1 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered): autofs block bsg btrfs-control bus cdrom char console core cpu cpu_dma_latency disk dri ecryptfs fb0 fd full fuse hpet input kmsg log mapper mcelog mei mem net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sda6 sda7 sdb sdb1 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout tpm0 uinput urandom v4l vga_arbiter vhost-net video0 zero
ls /dev/mapper: control
ls /mnt/boot-sav/sda1/1:

=================== hexdump -n512 -C /dev/sda1
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 08 00 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 01 29 82 dd 8d 64 4e 4f 20 4e 41 4d 45 20 20 |..)...dNO 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 4e 02 8a 56 40 b4 41 |{......|.N..V@.A|
00000070 bb aa 55 cd 13 72 10 81 fb 55 aa 75 0a f6 c1 01 |..U..r...U.u....|
00000080 74 05 fe 46 02 eb 2d 8a 56 40 b4 08 cd 13 73 05 |t..F..-.V@....s.|
00000090 b9 ff ff 8a f1 66 0f b6 c6 40 66 0f b6 d1 80 e2 |.....f...@f.....|
000000a0 3f f7 e2 86 cd c0 ed 06 41 66 0f b7 c9 66 f7 e1 |?.......Af...f..|
000000b0 66 89 46 f8 83 7e 16 00 75 38 83 7e 2a 00 77 32 |f.F..~..u8.~*.w2|
000000c0 66 8b 46 1c 66 83 c0 0c bb 00 80 b9 01 00 e8 2b |f.F.f..........+|
000000d0 00 e9 2c 03 a0 fa 7d b4 7d 8b f0 ac 84 c0 74 17 |..,...}.}.....t.|
000000e0 3c ff 74 09 b4 0e bb 07 00 cd 10 eb ee a0 fb 7d |<.t............}|
000000f0 eb e5 a0 f9 7d eb e0 98 cd 16 cd 19 66 60 80 7e |....}.......f`.~|
00000100 02 00 0f 84 20 00 66 6a 00 66 50 06 53 66 68 10 |.... .fj.fP.Sfh.|
00000110 00 01 00 b4 42 8a 56 40 8b f4 cd 13 66 58 66 58 |....B.V@....fXfX|
00000120 66 58 66 58 eb 33 66 3b 46 f8 72 03 f9 eb 2a 66 |fXfX.3f;F.r...*f|
00000130 33 d2 66 0f b7 4e 18 66 f7 f1 fe c2 8a ca 66 8b |3.f..N.f......f.|
00000140 d0 66 c1 ea 10 f7 76 1a 86 d6 8a 56 40 8a e8 c0 |.f....v....V@...|
00000150 e4 06 0a cc b8 01 02 cd 13 66 61 0f 82 75 ff 81 |.........fa..u..|
00000160 c3 00 02 66 40 49 75 94 c3 42 4f 4f 54 4d 47 52 |...f@Iu..BOOTMGR|
00000170 20 20 20 20 00 00 00 00 00 00 00 00 00 00 00 00 | ............|
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 52 65 |..............Re|
000001b0 6d 6f 76 65 20 64 69 73 6b 73 20 6f 72 20 6f 74 |move disks or ot|
000001c0 68 65 72 20 6d 65 64 69 61 2e ff 0d 0a 44 69 73 |her media....Dis|
000001d0 6b 20 65 72 72 6f 72 ff 0d 0a 50 72 65 73 73 20 |k error...Press |
000001e0 61 6e 79 20 6b 65 79 20 74 6f 20 72 65 73 74 61 |any key to resta|
000001f0 72 74 0d 0a 00 00 00 00 00 ac cb d8 00 00 55 aa |rt............U.|
00000200
ls /mnt/boot-sav/sda2/1:
ls /mnt/boot-sav/sda2: Autorun
Autorun.inf
boot
bootmgr
bootmgr.efi
data
EFI
etfsboot.com
HDD
idf
Recovery
snyhdrcv.ini
Sony
sources
System Volume Information . Please report this message to boot.repair@gmail.com

=================== hexdump -n512 -C /dev/sda2
00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 28 08 00 |........?....(..|
00000020 00 00 00 00 80 00 80 00 ff b7 63 02 00 00 00 00 |..........c.....|
00000030 00 00 0c 00 00 00 00 00 02 00 00 00 00 00 00 00 |................|
00000040 f6 00 00 00 01 00 00 00 da 71 9c d0 a8 9c d0 74 |.........q.....t|
00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|
00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|
000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
000000f0 68 07 bb 16 68 70 0e 16 68 09 00 66 53 66 53 66 |h...hp..h..fSfSf|
00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
00000110 28 10 b9 d8 0f fc f3 aa e9 5f 01 90 90 66 60 1e |(........_...f`.|
00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|
00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|
00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|
00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|
00000160 0e 16 00 75 bc 07 1f 66 61 c3 a0 f8 01 e8 09 00 |...u...fa.......|
00000170 a0 fb 01 e8 03 00 f4 eb fd b4 01 8b f0 ac 3c 00 |..............<.|
00000180 74 09 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 |t.............A |
00000190 64 69 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 |disk read error |
000001a0 6f 63 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d |occurred...BOOTM|
000001b0 47 52 20 69 73 20 6d 69 73 73 69 6e 67 00 0d 0a |GR is missing...|
000001c0 42 4f 4f 54 4d 47 52 20 69 73 20 63 6f 6d 70 72 |BOOTMGR is compr|
000001d0 65 73 73 65 64 00 0d 0a 50 72 65 73 73 20 43 74 |essed...Press Ct|
000001e0 72 6c 2b 41 6c 74 2b 44 65 6c 20 74 6f 20 72 65 |rl+Alt+Del to re|
000001f0 73 74 61 72 74 0d 0a 00 8c a9 be d6 00 00 55 aa |start.........U.|
00000200
ls /mnt/boot-sav/sda3/1:

=================== hexdump -n512 -C /dev/sda3
00000000 eb 58 90 4d 53 44 4f 53 35 2e 30 00 02 01 7e 20 |.X.MSDOS5.0...~ |
00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 e0 6b 02 |........?.....k.|
00000020 00 20 08 00 c1 0f 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 01 29 6e 92 93 a4 4e 4f 20 4e 41 4d 45 20 20 |..)n...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 4e 02 8a 56 40 b4 41 |{......|.N..V@.A|
00000070 bb aa 55 cd 13 72 10 81 fb 55 aa 75 0a f6 c1 01 |..U..r...U.u....|
00000080 74 05 fe 46 02 eb 2d 8a 56 40 b4 08 cd 13 73 05 |t..F..-.V@....s.|
00000090 b9 ff ff 8a f1 66 0f b6 c6 40 66 0f b6 d1 80 e2 |.....f...@f.....|
000000a0 3f f7 e2 86 cd c0 ed 06 41 66 0f b7 c9 66 f7 e1 |?.......Af...f..|
000000b0 66 89 46 f8 83 7e 16 00 75 38 83 7e 2a 00 77 32 |f.F..~..u8.~*.w2|
000000c0 66 8b 46 1c 66 83 c0 0c bb 00 80 b9 01 00 e8 2b |f.F.f..........+|
000000d0 00 e9 2c 03 a0 fa 7d b4 7d 8b f0 ac 84 c0 74 17 |..,...}.}.....t.|
000000e0 3c ff 74 09 b4 0e bb 07 00 cd 10 eb ee a0 fb 7d |<.t............}|
000000f0 eb e5 a0 f9 7d eb e0 98 cd 16 cd 19 66 60 80 7e |....}.......f`.~|
00000100 02 00 0f 84 20 00 66 6a 00 66 50 06 53 66 68 10 |.... .fj.fP.Sfh.|
00000110 00 01 00 b4 42 8a 56 40 8b f4 cd 13 66 58 66 58 |....B.V@....fXfX|
00000120 66 58 66 58 eb 33 66 3b 46 f8 72 03 f9 eb 2a 66 |fXfX.3f;F.r...*f|
00000130 33 d2 66 0f b7 4e 18 66 f7 f1 fe c2 8a ca 66 8b |3.f..N.f......f.|
00000140 d0 66 c1 ea 10 f7 76 1a 86 d6 8a 56 40 8a e8 c0 |.f....v....V@...|
00000150 e4 06 0a cc b8 01 02 cd 13 66 61 0f 82 75 ff 81 |.........fa..u..|
00000160 c3 00 02 66 40 49 75 94 c3 42 4f 4f 54 4d 47 52 |...f@Iu..BOOTMGR|
00000170 20 20 20 20 00 00 00 00 00 00 00 00 00 00 00 00 | ............|
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 52 65 |..............Re|
000001b0 6d 6f 76 65 20 64 69 73 6b 73 20 6f 72 20 6f 74 |move disks or ot|
000001c0 68 65 72 20 6d 65 64 69 61 2e ff 0d 0a 44 69 73 |her media....Dis|
000001d0 6b 20 65 72 72 6f 72 ff 0d 0a 50 72 65 73 73 20 |k error...Press |
000001e0 61 6e 79 20 6b 65 79 20 74 6f 20 72 65 73 74 61 |any key to resta|
000001f0 72 74 0d 0a 00 00 00 00 00 ac cb d8 00 00 55 aa |rt............U.|
00000200

=================== hexdump -n512 -C /dev/sda5
00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 00 78 02 |........?.....x.|
00000020 00 00 00 00 80 00 80 00 8e 82 50 28 00 00 00 00 |..........P(....|
00000030 00 00 0c 00 00 00 00 00 02 00 00 00 00 00 00 00 |................|
00000040 f6 00 00 00 01 00 00 00 b4 77 a2 ce 8a a2 ce 40 |.........w.....@|
00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|
00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|
000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
000000f0 68 07 bb 16 68 70 0e 16 68 09 00 66 53 66 53 66 |h...hp..h..fSfSf|
00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
00000110 28 10 b9 d8 0f fc f3 aa e9 5f 01 90 90 66 60 1e |(........_...f`.|
00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|
00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|
00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|
00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|
00000160 0e 16 00 75 bc 07 1f 66 61 c3 a0 f8 01 e8 09 00 |...u...fa.......|
00000170 a0 fb 01 e8 03 00 f4 eb fd b4 01 8b f0 ac 3c 00 |..............<.|
00000180 74 09 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 |t.............A |
00000190 64 69 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 |disk read error |
000001a0 6f 63 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d |occurred...BOOTM|
000001b0 47 52 20 69 73 20 6d 69 73 73 69 6e 67 00 0d 0a |GR is missing...|
000001c0 42 4f 4f 54 4d 47 52 20 69 73 20 63 6f 6d 70 72 |BOOTMGR is compr|
000001d0 65 73 73 65 64 00 0d 0a 50 72 65 73 73 20 43 74 |essed...Press Ct|
000001e0 72 6c 2b 41 6c 74 2b 44 65 6c 20 74 6f 20 72 65 |rl+Alt+Del to re|
000001f0 73 74 61 72 74 0d 0a 00 8c a9 be d6 00 00 55 aa |start.........U.|
00000200

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


=================== df -Th:

Filesystem Type Size Used Avail Use% Mounted on
/cow overlayfs 3.9G 119M 3.8G 4% /
udev devtmpfs 3.9G 12K 3.9G 1% /dev
tmpfs tmpfs 789M 1.2M 788M 1% /run
/dev/sdb1 vfat 3.8G 1.3G 2.5G 35% /cdrom
/dev/loop0 squashfs 843M 843M 0 100% /rofs
none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup
tmpfs tmpfs 3.9G 36K 3.9G 1% /tmp
none tmpfs 5.0M 0 5.0M 0% /run/lock
none tmpfs 3.9G 76K 3.9G 1% /run/shm
none tmpfs 100M 52K 100M 1% /run/user
/dev/sda1 vfat 256M 14M 243M 6% /mnt/boot-sav/sda1
/dev/sda2 fuseblk 20G 19G 1.1G 95% /mnt/boot-sav/sda2
/dev/sda3 vfat 252M 20M 233M 8% /mnt/boot-sav/sda3
/dev/sda5 fuseblk 323G 104G 220G 33% /mnt/boot-sav/sda5
/dev/sda6 ext4 241G 3.2G 225G 2% /mnt/boot-sav/sda6

=================== fdisk -l:

Disk /dev/sda: 640.1 GB, 640135028736 bytes
255 heads, 63 sectors/track, 77825 cylinders, total 1250263728 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: 0xf74d0189

Device Boot Start End Blocks Id System
/dev/sda1 1 1250263727 625131863+ 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


EFI detected. Please check the options.

=================== Recommended repair
Recommended-Repair
This setting will reinstall the grub-efi of sda6, using the following options: sda3/boot/efi,
Additional repair will be performed: unhide-bootmenu-10s fix-windows-boot backup-and-rename-efi-files


rm /mnt/boot-sav/sda1/efi/Boot/bootx64.efi
rm /mnt/boot-sav/sda2/EFI/Boot/bootx64.efi /mnt/boot-sav/sda2/EFI/Boot/bootx64.efi.grb
rm /mnt/boot-sav/sda3/efi/Boot/bootx64.efi
Quantity of real Windows: 1
df: ‘/dev/sda3@/efi/Microsoft/Boot/bootmgfw.efi’: No such file or directory
Could not detect USEDPERCENT of sda3@/efi/Microsoft/Boot/bootmgfw.efi ().
df: ‘/dev/sda3@/efi/Microsoft/Boot/bootmgfw.efi’: No such file or directory

Mount sda3 on /mnt/boot-sav/sda6/boot/efi
ls /mnt/boot-sav/sda6/boot/efi/1:
grub-install (GRUB) 2.00-19ubuntu2,grub-install (GRUB) 2.

chroot /mnt/boot-sav/sda6 efibootmgr -v
BootCurrent: 0000
BootOrder: 0000,0001
Boot0000* EFI USB Device ACPI(a0341d0,0)PCI(1d,0)USB(0,0)USB(1,0)HD(1,26,77 9fc2,00000000)RC
Boot0001* Windows Boot Manager HD(3,26be000,82000,f4208db1-1bd1-4b0f-937c-2e9b1b62021b)File(EFIMicrosoftBootbootmgfw.efi)WIN DOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6 .2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...i................

chroot /mnt/boot-sav/sda6 uname -r
Kernel: 3.11.0-12-generic

Reinstall the grub-efi of sda6
Installation finished. No error reported.
grub-install --efi-directory=/boot/efi --target=x86_64-efi : BootCurrent: 0000
BootOrder: 0002,0000,0001
Boot0000* EFI USB Device
Boot0001* Windows Boot Manager
Boot0002* ubuntu
exit code of grub-install :0
mv 25_custom
ls /mnt/boot-sav/sda1/1:
ls /mnt/boot-sav/sda6/boot/efi/1:
df /dev/sda3
Save and rename /mnt/boot-sav/sda6/boot/efi/EFI/Boot/bootx64.efi (/mnt/boot-sav/sda6/boot/efi/EFI/Boot/bkpbootx64.efi)
cp /mnt/boot-sav/sda6/boot/efi/EFI/ubuntu/grubx64.efi /mnt/boot-sav/sda6/boot/efi/EFI/Boot/bootx64.efi
ls /mnt/boot-sav/sda6/boot/efi/1:
Add /mnt/boot-sav/sda6/boot/efi efi entries in /mnt/boot-sav/sda6/etc/grub.d/25_custom
Adding custom /mnt/boot-sav/sda6/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
Adding custom /mnt/boot-sav/sda6/boot/efi/EFI/Boot/bkpbootx64.efi
sda3/bkpbootx64.efi already added
sda3/bootmgfw.efi already added
df /dev/sda1
Save and rename /mnt/boot-sav/sda1/EFI/Boot/bootx64.efi (/mnt/boot-sav/sda1/EFI/Boot/bkpbootx64.efi)
cp /mnt/boot-sav/sda6/boot/efi/EFI/ubuntu/grubx64.efi /mnt/boot-sav/sda1/EFI/Boot/bootx64.efi
ls /mnt/boot-sav/sda1/1:
Add /mnt/boot-sav/sda1 efi entries in /mnt/boot-sav/sda6/etc/grub.d/25_custom
Adding custom /mnt/boot-sav/sda1/EFI/boot/bkpbootx64.efi
Adding custom /mnt/boot-sav/sda1/EFI/microsoft/boot/bootmgfw.efi
df /dev/sda2
cp /mnt/boot-sav/sda6/boot/efi/EFI/ubuntu/grubx64.efi /mnt/boot-sav/sda2/EFI/Boot/bootx64.efi (& .grb)
ls /mnt/boot-sav/sda2/1:
ls /mnt/boot-sav/sda2: Autorun
Autorun.inf
boot
bootmgr
bootmgr.efi
data
EFI
etfsboot.com
HDD
idf
Recovery
snyhdrcv.ini
Sony
sources
System Volume Information . Please report this message to boot.repair@gmail.com
Add /mnt/boot-sav/sda2 efi entries in /mnt/boot-sav/sda6/etc/grub.d/25_custom
Adding custom /mnt/boot-sav/sda2/EFI/boot/bootx64.efi
Adding custom /mnt/boot-sav/sda2/EFI/microsoft/boot/bootmgfw.efi
Installation finished. No error reported.
grub-install --efi-directory=/boot/efi --target=x86_64-efi : BootCurrent: 0000
BootOrder: 0000,0001
Boot0000* EFI USB Device
Boot0001* Windows Boot Manager
BootCurrent: 0000
BootOrder: 0002,0000,0001
Boot0000* EFI USB Device
Boot0001* Windows Boot Manager
Boot0002* ubuntu
exit code of grub-install :0

chroot /mnt/boot-sav/sda6 efibootmgr -v
BootCurrent: 0000
BootOrder: 0002,0000,0001
Boot0000* EFI USB Device ACPI(a0341d0,0)PCI(1d,0)USB(0,0)USB(1,0)HD(1,26,77 9fc2,00000000)RC
Boot0001* Windows Boot Manager HD(3,26be000,82000,f4208db1-1bd1-4b0f-937c-2e9b1b62021b)File(EFIMicrosoftBootbootmgfw.efi)WIN DOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6 .2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...i................
Boot0002* ubuntu HD(3,26be000,82000,f4208db1-1bd1-4b0f-937c-2e9b1b62021b)File(EFIubuntugrubx64.efi)

chroot /mnt/boot-sav/sda6 update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.11.0-12-generic
Found initrd image: /boot/initrd.img-3.11.0-12-generic
Found Windows Boot Manager on /dev/sda3@/EFI/Microsoft/Boot/bootmgfw.efi
Unhide GRUB boot menu in sda6/boot/grub/grub.cfg

Boot successfully repaired.

You can now reboot your computer.




Could anyone explain what this means or how to fix it?

Thanks!

oldfred
November 3rd, 2013, 10:15 PM
@trevorrr.rice
This says ubuntu is first. From UEFI menu do you see these boot options an clicking on Ubuntu work?

BootOrder: 0002,0000,0001
Boot0000* EFI USB Device
Boot0001* Windows Boot Manager
Boot0002* ubuntu

trevorrr.rice
November 4th, 2013, 01:02 AM
@oldfred
Assuming I am on the right menu, all I see is:
Boot Priority
External Device
Internal Optical Disc Drive
Internal Hard Disk Drive
Network

If I am not looking at the right thing, let me know.

Thanks.

oldfred
November 4th, 2013, 02:57 AM
Is there a sub-menu under boot priority?

The list above was from your system. UEFI was queried by Boot-Repair and it showed those entries.

trevorrr.rice
November 4th, 2013, 04:41 AM
Here is a picture of it:

http://i.imgur.com/htdW1iM.jpg

I don't believe there is a sub-menu. Or if there is, I'm not sure how to access it.

oldfred
November 4th, 2013, 05:36 AM
If it has a sub menu it should have the arrow head or sideways diamond and you hit enter as shown below, but you do not show any of those.
Do you have the newest UEFI/BIOS from your vendor?

trevorrr.rice
November 4th, 2013, 06:00 AM
I have BIOS Version: R0142C5 for my Sony Vaio.
I have not been able to find if that is the latest version though.

trevorrr.rice
November 5th, 2013, 07:01 PM
Bump?

oldfred
November 5th, 2013, 07:51 PM
Did you search your local Sony support site for a newer UEFI/BIOS.
I found this which is your current, but without exact model do not know if newer version is available or not.
http://www.sony-mea.com/support/download/502251

Some also find rEFInd works with the limited UEFI systems.
Alternative to grub using refind or gummiboot
https://wiki.archlinux.org/index.php/Beginners%27_Guide#For_UEFI_motherboards
Alternative efi boot Manager for UEFI limited systems:
https://wiki.archlinux.org/index.php/UEFI_Bootloaders#Using_rEFInd
http://www.rodsbooks.com/refind/
http://www.rodsbooks.com/efi-bootloaders/

trevorrr.rice
November 5th, 2013, 10:53 PM
I was able to find my model. According to this: http://i.imgur.com/M7n5eMz.png I have the latest version for my model.

I will take a look at those other links in the mean time.

trevorrr.rice
November 8th, 2013, 01:05 AM
So is there any way to get GRUB to work with my current UEFI? It seems like GRUB would be simpler than the alternatives.

oldfred
November 8th, 2013, 01:15 AM
Have you tried the rename? Boot-Repair often does that for buggy UEFI. It renames grub2's shim file to be the Windows efi file. Shim has the same Microsoft signing key so it works when in the Windows efi folder.

# for Windows, but for UEFI systems that only boot this file, grub or shim may get renamed to this and this backed up.
/EFI/Microsoft/Boot/bootmgfw.efi


Changed see below - Boot-Repair - Updated Jan 1, 2013 to not rename first time, but rename if first time Windows does not boot. Post 706 and 711
http://ubuntuforums.org/showthread.php?t=1769482&page=71
If B-R is used in a UEFI session, it will never create bkp by default.
Boot-Repair copied /EFI/ubuntu/grubx64.efi to /EFI/Boot/bootx64.efi (in case the BIOS is hard-coded to boot into /EFI/Boot/bootx64.efi or secure boot signed GRUB file shimx64.efi.


Rename option now under advance choices - updated Boot-Repair so that by default it will put grub/shim in EFI/BOOT/bootx64.efi only
http://ubuntuforums.org/showthread.php?t=1769482&p=12740984#post12740984


Used Boot-Repair to rename files:
http://ubuntuforums.org/showthread.php?t=2103778
To perform this, just run Boot-Repair --> Adv options --> tick "Backup and rename EFI files" --> Apply
Then renamed /EFI/microsoft/boot/shimx64.efi to bootmgfw.efi
Actual Windows boot file, originally bootmgfw.efi.
/EFI/Microsoft/Boot/bkpbootmgfw.efi

To undo & to rename files to their original names, you just need to tick the "Restore EFI backups" option of Boot-Repair.

Not sure the exact screens you now see. Boot-Repair gets bug fixes & updates. Above were from several users that used it.

Also if your computer only boots with secure boot on, then you need to boot Boot-Repair in secure boot mode and run it to install the signed kernels so Ubuntu can boot with secure boot on.

trevorrr.rice
November 8th, 2013, 09:50 PM
So I ran boot-repair again after applying the "Backup and rename EFI files" option. Here is my output: http://paste.ubuntu.com/6384225/

I would also like to add that the last sentence after running boot-repair was "Please do not forget to make your BIOS boot on sda3/EFI/ubuntu/grubx64.efi file!"

How do I go about making my BIOS boot to that?

Also, when you say
Then renamed /EFI/microsoft/boot/shimx64.efi to bootmgfw.ef, do I need to manually do this or is boot-repair suppose to do this?

If I need to manually do this, how do I do that?

Thanks again.

oldfred
November 8th, 2013, 11:26 PM
In UEFI the actual entry will be ubuntu, but you actually are booting the shim file. UEFI shows folder names with boot files.

If the ubuntu entry does not work then Boot-Repair can copy & rename grub2's shim. It gets put into the Windows folder, so from UEFI when you boot Windows you actually boot grub.

Some have manually done it just by copying shim to the Windows folder and renaming both the Windows bootmgfw.efi to a backup name and rename shim to bootmgfw.efi. Then you have to manually add a grub menu entry to boot the renamed Windows efi file. Boot-Repair does all that automatically.
available as a "Rename Windows EFI files" option in the Advanced Options

trevorrr.rice
November 9th, 2013, 12:29 AM
Even after running boot-repair, I see no option for Ubuntu.

Edit: Never mind, it works! I really appreciate your patience and helping me out.

One last question. This what my menu looks like: http://i.imgur.com/J4KmElL.jpg

What are all of these options for? I chose Windows Boot UEFI Loader to make sure Windows still worked, and it did. Is there any point to the other options?

It's not a big deal but is there a way to get rid of these to simplify GRUB?

oldfred
November 9th, 2013, 01:34 AM
Grub run scripts to add the entries. They now put the older kernels in Advanced options to keep the menu simple, but you should houseclean old kernels periodically.

Boot-Repair did its rename so it added entries to 25_custom and grub2's os-prober added its entries for other systems installed. Up until 13.10 grub2's os-prober only created BIOS entries that did not work with UEFI, so you had to rely on the Boot-Repair entries.

You can turn off os-prober or if those are what you want, edit more out of 25_custom. And you can change titles to be anything you want.

More info in the link in my signature. See section on efi menu cleanup.

trevorrr.rice
November 9th, 2013, 03:51 AM
Thanks for all the help and info.

Marked as solved.