Advertisement
Guest User

Untitled

a guest
Apr 3rd, 2011
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.66 KB | None | 0 0
  1. fdisk -l output:
  2. Disk /dev/sda1: 20.0 GB, 20012073984 bytes
  3. 255 heads, 63 sectors/track, 2432 cylinders
  4. Units = cylinders of 16065 * 512 = 8225280 bytes
  5. Sector size (logical/physical): 512 bytes / 512 bytes
  6. I/O size (minimum/optimal): 512 bytes / 512 bytes
  7. Disk identifier: 0x69205244
  8.  
  9. This doesn't look like a partition table
  10. Probably you selected the wrong device.
  11.  
  12. Device Boot Start End Blocks Id System
  13. /dev/sda1p1 ? 13578 119522 850995205 72 Unknown
  14. Partition 1 does not end on cylinder boundary.
  15. /dev/sda1p2 ? 45382 79243 271987362 74 Unknown
  16. Partition 2 does not end on cylinder boundary.
  17. /dev/sda1p3 ? 10499 10499 0 65 Novell Netware 386
  18. Partition 3 does not end on cylinder boundary.
  19. /dev/sda1p4 167628 167631 25817+ 0 Empty
  20. Partition 4 does not end on cylinder boundary.
  21.  
  22.  
  23.  
  24. == grub.cfg ==
  25. #
  26. # DO NOT EDIT THIS FILE
  27. #
  28. # It is automatically generated by grub-mkconfig using templates
  29. # from /etc/grub.d and settings from /etc/default/grub
  30. #
  31.  
  32. ### BEGIN /etc/grub.d/00_header ###
  33. if [ -s $prefix/grubenv ]; then
  34. set have_grubenv=true
  35. load_env
  36. fi
  37. set default="0"
  38. if [ "${prev_saved_entry}" ]; then
  39. set saved_entry="${prev_saved_entry}"
  40. save_env saved_entry
  41. set prev_saved_entry=
  42. save_env prev_saved_entry
  43. set boot_once=true
  44. fi
  45.  
  46. function savedefault {
  47. if [ -z "${boot_once}" ]; then
  48. saved_entry="${chosen}"
  49. save_env saved_entry
  50. fi
  51. }
  52.  
  53. function recordfail {
  54. set recordfail=1
  55. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  56. }
  57.  
  58. function load_video {
  59. }
  60.  
  61. if [ "${recordfail}" = 1 ]; then
  62. set timeout=-1
  63. else
  64. set timeout=10
  65. fi
  66. ### END /etc/grub.d/00_header ###
  67.  
  68. ### BEGIN /etc/grub.d/05_debian_theme ###
  69. set menu_color_normal=white/black
  70. set menu_color_highlight=black/light-gray
  71. ### END /etc/grub.d/05_debian_theme ###
  72.  
  73. ### BEGIN /etc/grub.d/10_linux ###
  74. ### END /etc/grub.d/10_linux ###
  75.  
  76. ### BEGIN /etc/grub.d/10_lupin ###
  77. menuentry "Ubuntu, Linux 2.6.35-22-generic" {
  78. insmod part_msdos
  79. insmod ntfs
  80. set root='(hd0,msdos1)'
  81. search --no-floppy --fs-uuid --set 40209c74209c72a0
  82. loopback loop0 /ubuntu/disks/root.disk
  83. set root=(loop0)
  84. linux /boot/vmlinuz-2.6.35-22-generic root=/dev/sda1 loop=/ubuntu/disks/root.disk ro quiet splash
  85. initrd /boot/initrd.img-2.6.35-22-generic
  86. }
  87. menuentry "Ubuntu, Linux 2.6.35-22-generic (recovery mode)" {
  88. insmod part_msdos
  89. insmod ntfs
  90. set root='(hd0,msdos1)'
  91. search --no-floppy --fs-uuid --set 40209c74209c72a0
  92. loopback loop0 /ubuntu/disks/root.disk
  93. set root=(loop0)
  94. linux /boot/vmlinuz-2.6.35-22-generic root=/dev/sda1 loop=/ubuntu/disks/root.disk ro single
  95. initrd /boot/initrd.img-2.6.35-22-generic
  96. }
  97. ### END /etc/grub.d/10_lupin ###
  98.  
  99. ### BEGIN /etc/grub.d/20_linux_xen ###
  100. ### END /etc/grub.d/20_linux_xen ###
  101.  
  102. ### BEGIN /etc/grub.d/20_memtest86+ ###
  103. ### END /etc/grub.d/20_memtest86+ ###
  104.  
  105. ### BEGIN /etc/grub.d/30_os-prober ###
  106. menuentry "Microsoft Windows XP Professional (on /dev/sda1)" {
  107. insmod part_msdos
  108. insmod ntfs
  109. set root='(hd0,msdos1)'
  110. search --no-floppy --fs-uuid --set 40209c74209c72a0
  111. drivemap -s (hd0) ${root}
  112. chainloader +1
  113. }
  114. ### END /etc/grub.d/30_os-prober ###
  115.  
  116. ### BEGIN /etc/grub.d/40_custom ###
  117. # This file provides an easy way to add custom menu entries. Simply type the
  118. # menu entries you want to add after this comment. Be careful not to change
  119. # the 'exec tail' line above.
  120. ### END /etc/grub.d/40_custom ###
  121.  
  122. ### BEGIN /etc/grub.d/41_custom ###
  123. if [ -f $prefix/custom.cfg ]; then
  124. source $prefix/custom.cfg;
  125. fi
  126. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement