Advertisement
mlapl

Partition Setup

Feb 6th, 2019
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 7.79 KB | None | 0 0
  1. [michael@ml-desk ~]$ uname -a
  2. Linux ml-desk 4.19.16-1-MANJARO #1 SMP PREEMPT Fri Jan 18 17:03:05 UTC 2019 x86_64 GNU/Linux
  3.  
  4. [michael@ml-desk ~]$ sudo efibootmgr -v
  5. [sudo] password for michael:
  6. BootCurrent: 0000
  7. Timeout: 1 seconds
  8. BootOrder: 0001,0002,0000
  9. Boot0000* manjaro   HD(1,MBR,0xe6a64c99,0x800,0x100000)/File(\EFI\MANJARO\GRUBX64.EFI)
  10. Boot0001* Hard Drive    BBS(HD,,0x0)..GO..NO........o.W.D.C. .W.D.1.0.E.Z.E.X.-.2.2.M.F.C.A.0....................A...........................>..Gd-.;.A..MQ..L. . . . .W. .-.D.C.W.6.C.5.Y.X.R.3.0.0.F........BO..NO........o.W.D.C. .W.D.1.0.E.Z.E.X.-.0.0.W.N.4.A.0....................A...........................>..Gd-.;.A..MQ..L. . . . .W. .-.D.C.W.6.C.5.Y.H.X.5.Z.H.S........BO..NO........o.C.r.u.c.i.a.l._.C.T.2.7.5.M.X.3.0.0.S.S.D.1....................A...........................>..Gd-.;.A..MQ..L. . . . . . . . .6.1.0.4.4.1.9.2.5.4.C.A........BO
  11. Boot0002* UEFI OS   HD(1,MBR,0xe6a64c99,0x800,0x100000)/File(\EFI\BOOT\BOOTX64.EFI)..BO
  12.  
  13. [michael@ml-desk ~]$ sudo parted -l
  14. Model: ATA Crucial_CT275MX3 (scsi)
  15. Disk /dev/sda: 275GB
  16. Sector size (logical/physical): 512B/512B
  17. Partition Table: msdos
  18. Disk Flags:
  19.  
  20. Number  Start   End    Size   Type     File system  Flags
  21.  1      1049kB  525MB  524MB  primary  ntfs         boot
  22.  2      525MB   275GB  274GB  primary  ntfs
  23.  3      275GB   275GB  498MB  primary  ntfs         diag
  24.  
  25.  
  26. Model: ATA WDC WD10EZEX-00W (scsi)
  27. Disk /dev/sdb: 1000GB
  28. Sector size (logical/physical): 512B/4096B
  29. Partition Table: gpt
  30. Disk Flags:
  31.  
  32. Number  Start   End     Size    File system  Name                          Flags
  33.  1      17.4kB  134MB   134MB                Microsoft reserved partition  msftres
  34.  2      135MB   1000GB  1000GB  ntfs         Basic data partition          msftdata
  35.  
  36.  
  37. Model: ATA WDC WD10EZEX-22M (scsi)
  38. Disk /dev/sdc: 1000GB
  39. Sector size (logical/physical): 512B/4096B
  40. Partition Table: msdos
  41. Disk Flags:
  42.  
  43. Number  Start   End     Size    Type     File system     Flags
  44.  1      1049kB  538MB   537MB   primary  fat32
  45.  2      538MB   2685MB  2147MB  primary  linux-swap(v1)
  46.  3      2685MB  1000GB  998GB   primary  ext4
  47.  
  48. [michael@ml-desk ~]$ sudo blkid
  49. /dev/sda1: LABEL="System Reserved" UUID="22363AA6363A7B3D" TYPE="ntfs" PARTUUID="44033692-01"
  50. /dev/sda2: LABEL="SSD" UUID="A4B23FCEB23FA428" TYPE="ntfs" PARTUUID="44033692-02"
  51. /dev/sda3: UUID="1CFE31A2FE3174DC" TYPE="ntfs" PARTUUID="44033692-03"
  52. /dev/sdb1: PARTLABEL="Microsoft reserved partition" PARTUUID="4465c298-24ee-45ae-8974-9e5c35faf7e9"
  53. /dev/sdb2: LABEL="HDD" UUID="64F25CFAF25CD1C2" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="63d6664e-726f-4099-b096-324c51269105"
  54. /dev/sdc1: UUID="7801-949A" TYPE="vfat" PARTUUID="e6a64c99-01"
  55. /dev/sdc2: UUID="8092bdf3-ec31-44d9-82ce-35fc52a377ed" TYPE="swap" PARTUUID="e6a64c99-02"
  56. /dev/sdc3: UUID="56fd27e6-b952-4baa-9983-e242faa33486" TYPE="ext4" PARTUUID="e6a64c99-03"
  57.  
  58. [michael@ml-desk ~]$ findmnt -s
  59. TARGET    SOURCE                                    FSTYPE OPTIONS
  60. /boot/efi UUID=7801-949A                            vfat   defaults,noatime
  61. swap      UUID=8092bdf3-ec31-44d9-82ce-35fc52a377ed swap   defaults,noatime
  62. /         UUID=56fd27e6-b952-4baa-9983-e242faa33486 ext4   defaults,noatime
  63. /mnt/sda2 /dev/sda2                                 auto   nosuid,nodev,nofail,x-gvfs-show
  64. /mnt/sdb2 /dev/sdb2                                 auto   nosuid,nodev,nofail,x-gvfs-show
  65.  
  66. [michael@ml-desk ~]$ sudo findmnt /boot/efi
  67. TARGET    SOURCE    FSTYPE OPTIONS
  68. /boot/efi /dev/sdc1 vfat   rw,noatime,fmask=0022,dmask=0022,codepage=437,iochars
  69.  
  70. [michael@ml-desk ~]$ cat /etc/fstab
  71. # /etc/fstab: static file system information.
  72. #
  73. # Use 'blkid' to print the universally unique identifier for a device; this may
  74. # be used with UUID= as a more robust way to name devices that works even if
  75. # disks are added and removed. See fstab(5).
  76. #
  77. # <file system>             <mount point>  <type>  <options>  <dump>  <pass>
  78. UUID=7801-949A                            /boot/efi      vfat    defaults,noatime 0 2
  79. UUID=8092bdf3-ec31-44d9-82ce-35fc52a377ed swap           swap    defaults,noatime 0 2
  80. UUID=56fd27e6-b952-4baa-9983-e242faa33486 /              ext4    defaults,noatime 0 1
  81. /dev/sda2 /mnt/sda2 auto nosuid,nodev,nofail,x-gvfs-show 0 0
  82. /dev/sdb2 /mnt/sdb2 auto nosuid,nodev,nofail,x-gvfs-show 0 0
  83.  
  84. [michael@ml-desk ~]$ sudo fdisk -l
  85. Disk /dev/sda: 256.2 GiB, 275064201216 bytes, 537234768 sectors
  86. Disk model: Crucial_CT275MX3
  87. Units: sectors of 1 * 512 = 512 bytes
  88. Sector size (logical/physical): 512 bytes / 512 bytes
  89. I/O size (minimum/optimal): 512 bytes / 512 bytes
  90. Disklabel type: dos
  91. Disk identifier: 0x44033692
  92.  
  93. Device     Boot     Start       End   Sectors   Size Id Type
  94. /dev/sda1  *         2048   1026047   1024000   500M  7 HPFS/NTFS/exFAT
  95. /dev/sda2         1026048 536254642 535228595 255.2G  7 HPFS/NTFS/exFAT
  96. /dev/sda3       536256512 537229311    972800   475M 27 Hidden NTFS WinRE
  97.  
  98.  
  99. Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
  100. Disk model: WDC WD10EZEX-00W
  101. Units: sectors of 1 * 512 = 512 bytes
  102. Sector size (logical/physical): 512 bytes / 4096 bytes
  103. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  104. Disklabel type: gpt
  105. Disk identifier: 0ACAB2E2-0EA9-4908-AE2B-098BF5F7AF92
  106.  
  107. Device      Start        End    Sectors   Size Type
  108. /dev/sdb1      34     262177     262144   128M Microsoft reserved
  109. /dev/sdb2  264192 1953521663 1953257472 931.4G Microsoft basic data
  110.  
  111. Partition 1 does not start on physical sector boundary.
  112.  
  113.  
  114. Disk /dev/sdc: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
  115. Disk model: WDC WD10EZEX-22M
  116. Units: sectors of 1 * 512 = 512 bytes
  117. Sector size (logical/physical): 512 bytes / 4096 bytes
  118. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  119. Disklabel type: dos
  120. Disk identifier: 0xe6a64c99
  121.  
  122. Device     Boot   Start        End    Sectors  Size Id Type
  123. /dev/sdc1          2048    1050623    1048576  512M  b W95 FAT32
  124. /dev/sdc2       1050624    5244927    4194304    2G 82 Linux swap / Solaris
  125. /dev/sdc3       5244928 1953520064 1948275137  929G 83 Linux
  126.  
  127. [michael@ml-desk ~]$ sudo os-prober
  128. [sudo] password for michael:
  129. [michael@ml-desk ~]$ sudo grub-install
  130. [sudo] password for michael:
  131. Installing for x86_64-efi platform.
  132. GUID Partition Table Header signature is wrong: 0 != 5452415020494645
  133. GUID Partition Table Header signature is wrong: 0 != 5452415020494645
  134. GUID Partition Table Header signature is wrong: 0 != 5452415020494645
  135. GUID Partition Table Header signature is wrong: 0 != 5452415020494645
  136. GUID Partition Table Header signature is wrong: 0 != 5452415020494645
  137. GUID Partition Table Header signature is wrong: 0 != 5452415020494645
  138. Installation finished. No error reported.
  139. [michael@ml-desk ~]$ sudo update-grub
  140. Generating grub configuration file ...
  141. Found theme: /usr/share/grub/themes/manjaro/theme.txt
  142. Found linux image: /boot/vmlinuz-4.19-x86_64
  143. Found initrd image: /boot/intel-ucode.img /boot/initramfs-4.19-x86_64.img
  144. Found initrd fallback image: /boot/initramfs-4.19-x86_64-fallback.img
  145. Found memtest86+ image: /boot/memtest86+/memtest.bin
  146. done
  147. [michael@ml-desk ~]$ sudo cp /boot/grub/x86_64-efi/core.efi /boot/efi/EFI/boot/bootx64.efi
  148. [michael@ml-desk ~]$ sudo efibootmgr -c -d /dev/sdc -p 1 -L "manjaro" -l "\EFI\Manjaro\grubx64.efi"
  149. efibootmgr: ** Warning ** : Boot0000 has same label manjaro
  150. GUID Partition Table Header signature is wrong: 0 != 5452415020494645
  151. GUID Partition Table Header signature is wrong: 0 != 5452415020494645
  152. GUID Partition Table Header signature is wrong: 0 != 5452415020494645
  153. GUID Partition Table Header signature is wrong: 0 != 5452415020494645
  154. GUID Partition Table Header signature is wrong: 0 != 5452415020494645
  155. GUID Partition Table Header signature is wrong: 0 != 5452415020494645
  156. BootCurrent: 0000
  157. Timeout: 1 seconds
  158. BootOrder: 0003,0000,0001,0002
  159. Boot0000* manjaro
  160. Boot0001* Hard Drive
  161. Boot0002* UEFI OS
  162. Boot0003* manjaro
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement