Advertisement
Guest User

Untitled

a guest
Mar 24th, 2014
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.59 KB | None | 0 0
  1. # DO NOT EDIT THIS FILE
  2. #
  3. # It is automatically generated by grub-mkconfig using templates
  4. # from /etc/grub.d and settings from /etc/default/grub
  5. #
  6.  
  7. ### BEGIN /etc/grub.d/00_header ###
  8. if [ -s $prefix/grubenv ]; then
  9. set have_grubenv=true
  10. load_env
  11. fi
  12. set default="0"
  13.  
  14. if [ x"${feature_menuentry_id}" = xy ]; then
  15. menuentry_id_option="--id"
  16. else
  17. menuentry_id_option=""
  18. fi
  19.  
  20. export menuentry_id_option
  21.  
  22. if [ "${prev_saved_entry}" ]; then
  23. set saved_entry="${prev_saved_entry}"
  24. save_env saved_entry
  25. set prev_saved_entry=
  26. save_env prev_saved_entry
  27. set boot_once=true
  28. fi
  29.  
  30. function savedefault {
  31. if [ -z "${boot_once}" ]; then
  32. saved_entry="${chosen}"
  33. save_env saved_entry
  34. fi
  35. }
  36.  
  37. function recordfail {
  38. set recordfail=1
  39. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  40. }
  41.  
  42. function load_video {
  43. if [ x$feature_all_video_module = xy ]; then
  44. insmod all_video
  45. else
  46. insmod efi_gop
  47. insmod efi_uga
  48. insmod ieee1275_fb
  49. insmod vbe
  50. insmod vga
  51. insmod video_bochs
  52. insmod video_cirrus
  53. fi
  54. }
  55.  
  56. if [ x$feature_default_font_path = xy ] ; then
  57. font=unicode
  58. else
  59. insmod part_msdos
  60. insmod ext2
  61. set root='hd0,msdos6'
  62. if [ x$feature_platform_search_hint = xy ]; then
  63. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 394f8c20-976e-412b-83c7-355023f520ad
  64. else
  65. search --no-floppy --fs-uuid --set=root 394f8c20-976e-412b-83c7-355023f520ad
  66. fi
  67. font="/usr/share/grub/unicode.pf2"
  68. fi
  69.  
  70. if loadfont $font ; then
  71. set gfxmode=auto
  72. load_video
  73. insmod gfxterm
  74. set locale_dir=$prefix/locale
  75. set lang=es_ES
  76. insmod gettext
  77. fi
  78. terminal_output gfxterm
  79. if [ "${recordfail}" = 1 ]; then
  80. set timeout=-1
  81. else
  82. set timeout=10
  83. fi
  84. ### END /etc/grub.d/00_header ###
  85.  
  86. ### BEGIN /etc/grub.d/05_debian_theme ###
  87. set menu_color_normal=white/black
  88. set menu_color_highlight=black/light-gray
  89. if background_color 44,0,30; then
  90. clear
  91. fi
  92. ### END /etc/grub.d/05_debian_theme ###
  93.  
  94. ### BEGIN /etc/grub.d/10_linux ###
  95. function gfxmode {
  96. set gfxpayload="${1}"
  97. if [ "${1}" = "keep" ]; then
  98. set vt_handoff=vt.handoff=7
  99. else
  100. set vt_handoff=
  101. fi
  102. }
  103. if [ "${recordfail}" != 1 ]; then
  104. if [ -e ${prefix}/gfxblacklist.txt ]; then
  105. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  106. if [ ${match} = 0 ]; then
  107. set linux_gfx_mode=keep
  108. else
  109. set linux_gfx_mode=text
  110. fi
  111. else
  112. set linux_gfx_mode=text
  113. fi
  114. else
  115. set linux_gfx_mode=keep
  116. fi
  117. else
  118. set linux_gfx_mode=text
  119. fi
  120. export linux_gfx_mode
  121. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-394f8c20-976e-412b-83c7-355023f520ad' {
  122. recordfail
  123. load_video
  124. gfxmode $linux_gfx_mode
  125. insmod gzio
  126. insmod part_msdos
  127. insmod ext2
  128. set root='hd0,msdos1'
  129. if [ x$feature_platform_search_hint = xy ]; then
  130. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 12418f3e-b286-4f84-949d-7266d76b6697
  131. else
  132. search --no-floppy --fs-uuid --set=root 12418f3e-b286-4f84-949d-7266d76b6697
  133. fi
  134. linux /vmlinuz-3.8.0-32-generic root=UUID=394f8c20-976e-412b-83c7-355023f520ad ro quiet splash $vt_handoff
  135. initrd /initrd.img-3.8.0-32-generic
  136. }
  137. submenu 'Opciones avanzadas para Ubuntu' $menuentry_id_option 'gnulinux-advanced-394f8c20-976e-412b-83c7-355023f520ad' {
  138. menuentry 'Ubuntu, con Linux 3.8.0-32-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.0-32-generic-advanced-394f8c20-976e-412b-83c7-355023f520ad' {
  139. recordfail
  140. load_video
  141. gfxmode $linux_gfx_mode
  142. insmod gzio
  143. insmod part_msdos
  144. insmod ext2
  145. set root='hd0,msdos1'
  146. if [ x$feature_platform_search_hint = xy ]; then
  147. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 12418f3e-b286-4f84-949d-7266d76b6697
  148. else
  149. search --no-floppy --fs-uuid --set=root 12418f3e-b286-4f84-949d-7266d76b6697
  150. fi
  151. echo 'Cargando Linux 3.8.0-32-generic ...'
  152. linux /vmlinuz-3.8.0-32-generic root=UUID=394f8c20-976e-412b-83c7-355023f520ad ro quiet splash $vt_handoff
  153. echo 'Cargando el disco RAM inicial...'
  154. initrd /initrd.img-3.8.0-32-generic
  155. }
  156. menuentry 'Ubuntu, con Linux 3.8.0-32-generic (modo recuperación)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.0-32-generic-recovery-394f8c20-976e-412b-83c7-355023f520ad' {
  157. recordfail
  158. load_video
  159. insmod gzio
  160. insmod part_msdos
  161. insmod ext2
  162. set root='hd0,msdos1'
  163. if [ x$feature_platform_search_hint = xy ]; then
  164. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 12418f3e-b286-4f84-949d-7266d76b6697
  165. else
  166. search --no-floppy --fs-uuid --set=root 12418f3e-b286-4f84-949d-7266d76b6697
  167. fi
  168. echo 'Cargando Linux 3.8.0-32-generic ...'
  169. linux /vmlinuz-3.8.0-32-generic root=UUID=394f8c20-976e-412b-83c7-355023f520ad ro recovery nomodeset
  170. echo 'Cargando el disco RAM inicial...'
  171. initrd /initrd.img-3.8.0-32-generic
  172. }
  173. }
  174.  
  175. ### END /etc/grub.d/10_linux ###
  176.  
  177. ### BEGIN /etc/grub.d/20_linux_xen ###
  178.  
  179. ### END /etc/grub.d/20_linux_xen ###
  180.  
  181. ### BEGIN /etc/grub.d/20_memtest86+ ###
  182. menuentry "Memory test (memtest86+)" {
  183. insmod part_msdos
  184. insmod ext2
  185. set root='hd0,msdos1'
  186. if [ x$feature_platform_search_hint = xy ]; then
  187. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 12418f3e-b286-4f84-949d-7266d76b6697
  188. else
  189. search --no-floppy --fs-uuid --set=root 12418f3e-b286-4f84-949d-7266d76b6697
  190. fi
  191. linux16 /memtest86+.bin
  192. }
  193. menuentry "Memory test (memtest86+, serial console 115200)" {
  194. insmod part_msdos
  195. insmod ext2
  196. set root='hd0,msdos1'
  197. if [ x$feature_platform_search_hint = xy ]; then
  198. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 12418f3e-b286-4f84-949d-7266d76b6697
  199. else
  200. search --no-floppy --fs-uuid --set=root 12418f3e-b286-4f84-949d-7266d76b6697
  201. fi
  202. linux16 /memtest86+.bin console=ttyS0,115200n8
  203. }
  204. ### END /etc/grub.d/20_memtest86+ ###
  205.  
  206. ### BEGIN /etc/grub.d/30_os-prober ###
  207. if [ "x${timeout}" != "x-1" ]; then
  208. if keystatus; then
  209. if keystatus --shift; then
  210. set timeout=-1
  211. else
  212. set timeout=0
  213. fi
  214. else
  215. if sleep --interruptible 3 ; then
  216. set timeout=0
  217. fi
  218. fi
  219. fi
  220. ### END /etc/grub.d/30_os-prober ###
  221.  
  222. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  223. ### END /etc/grub.d/30_uefi-firmware ###
  224.  
  225. ### BEGIN /etc/grub.d/40_custom ###
  226. # This file provides an easy way to add custom menu entries. Simply type the
  227. # menu entries you want to add after this comment. Be careful not to change
  228. # the 'exec tail' line above.
  229. ### END /etc/grub.d/40_custom ###
  230.  
  231. ### BEGIN /etc/grub.d/41_custom ###
  232. if [ -f ${config_directory}/custom.cfg ]; then
  233. source ${config_directory}/custom.cfg
  234. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  235. source $prefix/custom.cfg;
  236. fi
  237. ### END /etc/grub.d/41_custom ###
  238. eduardo@MiPcLinux:~/Escritorio/google_appengine$ cls
  239. No se ha encontrado la orden «cls» pero hay 18 similares
  240. cls: no se encontró la orden
  241. eduardo@MiPcLinux:~/Escritorio/google_appengine$ clear
  242.  
  243. eduardo@MiPcLinux:~/Escritorio/google_appengine$ cat /boot/grub/grub.cfg
  244. #
  245. # DO NOT EDIT THIS FILE
  246. #
  247. # It is automatically generated by grub-mkconfig using templates
  248. # from /etc/grub.d and settings from /etc/default/grub
  249. #
  250.  
  251. ### BEGIN /etc/grub.d/00_header ###
  252. if [ -s $prefix/grubenv ]; then
  253. set have_grubenv=true
  254. load_env
  255. fi
  256. set default="0"
  257.  
  258. if [ x"${feature_menuentry_id}" = xy ]; then
  259. menuentry_id_option="--id"
  260. else
  261. menuentry_id_option=""
  262. fi
  263.  
  264. export menuentry_id_option
  265.  
  266. if [ "${prev_saved_entry}" ]; then
  267. set saved_entry="${prev_saved_entry}"
  268. save_env saved_entry
  269. set prev_saved_entry=
  270. save_env prev_saved_entry
  271. set boot_once=true
  272. fi
  273.  
  274. function savedefault {
  275. if [ -z "${boot_once}" ]; then
  276. saved_entry="${chosen}"
  277. save_env saved_entry
  278. fi
  279. }
  280.  
  281. function recordfail {
  282. set recordfail=1
  283. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  284. }
  285.  
  286. function load_video {
  287. if [ x$feature_all_video_module = xy ]; then
  288. insmod all_video
  289. else
  290. insmod efi_gop
  291. insmod efi_uga
  292. insmod ieee1275_fb
  293. insmod vbe
  294. insmod vga
  295. insmod video_bochs
  296. insmod video_cirrus
  297. fi
  298. }
  299.  
  300. if [ x$feature_default_font_path = xy ] ; then
  301. font=unicode
  302. else
  303. insmod part_msdos
  304. insmod ext2
  305. set root='hd0,msdos6'
  306. if [ x$feature_platform_search_hint = xy ]; then
  307. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 394f8c20-976e-412b-83c7-355023f520ad
  308. else
  309. search --no-floppy --fs-uuid --set=root 394f8c20-976e-412b-83c7-355023f520ad
  310. fi
  311. font="/usr/share/grub/unicode.pf2"
  312. fi
  313.  
  314. if loadfont $font ; then
  315. set gfxmode=auto
  316. load_video
  317. insmod gfxterm
  318. set locale_dir=$prefix/locale
  319. set lang=es_ES
  320. insmod gettext
  321. fi
  322. terminal_output gfxterm
  323. if [ "${recordfail}" = 1 ]; then
  324. set timeout=-1
  325. else
  326. set timeout=10
  327. fi
  328. ### END /etc/grub.d/00_header ###
  329.  
  330. ### BEGIN /etc/grub.d/05_debian_theme ###
  331. set menu_color_normal=white/black
  332. set menu_color_highlight=black/light-gray
  333. if background_color 44,0,30; then
  334. clear
  335. fi
  336. ### END /etc/grub.d/05_debian_theme ###
  337.  
  338. ### BEGIN /etc/grub.d/10_linux ###
  339. function gfxmode {
  340. set gfxpayload="${1}"
  341. if [ "${1}" = "keep" ]; then
  342. set vt_handoff=vt.handoff=7
  343. else
  344. set vt_handoff=
  345. fi
  346. }
  347. if [ "${recordfail}" != 1 ]; then
  348. if [ -e ${prefix}/gfxblacklist.txt ]; then
  349. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  350. if [ ${match} = 0 ]; then
  351. set linux_gfx_mode=keep
  352. else
  353. set linux_gfx_mode=text
  354. fi
  355. else
  356. set linux_gfx_mode=text
  357. fi
  358. else
  359. set linux_gfx_mode=keep
  360. fi
  361. else
  362. set linux_gfx_mode=text
  363. fi
  364. export linux_gfx_mode
  365. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-394f8c20-976e-412b-83c7-355023f520ad' {
  366. recordfail
  367. load_video
  368. gfxmode $linux_gfx_mode
  369. insmod gzio
  370. insmod part_msdos
  371. insmod ext2
  372. set root='hd0,msdos1'
  373. if [ x$feature_platform_search_hint = xy ]; then
  374. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 12418f3e-b286-4f84-949d-7266d76b6697
  375. else
  376. search --no-floppy --fs-uuid --set=root 12418f3e-b286-4f84-949d-7266d76b6697
  377. fi
  378. linux /vmlinuz-3.8.0-32-generic root=UUID=394f8c20-976e-412b-83c7-355023f520ad ro quiet splash $vt_handoff
  379. initrd /initrd.img-3.8.0-32-generic
  380. }
  381. submenu 'Opciones avanzadas para Ubuntu' $menuentry_id_option 'gnulinux-advanced-394f8c20-976e-412b-83c7-355023f520ad' {
  382. menuentry 'Ubuntu, con Linux 3.8.0-32-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.0-32-generic-advanced-394f8c20-976e-412b-83c7-355023f520ad' {
  383. recordfail
  384. load_video
  385. gfxmode $linux_gfx_mode
  386. insmod gzio
  387. insmod part_msdos
  388. insmod ext2
  389. set root='hd0,msdos1'
  390. if [ x$feature_platform_search_hint = xy ]; then
  391. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 12418f3e-b286-4f84-949d-7266d76b6697
  392. else
  393. search --no-floppy --fs-uuid --set=root 12418f3e-b286-4f84-949d-7266d76b6697
  394. fi
  395. echo 'Cargando Linux 3.8.0-32-generic ...'
  396. linux /vmlinuz-3.8.0-32-generic root=UUID=394f8c20-976e-412b-83c7-355023f520ad ro quiet splash $vt_handoff
  397. echo 'Cargando el disco RAM inicial...'
  398. initrd /initrd.img-3.8.0-32-generic
  399. }
  400. menuentry 'Ubuntu, con Linux 3.8.0-32-generic (modo recuperación)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.0-32-generic-recovery-394f8c20-976e-412b-83c7-355023f520ad' {
  401. recordfail
  402. load_video
  403. insmod gzio
  404. insmod part_msdos
  405. insmod ext2
  406. set root='hd0,msdos1'
  407. if [ x$feature_platform_search_hint = xy ]; then
  408. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 12418f3e-b286-4f84-949d-7266d76b6697
  409. else
  410. search --no-floppy --fs-uuid --set=root 12418f3e-b286-4f84-949d-7266d76b6697
  411. fi
  412. echo 'Cargando Linux 3.8.0-32-generic ...'
  413. linux /vmlinuz-3.8.0-32-generic root=UUID=394f8c20-976e-412b-83c7-355023f520ad ro recovery nomodeset
  414. echo 'Cargando el disco RAM inicial...'
  415. initrd /initrd.img-3.8.0-32-generic
  416. }
  417. }
  418.  
  419. ### END /etc/grub.d/10_linux ###
  420.  
  421. ### BEGIN /etc/grub.d/20_linux_xen ###
  422.  
  423. ### END /etc/grub.d/20_linux_xen ###
  424.  
  425. ### BEGIN /etc/grub.d/20_memtest86+ ###
  426. menuentry "Memory test (memtest86+)" {
  427. insmod part_msdos
  428. insmod ext2
  429. set root='hd0,msdos1'
  430. if [ x$feature_platform_search_hint = xy ]; then
  431. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 12418f3e-b286-4f84-949d-7266d76b6697
  432. else
  433. search --no-floppy --fs-uuid --set=root 12418f3e-b286-4f84-949d-7266d76b6697
  434. fi
  435. linux16 /memtest86+.bin
  436. }
  437. menuentry "Memory test (memtest86+, serial console 115200)" {
  438. insmod part_msdos
  439. insmod ext2
  440. set root='hd0,msdos1'
  441. if [ x$feature_platform_search_hint = xy ]; then
  442. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 12418f3e-b286-4f84-949d-7266d76b6697
  443. else
  444. search --no-floppy --fs-uuid --set=root 12418f3e-b286-4f84-949d-7266d76b6697
  445. fi
  446. linux16 /memtest86+.bin console=ttyS0,115200n8
  447. }
  448. ### END /etc/grub.d/20_memtest86+ ###
  449.  
  450. ### BEGIN /etc/grub.d/30_os-prober ###
  451. if [ "x${timeout}" != "x-1" ]; then
  452. if keystatus; then
  453. if keystatus --shift; then
  454. set timeout=-1
  455. else
  456. set timeout=0
  457. fi
  458. else
  459. if sleep --interruptible 3 ; then
  460. set timeout=0
  461. fi
  462. fi
  463. fi
  464. ### END /etc/grub.d/30_os-prober ###
  465.  
  466. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  467. ### END /etc/grub.d/30_uefi-firmware ###
  468.  
  469. ### BEGIN /etc/grub.d/40_custom ###
  470. # This file provides an easy way to add custom menu entries. Simply type the
  471. # menu entries you want to add after this comment. Be careful not to change
  472. # the 'exec tail' line above.
  473. ### END /etc/grub.d/40_custom ###
  474.  
  475. ### BEGIN /etc/grub.d/41_custom ###
  476. if [ -f ${config_directory}/custom.cfg ]; then
  477. source ${config_directory}/custom.cfg
  478. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  479. source $prefix/custom.cfg;
  480. fi
  481. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement