daily pastebin goal
53%
SHARE
TWEET

Untitled

a guest Jan 5th, 2012 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ubuntu@ubuntu:~$ sudo fdisk -l
  2.  
  3. Disk /dev/sda: 122.9 GB, 122942324736 bytes
  4. 16 heads, 63 sectors/track, 238216 cylinders, total 240121728 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: 0xf96df96d
  9.  
  10.    Device Boot      Start         End      Blocks   Id  System
  11. /dev/sda1            1071   197508991    98753960+   7  HPFS/NTFS/exFAT
  12. /dev/sda3       197509118   240119807    21305345    5  Extended
  13. /dev/sda5       234620928   240119807     2749440   82  Linux swap / Solaris
  14. /dev/sda6       230430720   234620927     2095104   82  Linux swap / Solaris
  15. /dev/sda7       197509120   226238463    14364672   83  Linux
  16. /dev/sda8       226240512   230428671     2094080   82  Linux swap / Solaris
  17.  
  18. Partition table entries are not in disk order
  19.  
  20. Disk /dev/sdb: 4041 MB, 4041211904 bytes
  21. 128 heads, 63 sectors/track, 978 cylinders, total 7892992 sectors
  22. Units = sectors of 1 * 512 = 512 bytes
  23. Sector size (logical/physical): 512 bytes / 512 bytes
  24. I/O size (minimum/optimal): 512 bytes / 512 bytes
  25. Disk identifier: 0x04dd5721
  26.  
  27.    Device Boot      Start         End      Blocks   Id  System
  28. /dev/sdb1   *          63     7892991     3946464+   b  W95 FAT32
  29. ubuntu@ubuntu:~$ sudo mount /dev/sda7 /mnt
  30. ubuntu@ubuntu:~$ for i in /dev /dev/pts /proc /sys; do sudo mount -B $i /mnt$i; done
  31. ubuntu@ubuntu:~$ sudo chroot /mnt/
  32. root@ubuntu:/# update-grub
  33. Generating grub.cfg ...
  34. Found linux image: /boot/vmlinuz-3.0.0-12-generic
  35. Found initrd image: /boot/initrd.img-3.0.0-12-generic
  36. Found memtest86+ image: /boot/memtest86+.bin
  37. done
  38. root@ubuntu:/# grub-install /dev/sda7
  39. /usr/sbin/grub-setup: warn: Attempting to install GRUB to a partitionless disk or to a partition.  This is a BAD idea..
  40. /usr/sbin/grub-setup: warn: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and their use is discouraged..
  41. /usr/sbin/grub-setup: error: will not proceed with blocklists.
  42. root@ubuntu:/# grub-install /dev/sda
  43. /usr/sbin/grub-setup: warn: Sector 32 is already in use by FlexNet; avoiding it.  This software may cause boot or other problems in future.  Please ask its authors not to store data in the boot track.
  44. Installation finished. No error reported.
  45. root@ubuntu:/# grub-install --recheck /dev/sda
  46. sda   sda1  sda3  sda5  sda6  sda7  sda8  
  47. root@ubuntu:/# grub-install --recheck /dev/sda
  48. sda   sda1  sda3  sda5  sda6  sda7  sda8  
  49. root@ubuntu:/# grub-install --recheck /dev/sda
  50. /usr/sbin/grub-setup: warn: Sector 32 is already in use by FlexNet; avoiding it.  This software may cause boot or other problems in future.  Please ask its authors not to store data in the boot track.
  51. Installation finished. No error reported.
  52. root@ubuntu:/# exit
  53. ubuntu@ubuntu:~$ for i in /sys /proc /dev/pts /dev; do sudo umount /mnt$i; done
  54. ubuntu@ubuntu:~$ sudo umount /mnt
  55. ubuntu@ubuntu:~$
RAW Paste Data
Pastebin PRO WINTER Special!
Get 40% OFF Pastebin PRO accounts!
Top