Advertisement
Guest User

boot info

a guest
Dec 24th, 2011
1,101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.31 KB | None | 0 0
  1. Boot Info Script 0.60 from 17 May 2011
  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. for on this drive.
  9. => Syslinux MBR (3.61-4.03) is installed in the MBR of /dev/sdb.
  10.  
  11. sda1: __________________________________________________________________________
  12.  
  13. File system: ext4
  14. Boot sector type: -
  15. Boot sector info:
  16. Operating System: Ubuntu 11.10
  17. Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
  18.  
  19. sda2: __________________________________________________________________________
  20.  
  21. File system: Extended Partition
  22. Boot sector type: -
  23. Boot sector info:
  24.  
  25. sda5: __________________________________________________________________________
  26.  
  27. File system: swap
  28. Boot sector type: -
  29. Boot sector info:
  30.  
  31. sdb1: __________________________________________________________________________
  32.  
  33. File system: vfat
  34. Boot sector type: SYSLINUX 4.01 debian-20100714 ...........>...r>........x"....0...~.k...~...f...M.f.f....f..8~....>2}
  35. Boot sector info: Syslinux looks at sector 1467968 of /dev/sdb1 for its
  36. second stage. SYSLINUX is installed in the directory.
  37. The integrity check of the ADV area failed. According
  38. to the info in the boot sector, sdb1 starts at sector
  39. 0. But according to the info from fdisk, sdb1 starts
  40. at sector 63.
  41. Operating System:
  42. Boot files: /syslinux.cfg /ldlinux.sys
  43.  
  44. ============================ Drive/Partition Info: =============================
  45.  
  46. Drive: sda _____________________________________________________________________
  47.  
  48. Disk /dev/sda: 320.1 GB, 320072933376 bytes
  49. 255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
  50. Units = sectors of 1 * 512 = 512 bytes
  51. Sector size (logical/physical): 512 bytes / 512 bytes
  52.  
  53. Partition Boot Start Sector End Sector # of Sectors Id System
  54.  
  55. /dev/sda1 * 2,048 616,759,295 616,757,248 83 Linux
  56. /dev/sda2 616,761,342 625,141,759 8,380,418 5 Extended
  57. /dev/sda5 616,761,344 625,141,759 8,380,416 82 Linux swap / Solaris
  58.  
  59.  
  60. Drive: sdb _____________________________________________________________________
  61.  
  62. Disk /dev/sdb: 2063 MB, 2063597568 bytes
  63. 255 heads, 63 sectors/track, 250 cylinders, total 4030464 sectors
  64. Units = sectors of 1 * 512 = 512 bytes
  65. Sector size (logical/physical): 512 bytes / 512 bytes
  66.  
  67. Partition Boot Start Sector End Sector # of Sectors Id System
  68.  
  69. /dev/sdb1 * 63 4,030,424 4,030,362 b W95 FAT32
  70.  
  71.  
  72. "blkid" output: ________________________________________________________________
  73.  
  74. Device UUID TYPE LABEL
  75.  
  76. /dev/loop0 squashfs
  77. /dev/sda1 03fe9ec3-7b35-4b4a-99b1-b14c7a96f402 ext4
  78. /dev/sda5 2daa13be-d52d-4424-baee-a738b54fb96a swap
  79. /dev/sdb1 EDEB-D5B4 vfat kingston
  80.  
  81. ================================ Mount points: =================================
  82.  
  83. Device Mount_Point Type Options
  84.  
  85. /dev/loop0 /rofs squashfs (ro,noatime)
  86. /dev/sda1 /media/03fe9ec3-7b35-4b4a-99b1-b14c7a96f402 ext4 (rw,nosuid,nodev,uhelper=udisks)
  87. /dev/sdb1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  88.  
  89.  
  90. =========================== sda1/boot/grub/grub.cfg: ===========================
  91.  
  92. --------------------------------------------------------------------------------
  93. #
  94. # DO NOT EDIT THIS FILE
  95. #
  96. # It is automatically generated by grub-mkconfig using templates
  97. # from /etc/grub.d and settings from /etc/default/grub
  98. #
  99.  
  100. ### BEGIN /etc/grub.d/00_header ###
  101. if [ -s $prefix/grubenv ]; then
  102. set have_grubenv=true
  103. load_env
  104. fi
  105. set default="0"
  106. if [ "${prev_saved_entry}" ]; then
  107. set saved_entry="${prev_saved_entry}"
  108. save_env saved_entry
  109. set prev_saved_entry=
  110. save_env prev_saved_entry
  111. set boot_once=true
  112. fi
  113.  
  114. function savedefault {
  115. if [ -z "${boot_once}" ]; then
  116. saved_entry="${chosen}"
  117. save_env saved_entry
  118. fi
  119. }
  120.  
  121. function recordfail {
  122. set recordfail=1
  123. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  124. }
  125.  
  126. function load_video {
  127. insmod vbe
  128. insmod vga
  129. insmod video_bochs
  130. insmod video_cirrus
  131. }
  132.  
  133. insmod part_msdos
  134. insmod ext2
  135. set root='(hd0,msdos1)'
  136. search --no-floppy --fs-uuid --set=root 03fe9ec3-7b35-4b4a-99b1-b14c7a96f402
  137. if loadfont /usr/share/grub/unicode.pf2 ; then
  138. set gfxmode=auto
  139. load_video
  140. insmod gfxterm
  141. insmod part_msdos
  142. insmod ext2
  143. set root='(hd0,msdos1)'
  144. search --no-floppy --fs-uuid --set=root 03fe9ec3-7b35-4b4a-99b1-b14c7a96f402
  145. set locale_dir=($root)/boot/grub/locale
  146. set lang=en_US
  147. insmod gettext
  148. fi
  149. terminal_output gfxterm
  150. if [ "${recordfail}" = 1 ]; then
  151. set timeout=10
  152. else
  153. set timeout=10
  154. fi
  155. ### END /etc/grub.d/00_header ###
  156.  
  157. ### BEGIN /etc/grub.d/05_debian_theme ###
  158. set menu_color_normal=white/black
  159. set menu_color_highlight=black/light-gray
  160. if background_color 44,0,30; then
  161. clear
  162. fi
  163. ### END /etc/grub.d/05_debian_theme ###
  164.  
  165. ### BEGIN /etc/grub.d/10_linux ###
  166. if [ ${recordfail} != 1 ]; then
  167. if [ -e ${prefix}/gfxblacklist.txt ]; then
  168. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  169. if [ ${match} = 0 ]; then
  170. set linux_gfx_mode=keep
  171. else
  172. set linux_gfx_mode=text
  173. fi
  174. else
  175. set linux_gfx_mode=text
  176. fi
  177. else
  178. set linux_gfx_mode=keep
  179. fi
  180. else
  181. set linux_gfx_mode=text
  182. fi
  183. export linux_gfx_mode
  184. if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
  185. menuentry 'Ubuntu, with Linux 3.0.0-14-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
  186. recordfail
  187. set gfxpayload=$linux_gfx_mode
  188. insmod gzio
  189. insmod part_msdos
  190. insmod ext2
  191. set root='(hd0,msdos1)'
  192. search --no-floppy --fs-uuid --set=root 03fe9ec3-7b35-4b4a-99b1-b14c7a96f402
  193. linux /boot/vmlinuz-3.0.0-14-generic-pae root=UUID=03fe9ec3-7b35-4b4a-99b1-b14c7a96f402 ro quiet splash acpi=off vt.handoff=7
  194. initrd /boot/initrd.img-3.0.0-14-generic-pae
  195. }
  196. menuentry 'Ubuntu, with Linux 3.0.0-14-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  197. recordfail
  198. insmod gzio
  199. insmod part_msdos
  200. insmod ext2
  201. set root='(hd0,msdos1)'
  202. search --no-floppy --fs-uuid --set=root 03fe9ec3-7b35-4b4a-99b1-b14c7a96f402
  203. echo 'Loading Linux 3.0.0-14-generic-pae ...'
  204. linux /boot/vmlinuz-3.0.0-14-generic-pae root=UUID=03fe9ec3-7b35-4b4a-99b1-b14c7a96f402 ro recovery nomodeset
  205. echo 'Loading initial ramdisk ...'
  206. initrd /boot/initrd.img-3.0.0-14-generic-pae
  207. }
  208. submenu "Previous Linux versions" {
  209. menuentry 'Ubuntu, with Linux 3.0.0-12-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  210. recordfail
  211. set gfxpayload=$linux_gfx_mode
  212. insmod gzio
  213. insmod part_msdos
  214. insmod ext2
  215. set root='(hd0,msdos1)'
  216. search --no-floppy --fs-uuid --set=root 03fe9ec3-7b35-4b4a-99b1-b14c7a96f402
  217. linux /boot/vmlinuz-3.0.0-12-generic root=UUID=03fe9ec3-7b35-4b4a-99b1-b14c7a96f402 ro quiet splash acpi=off vt.handoff=7
  218. initrd /boot/initrd.img-3.0.0-12-generic
  219. }
  220. menuentry 'Ubuntu, with Linux 3.0.0-12-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  221. recordfail
  222. insmod gzio
  223. insmod part_msdos
  224. insmod ext2
  225. set root='(hd0,msdos1)'
  226. search --no-floppy --fs-uuid --set=root 03fe9ec3-7b35-4b4a-99b1-b14c7a96f402
  227. echo 'Loading Linux 3.0.0-12-generic ...'
  228. linux /boot/vmlinuz-3.0.0-12-generic root=UUID=03fe9ec3-7b35-4b4a-99b1-b14c7a96f402 ro recovery nomodeset
  229. echo 'Loading initial ramdisk ...'
  230. initrd /boot/initrd.img-3.0.0-12-generic
  231. }
  232. }
  233. ### END /etc/grub.d/10_linux ###
  234.  
  235. ### BEGIN /etc/grub.d/20_linux_xen ###
  236. ### END /etc/grub.d/20_linux_xen ###
  237.  
  238. ### BEGIN /etc/grub.d/20_memtest86+ ###
  239. menuentry "Memory test (memtest86+)" {
  240. insmod part_msdos
  241. insmod ext2
  242. set root='(hd0,msdos1)'
  243. search --no-floppy --fs-uuid --set=root 03fe9ec3-7b35-4b4a-99b1-b14c7a96f402
  244. linux16 /boot/memtest86+.bin
  245. }
  246. menuentry "Memory test (memtest86+, serial console 115200)" {
  247. insmod part_msdos
  248. insmod ext2
  249. set root='(hd0,msdos1)'
  250. search --no-floppy --fs-uuid --set=root 03fe9ec3-7b35-4b4a-99b1-b14c7a96f402
  251. linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  252. }
  253. ### END /etc/grub.d/20_memtest86+ ###
  254.  
  255. ### BEGIN /etc/grub.d/30_os-prober ###
  256. ### END /etc/grub.d/30_os-prober ###
  257.  
  258. ### BEGIN /etc/grub.d/40_custom ###
  259. # This file provides an easy way to add custom menu entries. Simply type the
  260. # menu entries you want to add after this comment. Be careful not to change
  261. # the 'exec tail' line above.
  262. ### END /etc/grub.d/40_custom ###
  263.  
  264. ### BEGIN /etc/grub.d/41_custom ###
  265. if [ -f $prefix/custom.cfg ]; then
  266. source $prefix/custom.cfg;
  267. fi
  268. ### END /etc/grub.d/41_custom ###
  269. --------------------------------------------------------------------------------
  270.  
  271. =============================== sda1/etc/fstab: ================================
  272.  
  273. --------------------------------------------------------------------------------
  274. # /etc/fstab: static file system information.
  275. #
  276. # Use 'blkid' to print the universally unique identifier for a
  277. # device; this may be used with UUID= as a more robust way to name devices
  278. # that works even if disks are added and removed. See fstab(5).
  279. #
  280. # <file system> <mount point> <type> <options> <dump> <pass>
  281. proc /proc proc nodev,noexec,nosuid 0 0
  282. # / was on /dev/sda1 during installation
  283. UUID=03fe9ec3-7b35-4b4a-99b1-b14c7a96f402 / ext4 errors=remount-ro 0 1
  284. # swap was on /dev/sda5 during installation
  285. UUID=2daa13be-d52d-4424-baee-a738b54fb96a none swap sw 0 0
  286. --------------------------------------------------------------------------------
  287.  
  288. =================== sda1: Location of files loaded by Grub: ====================
  289.  
  290. GiB - GB File Fragment(s)
  291.  
  292. = boot/grub/core.img 1
  293. = boot/grub/grub.cfg 1
  294. = boot/initrd.img-3.0.0-12-generic 2
  295. = boot/initrd.img-3.0.0-14-generic-pae 2
  296. = boot/vmlinuz-3.0.0-12-generic 1
  297. = boot/vmlinuz-3.0.0-14-generic-pae 1
  298. = initrd.img 2
  299. = vmlinuz 1
  300.  
  301. ============================== sdb1/syslinux.cfg: ==============================
  302.  
  303. --------------------------------------------------------------------------------
  304. default menu.c32
  305. prompt 0
  306. menu title UNetbootin
  307. timeout 100
  308.  
  309. label unetbootindefault
  310. menu label Default
  311. kernel /ubnkern
  312. append initrd=/ubninit file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --
  313.  
  314. label ubnentry0
  315. menu label ^Help
  316. kernel /ubnkern
  317. append initrd=/ubninit
  318.  
  319. label ubnentry1
  320. menu label ^Try Ubuntu without installing
  321. kernel /casper/vmlinuz
  322. append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --
  323.  
  324. label ubnentry2
  325. menu label ^Install Ubuntu
  326. kernel /casper/vmlinuz
  327. append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash --
  328.  
  329. label ubnentry3
  330. menu label ^Check disc for defects
  331. kernel /casper/vmlinuz
  332. append initrd=/casper/initrd.lz boot=casper integrity-check quiet splash --
  333.  
  334. label ubnentry4
  335. menu label Test ^memory
  336. kernel /install/mt86plus
  337. append initrd=/ubninit
  338.  
  339. label ubnentry5
  340. menu label ^Boot from first hard disk
  341. kernel /ubnkern
  342. append initrd=/ubninit
  343.  
  344. --------------------------------------------------------------------------------
  345.  
  346. ================= sdb1: Location of files loaded by Syslinux: ==================
  347.  
  348. GiB - GB File Fragment(s)
  349.  
  350. ?? = ?? ldlinux.sys 1
  351. ?? = ?? menu.c32 1
  352. ?? = ?? syslinux.cfg 1
  353.  
  354. ============== sdb1: Version of COM32(R) files used by Syslinux: ===============
  355.  
  356. menu.c32 : COM32R module (v4.xx)
  357.  
  358. =============================== StdErr Messages: ===============================
  359.  
  360. unlzma: Decoder error
  361. awk: cmd. line:36: Math support is not compiled in
  362. awk: cmd. line:36: Math support is not compiled in
  363. awk: cmd. line:36: Math support is not compiled in
  364. awk: cmd. line:36: Math support is not compiled in
  365. awk: cmd. line:36: Math support is not compiled in
  366. awk: cmd. line:36: Math support is not compiled in
  367. awk: cmd. line:36: Math support is not compiled in
  368. awk: cmd. line:36: Math support is not compiled in
  369. /home/ubuntu/Desktop/boot_info_script.sh: line 1579: [: 2.73495e+09: integer expression expected
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement