Advertisement
peetaur

grub fail openSUSE 12.2 ext4

Jan 18th, 2013
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.95 KB | None | 0 0
  1. ==> fdisk <==
  2.  
  3. Disk /dev/sda: 25.8 GB, 25769803776 bytes
  4. 255 heads, 63 sectors/track, 3133 cylinders, total 50331648 sectors
  5. Units = sectors of 1 * 512 = 512 bytes
  6. Sector size (logical/physical): 512 bytes / 512 bytes
  7. I/O size (minimum/optimal): 512 bytes / 512 bytes
  8. Disk identifier: 0x000cf406
  9.  
  10. Device Boot Start End Blocks Id System
  11. /dev/sda1 2048 3067903 1532928 82 Linux swap / Solaris
  12. /dev/sda2 * 3067904 50331647 23631872 83 Linux
  13.  
  14. ==> fstab <==
  15. /dev/disk/by-id/ata-VBOX_HARDDISK_VB58db592c-eacb1db2-part1 swap swap defaults 0 0
  16. /dev/disk/by-id/ata-VBOX_HARDDISK_VB58db592c-eacb1db2-part2 / ext4 acl,user_xattr 1 1
  17. proc /proc proc defaults 0 0
  18. sysfs /sys sysfs noauto 0 0
  19. debugfs /sys/kernel/debug debugfs noauto 0 0
  20. usbfs /proc/bus/usb usbfs noauto 0 0
  21. devpts /dev/pts devpts mode=0620,gid=5 0 0
  22.  
  23. ==> grub.cfg <==
  24. #
  25. # DO NOT EDIT THIS FILE
  26. #
  27. # It is automatically generated by grub2-mkconfig using templates
  28. # from /etc/grub.d and settings from /etc/default/grub
  29. #
  30.  
  31. ### BEGIN /etc/grub.d/00_header ###
  32. if [ -s $prefix/grubenv ]; then
  33. load_env
  34. fi
  35. set default="${saved_entry}"
  36.  
  37. if [ x"${feature_menuentry_id}" = xy ]; then
  38. menuentry_id_option="--id"
  39. else
  40. menuentry_id_option=""
  41. fi
  42.  
  43. export menuentry_id_option
  44.  
  45. if [ "${prev_saved_entry}" ]; then
  46. set saved_entry="${prev_saved_entry}"
  47. save_env saved_entry
  48. set prev_saved_entry=
  49. save_env prev_saved_entry
  50. set boot_once=true
  51. fi
  52.  
  53. function savedefault {
  54. if [ -z "${boot_once}" ]; then
  55. saved_entry="${chosen}"
  56. save_env saved_entry
  57. fi
  58. }
  59.  
  60. function load_video {
  61. if [ x$feature_all_video_module = xy ]; then
  62. insmod all_video
  63. else
  64. insmod efi_gop
  65. insmod efi_uga
  66. insmod ieee1275_fb
  67. insmod vbe
  68. insmod vga
  69. insmod video_bochs
  70. insmod video_cirrus
  71. fi
  72. }
  73.  
  74. if [ x$feature_default_font_path = xy ] ; then
  75. font=unicode
  76. else
  77. insmod part_msdos
  78. insmod ext2
  79. set root='hd0,msdos2'
  80. if [ x$feature_platform_search_hint = xy ]; then
  81. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2' 585efe7e-463c-4cb3-acd3-658889572219
  82. else
  83. search --no-floppy --fs-uuid --set=root 585efe7e-463c-4cb3-acd3-658889572219
  84. fi
  85. font="/usr/share/grub2/unicode.pf2"
  86. fi
  87.  
  88. if loadfont $font ; then
  89. set gfxmode=auto
  90. load_video
  91. insmod gfxterm
  92. set locale_dir=$prefix/locale
  93. set lang=en_US
  94. insmod gettext
  95. fi
  96. terminal_output gfxterm
  97. insmod part_msdos
  98. insmod ext2
  99. set root='hd0,msdos2'
  100. if [ x$feature_platform_search_hint = xy ]; then
  101. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2' 585efe7e-463c-4cb3-acd3-658889572219
  102. else
  103. search --no-floppy --fs-uuid --set=root 585efe7e-463c-4cb3-acd3-658889572219
  104. fi
  105. insmod gfxmenu
  106. loadfont ($root)/boot/grub2/themes/openSUSE/ascii.pf2
  107. loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans10.pf2
  108. loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans12.pf2
  109. loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans-Bold14.pf2
  110. insmod png
  111. set theme=($root)/boot/grub2/themes/openSUSE/theme.txt
  112. export theme
  113. if sleep --interruptible 0 ; then
  114. set timeout=8
  115. fi
  116. ### END /etc/grub.d/00_header ###
  117.  
  118. ### BEGIN /etc/grub.d/10_linux ###
  119. menuentry 'openSUSE' --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-585efe7e-463c-4cb3-acd3-658889572219' {
  120. load_video
  121. set gfxpayload=keep
  122. insmod gzio
  123. insmod part_msdos
  124. insmod ext2
  125. set root='hd0,msdos2'
  126. if [ x$feature_platform_search_hint = xy ]; then
  127. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2' 585efe7e-463c-4cb3-acd3-658889572219
  128. else
  129. search --no-floppy --fs-uuid --set=root 585efe7e-463c-4cb3-acd3-658889572219
  130. fi
  131. echo 'Loading Linux 3.4.6-2.10-desktop ...'
  132. linux /boot/vmlinuz-3.4.6-2.10-desktop root=UUID=585efe7e-463c-4cb3-acd3-658889572219 resume=/dev/disk/by-id/ata-VBOX_HARDDISK_VB58db592c-eacb1db2-part1 splash=silent quiet showopts
  133. echo 'Loading initial ramdisk ...'
  134. initrd /boot/initrd-3.4.6-2.10-desktop
  135. }
  136. submenu 'Advanced options for openSUSE' $menuentry_id_option 'gnulinux-advanced-585efe7e-463c-4cb3-acd3-658889572219' {
  137. menuentry 'openSUSE, with Linux 3.4.6-2.10-desktop' --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.4.6-2.10-desktop-advanced-585efe7e-463c-4cb3-acd3-658889572219' {
  138. load_video
  139. set gfxpayload=keep
  140. insmod gzio
  141. insmod part_msdos
  142. insmod ext2
  143. set root='hd0,msdos2'
  144. if [ x$feature_platform_search_hint = xy ]; then
  145. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2' 585efe7e-463c-4cb3-acd3-658889572219
  146. else
  147. search --no-floppy --fs-uuid --set=root 585efe7e-463c-4cb3-acd3-658889572219
  148. fi
  149. echo 'Loading Linux 3.4.6-2.10-desktop ...'
  150. linux /boot/vmlinuz-3.4.6-2.10-desktop root=UUID=585efe7e-463c-4cb3-acd3-658889572219 resume=/dev/disk/by-id/ata-VBOX_HARDDISK_VB58db592c-eacb1db2-part1 splash=silent quiet showopts
  151. echo 'Loading initial ramdisk ...'
  152. initrd /boot/initrd-3.4.6-2.10-desktop
  153. }
  154. menuentry 'openSUSE, with Linux 3.4.6-2.10-desktop (recovery mode)' --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.4.6-2.10-desktop-recovery-585efe7e-463c-4cb3-acd3-658889572219' {
  155. load_video
  156. set gfxpayload=keep
  157. insmod gzio
  158. insmod part_msdos
  159. insmod ext2
  160. set root='hd0,msdos2'
  161. if [ x$feature_platform_search_hint = xy ]; then
  162. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2' 585efe7e-463c-4cb3-acd3-658889572219
  163. else
  164. search --no-floppy --fs-uuid --set=root 585efe7e-463c-4cb3-acd3-658889572219
  165. fi
  166. echo 'Loading Linux 3.4.6-2.10-desktop ...'
  167. linux /boot/vmlinuz-3.4.6-2.10-desktop root=UUID=585efe7e-463c-4cb3-acd3-658889572219 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe
  168. echo 'Loading initial ramdisk ...'
  169. initrd /boot/initrd-3.4.6-2.10-desktop
  170. }
  171. }
  172.  
  173. ### END /etc/grub.d/10_linux ###
  174.  
  175. ### BEGIN /etc/grub.d/20_linux_xen ###
  176. ### END /etc/grub.d/20_linux_xen ###
  177.  
  178. ### BEGIN /etc/grub.d/20_ppc_terminfo ###
  179. ### END /etc/grub.d/20_ppc_terminfo ###
  180.  
  181. ### BEGIN /etc/grub.d/30_os-prober ###
  182. ### END /etc/grub.d/30_os-prober ###
  183.  
  184. ### BEGIN /etc/grub.d/40_custom ###
  185. # This file provides an easy way to add custom menu entries. Simply type the
  186. # menu entries you want to add after this comment. Be careful not to change
  187. # the 'exec tail' line above.
  188. ### END /etc/grub.d/40_custom ###
  189.  
  190. ### BEGIN /etc/grub.d/41_custom ###
  191. if [ -f ${config_directory}/custom.cfg ]; then
  192. source ${config_directory}/custom.cfg
  193. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  194. source $prefix/custom.cfg;
  195. fi
  196. ### END /etc/grub.d/41_custom ###
  197.  
  198. ### BEGIN /etc/grub.d/90_persistent ###
  199. ### END /etc/grub.d/90_persistent ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement