Advertisement
Guest User

Untitled

a guest
Sep 7th, 2012
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.89 KB | None | 0 0
  1. ubuntu@ubuntu:~$ sudo bash '/home/ubuntu/Downloads/bootinfoscript'
  2.  
  3. Boot Info Script 0.61 [1 April 2012]
  4.  
  5.  
  6. "gawk" could not be found, using "busybox awk" instead.
  7. This may lead to unreliable results.
  8.  
  9. Identifying MBRs...
  10. Computing Partition Table of /dev/sda...
  11. Searching sda1 for information...
  12. Searching sda2 for information...
  13. Searching sda3 for information...
  14. Searching sda4 for information...
  15. Searching sda5 for information...
  16. Searching sda6 for information...
  17. Searching sdb for information...
  18.  
  19. Finished. The results are in the file "RESULTS.txt"
  20. located in "/home/ubuntu/Downloads/".
  21.  
  22. ubuntu@ubuntu:~$ sudo fdisk -l
  23.  
  24. Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
  25. 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
  26. Units = sectors of 1 * 512 = 512 bytes
  27. Sector size (logical/physical): 512 bytes / 4096 bytes
  28. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  29. Disk identifier: 0x9971d550
  30.  
  31. Device Boot Start End Blocks Id System
  32. /dev/sda1 * 2048 411647 204800 7 HPFS/NTFS/exFAT
  33. /dev/sda2 411648 1239291903 619440128 7 HPFS/NTFS/exFAT
  34. /dev/sda3 1859149824 1953523711 47186944 7 HPFS/NTFS/exFAT
  35. /dev/sda4 1239293950 1859149823 309927937 5 Extended
  36. Partition 4 does not start on physical sector boundary.
  37. /dev/sda5 1239293952 1842579455 301642752 83 Linux
  38. /dev/sda6 1842581504 1859149823 8284160 82 Linux swap / Solaris
  39.  
  40. Partition table entries are not in disk order
  41.  
  42. Disk /dev/sdb: 7739 MB, 7739768832 bytes
  43. 239 heads, 62 sectors/track, 1020 cylinders, total 15116736 sectors
  44. Units = sectors of 1 * 512 = 512 bytes
  45. Sector size (logical/physical): 512 bytes / 512 bytes
  46. I/O size (minimum/optimal): 512 bytes / 512 bytes
  47. Disk identifier: 0x20ac7dda
  48.  
  49. This doesn't look like a partition table
  50. Probably you selected the wrong device.
  51.  
  52. Device Boot Start End Blocks Id System
  53. /dev/sdb1 ? 3224498923 3657370039 216435558+ 7 HPFS/NTFS/exFAT
  54. /dev/sdb2 ? 3272020941 5225480974 976730017 16 Hidden FAT16
  55. /dev/sdb3 ? 0 0 0 6f Unknown
  56. /dev/sdb4 50200576 974536369 462167897 0 Empty
  57.  
  58. Partition table entries are not in disk order
  59. ubuntu@ubuntu:~$ sudo mount /dev/sda5 /mnt
  60. ubuntu@ubuntu:~$ for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done
  61. ubuntu@ubuntu:~$ sudo chroot /mnt
  62. root@ubuntu:/# grub-install /dev/sda
  63. Installation finished. No error reported.
  64. root@ubuntu:/# grub-install --recheck /dev/sda
  65. Installation finished. No error reported.
  66. root@ubuntu:/# update-grub
  67. Generating grub.cfg ...
  68. Found linux image: /boot/vmlinuz-3.2.0-29-generic
  69. Found initrd image: /boot/initrd.img-3.2.0-29-generic
  70. Found memtest86+ image: /boot/memtest86+.bin
  71. Found Windows 7 (loader) on /dev/sda1
  72. Found Windows 7 (loader) on /dev/sda2
  73. done
  74. root@ubuntu:/#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement