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 | Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 9Feb2015]
============================= Boot Info Summary: ===============================
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector
61047928 of the same hard drive for core.img. core.img is at this location
and looks for (,gpt2)/boot/grub.
=> No known boot loader is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 15.10
Boot files: /boot/grub/grub.cfg /etc/fstab
/boot/grub/i386-pc/core.img
sda3: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdb1: __________________________________________________________________________
File system: iso9660
Boot sector type: Unknown
Boot sector info:
Mounting failed: mount: /dev/sdb1 is already mounted or /mnt/BootInfo/sdb1 busy
sdb2: __________________________________________________________________________
File system: vfat
Boot sector type: FAT16
Boot sector info: According to the info in the boot sector, sdb2 starts
at sector 0. But according to the info from fdisk,
sdb2 starts at sector 2231888. According to the info
in the boot sector, sdb2 has 0 sectors.
Mounting failed: mount: /dev/sdb1 is already mounted or /mnt/BootInfo/sdb1 busy
mount: /dev/sdb2 is already mounted or /mnt/BootInfo/sdb2 busy
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 119.2 GiB, 128035676160 bytes, 250069680 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
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 1 250,069,679 250,069,679 ee GPT
GUID Partition Table detected.
Partition Start Sector End Sector # of Sectors System
/dev/sda1 2,048 17,647,615 17,645,568 Swap partition (Linux)
/dev/sda2 17,647,616 76,240,895 58,593,280 Data partition (Linux)
/dev/sda3 76,240,896 250,068,991 173,828,096 Data partition (Linux)
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 7.5 GiB, 8004304896 bytes, 15633408 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
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdb1 * 0 2,247,743 2,247,744 0 Empty
/dev/sdb2 2,231,888 2,236,431 4,544 ef EFI (FAT-12/16/32)
/dev/sdb1 overlaps with /dev/sdb2
GUID Partition Table detected, but does not seem to be used.
Partition Start Sector End Sector # of Sectors System
/dev/sdb1 0 2,247,687 2,247,688 Data partition (Windows/Linux)
/dev/sdb2 2,231,888 2,236,431 4,544 Data partition (Windows/Linux)
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 12249e1c-1af2-4719-9d65-329b5efe2690 swap
/dev/sda2 5d1e00fe-a14c-4f23-b545-9e81a69a1c14 ext4
/dev/sda3 5bf976c2-4b9e-456c-bd99-07a2be3cb975 ext4
/dev/sdb1 2015-04-22-12-30-17-00 iso9660 Ubuntu 15.04 amd64
/dev/sdb2 2474-67AF vfat
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 Dec 28 07:13 ata-SanDisk_SD7SN3Q128G1002_144820402148 -> ../../sda
lrwxrwxrwx 1 root root 10 Dec 28 07:13 ata-SanDisk_SD7SN3Q128G1002_144820402148-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Dec 28 07:13 ata-SanDisk_SD7SN3Q128G1002_144820402148-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Dec 28 07:13 ata-SanDisk_SD7SN3Q128G1002_144820402148-part3 -> ../../sda3
lrwxrwxrwx 1 root root 9 Dec 28 07:13 usb-SanDisk_Cruzer_Switch_4C530200411201122350-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Dec 28 07:13 usb-SanDisk_Cruzer_Switch_4C530200411201122350-0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Dec 28 07:13 usb-SanDisk_Cruzer_Switch_4C530200411201122350-0:0-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 9 Dec 28 07:13 wwn-0x17574386654994255873x -> ../../sda
lrwxrwxrwx 1 root root 10 Dec 28 07:13 wwn-0x17574386654994255873x-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Dec 28 07:13 wwn-0x17574386654994255873x-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Dec 28 07:13 wwn-0x17574386654994255873x-part3 -> ../../sda3
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sda2 /media/ubuntu/5d1e00fe-a14c-4f23-b545-9e81a69a1c14 ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
/dev/sdb /cdrom iso9660 (ro,noatime)
=========================== sda2/boot/grub/grub.cfg: ===========================
--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 5d1e00fe-a14c-4f23-b545-9e81a69a1c14
else
search --no-floppy --fs-uuid --set=root 5d1e00fe-a14c-4f23-b545-9e81a69a1c14
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_AU
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=30
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=hidden
set timeout=0
# Fallback hidden-timeout code in case the timeout_style feature is
# unavailable.
elif sleep --interruptible 0 ; then
set timeout=0
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
#set_background_image "images/tile.png";
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 0,0,0; 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-5d1e00fe-a14c-4f23-b545-9e81a69a1c14' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 5d1e00fe-a14c-4f23-b545-9e81a69a1c14
else
search --no-floppy --fs-uuid --set=root 5d1e00fe-a14c-4f23-b545-9e81a69a1c14
fi
linux /boot/vmlinuz-4.2.0-22-generic root=UUID=5d1e00fe-a14c-4f23-b545-9e81a69a1c14 ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.2.0-22-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-5d1e00fe-a14c-4f23-b545-9e81a69a1c14' {
menuentry 'Ubuntu, with Linux 4.2.0-22-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.2.0-22-generic-advanced-5d1e00fe-a14c-4f23-b545-9e81a69a1c14' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 5d1e00fe-a14c-4f23-b545-9e81a69a1c14
else
search --no-floppy --fs-uuid --set=root 5d1e00fe-a14c-4f23-b545-9e81a69a1c14
fi
echo 'Loading Linux 4.2.0-22-generic ...'
linux /boot/vmlinuz-4.2.0-22-generic root=UUID=5d1e00fe-a14c-4f23-b545-9e81a69a1c14 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.2.0-22-generic
}
menuentry 'Ubuntu, with Linux 4.2.0-22-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.2.0-22-generic-init-upstart-5d1e00fe-a14c-4f23-b545-9e81a69a1c14' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 5d1e00fe-a14c-4f23-b545-9e81a69a1c14
else
search --no-floppy --fs-uuid --set=root 5d1e00fe-a14c-4f23-b545-9e81a69a1c14
fi
echo 'Loading Linux 4.2.0-22-generic ...'
linux /boot/vmlinuz-4.2.0-22-generic root=UUID=5d1e00fe-a14c-4f23-b545-9e81a69a1c14 ro quiet splash $vt_handoff init=/sbin/upstart
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.2.0-22-generic
}
menuentry 'Ubuntu, with Linux 4.2.0-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.2.0-22-generic-recovery-5d1e00fe-a14c-4f23-b545-9e81a69a1c14' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 5d1e00fe-a14c-4f23-b545-9e81a69a1c14
else
search --no-floppy --fs-uuid --set=root 5d1e00fe-a14c-4f23-b545-9e81a69a1c14
fi
echo 'Loading Linux 4.2.0-22-generic ...'
linux /boot/vmlinuz-4.2.0-22-generic root=UUID=5d1e00fe-a14c-4f23-b545-9e81a69a1c14 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.2.0-22-generic
}
menuentry 'Ubuntu, with Linux 4.2.0-21-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.2.0-21-generic-advanced-5d1e00fe-a14c-4f23-b545-9e81a69a1c14' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 5d1e00fe-a14c-4f23-b545-9e81a69a1c14
else
search --no-floppy --fs-uuid --set=root 5d1e00fe-a14c-4f23-b545-9e81a69a1c14
fi
echo 'Loading Linux 4.2.0-21-generic ...'
linux /boot/vmlinuz-4.2.0-21-generic root=UUID=5d1e00fe-a14c-4f23-b545-9e81a69a1c14 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.2.0-21-generic
}
menuentry 'Ubuntu, with Linux 4.2.0-21-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.2.0-21-generic-init-upstart-5d1e00fe-a14c-4f23-b545-9e81a69a1c14' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 5d1e00fe-a14c-4f23-b545-9e81a69a1c14
else
search --no-floppy --fs-uuid --set=root 5d1e00fe-a14c-4f23-b545-9e81a69a1c14
fi
echo 'Loading Linux 4.2.0-21-generic ...'
linux /boot/vmlinuz-4.2.0-21-generic root=UUID=5d1e00fe-a14c-4f23-b545-9e81a69a1c14 ro quiet splash $vt_handoff init=/sbin/upstart
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.2.0-21-generic
}
menuentry 'Ubuntu, with Linux 4.2.0-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.2.0-21-generic-recovery-5d1e00fe-a14c-4f23-b545-9e81a69a1c14' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 5d1e00fe-a14c-4f23-b545-9e81a69a1c14
else
search --no-floppy --fs-uuid --set=root 5d1e00fe-a14c-4f23-b545-9e81a69a1c14
fi
echo 'Loading Linux 4.2.0-21-generic ...'
linux /boot/vmlinuz-4.2.0-21-generic root=UUID=5d1e00fe-a14c-4f23-b545-9e81a69a1c14 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.2.0-21-generic
}
menuentry 'Ubuntu, with Linux 4.2.0-19-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.2.0-19-generic-advanced-5d1e00fe-a14c-4f23-b545-9e81a69a1c14' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 5d1e00fe-a14c-4f23-b545-9e81a69a1c14
else
search --no-floppy --fs-uuid --set=root 5d1e00fe-a14c-4f23-b545-9e81a69a1c14
fi
echo 'Loading Linux 4.2.0-19-generic ...'
linux /boot/vmlinuz-4.2.0-19-generic root=UUID=5d1e00fe-a14c-4f23-b545-9e81a69a1c14 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.2.0-19-generic
}
menuentry 'Ubuntu, with Linux 4.2.0-19-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.2.0-19-generic-init-upstart-5d1e00fe-a14c-4f23-b545-9e81a69a1c14' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 5d1e00fe-a14c-4f23-b545-9e81a69a1c14
else
search --no-floppy --fs-uuid --set=root 5d1e00fe-a14c-4f23-b545-9e81a69a1c14
fi
echo 'Loading Linux 4.2.0-19-generic ...'
linux /boot/vmlinuz-4.2.0-19-generic root=UUID=5d1e00fe-a14c-4f23-b545-9e81a69a1c14 ro quiet splash $vt_handoff init=/sbin/upstart
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.2.0-19-generic
}
menuentry 'Ubuntu, with Linux 4.2.0-19-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.2.0-19-generic-recovery-5d1e00fe-a14c-4f23-b545-9e81a69a1c14' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 5d1e00fe-a14c-4f23-b545-9e81a69a1c14
else
search --no-floppy --fs-uuid --set=root 5d1e00fe-a14c-4f23-b545-9e81a69a1c14
fi
echo 'Loading Linux 4.2.0-19-generic ...'
linux /boot/vmlinuz-4.2.0-19-generic root=UUID=5d1e00fe-a14c-4f23-b545-9e81a69a1c14 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.2.0-19-generic
}
menuentry 'Ubuntu, with Linux 4.2.0-17-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.2.0-17-generic-advanced-5d1e00fe-a14c-4f23-b545-9e81a69a1c14' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 5d1e00fe-a14c-4f23-b545-9e81a69a1c14
else
search --no-floppy --fs-uuid --set=root 5d1e00fe-a14c-4f23-b545-9e81a69a1c14
fi
echo 'Loading Linux 4.2.0-17-generic ...'
linux /boot/vmlinuz-4.2.0-17-generic root=UUID=5d1e00fe-a14c-4f23-b545-9e81a69a1c14 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.2.0-17-generic
}
menuentry 'Ubuntu, with Linux 4.2.0-17-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.2.0-17-generic-init-upstart-5d1e00fe-a14c-4f23-b545-9e81a69a1c14' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 5d1e00fe-a14c-4f23-b545-9e81a69a1c14
else
search --no-floppy --fs-uuid --set=root 5d1e00fe-a14c-4f23-b545-9e81a69a1c14
fi
echo 'Loading Linux 4.2.0-17-generic ...'
linux /boot/vmlinuz-4.2.0-17-generic root=UUID=5d1e00fe-a14c-4f23-b545-9e81a69a1c14 ro quiet splash $vt_handoff init=/sbin/upstart
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.2.0-17-generic
}
menuentry 'Ubuntu, with Linux 4.2.0-17-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.2.0-17-generic-recovery-5d1e00fe-a14c-4f23-b545-9e81a69a1c14' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 5d1e00fe-a14c-4f23-b545-9e81a69a1c14
else
search --no-floppy --fs-uuid --set=root 5d1e00fe-a14c-4f23-b545-9e81a69a1c14
fi
echo 'Loading Linux 4.2.0-17-generic ...'
linux /boot/vmlinuz-4.2.0-17-generic root=UUID=5d1e00fe-a14c-4f23-b545-9e81a69a1c14 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.2.0-17-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_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 5d1e00fe-a14c-4f23-b545-9e81a69a1c14
else
search --no-floppy --fs-uuid --set=root 5d1e00fe-a14c-4f23-b545-9e81a69a1c14
fi
knetbsd /boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 5d1e00fe-a14c-4f23-b545-9e81a69a1c14
else
search --no-floppy --fs-uuid --set=root 5d1e00fe-a14c-4f23-b545-9e81a69a1c14
fi
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
### 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 ###
--------------------------------------------------------------------------------
=============================== sda2/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/sda2 during installation
UUID=5d1e00fe-a14c-4f23-b545-9e81a69a1c14 / ext4 errors=remount-ro 0 1
# /home was on /dev/sda3 during installation
UUID=5bf976c2-4b9e-456c-bd99-07a2be3cb975 /home ext4 defaults 0 2
# swap was on /dev/sda1 during installation
UUID=12249e1c-1af2-4719-9d65-329b5efe2690 none swap sw 0 0
--------------------------------------------------------------------------------
======================== Unknown MBRs/Boot Sectors/etc: ========================
Unknown MBR on /dev/sdb
00000000 45 52 08 00 00 00 90 90 00 00 00 00 00 00 00 00 |ER..............|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 33 ed fa 8e d5 bc 00 7c fb fc 66 31 db 66 31 c9 |3......|..f1.f1.|
00000030 66 53 66 51 06 57 8e dd 8e c5 52 be 00 7c bf 00 |fSfQ.W....R..|..|
00000040 06 b9 00 01 f3 a5 ea 4b 06 00 00 52 b4 41 bb aa |.......K...R.A..|
00000050 55 31 c9 30 f6 f9 cd 13 72 16 81 fb 55 aa 75 10 |U1.0....r...U.u.|
00000060 83 e1 01 74 0b 66 c7 06 f1 06 b4 42 eb 15 eb 00 |...t.f.....B....|
00000070 5a 51 b4 08 cd 13 83 e1 3f 5b 51 0f b6 c6 40 50 |ZQ......?[Q...@P|
00000080 f7 e1 53 52 50 bb 00 7c b9 04 00 66 a1 b0 07 e8 |..SRP..|...f....|
00000090 44 00 0f 82 80 00 66 40 80 c7 02 e2 f2 66 81 3e |D.....f@.....f.>|
000000a0 40 7c fb c0 78 70 75 09 fa bc ec 7b ea 44 7c 00 |@|..xpu....{.D|.|
000000b0 00 e8 83 00 69 73 6f 6c 69 6e 75 78 2e 62 69 6e |....isolinux.bin|
000000c0 20 6d 69 73 73 69 6e 67 20 6f 72 20 63 6f 72 72 | missing or corr|
000000d0 75 70 74 2e 0d 0a 66 60 66 31 d2 66 03 06 f8 7b |upt...f`f1.f...{|
000000e0 66 13 16 fc 7b 66 52 66 50 06 53 6a 01 6a 10 89 |f...{fRfP.Sj.j..|
000000f0 e6 66 f7 36 e8 7b c0 e4 06 88 e1 88 c5 92 f6 36 |.f.6.{.........6|
00000100 ee 7b 88 c6 08 e1 41 b8 01 02 8a 16 f2 7b cd 13 |.{....A......{..|
00000110 8d 64 10 66 61 c3 e8 1e 00 4f 70 65 72 61 74 69 |.d.fa....Operati|
00000120 6e 67 20 73 79 73 74 65 6d 20 6c 6f 61 64 20 65 |ng system load e|
00000130 72 72 6f 72 2e 0d 0a 5e ac b4 0e 8a 3e 62 04 b3 |rror...^....>b..|
00000140 07 cd 10 3c 0a 75 f1 cd 18 f4 eb fd 00 00 00 00 |...<.u..........|
00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000170 00 00 00 00 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 |................|
00000190 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 00 00 00 00 |................|
000001b0 98 d9 21 00 00 00 00 00 59 58 ae 1c 00 00 80 00 |..!.....YX......|
000001c0 01 00 00 44 e0 f9 00 00 00 00 40 4c 22 00 00 fe |...D......@L"...|
000001d0 ff ff ef fe ff ff 50 0e 22 00 c0 11 00 00 00 00 |......P.".......|
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
Unknown BootLoader on sdb1
00000000 45 52 08 00 00 00 90 90 00 00 00 00 00 00 00 00 |ER..............|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 33 ed fa 8e d5 bc 00 7c fb fc 66 31 db 66 31 c9 |3......|..f1.f1.|
00000030 66 53 66 51 06 57 8e dd 8e c5 52 be 00 7c bf 00 |fSfQ.W....R..|..|
00000040 06 b9 00 01 f3 a5 ea 4b 06 00 00 52 b4 41 bb aa |.......K...R.A..|
00000050 55 31 c9 30 f6 f9 cd 13 72 16 81 fb 55 aa 75 10 |U1.0....r...U.u.|
00000060 83 e1 01 74 0b 66 c7 06 f1 06 b4 42 eb 15 eb 00 |...t.f.....B....|
00000070 5a 51 b4 08 cd 13 83 e1 3f 5b 51 0f b6 c6 40 50 |ZQ......?[Q...@P|
00000080 f7 e1 53 52 50 bb 00 7c b9 04 00 66 a1 b0 07 e8 |..SRP..|...f....|
00000090 44 00 0f 82 80 00 66 40 80 c7 02 e2 f2 66 81 3e |D.....f@.....f.>|
000000a0 40 7c fb c0 78 70 75 09 fa bc ec 7b ea 44 7c 00 |@|..xpu....{.D|.|
000000b0 00 e8 83 00 69 73 6f 6c 69 6e 75 78 2e 62 69 6e |....isolinux.bin|
000000c0 20 6d 69 73 73 69 6e 67 20 6f 72 20 63 6f 72 72 | missing or corr|
000000d0 75 70 74 2e 0d 0a 66 60 66 31 d2 66 03 06 f8 7b |upt...f`f1.f...{|
000000e0 66 13 16 fc 7b 66 52 66 50 06 53 6a 01 6a 10 89 |f...{fRfP.Sj.j..|
000000f0 e6 66 f7 36 e8 7b c0 e4 06 88 e1 88 c5 92 f6 36 |.f.6.{.........6|
00000100 ee 7b 88 c6 08 e1 41 b8 01 02 8a 16 f2 7b cd 13 |.{....A......{..|
00000110 8d 64 10 66 61 c3 e8 1e 00 4f 70 65 72 61 74 69 |.d.fa....Operati|
00000120 6e 67 20 73 79 73 74 65 6d 20 6c 6f 61 64 20 65 |ng system load e|
00000130 72 72 6f 72 2e 0d 0a 5e ac b4 0e 8a 3e 62 04 b3 |rror...^....>b..|
00000140 07 cd 10 3c 0a 75 f1 cd 18 f4 eb fd 00 00 00 00 |...<.u..........|
00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001b0 98 d9 21 00 00 00 00 00 59 58 ae 1c 00 00 80 00 |..!.....YX......|
000001c0 01 00 00 44 e0 f9 00 00 00 00 40 4c 22 00 00 fe |...D......@L"...|
000001d0 ff ff ef fe ff ff 50 0e 22 00 c0 11 00 00 00 00 |......P.".......|
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: ===============================
cat: write error: Broken pipe
File descriptor 9 (/proc/5495/mounts) leaked on lvs invocation. Parent PID 13628: bash
File descriptor 63 (pipe:[75794]) leaked on lvs invocation. Parent PID 13628: bash
No volume groups found
ADDITIONAL INFORMATION :
=================== log of boot-repair 2015-12-28__07h13 ===================
boot-repair version : 4ppa35
boot-sav version : 4ppa35
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version : 4ppa35
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
boot-repair is executed in live-session (Ubuntu 15.04, vivid, Ubuntu, x86_64)
CPU op-mode(s): 32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
ls: cannot access /home/usr/.config: No such file or directory
mount: /dev/sdb2 is already mounted or /mnt/boot-sav/sdb2 busy
mount /dev/sdb2 : Error code 32
mount -r /dev/sdb2 /mnt/boot-sav/sdb2
mount: /dev/sdb2 is already mounted or /mnt/boot-sav/sdb2 busy
mount -r /dev/sdb2 : Error code 32
=================== os-prober:
/dev/sda2:Ubuntu 15.10 (15.10):Ubuntu:linux
=================== blkid:
/dev/sda2: UUID="5d1e00fe-a14c-4f23-b545-9e81a69a1c14" TYPE="ext4" PARTUUID="a5ed71c6-a988-4bdd-aa40-2fdcfd9a88aa"
/dev/sda3: UUID="5bf976c2-4b9e-456c-bd99-07a2be3cb975" TYPE="ext4" PARTUUID="41a7a12e-66d8-437a-8527-9a0e54936311"
/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="12249e1c-1af2-4719-9d65-329b5efe2690" TYPE="swap" PARTUUID="3331e02e-cb16-44a0-a8ae-f5a21f2ceb86"
/dev/sdb1: UUID="2015-04-22-12-30-17-00" LABEL="Ubuntu 15.04 amd64" TYPE="iso9660" PTUUID="1cae5859" PTTYPE="dos" PARTUUID="1cae5859-01"
/dev/sdb2: SEC_TYPE="msdos" UUID="2474-67AF" TYPE="vfat" PARTUUID="1cae5859-02"
1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
mount: /dev/sdb2 is already mounted or /mnt/boot-sav/sdb2 busy
mount /dev/sdb2 : Error code 32
mount -r /dev/sdb2 /mnt/boot-sav/sdb2
mount: /dev/sdb2 is already mounted or /mnt/boot-sav/sdb2 busy
mount -r /dev/sdb2 : Error code 32
dd: invalid number ‘0’
Warning: /var/log/boot-sav/log/2015-12-28__07h13boot-repair20/sdb/current_mbr.img could not be created. Please report this message to boot.repair@gmail.com
=================== /media/ubuntu/5d1e00fe-a14c-4f23-b545-9e81a69a1c14/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Dec 16 15:44 grub.d
total 76
-rwxr-xr-x 1 root root 9791 Oct 14 16:36 00_header
-rwxr-xr-x 1 root root 6058 Sep 4 11:13 05_debian_theme
-rwxr-xr-x 1 root root 12261 Oct 14 16:36 10_linux
-rwxr-xr-x 1 root root 11082 Oct 14 16:36 20_linux_xen
-rwxr-xr-x 1 root root 1992 Aug 27 13:04 20_memtest86+
-rwxr-xr-x 1 root root 11692 Oct 14 16:36 30_os-prober
-rwxr-xr-x 1 root root 1418 Oct 14 16:36 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Oct 14 16:36 40_custom
-rwxr-xr-x 1 root root 216 Oct 14 16:36 41_custom
-rw-r--r-- 1 root root 483 Oct 14 16:36 README
=================== /media/ubuntu/5d1e00fe-a14c-4f23-b545-9e81a69a1c14/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"
=================== efibootmgr -v
BootCurrent: 0002
Timeout: 2 seconds
BootOrder: 0002,0001
Boot0001* Hard Drive BIOS(2,0,00)..GO..NO........o.S.a.n.D.i.s.k. .S.D.7.S.N.3.Q.1.2.8.G.1.0.0.2....................A...........................>..Gd-.;.A..MQ..L.4.1.8.4.0.2.0.4.1.2.8.4. . . . . . . . ........BO..NO........k.S.a.n.D.i.s.k. .C.r.u.z.e.r. .S.w.i.t.c.h. .1...2.6....................A.......................>..Gd-.;.A..MQ..L.4.C.5.3.0.2.0.0.4.1.1.2.0.1.1.2.2.3.5.0........BO
Boot0002* UEFI OS HD(1,220e50,11c0,1cae5859)File(EFIBOOTBOOTX64.EFI)..BO
=================== 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:
sda2 : sda, not-sepboot, grubenv-ok grub2, grub-pc , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, not-far, /media/ubuntu/5d1e00fe-a14c-4f23-b545-9e81a69a1c14.
sda3 : sda, maybesepboot, 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, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda3.
sdb2 : sdb, 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, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/sdb2.
sda : GPT, no-BIOS_boot, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
sdb : not-GPT, BIOSboot-not-needed, has-no-EFIpart, usb-disk, no-os, 0 sectors * 512 bytes
=================== parted -l:
Model: ATA SanDisk SD7SN3Q1 (scsi)
Disk /dev/sda: 128GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 9036MB 9035MB linux-swap(v1)
2 9036MB 39.0GB 30.0GB ext4
3 39.0GB 128GB 89.0GB ext4
Model: SanDisk Cruzer Switch (scsi)
Disk /dev/sdb: 8004MB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
=================== parted -lm:
BYT;
/dev/sda:128GB:scsi:512:512:gpt:ATA SanDisk SD7SN3Q1:;
1:1049kB:9036MB:9035MB:linux-swap(v1)::;
2:9036MB:39.0GB:30.0GB:ext4::;
3:39.0GB:128GB:89.0GB:ext4::;
BYT;
/dev/sdb:8004MB:scsi:512:512:unknown:SanDisk Cruzer Switch:;
=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL
sda disk 119.2G
sda1 part swap 8.4G
sda2 part ext4 28G
sda3 part ext4 82.9G
sdb disk iso9660 7.5G Ubuntu 15.04 amd64
sdb1 part iso9660 1.1G Ubuntu 15.04 amd64
sdb2 part vfat 2.2M Ubuntu 15.04 amd64
loop0 loop squashfs 1G
KNAME ROTA RO RM STATE MOUNTPOINT
sda 0 0 0 running
sda1 0 0 0 [SWAP]
sda2 0 0 0 /media/ubuntu/5d1e00fe-a14c-4f23-b545-9e81a69a1c14
sda3 0 0 0 /mnt/boot-sav/sda3
sdb 1 0 0 running
sdb1 1 0 0
sdb2 1 0 0
loop0 1 1 0 /rofs
=================== mount:
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,relatime,size=4024536k,nr_inodes=1006134,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=807360k,mode=755)
/dev/sdb on /cdrom type iso9660 (ro,noatime)
/dev/loop0 on /rofs type squashfs (ro,noatime)
/cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (rw,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,clone_children)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event,release_agent=/run/cgmanager/agents/cgm-release-agent.perf_event)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb,release_agent=/run/cgmanager/agents/cgm-release-agent.hugetlb)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=23,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
cgmfs on /run/cgmanager/fs type tmpfs (rw,relatime,size=100k,mode=755)
tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=807360k,mode=700,uid=999,gid=999)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
/dev/sda2 on /media/ubuntu/5d1e00fe-a14c-4f23-b545-9e81a69a1c14 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
/dev/sda3 on /mnt/boot-sav/sda3 type ext4 (rw,relatime,data=ordered)
=================== 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 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 sdb2 size slaves stat subsystem trace uevent
/dev (filtered): autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency cuse disk dri ecryptfs fb0 fd full fuse hpet hugepages i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 initctl input kmsg kvm log mapper mcelog media0 mei0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sdb sdb1 sdb2 sg0 sg1 shm snapshot snd stderr stdin stdout uhid uinput urandom v4l vfio vga_arbiter vhci vhost-net video0 xconsole zero
ls /dev/mapper: control
=================== hexdump -n512 -C /dev/sdb2
00000000 eb 3c 90 6d 6b 66 73 2e 66 61 74 00 02 04 01 00 |.<.mkfs.fat.....|
00000010 02 00 02 c0 11 f8 04 00 20 00 40 00 00 00 00 00 |........ .@.....|
00000020 00 00 00 00 80 00 29 af 67 74 24 4e 4f 20 4e 41 |......).gt$NO NA|
00000030 4d 45 20 20 20 20 46 41 54 31 32 20 20 20 0e 1f |ME FAT12 ..|
00000040 be 5b 7c ac 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 |.[|.".t.V.......|
00000050 5e eb f0 32 e4 cd 16 cd 19 eb fe 54 68 69 73 20 |^..2.......This |
00000060 69 73 20 6e 6f 74 20 61 20 62 6f 6f 74 61 62 6c |is not a bootabl|
00000070 65 20 64 69 73 6b 2e 20 20 50 6c 65 61 73 65 20 |e disk. Please |
00000080 69 6e 73 65 72 74 20 61 20 62 6f 6f 74 61 62 6c |insert a bootabl|
00000090 65 20 66 6c 6f 70 70 79 20 61 6e 64 0d 0a 70 72 |e floppy and..pr|
000000a0 65 73 73 20 61 6e 79 20 6b 65 79 20 74 6f 20 74 |ess any key to t|
000000b0 72 79 20 61 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 |ry again ... ...|
000000c0 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
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 3.9G 0 3.9G 0% /dev
tmpfs tmpfs 789M 9.3M 780M 2% /run
/dev/sdb iso9660 1.1G 1.1G 0 100% /cdrom
/dev/loop0 squashfs 1.1G 1.1G 0 100% /rofs
/cow overlay 3.9G 99M 3.8G 3% /
tmpfs tmpfs 3.9G 80K 3.9G 1% /dev/shm
tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
tmpfs tmpfs 3.9G 1.2M 3.9G 1% /tmp
cgmfs tmpfs 100K 0 100K 0% /run/cgmanager/fs
tmpfs tmpfs 789M 76K 789M 1% /run/user/999
/dev/sda2 ext4 28G 7.0G 20G 27% /media/ubuntu/5d1e00fe-a14c-4f23-b545-9e81a69a1c14
/dev/sda3 ext4 82G 77G 483M 100% /mnt/boot-sav/sda3
=================== fdisk -l:
Disk /dev/loop0: 1 GiB, 1101672448 bytes, 2151704 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 /dev/sda: 119.2 GiB, 128035676160 bytes, 250069680 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
Disklabel type: gpt
Disk identifier: 69190FB4-BAC8-444F-B07D-A814FC45DB6D
Device Start End Sectors Size Type
/dev/sda1 2048 17647615 17645568 8.4G Linux swap
/dev/sda2 17647616 76240895 58593280 28G Linux filesystem
/dev/sda3 76240896 250068991 173828096 82.9G Linux filesystem
Disk /dev/sdb: 7.5 GiB, 8004304896 bytes, 15633408 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
Disklabel type: dos
Disk identifier: 0x1cae5859
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 0 2247743 2247744 1.1G 0 Empty
/dev/sdb2 2231888 2236431 4544 2.2M ef EFI (FAT-12/16/32)
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
(debug) reinstall grub2 place-in-all-MBRs no-BIOS_boot (sda2)
=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub2 of sda2 into the MBRs of all disks (except USB without OS).
The boot flag would be placed on sdb2.
Additional repair would be performed: unhide-bootmenu-10s repair-filesystems
=================== Blockers in case of suggested repair
GPT detected. Please create a BIOS-Boot partition (>1MB, unformatted filesystem, bios_grub flag). This can be performed via tools such as Gparted. Then try again.
=================== Advice in case of suggested repair
The boot of your PC is in EFI mode, but no EFI partition was detected. You may want to retry after creating a EFI partition (FAT32, 100MB~250MB, start of the disk, boot flag).
Do you want to continue?
=================== Final advice in case of suggested repair
Please do not forget to make your BIOS boot on sda (128GB) disk!
=================== User settings
The settings chosen by the user will not act on the boot.
|