Advertisement
Guest User

Untitled

a guest
Feb 19th, 2016
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.64 KB | None | 0 0
  1. fdisk -l
  2. Festplatte /dev/sda: 931,5 GiB, 1000204886016 Bytes, 1953525168 Sektoren
  3. Einheiten: Sektoren von 1 * 512 = 512 Bytes
  4. Sektorgröße (logisch/physikalisch): 512 Bytes / 4096 Bytes
  5. E/A-Größe (minimal/optimal): 4096 Bytes / 4096 Bytes
  6. Festplattenbezeichnungstyp: gpt
  7. Festplattenbezeichner: ADD7D9F2-CF60-40BF-AB36-440D08986EE4
  8.  
  9. Gerät Anfang Ende Sektoren Größe Typ
  10. /dev/sda1 2048 206847 204800 100M EFI-System
  11. /dev/sda2 206848 468991 262144 128M Microsoft reserviert
  12. /dev/sda3 468992 717268991 716800000 341,8G Microsoft Basisdaten
  13. /dev/sda4 717268992 1434068991 716800000 341,8G Microsoft Basisdaten
  14. /dev/sda5 1434068992 1748721663 314652672 150G Microsoft Basisdaten
  15. /dev/sda6 1748721664 1748725759 4096 2M BIOS boot
  16. /dev/sda7 1748725760 1951543295 202817536 96,7G Linux LVM
  17.  
  18.  
  19.  
  20.  
  21. Festplatte /dev/sdb: 238,5 GiB, 256060514304 Bytes, 500118192 Sektoren
  22. Einheiten: Sektoren von 1 * 512 = 512 Bytes
  23. Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
  24. E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes
  25. Festplattenbezeichnungstyp: gpt
  26. Festplattenbezeichner: 6407EE3B-8043-4E6D-A844-C553572E4C46
  27.  
  28. Gerät Anfang Ende Sektoren Größe Typ
  29. /dev/sdb1 2048 264191 262144 128M Microsoft reserviert
  30. /dev/sdb2 264192 481243135 480978944 229,4G Microsoft Basisdaten
  31.  
  32.  
  33. Festplatte /dev/mapper/fedora-root: 23,3 GiB, 25002246144 Bytes, 48832512 Sektoren
  34. Einheiten: Sektoren von 1 * 512 = 512 Bytes
  35. Sektorgröße (logisch/physikalisch): 512 Bytes / 4096 Bytes
  36. E/A-Größe (minimal/optimal): 4096 Bytes / 4096 Bytes
  37.  
  38.  
  39. Festplatte /dev/mapper/fedora-swap: 12,9 GiB, 13828620288 Bytes, 27009024 Sektoren
  40. Einheiten: Sektoren von 1 * 512 = 512 Bytes
  41. Sektorgröße (logisch/physikalisch): 512 Bytes / 4096 Bytes
  42. E/A-Größe (minimal/optimal): 4096 Bytes / 4096 Bytes
  43.  
  44.  
  45. Festplatte /dev/mapper/fedora-home: 60,6 GiB, 65003323392 Bytes, 126959616 Sektoren
  46. Einheiten: Sektoren von 1 * 512 = 512 Bytes
  47. Sektorgröße (logisch/physikalisch): 512 Bytes / 4096 Bytes
  48. E/A-Größe (minimal/optimal): 4096 Bytes / 4096 Bytes
  49.  
  50. ---------------------------------------------------------------------
  51.  
  52.  
  53. lsblk
  54. NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
  55. sda 8:0 0 931,5G 0 disk
  56. ├─sda1 8:1 0 100M 0 part /boot/efi
  57. ├─sda2 8:2 0 128M 0 part
  58. ├─sda3 8:3 0 341,8G 0 part
  59. ├─sda4 8:4 0 341,8G 0 part
  60. ├─sda5 8:5 0 150G 0 part
  61. ├─sda6 8:6 0 2M 0 part
  62. └─sda7 8:7 0 96,7G 0 part
  63. ├─fedora-root 253:0 0 23,3G 0 lvm /
  64. ├─fedora-swap 253:1 0 12,9G 0 lvm [SWAP]
  65. └─fedora-home 253:2 0 60,6G 0 lvm /home
  66. sdb 8:16 0 238,5G 0 disk
  67. ├─sdb1 8:17 0 128M 0 part
  68. └─sdb2 8:18 0 229,4G 0 part
  69. sdc 8:32 1 3,9G 0 disk
  70. └─sdc1 8:33 1 3,9G 0 part /run/media/luca/E647-3E6A
  71. sr0 11:0 1 1024M 0 rom
  72.  
  73. -----------------------------------------------------------------------------------
  74.  
  75. blkid | grep -i efi
  76. /dev/sda1: UUID="82BE-2DDB" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="1cb6abba-1b8f-46f6-820d-1a20d35d6a81"
  77.  
  78. ----------------------------------------------------------------------------------
  79.  
  80. grep -i efi /etc/fstab
  81. UUID=82BE-2DDB /boot/efi vfat umask=0077,shortname=winnt 0 2
  82.  
  83. ----------------------------------------------------------------------------
  84.  
  85.  
  86. gdisk -l /dev/sdb
  87. GPT fdisk (gdisk) version 1.0.1
  88.  
  89. Partition table scan:
  90. MBR: protective
  91. BSD: not present
  92. APM: not present
  93. GPT: present
  94.  
  95. Found valid GPT with protective MBR; using GPT.
  96. Disk /dev/sdb: 500118192 sectors, 238.5 GiB
  97. Logical sector size: 512 bytes
  98. Disk identifier (GUID): 6407EE3B-8043-4E6D-A844-C553572E4C46
  99. Partition table holds up to 128 entries
  100. First usable sector is 34, last usable sector is 500118158
  101. Partitions will be aligned on 2048-sector boundaries
  102. Total free space is 18877037 sectors (9.0 GiB)
  103.  
  104. Number Start (sector) End (sector) Size Code Name
  105. 1 2048 264191 128.0 MiB 0C01 Microsoft reserved ...
  106. 2 264192 481243135 229.3 GiB 0700 Basic data partition
  107.  
  108. --------------------------------------------------------------------------
  109.  
  110. ls -l /boot/efi/EFI/
  111. insgesamt 5
  112. drwx------. 2 root root 1024 29. Okt 16:25 Boot
  113. drwx------. 4 root root 1024 19. Feb 19:55 fedora
  114. drwx------. 3 root root 1024 19. Feb 19:07 Microsoft
  115. drwx------. 2 root root 1024 3. Dez 18:33 opensuse
  116. drwx------. 2 root root 1024 19. Feb 19:07 tools
  117.  
  118. -----------------------------------------------------------------------------
  119.  
  120. grub2-mkconfig /boot/efi/EFI/fedora/grub.cfg
  121. Generating grub configuration file ...
  122. #
  123. # DO NOT EDIT THIS FILE
  124. #
  125. # It is automatically generated by grub2-mkconfig using templates
  126. # from /etc/grub.d and settings from /etc/default/grub
  127. #
  128.  
  129. ### BEGIN /etc/grub.d/10_linux_proxy ###
  130. Found linux image: /boot/vmlinuz-4.3.5-300.fc23.x86_64
  131. Found initrd image: /boot/initramfs-4.3.5-300.fc23.x86_64.img
  132. Found linux image: /boot/vmlinuz-4.2.3-300.fc23.x86_64
  133. Found initrd image: /boot/initramfs-4.2.3-300.fc23.x86_64.img
  134. Found linux image: /boot/vmlinuz-0-rescue-7bd6c26274434d5e9efb600edae7c7fe
  135. Found initrd image: /boot/initramfs-0-rescue-7bd6c26274434d5e9efb600edae7c7fe.img
  136. menuentry "Fedora 23 v4.3.5 (Workstation Edition)" --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.3.5-300.fc23.x86_64-advanced-776b9ad9-f779-418d-89b0-f0b57303b95b' {
  137. savedefault
  138. load_video
  139. set gfxpayload=keep
  140. insmod gzio
  141. insmod part_gpt
  142. insmod lvm
  143. insmod ext2
  144. set root='lvmid/hpa67A-NegL-M2wm-awWs-FzC4-gVuj-V8ZMfC/3fKEr8-Dqd0-MZRr-7deb-GEq1-qBgS-2PDDed'
  145. if [ x$feature_platform_search_hint = xy ]; then
  146. search --no-floppy --fs-uuid --set=root --hint='lvmid/hpa67A-NegL-M2wm-awWs-FzC4-gVuj-V8ZMfC/3fKEr8-Dqd0-MZRr-7deb-GEq1-qBgS-2PDDed' 776b9ad9-f779-418d-89b0-f0b57303b95b
  147. else
  148. search --no-floppy --fs-uuid --set=root 776b9ad9-f779-418d-89b0-f0b57303b95b
  149. fi
  150. linux16 /boot/vmlinuz-4.3.5-300.fc23.x86_64 root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet
  151. initrd16 /boot/initramfs-4.3.5-300.fc23.x86_64.img
  152. }
  153. menuentry "Fedora 23 v4.2.3 (Workstation Edition)" --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.2.3-300.fc23.x86_64-advanced-776b9ad9-f779-418d-89b0-f0b57303b95b' {
  154. savedefault
  155. load_video
  156. set gfxpayload=keep
  157. insmod gzio
  158. insmod part_gpt
  159. insmod lvm
  160. insmod ext2
  161. set root='lvmid/hpa67A-NegL-M2wm-awWs-FzC4-gVuj-V8ZMfC/3fKEr8-Dqd0-MZRr-7deb-GEq1-qBgS-2PDDed'
  162. if [ x$feature_platform_search_hint = xy ]; then
  163. search --no-floppy --fs-uuid --set=root --hint='lvmid/hpa67A-NegL-M2wm-awWs-FzC4-gVuj-V8ZMfC/3fKEr8-Dqd0-MZRr-7deb-GEq1-qBgS-2PDDed' 776b9ad9-f779-418d-89b0-f0b57303b95b
  164. else
  165. search --no-floppy --fs-uuid --set=root 776b9ad9-f779-418d-89b0-f0b57303b95b
  166. fi
  167. linux16 /boot/vmlinuz-4.2.3-300.fc23.x86_64 root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet
  168. initrd16 /boot/initramfs-4.2.3-300.fc23.x86_64.img
  169. }
  170. menuentry "Fedora Rescue" --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-7bd6c26274434d5e9efb600edae7c7fe-advanced-776b9ad9-f779-418d-89b0-f0b57303b95b' {
  171. savedefault
  172. load_video
  173. insmod gzio
  174. insmod part_gpt
  175. insmod lvm
  176. insmod ext2
  177. set root='lvmid/hpa67A-NegL-M2wm-awWs-FzC4-gVuj-V8ZMfC/3fKEr8-Dqd0-MZRr-7deb-GEq1-qBgS-2PDDed'
  178. if [ x$feature_platform_search_hint = xy ]; then
  179. search --no-floppy --fs-uuid --set=root --hint='lvmid/hpa67A-NegL-M2wm-awWs-FzC4-gVuj-V8ZMfC/3fKEr8-Dqd0-MZRr-7deb-GEq1-qBgS-2PDDed' 776b9ad9-f779-418d-89b0-f0b57303b95b
  180. else
  181. search --no-floppy --fs-uuid --set=root 776b9ad9-f779-418d-89b0-f0b57303b95b
  182. fi
  183. linux16 /boot/vmlinuz-0-rescue-7bd6c26274434d5e9efb600edae7c7fe root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet
  184. initrd16 /boot/initramfs-0-rescue-7bd6c26274434d5e9efb600edae7c7fe.img
  185. }
  186. if [ "x$default" = 'Fedora (4.3.5-300.fc23.x86_64) 23 (Workstation Edition)' ]; then default='Advanced options for Fedora>Fedora (4.3.5-300.fc23.x86_64) 23 (Workstation Edition)'; fi;
  187. ### END /etc/grub.d/10_linux_proxy ###
  188.  
  189. ### BEGIN /etc/grub.d/13_header ###
  190. set pager=1
  191.  
  192. if [ -s $prefix/grubenv ]; then
  193. load_env
  194. fi
  195. if [ "${next_entry}" ] ; then
  196. set default="${next_entry}"
  197. set next_entry=
  198. save_env next_entry
  199. set boot_once=true
  200. else
  201. set default="${saved_entry}"
  202. fi
  203.  
  204. if [ x"${feature_menuentry_id}" = xy ]; then
  205. menuentry_id_option="--id"
  206. else
  207. menuentry_id_option=""
  208. fi
  209.  
  210. export menuentry_id_option
  211.  
  212. if [ "${prev_saved_entry}" ]; then
  213. set saved_entry="${prev_saved_entry}"
  214. save_env saved_entry
  215. set prev_saved_entry=
  216. save_env prev_saved_entry
  217. set boot_once=true
  218. fi
  219.  
  220. function savedefault {
  221. if [ -z "${boot_once}" ]; then
  222. saved_entry="${chosen}"
  223. save_env saved_entry
  224. fi
  225. }
  226.  
  227. function load_video {
  228. if [ x$feature_all_video_module = xy ]; then
  229. insmod all_video
  230. else
  231. insmod efi_gop
  232. insmod efi_uga
  233. insmod ieee1275_fb
  234. insmod vbe
  235. insmod vga
  236. insmod video_bochs
  237. insmod video_cirrus
  238. fi
  239. }
  240.  
  241. terminal_output console
  242. if [ x$feature_timeout_style = xy ] ; then
  243. set timeout_style=menu
  244. set timeout=12
  245. # Fallback normal timeout code in case the timeout_style feature is
  246. # unavailable.
  247. else
  248. set timeout=12
  249. fi
  250. ### END /etc/grub.d/13_header ###
  251.  
  252. ### BEGIN /etc/grub.d/14_users ###
  253. if [ -f ${prefix}/user.cfg ]; then
  254. source ${prefix}/user.cfg
  255. if [ -n "${GRUB2_PASSWORD}" ]; then
  256. set superusers="root"
  257. export superusers
  258. password_pbkdf2 root ${GRUB2_PASSWORD}
  259. fi
  260. fi
  261. ### END /etc/grub.d/14_users ###
  262.  
  263. ### BEGIN /etc/grub.d/15_Windows ###
  264. Adding Windows
  265. menuentry "Windows" {
  266. set root=(hd0,1)
  267. chainloader +1
  268. }
  269. ### END /etc/grub.d/15_Windows ###
  270.  
  271. ### BEGIN /etc/grub.d/20_linux_xen ###
  272.  
  273. ### END /etc/grub.d/20_linux_xen ###
  274.  
  275. ### BEGIN /etc/grub.d/21_ppc_terminfo ###
  276. ### END /etc/grub.d/21_ppc_terminfo ###
  277.  
  278. ### BEGIN /etc/grub.d/30_os-prober ###
  279. ### END /etc/grub.d/30_os-prober ###
  280.  
  281. ### BEGIN /etc/grub.d/40_custom_proxy ###
  282. ### END /etc/grub.d/40_custom_proxy ###
  283.  
  284. ### BEGIN /etc/grub.d/41_custom ###
  285. if [ -f ${config_directory}/custom.cfg ]; then
  286. source ${config_directory}/custom.cfg
  287. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  288. source $prefix/custom.cfg;
  289. fi
  290. ### END /etc/grub.d/41_custom ###
  291. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement