Advertisement
aixtools

bootinfo-with-ubuntu

Jan 11th, 2015
290
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.76 KB | None | 0 0
  1. Boot Info Script 0.61 [1 April 2012]
  2.  
  3.  
  4. ============================= Boot Info Summary: ===============================
  5.  
  6. => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
  7. the same hard drive for core.img. core.img is at this location and looks
  8. in partition 112 for .
  9.  
  10. sda1: __________________________________________________________________________
  11.  
  12. File system: ntfs
  13. Boot sector type: Grub2 (v1.99)
  14. Boot sector info: Grub2 (v1.99) is installed in the boot sector of sda1
  15. and looks at sector 1377897096 of the same hard drive
  16. for core.img. core.img is at this location and looks
  17. in partition 112 for . No errors found in the Boot
  18. Parameter Block.
  19. Operating System:
  20. Boot files: /bootmgr /Boot/BCD
  21.  
  22. sda2: __________________________________________________________________________
  23.  
  24. File system: ntfs
  25. Boot sector type: Windows Vista/7: NTFS
  26. Boot sector info: No errors found in the Boot Parameter Block.
  27. Operating System: Windows 7
  28. Boot files: /Windows/System32/winload.exe
  29.  
  30. sda3: __________________________________________________________________________
  31.  
  32. File system: ntfs
  33. Boot sector type: Windows Vista/7: NTFS
  34. Boot sector info: No errors found in the Boot Parameter Block.
  35. Operating System:
  36. Boot files:
  37.  
  38. sda4: __________________________________________________________________________
  39.  
  40. File system: Extended Partition
  41. Boot sector type: -
  42. Boot sector info:
  43.  
  44. sda5: __________________________________________________________________________
  45.  
  46. File system: swap
  47. Boot sector type: -
  48. Boot sector info:
  49.  
  50. sda6: __________________________________________________________________________
  51.  
  52. File system: ext4
  53. Boot sector type: -
  54. Boot sector info:
  55. Operating System: Ubuntu 14.04.1 LTS
  56. Boot files: /boot/grub/grub.cfg /etc/fstab
  57.  
  58. sda7: __________________________________________________________________________
  59.  
  60. File system: ext4
  61. Boot sector type: -
  62. Boot sector info:
  63. Operating System: Ubuntu 14.04.1 LTS
  64. Boot files: /boot/grub/grub.cfg /etc/fstab
  65.  
  66. ============================ Drive/Partition Info: =============================
  67.  
  68. Drive: sda _____________________________________________________________________
  69.  
  70. Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
  71. 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
  72. Units = sectors of 1 * 512 = 512 bytes
  73. Sector size (logical/physical): 512 bytes / 512 bytes
  74.  
  75. Partition Boot Start Sector End Sector # of Sectors Id System
  76.  
  77. /dev/sda1 * 2,048 206,847 204,800 7 NTFS / exFAT / HPFS
  78. /dev/sda2 206,848 409,599,999 409,393,152 7 NTFS / exFAT / HPFS
  79. /dev/sda3 409,600,000 1,228,799,999 819,200,000 7 NTFS / exFAT / HPFS
  80. /dev/sda4 1,228,802,046 1,426,171,903 197,369,858 5 Extended
  81. /dev/sda5 1,228,802,048 1,244,540,927 15,738,880 82 Linux swap / Solaris
  82. /dev/sda6 1,244,542,976 1,348,046,847 103,503,872 83 Linux
  83. /dev/sda7 1,348,048,896 1,426,171,903 78,123,008 83 Linux
  84.  
  85.  
  86. "blkid" output: ________________________________________________________________
  87.  
  88. Device UUID TYPE LABEL
  89.  
  90. /dev/sda1 8A4C0CA24C0C8AE1 ntfs System Reserved
  91. /dev/sda2 9C701C16701BF5AC ntfs
  92. /dev/sda3 72A436C7A4368E1B ntfs Data
  93. /dev/sda5 b47edfbf-0fec-4890-856f-938a68847ca7 swap
  94. /dev/sda6 9de604d0-6721-4860-956e-7228905d8ba3 ext4
  95. /dev/sda7 264fdf99-71d0-46bb-be22-090771beb770 ext4
  96.  
  97. ================================ Mount points: =================================
  98.  
  99. Device Mount_Point Type Options
  100.  
  101. /dev/sda6 / ext4 (rw,errors=remount-ro)
  102.  
  103.  
  104. =========================== sda6/boot/grub/grub.cfg: ===========================
  105.  
  106. --------------------------------------------------------------------------------
  107. #
  108. # DO NOT EDIT THIS FILE
  109. #
  110. # It is automatically generated by grub-mkconfig using templates
  111. # from /etc/grub.d and settings from /etc/default/grub
  112. #
  113.  
  114. ### BEGIN /etc/grub.d/00_header ###
  115. if [ -s $prefix/grubenv ]; then
  116. set have_grubenv=true
  117. load_env
  118. fi
  119. if [ "${next_entry}" ] ; then
  120. set default="${next_entry}"
  121. set next_entry=
  122. save_env next_entry
  123. set boot_once=true
  124. else
  125. set default="Windows 7 (loader) (on /dev/sda1)"
  126. fi
  127.  
  128. if [ x"${feature_menuentry_id}" = xy ]; then
  129. menuentry_id_option="--id"
  130. else
  131. menuentry_id_option=""
  132. fi
  133.  
  134. export menuentry_id_option
  135.  
  136. if [ "${prev_saved_entry}" ]; then
  137. set saved_entry="${prev_saved_entry}"
  138. save_env saved_entry
  139. set prev_saved_entry=
  140. save_env prev_saved_entry
  141. set boot_once=true
  142. fi
  143.  
  144. function savedefault {
  145. if [ -z "${boot_once}" ]; then
  146. saved_entry="${chosen}"
  147. save_env saved_entry
  148. fi
  149. }
  150. function recordfail {
  151. set recordfail=1
  152. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  153. }
  154. function load_video {
  155. if [ x$feature_all_video_module = xy ]; then
  156. insmod all_video
  157. else
  158. insmod efi_gop
  159. insmod efi_uga
  160. insmod ieee1275_fb
  161. insmod vbe
  162. insmod vga
  163. insmod video_bochs
  164. insmod video_cirrus
  165. fi
  166. }
  167.  
  168. if [ x$feature_default_font_path = xy ] ; then
  169. font=unicode
  170. else
  171. insmod part_msdos
  172. insmod ext2
  173. set root='hd0,msdos6'
  174. if [ x$feature_platform_search_hint = xy ]; then
  175. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 9de604d0-6721-4860-956e-7228905d8ba3
  176. else
  177. search --no-floppy --fs-uuid --set=root 9de604d0-6721-4860-956e-7228905d8ba3
  178. fi
  179. font="/usr/share/grub/unicode.pf2"
  180. fi
  181.  
  182. if loadfont $font ; then
  183. set gfxmode=auto
  184. load_video
  185. insmod gfxterm
  186. set locale_dir=$prefix/locale
  187. set lang=en_US
  188. insmod gettext
  189. fi
  190. terminal_output gfxterm
  191. if [ "${recordfail}" = 1 ] ; then
  192. set timeout=-1
  193. else
  194. if [ x$feature_timeout_style = xy ] ; then
  195. set timeout_style=menu
  196. set timeout=10
  197. # Fallback normal timeout code in case the timeout_style feature is
  198. # unavailable.
  199. else
  200. set timeout=10
  201. fi
  202. fi
  203. ### END /etc/grub.d/00_header ###
  204.  
  205. ### BEGIN /etc/grub.d/05_debian_theme ###
  206. set menu_color_normal=white/black
  207. set menu_color_highlight=black/light-gray
  208. if background_color 44,0,30,0; then
  209. clear
  210. fi
  211. ### END /etc/grub.d/05_debian_theme ###
  212.  
  213. ### BEGIN /etc/grub.d/10_linux ###
  214. function gfxmode {
  215. set gfxpayload="${1}"
  216. if [ "${1}" = "keep" ]; then
  217. set vt_handoff=vt.handoff=7
  218. else
  219. set vt_handoff=
  220. fi
  221. }
  222. if [ "${recordfail}" != 1 ]; then
  223. if [ -e ${prefix}/gfxblacklist.txt ]; then
  224. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  225. if [ ${match} = 0 ]; then
  226. set linux_gfx_mode=keep
  227. else
  228. set linux_gfx_mode=text
  229. fi
  230. else
  231. set linux_gfx_mode=text
  232. fi
  233. else
  234. set linux_gfx_mode=keep
  235. fi
  236. else
  237. set linux_gfx_mode=text
  238. fi
  239. export linux_gfx_mode
  240. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-9de604d0-6721-4860-956e-7228905d8ba3' {
  241. recordfail
  242. load_video
  243. gfxmode $linux_gfx_mode
  244. insmod gzio
  245. insmod part_msdos
  246. insmod ext2
  247. set root='hd0,msdos6'
  248. if [ x$feature_platform_search_hint = xy ]; then
  249. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 9de604d0-6721-4860-956e-7228905d8ba3
  250. else
  251. search --no-floppy --fs-uuid --set=root 9de604d0-6721-4860-956e-7228905d8ba3
  252. fi
  253. linux /boot/vmlinuz-3.13.0-32-generic root=UUID=9de604d0-6721-4860-956e-7228905d8ba3 ro quiet splash $vt_handoff
  254. initrd /boot/initrd.img-3.13.0-32-generic
  255. }
  256. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-9de604d0-6721-4860-956e-7228905d8ba3' {
  257. menuentry 'Ubuntu, with Linux 3.13.0-32-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-32-generic-advanced-9de604d0-6721-4860-956e-7228905d8ba3' {
  258. recordfail
  259. load_video
  260. gfxmode $linux_gfx_mode
  261. insmod gzio
  262. insmod part_msdos
  263. insmod ext2
  264. set root='hd0,msdos6'
  265. if [ x$feature_platform_search_hint = xy ]; then
  266. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 9de604d0-6721-4860-956e-7228905d8ba3
  267. else
  268. search --no-floppy --fs-uuid --set=root 9de604d0-6721-4860-956e-7228905d8ba3
  269. fi
  270. echo 'Loading Linux 3.13.0-32-generic ...'
  271. linux /boot/vmlinuz-3.13.0-32-generic root=UUID=9de604d0-6721-4860-956e-7228905d8ba3 ro quiet splash $vt_handoff
  272. echo 'Loading initial ramdisk ...'
  273. initrd /boot/initrd.img-3.13.0-32-generic
  274. }
  275. menuentry 'Ubuntu, with Linux 3.13.0-32-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-32-generic-recovery-9de604d0-6721-4860-956e-7228905d8ba3' {
  276. recordfail
  277. load_video
  278. insmod gzio
  279. insmod part_msdos
  280. insmod ext2
  281. set root='hd0,msdos6'
  282. if [ x$feature_platform_search_hint = xy ]; then
  283. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 9de604d0-6721-4860-956e-7228905d8ba3
  284. else
  285. search --no-floppy --fs-uuid --set=root 9de604d0-6721-4860-956e-7228905d8ba3
  286. fi
  287. echo 'Loading Linux 3.13.0-32-generic ...'
  288. linux /boot/vmlinuz-3.13.0-32-generic root=UUID=9de604d0-6721-4860-956e-7228905d8ba3 ro recovery nomodeset
  289. echo 'Loading initial ramdisk ...'
  290. initrd /boot/initrd.img-3.13.0-32-generic
  291. }
  292. }
  293.  
  294. ### END /etc/grub.d/10_linux ###
  295.  
  296. ### BEGIN /etc/grub.d/20_linux_xen ###
  297.  
  298. ### END /etc/grub.d/20_linux_xen ###
  299.  
  300. ### BEGIN /etc/grub.d/20_memtest86+ ###
  301. menuentry 'Memory test (memtest86+)' {
  302. insmod part_msdos
  303. insmod ext2
  304. set root='hd0,msdos6'
  305. if [ x$feature_platform_search_hint = xy ]; then
  306. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 9de604d0-6721-4860-956e-7228905d8ba3
  307. else
  308. search --no-floppy --fs-uuid --set=root 9de604d0-6721-4860-956e-7228905d8ba3
  309. fi
  310. knetbsd /boot/memtest86+.elf
  311. }
  312. menuentry 'Memory test (memtest86+, serial console 115200)' {
  313. insmod part_msdos
  314. insmod ext2
  315. set root='hd0,msdos6'
  316. if [ x$feature_platform_search_hint = xy ]; then
  317. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 9de604d0-6721-4860-956e-7228905d8ba3
  318. else
  319. search --no-floppy --fs-uuid --set=root 9de604d0-6721-4860-956e-7228905d8ba3
  320. fi
  321. linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  322. }
  323. ### END /etc/grub.d/20_memtest86+ ###
  324.  
  325. ### BEGIN /etc/grub.d/30_os-prober ###
  326. menuentry 'Windows 7 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-8A4C0CA24C0C8AE1' {
  327. insmod part_msdos
  328. insmod ntfs
  329. set root='hd0,msdos1'
  330. if [ x$feature_platform_search_hint = xy ]; then
  331. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 8A4C0CA24C0C8AE1
  332. else
  333. search --no-floppy --fs-uuid --set=root 8A4C0CA24C0C8AE1
  334. fi
  335. parttool ${root} hidden-
  336. chainloader +1
  337. }
  338. set timeout_style=menu
  339. if [ "${timeout}" = 0 ]; then
  340. set timeout=10
  341. fi
  342. ### END /etc/grub.d/30_os-prober ###
  343.  
  344. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  345. ### END /etc/grub.d/30_uefi-firmware ###
  346.  
  347. ### BEGIN /etc/grub.d/40_custom ###
  348. # This file provides an easy way to add custom menu entries. Simply type the
  349. # menu entries you want to add after this comment. Be careful not to change
  350. # the 'exec tail' line above.
  351. ### END /etc/grub.d/40_custom ###
  352.  
  353. ### BEGIN /etc/grub.d/41_custom ###
  354. if [ -f ${config_directory}/custom.cfg ]; then
  355. source ${config_directory}/custom.cfg
  356. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  357. source $prefix/custom.cfg;
  358. fi
  359. ### END /etc/grub.d/41_custom ###
  360. --------------------------------------------------------------------------------
  361.  
  362. =============================== sda6/etc/fstab: ================================
  363.  
  364. --------------------------------------------------------------------------------
  365. # /etc/fstab: static file system information.
  366. #
  367. # Use 'blkid' to print the universally unique identifier for a
  368. # device; this may be used with UUID= as a more robust way to name devices
  369. # that works even if disks are added and removed. See fstab(5).
  370. #
  371. # <file system> <mount point> <type> <options> <dump> <pass>
  372. # / was on /dev/sda7 during installation
  373. UUID=9de604d0-6721-4860-956e-7228905d8ba3 / ext4 errors=remount-ro 0 1
  374. # swap was on /dev/sda5 during installation
  375. UUID=b47edfbf-0fec-4890-856f-938a68847ca7 none swap sw 0 0
  376. --------------------------------------------------------------------------------
  377.  
  378. =================== sda6: Location of files loaded by Grub: ====================
  379.  
  380. GiB - GB File Fragment(s)
  381.  
  382.  
  383. =========================== sda7/boot/grub/grub.cfg: ===========================
  384.  
  385. --------------------------------------------------------------------------------
  386. #
  387. # DO NOT EDIT THIS FILE
  388. #
  389. # It is automatically generated by grub-mkconfig using templates
  390. # from /etc/grub.d and settings from /etc/default/grub
  391. #
  392.  
  393. ### BEGIN /etc/grub.d/00_header ###
  394. if [ -s $prefix/grubenv ]; then
  395. set have_grubenv=true
  396. load_env
  397. fi
  398. if [ "${next_entry}" ] ; then
  399. set default="${next_entry}"
  400. set next_entry=
  401. save_env next_entry
  402. set boot_once=true
  403. else
  404. set default="0"
  405. fi
  406.  
  407. if [ x"${feature_menuentry_id}" = xy ]; then
  408. menuentry_id_option="--id"
  409. else
  410. menuentry_id_option=""
  411. fi
  412.  
  413. export menuentry_id_option
  414.  
  415. if [ "${prev_saved_entry}" ]; then
  416. set saved_entry="${prev_saved_entry}"
  417. save_env saved_entry
  418. set prev_saved_entry=
  419. save_env prev_saved_entry
  420. set boot_once=true
  421. fi
  422.  
  423. function savedefault {
  424. if [ -z "${boot_once}" ]; then
  425. saved_entry="${chosen}"
  426. save_env saved_entry
  427. fi
  428. }
  429. function recordfail {
  430. set recordfail=1
  431. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  432. }
  433. function load_video {
  434. if [ x$feature_all_video_module = xy ]; then
  435. insmod all_video
  436. else
  437. insmod efi_gop
  438. insmod efi_uga
  439. insmod ieee1275_fb
  440. insmod vbe
  441. insmod vga
  442. insmod video_bochs
  443. insmod video_cirrus
  444. fi
  445. }
  446.  
  447. if [ x$feature_default_font_path = xy ] ; then
  448. font=unicode
  449. else
  450. insmod part_msdos
  451. insmod ext2
  452. set root='hd0,msdos7'
  453. if [ x$feature_platform_search_hint = xy ]; then
  454. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 264fdf99-71d0-46bb-be22-090771beb770
  455. else
  456. search --no-floppy --fs-uuid --set=root 264fdf99-71d0-46bb-be22-090771beb770
  457. fi
  458. font="/usr/share/grub/unicode.pf2"
  459. fi
  460.  
  461. if loadfont $font ; then
  462. set gfxmode=auto
  463. load_video
  464. insmod gfxterm
  465. set locale_dir=$prefix/locale
  466. set lang=en_US
  467. insmod gettext
  468. fi
  469. terminal_output gfxterm
  470. if [ "${recordfail}" = 1 ] ; then
  471. set timeout=-1
  472. else
  473. if [ x$feature_timeout_style = xy ] ; then
  474. set timeout_style=menu
  475. set timeout=10
  476. # Fallback normal timeout code in case the timeout_style feature is
  477. # unavailable.
  478. else
  479. set timeout=10
  480. fi
  481. fi
  482. ### END /etc/grub.d/00_header ###
  483.  
  484. ### BEGIN /etc/grub.d/05_debian_theme ###
  485. set menu_color_normal=white/black
  486. set menu_color_highlight=black/light-gray
  487. if background_color 44,0,30; then
  488. clear
  489. fi
  490. ### END /etc/grub.d/05_debian_theme ###
  491.  
  492. ### BEGIN /etc/grub.d/10_linux ###
  493. function gfxmode {
  494. set gfxpayload="${1}"
  495. if [ "${1}" = "keep" ]; then
  496. set vt_handoff=vt.handoff=7
  497. else
  498. set vt_handoff=
  499. fi
  500. }
  501. if [ "${recordfail}" != 1 ]; then
  502. if [ -e ${prefix}/gfxblacklist.txt ]; then
  503. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  504. if [ ${match} = 0 ]; then
  505. set linux_gfx_mode=keep
  506. else
  507. set linux_gfx_mode=text
  508. fi
  509. else
  510. set linux_gfx_mode=text
  511. fi
  512. else
  513. set linux_gfx_mode=keep
  514. fi
  515. else
  516. set linux_gfx_mode=text
  517. fi
  518. export linux_gfx_mode
  519. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-264fdf99-71d0-46bb-be22-090771beb770' {
  520. recordfail
  521. load_video
  522. gfxmode $linux_gfx_mode
  523. insmod gzio
  524. insmod part_msdos
  525. insmod ext2
  526. set root='hd0,msdos7'
  527. if [ x$feature_platform_search_hint = xy ]; then
  528. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 264fdf99-71d0-46bb-be22-090771beb770
  529. else
  530. search --no-floppy --fs-uuid --set=root 264fdf99-71d0-46bb-be22-090771beb770
  531. fi
  532. linux /boot/vmlinuz-3.13.0-32-generic root=UUID=264fdf99-71d0-46bb-be22-090771beb770 ro quiet splash $vt_handoff
  533. initrd /boot/initrd.img-3.13.0-32-generic
  534. }
  535. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-264fdf99-71d0-46bb-be22-090771beb770' {
  536. menuentry 'Ubuntu, with Linux 3.13.0-32-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-32-generic-advanced-264fdf99-71d0-46bb-be22-090771beb770' {
  537. recordfail
  538. load_video
  539. gfxmode $linux_gfx_mode
  540. insmod gzio
  541. insmod part_msdos
  542. insmod ext2
  543. set root='hd0,msdos7'
  544. if [ x$feature_platform_search_hint = xy ]; then
  545. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 264fdf99-71d0-46bb-be22-090771beb770
  546. else
  547. search --no-floppy --fs-uuid --set=root 264fdf99-71d0-46bb-be22-090771beb770
  548. fi
  549. echo 'Loading Linux 3.13.0-32-generic ...'
  550. linux /boot/vmlinuz-3.13.0-32-generic root=UUID=264fdf99-71d0-46bb-be22-090771beb770 ro quiet splash $vt_handoff
  551. echo 'Loading initial ramdisk ...'
  552. initrd /boot/initrd.img-3.13.0-32-generic
  553. }
  554. menuentry 'Ubuntu, with Linux 3.13.0-32-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-32-generic-recovery-264fdf99-71d0-46bb-be22-090771beb770' {
  555. recordfail
  556. load_video
  557. insmod gzio
  558. insmod part_msdos
  559. insmod ext2
  560. set root='hd0,msdos7'
  561. if [ x$feature_platform_search_hint = xy ]; then
  562. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 264fdf99-71d0-46bb-be22-090771beb770
  563. else
  564. search --no-floppy --fs-uuid --set=root 264fdf99-71d0-46bb-be22-090771beb770
  565. fi
  566. echo 'Loading Linux 3.13.0-32-generic ...'
  567. linux /boot/vmlinuz-3.13.0-32-generic root=UUID=264fdf99-71d0-46bb-be22-090771beb770 ro recovery nomodeset
  568. echo 'Loading initial ramdisk ...'
  569. initrd /boot/initrd.img-3.13.0-32-generic
  570. }
  571. }
  572.  
  573. ### END /etc/grub.d/10_linux ###
  574.  
  575. ### BEGIN /etc/grub.d/20_linux_xen ###
  576.  
  577. ### END /etc/grub.d/20_linux_xen ###
  578.  
  579. ### BEGIN /etc/grub.d/20_memtest86+ ###
  580. menuentry 'Memory test (memtest86+)' {
  581. insmod part_msdos
  582. insmod ext2
  583. set root='hd0,msdos7'
  584. if [ x$feature_platform_search_hint = xy ]; then
  585. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 264fdf99-71d0-46bb-be22-090771beb770
  586. else
  587. search --no-floppy --fs-uuid --set=root 264fdf99-71d0-46bb-be22-090771beb770
  588. fi
  589. knetbsd /boot/memtest86+.elf
  590. }
  591. menuentry 'Memory test (memtest86+, serial console 115200)' {
  592. insmod part_msdos
  593. insmod ext2
  594. set root='hd0,msdos7'
  595. if [ x$feature_platform_search_hint = xy ]; then
  596. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 264fdf99-71d0-46bb-be22-090771beb770
  597. else
  598. search --no-floppy --fs-uuid --set=root 264fdf99-71d0-46bb-be22-090771beb770
  599. fi
  600. linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  601. }
  602. ### END /etc/grub.d/20_memtest86+ ###
  603.  
  604. ### BEGIN /etc/grub.d/30_os-prober ###
  605. menuentry 'Windows 7 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-8A4C0CA24C0C8AE1' {
  606. insmod part_msdos
  607. insmod ntfs
  608. set root='hd0,msdos1'
  609. if [ x$feature_platform_search_hint = xy ]; then
  610. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 8A4C0CA24C0C8AE1
  611. else
  612. search --no-floppy --fs-uuid --set=root 8A4C0CA24C0C8AE1
  613. fi
  614. parttool ${root} hidden-
  615. chainloader +1
  616. }
  617. menuentry 'Ubuntu 14.04.1 LTS (14.04) (on /dev/sda6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-9de604d0-6721-4860-956e-7228905d8ba3' {
  618. insmod part_msdos
  619. insmod ext2
  620. set root='hd0,msdos6'
  621. if [ x$feature_platform_search_hint = xy ]; then
  622. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 9de604d0-6721-4860-956e-7228905d8ba3
  623. else
  624. search --no-floppy --fs-uuid --set=root 9de604d0-6721-4860-956e-7228905d8ba3
  625. fi
  626. linux /boot/vmlinuz-3.13.0-32-generic root=UUID=9de604d0-6721-4860-956e-7228905d8ba3 ro quiet splash $vt_handoff
  627. initrd /boot/initrd.img-3.13.0-32-generic
  628. }
  629. submenu 'Advanced options for Ubuntu 14.04.1 LTS (14.04) (on /dev/sda6)' $menuentry_id_option 'osprober-gnulinux-advanced-9de604d0-6721-4860-956e-7228905d8ba3' {
  630. menuentry 'Ubuntu (on /dev/sda6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.13.0-32-generic--9de604d0-6721-4860-956e-7228905d8ba3' {
  631. insmod part_msdos
  632. insmod ext2
  633. set root='hd0,msdos6'
  634. if [ x$feature_platform_search_hint = xy ]; then
  635. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 9de604d0-6721-4860-956e-7228905d8ba3
  636. else
  637. search --no-floppy --fs-uuid --set=root 9de604d0-6721-4860-956e-7228905d8ba3
  638. fi
  639. linux /boot/vmlinuz-3.13.0-32-generic root=UUID=9de604d0-6721-4860-956e-7228905d8ba3 ro quiet splash $vt_handoff
  640. initrd /boot/initrd.img-3.13.0-32-generic
  641. }
  642. menuentry 'Ubuntu, with Linux 3.13.0-32-generic (on /dev/sda6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.13.0-32-generic--9de604d0-6721-4860-956e-7228905d8ba3' {
  643. insmod part_msdos
  644. insmod ext2
  645. set root='hd0,msdos6'
  646. if [ x$feature_platform_search_hint = xy ]; then
  647. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 9de604d0-6721-4860-956e-7228905d8ba3
  648. else
  649. search --no-floppy --fs-uuid --set=root 9de604d0-6721-4860-956e-7228905d8ba3
  650. fi
  651. linux /boot/vmlinuz-3.13.0-32-generic root=UUID=9de604d0-6721-4860-956e-7228905d8ba3 ro quiet splash $vt_handoff
  652. initrd /boot/initrd.img-3.13.0-32-generic
  653. }
  654. menuentry 'Ubuntu, with Linux 3.13.0-32-generic (recovery mode) (on /dev/sda6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.13.0-32-generic-root=UUID=9de604d0-6721-4860-956e-7228905d8ba3 ro recovery nomodeset-9de604d0-6721-4860-956e-7228905d8ba3' {
  655. insmod part_msdos
  656. insmod ext2
  657. set root='hd0,msdos6'
  658. if [ x$feature_platform_search_hint = xy ]; then
  659. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 9de604d0-6721-4860-956e-7228905d8ba3
  660. else
  661. search --no-floppy --fs-uuid --set=root 9de604d0-6721-4860-956e-7228905d8ba3
  662. fi
  663. linux /boot/vmlinuz-3.13.0-32-generic root=UUID=9de604d0-6721-4860-956e-7228905d8ba3 ro recovery nomodeset
  664. initrd /boot/initrd.img-3.13.0-32-generic
  665. }
  666. }
  667.  
  668. set timeout_style=menu
  669. if [ "${timeout}" = 0 ]; then
  670. set timeout=10
  671. fi
  672. ### END /etc/grub.d/30_os-prober ###
  673.  
  674. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  675. ### END /etc/grub.d/30_uefi-firmware ###
  676.  
  677. ### BEGIN /etc/grub.d/40_custom ###
  678. # This file provides an easy way to add custom menu entries. Simply type the
  679. # menu entries you want to add after this comment. Be careful not to change
  680. # the 'exec tail' line above.
  681. ### END /etc/grub.d/40_custom ###
  682.  
  683. ### BEGIN /etc/grub.d/41_custom ###
  684. if [ -f ${config_directory}/custom.cfg ]; then
  685. source ${config_directory}/custom.cfg
  686. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  687. source $prefix/custom.cfg;
  688. fi
  689. ### END /etc/grub.d/41_custom ###
  690. --------------------------------------------------------------------------------
  691.  
  692. =============================== sda7/etc/fstab: ================================
  693.  
  694. --------------------------------------------------------------------------------
  695. # /etc/fstab: static file system information.
  696. #
  697. # Use 'blkid' to print the universally unique identifier for a
  698. # device; this may be used with UUID= as a more robust way to name devices
  699. # that works even if disks are added and removed. See fstab(5).
  700. #
  701. # <file system> <mount point> <type> <options> <dump> <pass>
  702. # / was on /dev/sda7 during installation
  703. UUID=264fdf99-71d0-46bb-be22-090771beb770 / ext4 errors=remount-ro 0 1
  704. # swap was on /dev/sda5 during installation
  705. UUID=b47edfbf-0fec-4890-856f-938a68847ca7 none swap sw 0 0
  706. --------------------------------------------------------------------------------
  707.  
  708. =================== sda7: Location of files loaded by Grub: ====================
  709.  
  710. GiB - GB File Fragment(s)
  711.  
  712.  
  713. ========= Devices which don't seem to have a corresponding hard drive: =========
  714.  
  715. sdb sdc sdd sde
  716.  
  717. =============================== StdErr Messages: ===============================
  718.  
  719. cat: /tmp/BootInfo-1TqErCcq/Tmp_Log: No such file or directory
  720. cat: /tmp/BootInfo-1TqErCcq/Tmp_Log: No such file or directory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement