Advertisement
Guest User

Untitled

a guest
Aug 29th, 2014
274
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.58 KB | None | 0 0
  1. grey@x60:~/site$ cd ..
  2. grey@x60:~$ lsblk
  3. NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
  4. sda 8:0 0 55.9G 0 disk
  5. ├─sda1 8:1 0 52.9G 0 part /
  6. ├─sda2 8:2 0 1K 0 part
  7. └─sda5 8:5 0 3G 0 part
  8. grey@x60:~$ cat /proc/mounts
  9. rootfs / rootfs rw 0 0
  10. sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
  11. proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
  12. udev /dev devtmpfs rw,relatime,size=1533292k,nr_inodes=210917,mode=755 0 0
  13. devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
  14. tmpfs /run tmpfs rw,nosuid,noexec,relatime,size=309332k,mode=755 0 0
  15. /dev/disk/by-uuid/482e0c17-f729-4acb-aa5c-2d342d245b9a / ext4 rw,relatime,errors=remount-ro,data=ordered 0 0
  16. none /sys/fs/cgroup tmpfs rw,relatime,size=4k,mode=755 0 0
  17. none /sys/fs/fuse/connections fusectl rw,relatime 0 0
  18. none /sys/kernel/debug debugfs rw,relatime 0 0
  19. none /sys/kernel/security securityfs rw,relatime 0 0
  20. none /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k 0 0
  21. none /run/shm tmpfs rw,nosuid,nodev,relatime 0 0
  22. none /run/user tmpfs rw,nosuid,nodev,noexec,relatime,size=102400k,mode=755 0 0
  23. none /sys/fs/pstore pstore rw,relatime 0 0
  24. systemd /sys/fs/cgroup/systemd cgroup rw,nosuid,nodev,noexec,relatime,name=systemd 0 0
  25. /home/grey/.Private /home/grey ecryptfs rw,nosuid,nodev,relatime,ecryptfs_fnek_sig=001218b7fe6c5070,ecryptfs_sig=19d489b20b74de3d,ecryptfs_cipher=aes,ecryptfs_key_bytes=16,ecryptfs_unlink_sigs 0 0
  26. gvfsd-fuse /run/user/1000/gvfs fuse.gvfsd-fuse rw,nosuid,nodev,relatime,user_id=1000,group_id=1000 0 0
  27. grey@x60:~$ cat /etc/fstab
  28. # /etc/fstab: static file system information.
  29. #
  30. # Use 'blkid' to print the universally unique identifier for a
  31. # device; this may be used with UUID= as a more robust way to name devices
  32. # that works even if disks are added and removed. See fstab(5).
  33. #
  34. # <file system> <mount point> <type> <options> <dump> <pass>
  35. # / was on /dev/sdb1 during installation
  36. UUID=482e0c17-f729-4acb-aa5c-2d342d245b9a / ext4 errors=remount-ro 0 1
  37. # swap was on /dev/sdb5 during installation
  38. #UUID=56242f15-943c-4ff8-b764-2f86063d60ac none swap sw 0 0
  39. /dev/mapper/cryptswap1 none swap sw 0 0
  40. grey@x60:~$ cat /boot/grub/grub.cfg
  41. #
  42. # DO NOT EDIT THIS FILE
  43. #
  44. # It is automatically generated by grub-mkconfig using templates
  45. # from /etc/grub.d and settings from /etc/default/grub
  46. #
  47.  
  48. ### BEGIN /etc/grub.d/00_header ###
  49. if [ -s $prefix/grubenv ]; then
  50. set have_grubenv=true
  51. load_env
  52. fi
  53. if [ "${next_entry}" ] ; then
  54. set default="${next_entry}"
  55. set next_entry=
  56. save_env next_entry
  57. set boot_once=true
  58. else
  59. set default="0"
  60. fi
  61.  
  62. if [ x"${feature_menuentry_id}" = xy ]; then
  63. menuentry_id_option="--id"
  64. else
  65. menuentry_id_option=""
  66. fi
  67.  
  68. export menuentry_id_option
  69.  
  70. if [ "${prev_saved_entry}" ]; then
  71. set saved_entry="${prev_saved_entry}"
  72. save_env saved_entry
  73. set prev_saved_entry=
  74. save_env prev_saved_entry
  75. set boot_once=true
  76. fi
  77.  
  78. function savedefault {
  79. if [ -z "${boot_once}" ]; then
  80. saved_entry="${chosen}"
  81. save_env saved_entry
  82. fi
  83. }
  84. function recordfail {
  85. set recordfail=1
  86. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  87. }
  88. function load_video {
  89. if [ x$feature_all_video_module = xy ]; then
  90. insmod all_video
  91. else
  92. insmod efi_gop
  93. insmod efi_uga
  94. insmod ieee1275_fb
  95. insmod vbe
  96. insmod vga
  97. insmod video_bochs
  98. insmod video_cirrus
  99. fi
  100. }
  101.  
  102. if [ x$feature_default_font_path = xy ] ; then
  103. font=unicode
  104. else
  105. insmod part_msdos
  106. insmod ext2
  107. set root='hd0,msdos1'
  108. if [ x$feature_platform_search_hint = xy ]; then
  109. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 482e0c17-f729-4acb-aa5c-2d342d245b9a
  110. else
  111. search --no-floppy --fs-uuid --set=root 482e0c17-f729-4acb-aa5c-2d342d245b9a
  112. fi
  113. font="/usr/share/grub/unicode.pf2"
  114. fi
  115.  
  116. if loadfont $font ; then
  117. set gfxmode=auto
  118. load_video
  119. insmod gfxterm
  120. set locale_dir=$prefix/locale
  121. set lang=en_US
  122. insmod gettext
  123. fi
  124. terminal_output gfxterm
  125. if [ "${recordfail}" = 1 ] ; then
  126. set timeout=-1
  127. else
  128. if [ x$feature_timeout_style = xy ] ; then
  129. set timeout_style=hidden
  130. set timeout=0
  131. # Fallback hidden-timeout code in case the timeout_style feature is
  132. # unavailable.
  133. elif sleep --interruptible 0 ; then
  134. set timeout=0
  135. fi
  136. fi
  137. ### END /etc/grub.d/00_header ###
  138.  
  139. ### BEGIN /etc/grub.d/05_debian_theme ###
  140. set menu_color_normal=white/black
  141. set menu_color_highlight=black/white
  142. ### END /etc/grub.d/05_debian_theme ###
  143.  
  144. ### BEGIN /etc/grub.d/10_linux ###
  145. function gfxmode {
  146. set gfxpayload="${1}"
  147. if [ "${1}" = "keep" ]; then
  148. set vt_handoff=vt.handoff=7
  149. else
  150. set vt_handoff=
  151. fi
  152. }
  153. if [ "${recordfail}" != 1 ]; then
  154. if [ -e ${prefix}/gfxblacklist.txt ]; then
  155. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  156. if [ ${match} = 0 ]; then
  157. set linux_gfx_mode=keep
  158. else
  159. set linux_gfx_mode=text
  160. fi
  161. else
  162. set linux_gfx_mode=text
  163. fi
  164. else
  165. set linux_gfx_mode=keep
  166. fi
  167. else
  168. set linux_gfx_mode=text
  169. fi
  170. export linux_gfx_mode
  171. menuentry 'elementary OS' --class elementary --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-482e0c17-f729-4acb-aa5c-2d342d245b9a' {
  172. recordfail
  173. load_video
  174. gfxmode $linux_gfx_mode
  175. insmod gzio
  176. insmod part_msdos
  177. insmod ext2
  178. set root='hd0,msdos1'
  179. if [ x$feature_platform_search_hint = xy ]; then
  180. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 482e0c17-f729-4acb-aa5c-2d342d245b9a
  181. else
  182. search --no-floppy --fs-uuid --set=root 482e0c17-f729-4acb-aa5c-2d342d245b9a
  183. fi
  184. linux /boot/vmlinuz-3.13.0-32-generic root=UUID=482e0c17-f729-4acb-aa5c-2d342d245b9a ro quiet splash $vt_handoff
  185. initrd /boot/initrd.img-3.13.0-32-generic
  186. }
  187. submenu 'Advanced options for elementary OS' $menuentry_id_option 'gnulinux-advanced-482e0c17-f729-4acb-aa5c-2d342d245b9a' {
  188. menuentry 'elementary OS, with Linux 3.13.0-32-generic' --class elementary --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-32-generic-advanced-482e0c17-f729-4acb-aa5c-2d342d245b9a' {
  189. recordfail
  190. load_video
  191. gfxmode $linux_gfx_mode
  192. insmod gzio
  193. insmod part_msdos
  194. insmod ext2
  195. set root='hd0,msdos1'
  196. if [ x$feature_platform_search_hint = xy ]; then
  197. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 482e0c17-f729-4acb-aa5c-2d342d245b9a
  198. else
  199. search --no-floppy --fs-uuid --set=root 482e0c17-f729-4acb-aa5c-2d342d245b9a
  200. fi
  201. echo 'Loading Linux 3.13.0-32-generic ...'
  202. linux /boot/vmlinuz-3.13.0-32-generic root=UUID=482e0c17-f729-4acb-aa5c-2d342d245b9a ro quiet splash $vt_handoff
  203. echo 'Loading initial ramdisk ...'
  204. initrd /boot/initrd.img-3.13.0-32-generic
  205. }
  206. menuentry 'elementary OS, with Linux 3.13.0-32-generic (recovery mode)' --class elementary --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-32-generic-recovery-482e0c17-f729-4acb-aa5c-2d342d245b9a' {
  207. recordfail
  208. load_video
  209. insmod gzio
  210. insmod part_msdos
  211. insmod ext2
  212. set root='hd0,msdos1'
  213. if [ x$feature_platform_search_hint = xy ]; then
  214. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 482e0c17-f729-4acb-aa5c-2d342d245b9a
  215. else
  216. search --no-floppy --fs-uuid --set=root 482e0c17-f729-4acb-aa5c-2d342d245b9a
  217. fi
  218. echo 'Loading Linux 3.13.0-32-generic ...'
  219. linux /boot/vmlinuz-3.13.0-32-generic root=UUID=482e0c17-f729-4acb-aa5c-2d342d245b9a ro recovery nomodeset
  220. echo 'Loading initial ramdisk ...'
  221. initrd /boot/initrd.img-3.13.0-32-generic
  222. }
  223. }
  224.  
  225. ### END /etc/grub.d/10_linux ###
  226.  
  227. ### BEGIN /etc/grub.d/20_linux_xen ###
  228.  
  229. ### END /etc/grub.d/20_linux_xen ###
  230.  
  231. ### BEGIN /etc/grub.d/20_memtest86+ ###
  232. menuentry 'Memory test (memtest86+)' {
  233. insmod part_msdos
  234. insmod ext2
  235. set root='hd0,msdos1'
  236. if [ x$feature_platform_search_hint = xy ]; then
  237. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 482e0c17-f729-4acb-aa5c-2d342d245b9a
  238. else
  239. search --no-floppy --fs-uuid --set=root 482e0c17-f729-4acb-aa5c-2d342d245b9a
  240. fi
  241. knetbsd /boot/memtest86+.elf
  242. }
  243. menuentry 'Memory test (memtest86+, serial console 115200)' {
  244. insmod part_msdos
  245. insmod ext2
  246. set root='hd0,msdos1'
  247. if [ x$feature_platform_search_hint = xy ]; then
  248. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 482e0c17-f729-4acb-aa5c-2d342d245b9a
  249. else
  250. search --no-floppy --fs-uuid --set=root 482e0c17-f729-4acb-aa5c-2d342d245b9a
  251. fi
  252. linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  253. }
  254. ### END /etc/grub.d/20_memtest86+ ###
  255.  
  256. ### BEGIN /etc/grub.d/30_os-prober ###
  257. ### END /etc/grub.d/30_os-prober ###
  258.  
  259. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  260. ### END /etc/grub.d/30_uefi-firmware ###
  261.  
  262. ### BEGIN /etc/grub.d/40_custom ###
  263. # This file provides an easy way to add custom menu entries. Simply type the
  264. # menu entries you want to add after this comment. Be careful not to change
  265. # the 'exec tail' line above.
  266. ### END /etc/grub.d/40_custom ###
  267.  
  268. ### BEGIN /etc/grub.d/41_custom ###
  269. if [ -f ${config_directory}/custom.cfg ]; then
  270. source ${config_directory}/custom.cfg
  271. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  272. source $prefix/custom.cfg;
  273. fi
  274. ### END /etc/grub.d/41_custom ###
  275. grey@x60:~$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement