1. Boot Info Script cfd9efe + Boot-Repair extra info [Boot-Info 26Apr2016]
  2. ============================= Boot Info Summary: ===============================
  3. => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
  4. the same hard drive for core.img. core.img is at this location and looks
  5. for (,msdos1)/boot/grub. It also embeds following components:
  6. modules
  7. ---------------------------------------------------------------------------
  8. fshelp ext2 part_msdos biosdisk
  9. ---------------------------------------------------------------------------
  10. => Syslinux MBR (3.61-4.03) is installed in the MBR of /dev/sdb.
  11. sda1: __________________________________________________________________________
  12. File system: ext4
  13. Boot sector type: -
  14. Boot sector info:
  15. Operating System: elementary OS Loki
  16. Boot files: /etc/fstab
  17. sda2: __________________________________________________________________________
  18. File system: Extended Partition
  19. Boot sector type: Unknown
  20. Boot sector info:
  21. sda5: __________________________________________________________________________
  22. File system: swap
  23. Boot sector type: -
  24. Boot sector info:
  25. sdb1: __________________________________________________________________________
  26. File system: vfat
  27. Boot sector type: Unknown
  28. Boot sector info: According to the info in the boot sector, sdb1 starts
  29. at sector 0. But according to the info from fdisk,
  30. sdb1 starts at sector 40.
  31. Operating System:
  32. Boot files:
  33. sdb2: __________________________________________________________________________
  34. File system: vfat
  35. Boot sector type: SYSLINUX 4.03 0x4d8ae235
  36. Boot sector info: Syslinux looks at sector 3221578 of /dev/sdb2 for its
  37. second stage. SYSLINUX is installed in the /
  38. directory. No errors found in the Boot Parameter Block.
  39. Operating System:
  40. Boot files: /boot/grub/grub.cfg /syslinux.cfg /casper/vmlinuz.efi
  41. /EFI/BOOT/grubx64.efi /ldlinux.sys
  42. ============================ Drive/Partition Info: =============================
  43. Drive: sda _____________________________________________________________________
  44. Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
  45. Units: sectors of 1 * 512 = 512 bytes
  46. Sector size (logical/physical): 512 bytes / 4096 bytes
  47. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  48. Disklabel type: dos
  49. Partition Boot Start Sector End Sector # of Sectors Id System
  50. /dev/sda1 * 2,048 1,936,939,007 1,936,936,960 83 Linux
  51. /dev/sda2 1,936,941,054 1,953,523,711 16,582,658 5 Extended
  52. /dev/sda5 1,936,941,056 1,953,523,711 16,582,656 82 Linux swap / Solaris
  53. Drive: sdb _____________________________________________________________________
  54. Disk /dev/sdb: 14.7 GiB, 15733161984 bytes, 30728832 sectors
  55. Units: sectors of 1 * 512 = 512 bytes
  56. Sector size (logical/physical): 512 bytes / 512 bytes
  57. I/O size (minimum/optimal): 512 bytes / 512 bytes
  58. Disklabel type: gpt
  59. Partition Boot Start Sector End Sector # of Sectors Id System
  60. /dev/sdb1 1 409,639 409,639 ee GPT
  61. /dev/sdb2 * 411,648 30,728,191 30,316,544 7 NTFS / exFAT / HPFS
  62. GUID Partition Table detected.
  63. Partition Attrs Start Sector End Sector # of Sectors System
  64. /dev/sdb1 40 409,639 409,600 EFI System partition
  65. /dev/sdb2 411,648 30,728,191 30,316,544 Data partition (Windows/Linux)
  66. Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
  67. "blkid" output: ________________________________________________________________
  68. Device UUID TYPE LABEL
  69. /dev/loop0 squashfs
  70. /dev/sda1 e102a55d-5959-43a6-9215-eb315e3d2903 ext4
  71. /dev/sda5 15be6a90-2f77-4f10-b746-e8291e83a518 swap
  72. /dev/sdb1 67E3-17ED vfat EFI
  73. /dev/sdb2 80A3-1D1B vfat UBUNTU
  74. ========================= "ls -l /dev/disk/by-id" output: ======================
  75. total 0
  76. lrwxrwxrwx 1 root root 9 Mar 6 16:41 ata-HL-DT-ST_DVDRAM_GUE0N_KLPGAUF4356 -> ../../sr0
  77. lrwxrwxrwx 1 root root 9 Mar 6 16:48 ata-WDC_WD10JPCX-24UE4T0_WD-WXA1AA6FP7YX -> ../../sda
  78. lrwxrwxrwx 1 root root 10 Mar 6 16:48 ata-WDC_WD10JPCX-24UE4T0_WD-WXA1AA6FP7YX-part1 -> ../../sda1
  79. lrwxrwxrwx 1 root root 10 Mar 6 16:48 ata-WDC_WD10JPCX-24UE4T0_WD-WXA1AA6FP7YX-part2 -> ../../sda2
  80. lrwxrwxrwx 1 root root 10 Mar 6 16:48 ata-WDC_WD10JPCX-24UE4T0_WD-WXA1AA6FP7YX-part5 -> ../../sda5
  81. lrwxrwxrwx 1 root root 9 Mar 6 16:47 usb-Kingston_DT_microDuo_00241D8B55C2BF312956748D-0:0 -> ../../sdb
  82. lrwxrwxrwx 1 root root 10 Mar 6 16:47 usb-Kingston_DT_microDuo_00241D8B55C2BF312956748D-0:0-part1 -> ../../sdb1
  83. lrwxrwxrwx 1 root root 10 Mar 6 16:47 usb-Kingston_DT_microDuo_00241D8B55C2BF312956748D-0:0-part2 -> ../../sdb2
  84. lrwxrwxrwx 1 root root 9 Mar 6 16:41 wwn-0x5001480000000000 -> ../../sr0
  85. lrwxrwxrwx 1 root root 9 Mar 6 16:48 wwn-0x50014ee65c772cdc -> ../../sda
  86. lrwxrwxrwx 1 root root 10 Mar 6 16:48 wwn-0x50014ee65c772cdc-part1 -> ../../sda1
  87. lrwxrwxrwx 1 root root 10 Mar 6 16:48 wwn-0x50014ee65c772cdc-part2 -> ../../sda2
  88. lrwxrwxrwx 1 root root 10 Mar 6 16:48 wwn-0x50014ee65c772cdc-part5 -> ../../sda5
  89. ================================ Mount points: =================================
  90. Device Mount_Point Type Options
  91. /dev/loop0 /rofs squashfs (ro,noatime)
  92. /dev/sdb2 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  93. =============================== sda1/etc/fstab: ================================
  94. --------------------------------------------------------------------------------
  95. # /etc/fstab: static file system information.
  96. #
  97. # Use 'blkid' to print the universally unique identifier for a
  98. # device; this may be used with UUID= as a more robust way to name devices
  99. # that works even if disks are added and removed. See fstab(5).
  100. #
  101. # <file system> <mount point> <type> <options> <dump> <pass>
  102. # / was on /dev/sda1 during installation
  103. UUID=e102a55d-5959-43a6-9215-eb315e3d2903 / ext4 errors=remount-ro 0 1
  104. # swap was on /dev/sda5 during installation
  105. UUID=15be6a90-2f77-4f10-b746-e8291e83a518 none swap sw 0 0
  106. --------------------------------------------------------------------------------
  107. =================== sda1: Location of files loaded by Grub: ====================
  108. GiB - GB File Fragment(s)
  109. 436.137485504 = 468.299059200 boot/vmlinuz-4.4.0-38-generic 1
  110. 436.144058228 = 468.306116608 boot/vmlinuz-4.4.0-38-generic.efi.signed 1
  111. 436.137485504 = 468.299059200 vmlinuz 1
  112. 0.169483185 = 0.181981184 boot/initrd.img-4.4.0-38-generic 1
  113. 0.169483185 = 0.181981184 initrd.img 1
  114. =========================== sdb2/boot/grub/grub.cfg: ===========================
  115. --------------------------------------------------------------------------------
  116. if loadfont /boot/grub/font.pf2 ; then
  117. set gfxmode=auto
  118. insmod efi_gop
  119. insmod efi_uga
  120. insmod gfxterm
  121. terminal_output gfxterm
  122. fi
  123. set menu_color_normal=white/black
  124. set menu_color_highlight=black/light-gray
  125. menuentry "Try Ubuntu without installing" {
  126. set gfxpayload=keep
  127. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
  128. initrd /casper/initrd.lz
  129. }
  130. menuentry "Install Ubuntu" {
  131. set gfxpayload=keep
  132. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash ---
  133. initrd /casper/initrd.lz
  134. }
  135. menuentry "OEM install (for manufacturers)" {
  136. set gfxpayload=keep
  137. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash oem-config/enable=true ---
  138. initrd /casper/initrd.lz
  139. }
  140. menuentry "Check disc for defects" {
  141. set gfxpayload=keep
  142. linux /casper/vmlinuz.efi boot=casper integrity-check quiet splash ---
  143. initrd /casper/initrd.lz
  144. }
  145. --------------------------------------------------------------------------------
  146. ============================== sdb2/syslinux.cfg: ==============================
  147. --------------------------------------------------------------------------------
  148. default menu.c32
  149. prompt 0
  150. menu title UNetbootin
  151. timeout 100
  152. label unetbootindefault
  153. menu label Default
  154. kernel /ubnkern
  155. append initrd=/ubninit file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
  156. label ubnentry0
  157. menu label ^Help
  158. kernel /ubnkern
  159. append initrd=/ubninit
  160. label ubnentry1
  161. menu label ^Try Ubuntu without installing
  162. kernel /casper/vmlinuz.efi
  163. append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
  164. label ubnentry2
  165. menu label ^Install Ubuntu
  166. kernel /casper/vmlinuz.efi
  167. append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash ---
  168. label ubnentry3
  169. menu label ^Check disc for defects
  170. kernel /casper/vmlinuz.efi
  171. append initrd=/casper/initrd.lz boot=casper integrity-check quiet splash ---
  172. label ubnentry4
  173. menu label Test ^memory
  174. kernel /install/mt86plus
  175. append initrd=/ubninit
  176. label ubnentry5
  177. menu label ^Boot from first hard disk
  178. kernel /ubnkern
  179. append initrd=/ubninit
  180. label ubnentry6
  181. menu label Try Ubuntu without installing
  182. kernel /casper/vmlinuz.efi
  183. append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
  184. label ubnentry7
  185. menu label Install Ubuntu
  186. kernel /casper/vmlinuz.efi
  187. append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash ---
  188. label ubnentry8
  189. menu label OEM install (for manufacturers)
  190. kernel /casper/vmlinuz.efi
  191. append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash oem-config/enable=true ---
  192. label ubnentry9
  193. menu label Check disc for defects
  194. kernel /casper/vmlinuz.efi
  195. append initrd=/casper/initrd.lz boot=casper integrity-check quiet splash ---
  196. --------------------------------------------------------------------------------
  197. =================== sdb2: Location of files loaded by Grub: ====================
  198. GiB - GB File Fragment(s)
  199. ?? = ?? boot/grub/grub.cfg 1
  200. ================= sdb2: Location of files loaded by Syslinux: ==================
  201. GiB - GB File Fragment(s)
  202. ?? = ?? syslinux.cfg 1
  203. ?? = ?? ldlinux.sys 1
  204. ?? = ?? menu.c32 1
  205. ============== sdb2: Version of COM32(R) files used by Syslinux: ===============
  206. menu.c32 : COM32R module (v4.xx)
  207. ======================== Unknown MBRs/Boot Sectors/etc: ========================
  208. Unknown BootLoader on sda2
  209. Unknown BootLoader on sdb1
  210. 00000000 eb 58 90 42 53 44 20 20 34 2e 34 00 02 01 20 00 |.X.BSD 4.4... .|
  211. 00000010 02 00 00 00 00 f0 00 00 20 00 10 00 00 00 00 00 |........ .......|
  212. 00000020 00 40 06 00 4f 0c 00 00 00 00 00 00 02 00 00 00 |[email protected]...........|
  213. 00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  214. 00000040 00 00 29 ed 17 e3 67 45 46 49 20 20 20 20 20 20 |..)...gEFI |
  215. 00000050 20 20 46 41 54 33 32 20 20 20 fa 31 c0 8e d0 bc | FAT32 .1....|
  216. 00000060 00 7c fb 8e d8 e8 00 00 5e 83 c6 19 bb 07 00 fc |.|......^.......|
  217. 00000070 ac 84 c0 74 06 b4 0e cd 10 eb f5 30 e4 cd 16 cd |...t.......0....|
  218. 00000080 19 0d 0a 4e 6f 6e 2d 73 79 73 74 65 6d 20 64 69 |...Non-system di|
  219. 00000090 73 6b 0d 0a 50 72 65 73 73 20 61 6e 79 20 6b 65 |sk..Press any ke|
  220. 000000a0 79 20 74 6f 20 72 65 62 6f 6f 74 0d 0a 00 00 00 |y to reboot.....|
  221. 000000b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  222. *
  223. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  224. 00000200
  225. =============================== StdErr Messages: ===============================
  226. hexdump: /dev/sda2: No such device or address
  227. hexdump: /dev/sda2: No such device or address
  228. File descriptor 63 (pipe:[51739]) leaked on lvs invocation. Parent PID 11095: bash
  229. ADDITIONAL INFORMATION :
  230. =================== log of boot-repair 2017-03-06__16h47 ===================
  231. boot-repair version : 4ppa40
  232. boot-sav version : 4ppa40
  233. glade2script version : 3.2.3~ppa1
  234. boot-sav-extra version : 4ppa40
  235. boot-repair is executed in live-session (Ubuntu 16.10, yakkety, Ubuntu, x86_64)
  236. CPU op-mode(s): 32-bit, 64-bit
  237. BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
  238. ls: cannot access '/home/usr/.config': No such file or directory
  239. Partition 2 does not start on physical sector boundary.
  240. =================== os-prober:
  241. /dev/sda1:elementary OS 0.4 Loki (0.4):elementary:linux
  242. =================== blkid:
  243. /dev/sda1: UUID="e102a55d-5959-43a6-9215-eb315e3d2903" TYPE="ext4" PARTUUID="5bcafb48-01"
  244. /dev/sdb1: LABEL="EFI" UUID="67E3-17ED" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="fbb6e37c-439a-44c6-89df-4bba8891509f"
  245. /dev/sdb2: LABEL="UBUNTU" UUID="80A3-1D1B" TYPE="vfat" PARTLABEL="UBUNTU" PARTUUID="7d6aeca7-cbf3-4e7b-8393-ccaa751d018a"
  246. /dev/loop0: TYPE="squashfs"
  247. /dev/sda5: UUID="15be6a90-2f77-4f10-b746-e8291e83a518" TYPE="swap" PARTUUID="5bcafb48-05"
  248. 1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
  249. Partition 2 does not start on physical sector boundary.
  250. Partition 2 does not start on physical sector boundary.
  251. =================== /media/ubuntu/e102a55d-5959-43a6-9215-eb315e3d2903/etc/grub.d/ :
  252. drwxr-xr-x 2 root root 4096 Mar 3 14:42 grub.d
  253. total 72
  254. -rwxr-xr-x 1 root root 9791 Aug 9 2016 00_header
  255. -rwxr-xr-x 1 root root 6276 Aug 9 2016 05_debian_theme
  256. -rwxr-xr-x 1 root root 12251 Aug 9 2016 10_linux
  257. -rwxr-xr-x 1 root root 11082 Aug 9 2016 20_linux_xen
  258. -rwxr-xr-x 1 root root 11692 Aug 9 2016 30_os-prober
  259. -rwxr-xr-x 1 root root 1418 Aug 9 2016 30_uefi-firmware
  260. -rwxr-xr-x 1 root root 214 Aug 9 2016 40_custom
  261. -rwxr-xr-x 1 root root 216 Aug 9 2016 41_custom
  262. -rw-r--r-- 1 root root 483 Aug 9 2016 README
  263. =================== /media/ubuntu/e102a55d-5959-43a6-9215-eb315e3d2903/etc/default/grub :
  264. # If you change this file, run 'update-grub' afterwards to update
  265. # /boot/grub/grub.cfg.
  266. # For full documentation of the options in this file, see:
  267. # info -f grub -n 'Simple configuration'
  268. GRUB_DEFAULT=0
  269. GRUB_HIDDEN_TIMEOUT=0
  270. GRUB_HIDDEN_TIMEOUT_QUIET=true
  271. GRUB_TIMEOUT=5
  272. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  273. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  274. GRUB_CMDLINE_LINUX=""
  275. # Uncomment to enable BadRAM filtering, modify to suit your needs
  276. # This works with Linux (no patch required) and with any kernel that obtains
  277. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  278. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  279. # Uncomment to disable graphical terminal (grub-pc only)
  280. #GRUB_TERMINAL=console
  281. # The resolution used on graphical terminal
  282. # note that you can use only modes which your graphic card supports via VBE
  283. # you can see them in real GRUB with the command `vbeinfo'
  284. #GRUB_GFXMODE=640x480
  285. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  286. #GRUB_DISABLE_LINUX_UUID=true
  287. # Uncomment to disable generation of recovery mode menu entries
  288. #GRUB_DISABLE_RECOVERY="true"
  289. # Uncomment to get a beep at grub start
  290. #GRUB_INIT_TUNE="480 440 1"
  291. =================== efibootmgr -v
  292. BootCurrent: 0004
  293. Timeout: 0 seconds
  294. BootOrder: 0004,0000,0003,0001,0002,2001,2002,2003
  295. Boot0000* WDC WD10JPCX-24UE4T0 BBS(HD,WDC WD10JPCX-24UE4T0 ,0x500)................-.e.......e.A.e....................................;x..
  296. Boot0001* HL-DT-ST DVDRAM GUE0N BBS(CDROM,HL-DT-ST DVDRAM GUE0N ,0x500)................-.l.......l.A.l...................................~7x..
  297. Boot0002* Realtek PXE B01 D00 BBS(128,Realtek PXE B01 D00,0x0).......................................................................
  298. Boot0003* KingstonDT microDuo BBS(HD,KingstonDT microDuo ,0x500)...................................................................#x..
  299. Boot0004* Linpus lite HD(2,GPT,7d6aeca7-cbf3-4e7b-8393-ccaa751d018a,0x64800,0x1ce9800)/File(EFIBootgrubx64.efi)RC
  300. Boot0005* Linpus lite HD(1,MBR,0x0,0x800,0x1d4d800)/File(EFIBootgrubx64.efi)RC
  301. Boot0006* Windows Boot Manager HD(2,GPT,a850cba8-ee5b-4bc2-a694-2afef26346f9,0xe1800,0x32000)/File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........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.}...,................
  302. Boot2001* EFI USB Device RC
  303. Boot2002* EFI DVD/CDROM RC
  304. Boot2003* EFI Network RC
  305. =================== UEFI/Legacy mode:
  306. BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
  307. SecureBoot disabled. (maybe sec-boot, Please report this message to [email protected])
  308. =================== PARTITIONS & DISKS:
  309. sda1 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, emptyusr, fstab-without-usr, not-sep-usr, standard, farbios, /media/ubuntu/e102a55d-5959-43a6-9215-eb315e3d2903.
  310. sdb1 : 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/sdb1.
  311. sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
  312. sdb : GPT, no-BIOS_boot, has-no-EFIpart, usb-disk, no-os, 40 sectors * 512 bytes
  313. =================== parted -l:
  314. Model: ATA WDC WD10JPCX-24U (scsi)
  315. Disk /dev/sda: 1000GB
  316. Sector size (logical/physical): 512B/4096B
  317. Partition Table: msdos
  318. Disk Flags:
  319. Number Start End Size Type File system Flags
  320. 1 1049kB 992GB 992GB primary ext4
  321. 2 992GB 1000GB 8490MB extended
  322. 5 992GB 1000GB 8490MB logical linux-swap(v1)
  323. Model: Kingston DT microDuo (scsi)
  324. Disk /dev/sdb: 15.7GB
  325. Sector size (logical/physical): 512B/512B
  326. Partition Table: gpt
  327. Disk Flags:
  328. Number Start End Size File system Name Flags
  329. 1 20.5kB 210MB 210MB fat32 EFI System Partition boot, esp
  330. 2 211MB 15.7GB 15.5GB fat32 UBUNTU msftdata
  331. =================== parted -lm:
  332. BYT;
  333. /dev/sda:1000GB:scsi:512:4096:msdos:ATA WDC WD10JPCX-24U:;
  334. 1:1049kB:992GB:992GB:ext4::;
  335. 2:992GB:1000GB:8490MB:::;
  336. 5:992GB:1000GB:8490MB:linux-swap(v1)::;
  337. BYT;
  338. /dev/sdb:15.7GB:scsi:512:512:gpt:Kingston DT microDuo:;
  339. 1:20.5kB:210MB:210MB:fat32:EFI System Partition:boot, esp;
  340. 2:211MB:15.7GB:15.5GB:fat32:UBUNTU:msftdata;
  341. =================== lsblk:
  342. KNAME TYPE FSTYPE SIZE LABEL
  343. sdb disk 14.7G
  344. sdb2 part vfat 14.5G UBUNTU
  345. sdb1 part vfat 200M EFI
  346. sr0 rom 1024M
  347. loop0 loop squashfs 1.4G
  348. sda disk 931.5G
  349. sda2 part 1K
  350. sda5 part swap 7.9G
  351. sda1 part ext4 923.6G
  352. KNAME ROTA RO RM STATE MOUNTPOINT
  353. sdb 1 0 1 running
  354. sdb2 1 0 1 /cdrom
  355. sdb1 1 0 1 /mnt/boot-sav/sdb1
  356. sr0 1 0 1 running
  357. loop0 1 1 0 /rofs
  358. sda 1 0 0 running
  359. sda2 1 0 0
  360. sda5 1 0 0 [SWAP]
  361. sda1 1 0 0 /media/ubuntu/e102a55d-5959-43a6-9215-eb315e3d2903
  362. =================== mount:
  363. sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
  364. proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
  365. udev on /dev type devtmpfs (rw,nosuid,relatime,size=4023028k,nr_inodes=1005757,mode=755)
  366. devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
  367. tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=807808k,mode=755)
  368. /dev/sdb2 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  369. /dev/loop0 on /rofs type squashfs (ro,noatime)
  370. aufs on / type aufs (rw,noatime,si=87de15ac65808532)
  371. securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
  372. tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
  373. tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
  374. tmpfs on /sys/fs/cgroup type tmpfs (rw,mode=755)
  375. cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
  376. pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
  377. efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
  378. cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,clone_children)
  379. cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
  380. cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
  381. cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
  382. cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb,release_agent=/run/cgmanager/agents/cgm-release-agent.hugetlb)
  383. cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
  384. cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
  385. 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)
  386. cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids,release_agent=/run/cgmanager/agents/cgm-release-agent.pids)
  387. cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
  388. systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=28,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=11644)
  389. mqueue on /dev/mqueue type mqueue (rw,relatime)
  390. debugfs on /sys/kernel/debug type debugfs (rw,relatime)
  391. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
  392. tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
  393. fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
  394. tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
  395. tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=807804k,mode=700,uid=999,gid=999)
  396. gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
  397. /dev/sda1 on /media/ubuntu/e102a55d-5959-43a6-9215-eb315e3d2903 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
  398. /dev/sdb1 on /mnt/boot-sav/sdb1 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  399. =================== ls:
  400. /sys/block/sda (filtered): alignment_offset badblocks bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sda1 sda2 sda5 size slaves stat subsystem trace uevent
  401. /sys/block/sdb (filtered): alignment_offset badblocks bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sdb1 sdb2 size slaves stat subsystem trace uevent
  402. /sys/block/sr0 (filtered): alignment_offset badblocks bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
  403. /dev (filtered): autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 drm_dp_aux1 dvd dvdrw ecryptfs fb0 fd full fuse hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 initctl input kmsg lightnvm 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 sda5 sdb sdb1 sdb2 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout tpm0 uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net video0 zero
  404. ls /dev/mapper: control
  405. =================== hexdump -n512 -C /dev/sdb1
  406. 00000000 eb 58 90 42 53 44 20 20 34 2e 34 00 02 01 20 00 |.X.BSD 4.4... .|
  407. 00000010 02 00 00 00 00 f0 00 00 20 00 10 00 00 00 00 00 |........ .......|
  408. 00000020 00 40 06 00 4f 0c 00 00 00 00 00 00 02 00 00 00 |[email protected]...........|
  409. 00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  410. 00000040 00 01 29 ed 17 e3 67 45 46 49 20 20 20 20 20 20 |..)...gEFI |
  411. 00000050 20 20 46 41 54 33 32 20 20 20 fa 31 c0 8e d0 bc | FAT32 .1....|
  412. 00000060 00 7c fb 8e d8 e8 00 00 5e 83 c6 19 bb 07 00 fc |.|......^.......|
  413. 00000070 ac 84 c0 74 06 b4 0e cd 10 eb f5 30 e4 cd 16 cd |...t.......0....|
  414. 00000080 19 0d 0a 4e 6f 6e 2d 73 79 73 74 65 6d 20 64 69 |...Non-system di|
  415. 00000090 73 6b 0d 0a 50 72 65 73 73 20 61 6e 79 20 6b 65 |sk..Press any ke|
  416. 000000a0 79 20 74 6f 20 72 65 62 6f 6f 74 0d 0a 00 00 00 |y to reboot.....|
  417. 000000b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  418. *
  419. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  420. 00000200
  421. Partition 2 does not start on physical sector boundary.
  422. =================== df -Th:
  423. Filesystem Type Size Used Avail Use% Mounted on
  424. udev devtmpfs 3.9G 0 3.9G 0% /dev
  425. tmpfs tmpfs 789M 9.6M 780M 2% /run
  426. /dev/sdb2 vfat 15G 1.6G 13G 11% /cdrom
  427. /dev/loop0 squashfs 1.5G 1.5G 0 100% /rofs
  428. aufs aufs 3.9G 71M 3.8G 2% /
  429. tmpfs tmpfs 3.9G 36M 3.9G 1% /dev/shm
  430. tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
  431. tmpfs tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
  432. tmpfs tmpfs 3.9G 272K 3.9G 1% /tmp
  433. tmpfs tmpfs 789M 120K 789M 1% /run/user/999
  434. /dev/sda1 ext4 909G 153M 863G 1% /media/ubuntu/e102a55d-5959-43a6-9215-eb315e3d2903
  435. /dev/sdb1 vfat 197M 512 197M 1% /mnt/boot-sav/sdb1
  436. =================== fdisk -l:
  437. Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
  438. Units: sectors of 1 * 512 = 512 bytes
  439. Sector size (logical/physical): 512 bytes / 4096 bytes
  440. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  441. Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
  442. Units: sectors of 1 * 512 = 512 bytes
  443. Sector size (logical/physical): 512 bytes / 4096 bytes
  444. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  445. Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
  446. Units: sectors of 1 * 512 = 512 bytes
  447. Sector size (logical/physical): 512 bytes / 4096 bytes
  448. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  449. Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
  450. Units: sectors of 1 * 512 = 512 bytes
  451. Sector size (logical/physical): 512 bytes / 4096 bytes
  452. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  453. Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
  454. Units: sectors of 1 * 512 = 512 bytes
  455. Sector size (logical/physical): 512 bytes / 4096 bytes
  456. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  457. Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
  458. Units: sectors of 1 * 512 = 512 bytes
  459. Sector size (logical/physical): 512 bytes / 4096 bytes
  460. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  461. Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
  462. Units: sectors of 1 * 512 = 512 bytes
  463. Sector size (logical/physical): 512 bytes / 4096 bytes
  464. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  465. Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
  466. Units: sectors of 1 * 512 = 512 bytes
  467. Sector size (logical/physical): 512 bytes / 4096 bytes
  468. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  469. Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
  470. Units: sectors of 1 * 512 = 512 bytes
  471. Sector size (logical/physical): 512 bytes / 4096 bytes
  472. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  473. Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
  474. Units: sectors of 1 * 512 = 512 bytes
  475. Sector size (logical/physical): 512 bytes / 4096 bytes
  476. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  477. Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
  478. Units: sectors of 1 * 512 = 512 bytes
  479. Sector size (logical/physical): 512 bytes / 4096 bytes
  480. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  481. Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
  482. Units: sectors of 1 * 512 = 512 bytes
  483. Sector size (logical/physical): 512 bytes / 4096 bytes
  484. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  485. Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
  486. Units: sectors of 1 * 512 = 512 bytes
  487. Sector size (logical/physical): 512 bytes / 4096 bytes
  488. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  489. Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
  490. Units: sectors of 1 * 512 = 512 bytes
  491. Sector size (logical/physical): 512 bytes / 4096 bytes
  492. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  493. Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
  494. Units: sectors of 1 * 512 = 512 bytes
  495. Sector size (logical/physical): 512 bytes / 4096 bytes
  496. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  497. Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
  498. Units: sectors of 1 * 512 = 512 bytes
  499. Sector size (logical/physical): 512 bytes / 4096 bytes
  500. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  501. Disk /dev/loop0: 1.4 GiB, 1536229376 bytes, 3000448 sectors
  502. Units: sectors of 1 * 512 = 512 bytes
  503. Sector size (logical/physical): 512 bytes / 512 bytes
  504. I/O size (minimum/optimal): 512 bytes / 512 bytes
  505. Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
  506. Units: sectors of 1 * 512 = 512 bytes
  507. Sector size (logical/physical): 512 bytes / 4096 bytes
  508. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  509. Disklabel type: dos
  510. Disk identifier: 0x5bcafb48
  511. Device Boot Start End Sectors Size Id Type
  512. /dev/sda1 2048 1936939007 1936936960 923.6G 83 Linux
  513. /dev/sda2 1936941054 1953523711 16582658 7.9G 5 Extended
  514. /dev/sda5 1936941056 1953523711 16582656 7.9G 82 Linux swap / Solaris
  515. Disk /dev/sdb: 14.7 GiB, 15733161984 bytes, 30728832 sectors
  516. Units: sectors of 1 * 512 = 512 bytes
  517. Sector size (logical/physical): 512 bytes / 512 bytes
  518. I/O size (minimum/optimal): 512 bytes / 512 bytes
  519. Disklabel type: gpt
  520. Disk identifier: 6A135401-67FC-49EB-92B7-F2E60A11BFE7
  521. Device Start End Sectors Size Type
  522. /dev/sdb1 40 409639 409600 200M EFI System
  523. /dev/sdb2 411648 30728191 30316544 14.5G Microsoft basic data
  524. No OS or WinEFI system
  525. Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
  526. =================== Recommended repair
  527. The default repair of the Boot-Repair utility will not act on the MBR.
  528. The boot flag will be placed on sda1.
  529. Additional repair will be performed: repair-filesystems
  530. Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
  531. Force Unmount all blkid partitions (for fsck) except / /boot /cdrom /dev /etc /home /opt /pas /proc /rofs /sys /tmp /usr /var
  532. fsck -fyM /dev/sda1
  533. fsck from util-linux 2.28.2
  534. e2fsck 1.43.3 (04-Sep-2016)
  535. Pass 1: Checking inodes, blocks, and sizes
  536. Pass 2: Checking directory structure
  537. Pass 3: Checking directory connectivity
  538. Pass 4: Checking reference counts
  539. Pass 5: Checking group summary information
  540. /dev/sda1: 2587/60530688 files (0.0% non-contiguous), 3871072/242117120 blocks
  541. fsck -fyM /dev/sdb1
  542. fsck from util-linux 2.28.2
  543. parted /dev/sda set 1 boot on
  544. Information: You may need to update /etc/fstab.
  545. Partition 2 does not start on physical sector boundary.
  546. Boot successfully repaired.
  547. You can now reboot your computer.
  548. paste.ubuntu.com ko (), using paste.debian
  549. paste.debian.net ko (), using paste2