Advertisement
Guest User

Untitled

a guest
Aug 7th, 2010
892
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.28 KB | None | 0 0
  1. error: out of disk.
  2. grub rescue> ls
  3. (hd0) (hd0,1)
  4. grub rescue> set
  5. prefix=(hd0,1)/boot/grub
  6. root=hd0,1
  7. grub rescue> ls /boot
  8.  
  9.  
  10. error: out of disk.
  11. grub rescue> insmod /boot/grub/linux.mod
  12. error: out of disk.
  13. grub rescue>
  14.  
  15.  
  16. -------------------------------------------
  17. Boot Info Script 0.55 dated February 15th, 2010
  18.  
  19. ============================= Boot Info Summary: ==============================
  20.  
  21. => Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
  22. partition #1 for /boot/grub.
  23.  
  24. sda1: _________________________________________________________________________
  25.  
  26. File system: ext4
  27. Boot sector type: -
  28. Boot sector info:
  29. Operating System: Ubuntu 10.04 LTS
  30. Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
  31.  
  32. sda2: _________________________________________________________________________
  33.  
  34. File system: Extended Partition
  35. Boot sector type: -
  36. Boot sector info:
  37.  
  38. sda5: _________________________________________________________________________
  39.  
  40. File system: swap
  41. Boot sector type: -
  42. Boot sector info:
  43.  
  44. =========================== Drive/Partition Info: =============================
  45.  
  46. Drive: sda ___________________ _____________________________________________________
  47.  
  48. Disk /dev/sda: 250.1 GB, 250059350016 bytes
  49. 255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
  50. Units = sectors of 1 * 512 = 512 bytes
  51. Sector size (logical/physical): 512 bytes / 512 bytes
  52.  
  53. Partition Boot Start End Size Id System
  54.  
  55. /dev/sda1 * 2,048 482,383,871 482,381,824 83 Linux
  56. /dev/sda2 482,385,918 488,396,799 6,010,882 5 Extended
  57. /dev/sda5 482,385,920 488,396,799 6,010,880 82 Linux swap / Solaris
  58.  
  59.  
  60. blkid -c /dev/null: ____________________________________________________________
  61.  
  62. Device UUID TYPE LABEL
  63.  
  64. /dev/loop0 squashfs
  65. /dev/sda1 17ae25ad-f124-496d-b629-21e49d4fb1d9 ext4
  66. /dev/sda2: PTTYPE="dos"
  67. /dev/sda5 4d1fe2d4-c5a6-4e57-a41f-96e4d352dc60 swap
  68. /dev/sda: PTTYPE="dos"
  69.  
  70. ============================ "mount | grep ^/dev output: ===========================
  71.  
  72. Device Mount_Point Type Options
  73.  
  74. aufs / aufs (rw)
  75. /dev/sr0 /cdrom iso9660 (ro,noatime)
  76. /dev/loop0 /rofs squashfs (ro,noatime)
  77.  
  78.  
  79. =========================== sda1/boot/grub/grub.cfg: ===========================
  80.  
  81. #
  82. # DO NOT EDIT THIS FILE
  83. #
  84. # It is automatically generated by /usr/sbin/grub-mkconfig using templates
  85. # from /etc/grub.d and settings from /etc/default/grub
  86. #
  87.  
  88. ### BEGIN /etc/grub.d/00_header ###
  89. if [ -s $prefix/grubenv ]; then
  90. load_env
  91. fi
  92. set default="0"
  93. if [ ${prev_saved_entry} ]; then
  94. set saved_entry=${prev_saved_entry}
  95. save_env saved_entry
  96. set prev_saved_entry=
  97. save_env prev_saved_entry
  98. set boot_once=true
  99. fi
  100.  
  101. function savedefault {
  102. if [ -z ${boot_once} ]; then
  103. saved_entry=${chosen}
  104. save_env saved_entry
  105. fi
  106. }
  107.  
  108. function recordfail {
  109. set recordfail=1
  110. if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
  111. }
  112. insmod ext2
  113. set root='(hd0,1)'
  114. search --no-floppy --fs-uuid --set 17ae25ad-f124-496d-b629-21e49d4fb1d9
  115. if loadfont /usr/share/grub/unicode.pf2 ; then
  116. set gfxmode=640x480
  117. insmod gfxterm
  118. insmod vbe
  119. if terminal_output gfxterm ; then true ; else
  120. # For backward compatibility with versions of terminal.mod that don't
  121. # understand terminal_output
  122. terminal gfxterm
  123. fi
  124. fi
  125. insmod ext2
  126. set root='(hd0,1)'
  127. search --no-floppy --fs-uuid --set 17ae25ad-f124-496d-b629-21e49d4fb1d9
  128. set locale_dir=($root)/boot/grub/locale
  129. set lang=en
  130. insmod gettext
  131. if [ ${recordfail} = 1 ]; then
  132. set timeout=-1
  133. else
  134. set timeout=10
  135. fi
  136. ### END /etc/grub.d/00_header ###
  137.  
  138. ### BEGIN /etc/grub.d/05_debian_theme ###
  139. set menu_color_normal=white/black
  140. set menu_color_highlight=black/light-gray
  141. ### END /etc/grub.d/05_debian_theme ###
  142.  
  143. ### BEGIN /etc/grub.d/10_linux ###
  144. menuentry 'Ubuntu, with Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  145. recordfail
  146. insmod ext2
  147. set root='(hd0,1)'
  148. search --no-floppy --fs-uuid --set 17ae25ad-f124-496d-b629-21e49d4fb1d9
  149. linux /boot/vmlinuz-2.6.32-21-generic root=UUID=17ae25ad-f124-496d-b629-21e49d4fb1d9 ro quiet splash
  150. initrd /boot/initrd.img-2.6.32-21-generic
  151. }
  152. menuentry 'Ubuntu, with Linux 2.6.32-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  153. recordfail
  154. insmod ext2
  155. set root='(hd0,1)'
  156. search --no-floppy --fs-uuid --set 17ae25ad-f124-496d-b629-21e49d4fb1d9
  157. echo 'Loading Linux 2.6.32-21-generic ...'
  158. linux /boot/vmlinuz-2.6.32-21-generic root=UUID=17ae25ad-f124-496d-b629-21e49d4fb1d9 ro single
  159. echo 'Loading initial ramdisk ...'
  160. initrd /boot/initrd.img-2.6.32-21-generic
  161. }
  162. ### END /etc/grub.d/10_linux ###
  163.  
  164. ### BEGIN /etc/grub.d/20_memtest86+ ###
  165. menuentry "Memory test (memtest86+)" {
  166. insmod ext2
  167. set root='(hd0,1)'
  168. search --no-floppy --fs-uuid --set 17ae25ad-f124-496d-b629-21e49d4fb1d9
  169. linux16 /boot/memtest86+.bin
  170. }
  171. menuentry "Memory test (memtest86+, serial console 115200)" {
  172. insmod ext2
  173. set root='(hd0,1)'
  174. search --no-floppy --fs-uuid --set 17ae25ad-f124-496d-b629-21e49d4fb1d9
  175. linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  176. }
  177. ### END /etc/grub.d/20_memtest86+ ###
  178.  
  179. ### BEGIN /etc/grub.d/30_os-prober ###
  180. if [ ${timeout} != -1 ]; then
  181. if keystatus; then
  182. if keystatus --shift; then
  183. set timeout=-1
  184. else
  185. set timeout=0
  186. fi
  187. else
  188. if sleep --interruptible 3 ; then
  189. set timeout=0
  190. fi
  191. fi
  192. fi
  193. ### END /etc/grub.d/30_os-prober ###
  194.  
  195. ### BEGIN /etc/grub.d/40_custom ###
  196. # This file provides an easy way to add custom menu entries. Simply type the
  197. # menu entries you want to add after this comment. Be careful not to change
  198. # the 'exec tail' line above.
  199. ### END /etc/grub.d/40_custom ###
  200.  
  201. =============================== sda1/etc/fstab: ===============================
  202.  
  203. # /etc/fstab: static file system information.
  204. #
  205. # Use 'blkid -o value -s UUID' to print the universally unique identifier
  206. # for a device; this may be used with UUID= as a more robust way to name
  207. # devices that works even if disks are added and removed. See fstab(5).
  208. #
  209. # <file system> <mount point> <type> <options> <dump> <pass>
  210. proc /proc proc nodev,noexec,nosuid 0 0
  211. # / was on /dev/sda1 during installation
  212. UUID=17ae25ad-f124-496d-b629-21e49d4fb1d9 / ext4 errors=remount-ro 0 1
  213. # swap was on /dev/sda5 during installation
  214. UUID=4d1fe2d4-c5a6-4e57-a41f-96e4d352dc60 none swap sw 0 0
  215.  
  216. =================== sda1: Location of files loaded by Grub: ===================
  217.  
  218.  
  219. 159.0GB: boot/grub/core.img
  220. 232.0GB: boot/grub/grub.cfg
  221. 159.0GB: boot/initrd.img-2.6.32-21-generic
  222. 159.0GB: boot/vmlinuz-2.6.32-21-generic
  223. 159.0GB: initrd.img
  224. 159.0GB: vmlinuz
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement