Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.78 KB | None | 0 0
  1. Boot Info Script 0.55 dated February 15th, 2010
  2.  
  3. ============================= Boot Info Summary: ==============================
  4.  
  5. => Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
  6. partition #6 for (,msdos6)/boot/grub.
  7. => Syslinux is installed in the MBR of /dev/sdb
  8.  
  9. sda1: _________________________________________________________________________
  10.  
  11. File system: ntfs
  12. Boot sector type: Windows XP
  13. Boot sector info: No errors found in the Boot Parameter Block.
  14. Operating System: Windows XP
  15. Boot files/dirs: /boot.ini /ntldr /NTDETECT.COM
  16.  
  17. sda2: _________________________________________________________________________
  18.  
  19. File system: Extended Partition
  20. Boot sector type: -
  21. Boot sector info:
  22.  
  23. sda5: _________________________________________________________________________
  24.  
  25. File system: swap
  26. Boot sector type: -
  27. Boot sector info:
  28.  
  29. sda6: _________________________________________________________________________
  30.  
  31. File system: ext4
  32. Boot sector type: -
  33. Boot sector info:
  34. Operating System: Ubuntu 10.10
  35. Boot files/dirs: /boot/grub/menu.lst /boot/grub/grub.cfg /etc/fstab
  36. /boot/grub/core.img
  37.  
  38. sda7: _________________________________________________________________________
  39.  
  40. File system: ext4
  41. Boot sector type: -
  42. Boot sector info:
  43. Operating System:
  44. Boot files/dirs:
  45.  
  46. sdb1: _________________________________________________________________________
  47.  
  48. File system: vfat
  49. Boot sector type: Windows XP: Fat32
  50. Boot sector info: No errors found in the Boot Parameter Block.
  51. Operating System:
  52. Boot files/dirs:
  53.  
  54. =========================== Drive/Partition Info: =============================
  55.  
  56. Drive: sda ___________________ _____________________________________________________
  57.  
  58. Disque /dev/sda: 40.0 Go, 40007761920 octets
  59. 255 têtes, 63 secteurs/piste, 4864 cylindres, total 78140160 secteurs
  60. Unités = secteurs de 1 * 512 = 512 octets
  61. Sector size (logical/physical): 512 bytes / 512 bytes
  62.  
  63. Partition Boot Start End Size Id System
  64.  
  65. /dev/sda1 * 63 20,482,874 20,482,812 7 HPFS/NTFS
  66. /dev/sda2 20,484,094 78,137,343 57,653,250 5 Extended
  67. /dev/sda5 20,484,096 21,458,943 974,848 82 Linux swap / Solaris
  68. /dev/sda6 21,460,992 39,075,839 17,614,848 83 Linux
  69. /dev/sda7 39,077,888 78,137,343 39,059,456 83 Linux
  70.  
  71.  
  72. Drive: sdb ___________________ _____________________________________________________
  73.  
  74. Disque /dev/sdb: 1015 Mo, 1015808000 octets
  75. 32 têtes, 63 secteurs/piste, 984 cylindres, total 1984000 secteurs
  76. Unités = secteurs de 1 * 512 = 512 octets
  77. Sector size (logical/physical): 512 bytes / 512 bytes
  78.  
  79. Partition Boot Start End Size Id System
  80.  
  81. /dev/sdb1 * 249 1,983,743 1,983,495 b W95 FAT32
  82.  
  83.  
  84. blkid -c /dev/null: ____________________________________________________________
  85.  
  86. Device UUID TYPE LABEL
  87.  
  88. /dev/sda1 26CC6F4ACC6F137B ntfs
  89. /dev/sda2: PTTYPE="dos"
  90. /dev/sda5 3c92c08f-1fba-420f-9ba3-a0f6e831fff4 swap
  91. /dev/sda6 68bce2fa-4662-49dd-ad2d-8c5db57842cd ext4
  92. /dev/sda7 23872d81-0e6c-48db-9fa1-7246d9d86b61 ext4
  93. /dev/sda: PTTYPE="dos"
  94. /dev/sdb1 1883-734A vfat
  95. /dev/sdb: PTTYPE="dos"
  96.  
  97. ============================ "mount | grep ^/dev output: ===========================
  98.  
  99. Device Mount_Point Type Options
  100.  
  101. /dev/sda6 / ext4 (rw,errors=remount-ro,commit=0)
  102. /dev/sda7 /home ext4 (rw,commit=0)
  103. /dev/sdb1 /media/1883-734A vfat (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush)
  104.  
  105.  
  106. ================================ sda1/boot.ini: ================================
  107.  
  108. [boot loader]
  109. timeout=30
  110. default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
  111. [operating systems]
  112. multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professionnel" /noexecute=optin /fastdetect
  113.  
  114. =========================== sda6/boot/grub/menu.lst: ===========================
  115.  
  116. # menu.lst - See: grub(8), info grub, update-grub(8)
  117. # grub-install(8), grub-floppy(8),
  118. # grub-md5-crypt, /usr/share/doc/grub
  119. # and /usr/share/doc/grub-legacy-doc/.
  120.  
  121. ## default num
  122. # Set the default entry to the entry number NUM. Numbering starts from 0, and
  123. # the entry number 0 is the default if the command is not used.
  124. #
  125. # You can specify 'saved' instead of a number. In this case, the default entry
  126. # is the entry saved with the command 'savedefault'.
  127. # WARNING: If you are using dmraid do not use 'savedefault' or your
  128. # array will desync and will not let you boot your system.
  129. default 0
  130.  
  131. ## timeout sec
  132. # Set a timeout, in SEC seconds, before automatically booting the default entry
  133. # (normally the first entry defined).
  134. timeout 3
  135.  
  136. ## hiddenmenu
  137. # Hides the menu by default (press ESC to see the menu)
  138. hiddenmenu
  139.  
  140. # Pretty colours
  141. #color cyan/blue white/blue
  142.  
  143. ## password ['--md5'] passwd
  144. # If used in the first section of a menu file, disable all interactive editing
  145. # control (menu entry editor and command-line) and entries protected by the
  146. # command 'lock'
  147. # e.g. password topsecret
  148. # password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
  149. # password topsecret
  150.  
  151. #
  152. # examples
  153. #
  154. # title Windows 95/98/NT/2000
  155. # root (hd0,0)
  156. # makeactive
  157. # chainloader +1
  158. #
  159. # title Linux
  160. # root (hd0,1)
  161. # kernel /vmlinuz root=/dev/hda2 ro
  162. #
  163.  
  164. #
  165. # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
  166.  
  167. ### BEGIN AUTOMAGIC KERNELS LIST
  168. ## lines between the AUTOMAGIC KERNELS LIST markers will be modified
  169. ## by the debian update-grub script except for the default options below
  170.  
  171. ## DO NOT UNCOMMENT THEM, Just edit them to your needs
  172.  
  173. ## ## Start Default Options ##
  174. ## default kernel options
  175. ## default kernel options for automagic boot options
  176. ## If you want special options for specific kernels use kopt_x_y_z
  177. ## where x.y.z is kernel version. Minor versions can be omitted.
  178. ## e.g. kopt=root=/dev/hda1 ro
  179. ## kopt_2_6_8=root=/dev/hdc1 ro
  180. ## kopt_2_6_8_2_686=root=/dev/hdc2 ro
  181. # kopt=root=UUID=68bce2fa-4662-49dd-ad2d-8c5db57842cd ro
  182.  
  183. ## default grub root device
  184. ## e.g. groot=(hd0,0)
  185. # groot=68bce2fa-4662-49dd-ad2d-8c5db57842cd
  186.  
  187. ## should update-grub create alternative automagic boot options
  188. ## e.g. alternative=true
  189. ## alternative=false
  190. # alternative=true
  191.  
  192. ## should update-grub lock alternative automagic boot options
  193. ## e.g. lockalternative=true
  194. ## lockalternative=false
  195. # lockalternative=false
  196.  
  197. ## additional options to use with the default boot option, but not with the
  198. ## alternatives
  199. ## e.g. defoptions=vga=791 resume=/dev/hda5
  200. # defoptions=quiet splash
  201.  
  202. ## should update-grub lock old automagic boot options
  203. ## e.g. lockold=false
  204. ## lockold=true
  205. # lockold=false
  206.  
  207. ## Xen hypervisor options to use with the default Xen boot option
  208. # xenhopt=
  209.  
  210. ## Xen Linux kernel options to use with the default Xen boot option
  211. # xenkopt=console=tty0
  212.  
  213. ## altoption boot targets option
  214. ## multiple altoptions lines are allowed
  215. ## e.g. altoptions=(extra menu suffix) extra boot options
  216. ## altoptions=(recovery) single
  217. # altoptions=(recovery mode) single
  218.  
  219. ## controls how many kernels should be put into the menu.lst
  220. ## only counts the first occurence of a kernel, not the
  221. ## alternative kernel options
  222. ## e.g. howmany=all
  223. ## howmany=7
  224. # howmany=all
  225.  
  226. ## specify if running in Xen domU or have grub detect automatically
  227. ## update-grub will ignore non-xen kernels when running in domU and vice versa
  228. ## e.g. indomU=detect
  229. ## indomU=true
  230. ## indomU=false
  231. # indomU=detect
  232.  
  233. ## should update-grub create memtest86 boot option
  234. ## e.g. memtest86=true
  235. ## memtest86=false
  236. # memtest86=true
  237.  
  238. ## should update-grub adjust the value of the default booted system
  239. ## can be true or false
  240. # updatedefaultentry=false
  241.  
  242. ## should update-grub add savedefault to the default options
  243. ## can be true or false
  244. # savedefault=false
  245.  
  246. ## ## End Default Options ##
  247.  
  248. title Ubuntu 10.10, kernel 2.6.35-22-generic
  249. uuid 68bce2fa-4662-49dd-ad2d-8c5db57842cd
  250. kernel /boot/vmlinuz-2.6.35-22-generic root=UUID=68bce2fa-4662-49dd-ad2d-8c5db57842cd ro quiet splash
  251. initrd /boot/initrd.img-2.6.35-22-generic
  252.  
  253. title Ubuntu 10.10, kernel 2.6.35-22-generic (recovery mode)
  254. uuid 68bce2fa-4662-49dd-ad2d-8c5db57842cd
  255. kernel /boot/vmlinuz-2.6.35-22-generic root=UUID=68bce2fa-4662-49dd-ad2d-8c5db57842cd ro single
  256. initrd /boot/initrd.img-2.6.35-22-generic
  257.  
  258. title Chainload into GRUB 2
  259. root 68bce2fa-4662-49dd-ad2d-8c5db57842cd
  260. kernel /boot/grub/core.img
  261.  
  262. title Ubuntu 10.10, memtest86+
  263. uuid 68bce2fa-4662-49dd-ad2d-8c5db57842cd
  264. kernel /boot/memtest86+.bin
  265.  
  266. ### END DEBIAN AUTOMAGIC KERNELS LIST
  267.  
  268. =========================== sda6/boot/grub/grub.cfg: ===========================
  269.  
  270. #
  271. # DO NOT EDIT THIS FILE
  272. #
  273. # It is automatically generated by grub-mkconfig using templates
  274. # from /etc/grub.d and settings from /etc/default/grub
  275. #
  276.  
  277. ### BEGIN /etc/grub.d/00_header ###
  278. if [ -s $prefix/grubenv ]; then
  279. set have_grubenv=true
  280. load_env
  281. fi
  282. set default="0"
  283. if [ "${prev_saved_entry}" ]; then
  284. set saved_entry="${prev_saved_entry}"
  285. save_env saved_entry
  286. set prev_saved_entry=
  287. save_env prev_saved_entry
  288. set boot_once=true
  289. fi
  290.  
  291. function savedefault {
  292. if [ -z "${boot_once}" ]; then
  293. saved_entry="${chosen}"
  294. save_env saved_entry
  295. fi
  296. }
  297.  
  298. function recordfail {
  299. set recordfail=1
  300. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  301. }
  302.  
  303. function load_video {
  304. insmod vbe
  305. insmod vga
  306. }
  307.  
  308. insmod part_msdos
  309. insmod ext2
  310. set root='(hd0,msdos6)'
  311. search --no-floppy --fs-uuid --set 68bce2fa-4662-49dd-ad2d-8c5db57842cd
  312. if loadfont /usr/share/grub/unicode.pf2 ; then
  313. set gfxmode=640x480
  314. load_video
  315. insmod gfxterm
  316. fi
  317. terminal_output gfxterm
  318. insmod part_msdos
  319. insmod ext2
  320. set root='(hd0,msdos6)'
  321. search --no-floppy --fs-uuid --set 68bce2fa-4662-49dd-ad2d-8c5db57842cd
  322. set locale_dir=($root)/boot/grub/locale
  323. set lang=fr
  324. insmod gettext
  325. if [ "${recordfail}" = 1 ]; then
  326. set timeout=-1
  327. else
  328. set timeout=10
  329. fi
  330. ### END /etc/grub.d/00_header ###
  331.  
  332. ### BEGIN /etc/grub.d/05_debian_theme ###
  333. set menu_color_normal=white/black
  334. set menu_color_highlight=black/light-gray
  335. ### END /etc/grub.d/05_debian_theme ###
  336.  
  337. ### BEGIN /etc/grub.d/10_linux ###
  338. menuentry 'Ubuntu, with Linux 2.6.35-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  339. recordfail
  340. insmod part_msdos
  341. insmod ext2
  342. set root='(hd0,msdos6)'
  343. search --no-floppy --fs-uuid --set 68bce2fa-4662-49dd-ad2d-8c5db57842cd
  344. linux /boot/vmlinuz-2.6.35-22-generic root=UUID=68bce2fa-4662-49dd-ad2d-8c5db57842cd ro quiet splash
  345. initrd /boot/initrd.img-2.6.35-22-generic
  346. }
  347. menuentry 'Ubuntu, with Linux 2.6.35-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  348. recordfail
  349. insmod part_msdos
  350. insmod ext2
  351. set root='(hd0,msdos6)'
  352. search --no-floppy --fs-uuid --set 68bce2fa-4662-49dd-ad2d-8c5db57842cd
  353. echo 'Loading Linux 2.6.35-22-generic ...'
  354. linux /boot/vmlinuz-2.6.35-22-generic root=UUID=68bce2fa-4662-49dd-ad2d-8c5db57842cd ro single
  355. echo 'Loading initial ramdisk ...'
  356. initrd /boot/initrd.img-2.6.35-22-generic
  357. }
  358.  
  359. ### END /etc/grub.d/10_linux ###
  360.  
  361. ### BEGIN /etc/grub.d/20_linux_xen ###
  362. ### END /etc/grub.d/20_linux_xen ###
  363.  
  364. ### BEGIN /etc/grub.d/20_memtest86+ ###
  365. menuentry "Memory test (memtest86+)" {
  366. insmod part_msdos
  367. insmod ext2
  368. set root='(hd0,msdos6)'
  369. search --no-floppy --fs-uuid --set 68bce2fa-4662-49dd-ad2d-8c5db57842cd
  370. linux16 /boot/memtest86+.bin
  371. }
  372.  
  373. menuentry "Memory test (memtest86+, serial console 115200)" {
  374. insmod part_msdos
  375. insmod ext2
  376. set root='(hd0,msdos6)'
  377. search --no-floppy --fs-uuid --set 26CC6F4ACC6F137B
  378. linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  379.  
  380.  
  381. }
  382.  
  383. ### END /etc/grub.d/20_memtest86+ ###
  384.  
  385. ### BEGIN /etc/grub.d/30_os-prober ###
  386. ### END /etc/grub.d/30_os-prober ###
  387.  
  388. ### BEGIN /etc/grub.d/40_custom ###
  389. # This file provides an easy way to add custom menu entries. Simply type the
  390. # menu entries you want to add after this comment. Be careful not to change
  391. # the 'exec tail' line above.
  392. ### END /etc/grub.d/40_custom ###
  393.  
  394. ### BEGIN /etc/grub.d/41_custom ###
  395. if [ -f $prefix/custom.cfg ]; then
  396. source $prefix/custom.cfg;
  397. fi
  398. ### END /etc/grub.d/41_custom ###
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407. =============================== sda6/etc/fstab: ===============================
  408.  
  409. # /etc/fstab: static file system information.
  410. #
  411. # Use 'blkid -o value -s UUID' to print the universally unique identifier
  412. # for a device; this may be used with UUID= as a more robust way to name
  413. # devices that works even if disks are added and removed. See fstab(5).
  414. #
  415. # <file system> <mount point> <type> <options> <dump> <pass>
  416. proc /proc proc nodev,noexec,nosuid 0 0
  417. # / was on /dev/sda6 during installation
  418. UUID=68bce2fa-4662-49dd-ad2d-8c5db57842cd / ext4 errors=remount-ro 0 1
  419. # /home was on /dev/sda7 during installation
  420. UUID=23872d81-0e6c-48db-9fa1-7246d9d86b61 /home ext4 defaults 0 2
  421. # swap was on /dev/sda5 during installation
  422. UUID=3c92c08f-1fba-420f-9ba3-a0f6e831fff4 none swap sw 0 0
  423. #/dev/sda1: LABEL="Windows" UUID="26CC6F4ACC6F137B" TYPE="ntfs"
  424. #/dev/sda1 UUID="26CC6F4ACC6F137B" TYPE="ntfs"
  425.  
  426. =================== sda6: Location of files loaded by Grub: ===================
  427.  
  428.  
  429. 15.5GB: boot/grub/core.img
  430. 15.8GB: boot/grub/grub.cfg
  431. 15.8GB: boot/grub/menu.lst
  432. 12.5GB: boot/initrd.img-2.6.35-22-generic
  433. 15.9GB: boot/vmlinuz-2.6.35-22-generic
  434. 12.5GB: initrd.img
  435. 15.9GB: vmlinuz
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement