Advertisement
Guest User

Untitled

a guest
Jul 26th, 2014
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.99 KB | None | 0 0
  1. Error: unknown filesystem.
  2. grub rescue>
  3.  
  4. grub rescue>ls (hd0) (hd0,msdos5) (hd0,msdos1)
  5. grub rescue>ls (hd0,msdos5) unknown filesystem
  6. grub rescue>ls (hd0,msdos1) unknown filesystem
  7. grub rescue>ls (hd0) unknown filesystem
  8.  
  9. ls # List the known drives (hdX) and partitions (hdX,Y)
  10. ls (hdX,Y)/ # List the contents of the partition's root
  11. ls (hdX,Y)/boot/grub # Normal location of the Grub 2 modules.
  12. ls (hdX,Y)/usr/lib/grub/i386-pc # Alternate location of the Grub 2 modules.
  13.  
  14. set prefix=(hdX,Y)/<path to modules>
  15.  
  16. set prefix=(hd0,5)/boot/grub
  17. set prefix=(hd1,1)/usr/lib/grub/i386-pc
  18.  
  19. insmod linux
  20. insmod loopback
  21. insmod iso9660
  22. insmod fat # If ISO is located on fat16 or fat32 formatted partition.
  23. insmod ntfs # If ISO is located on an NTFS formatted partition.
  24. insmod nftscomp # If NTFS compression is used on the partition. Load if you aren't sure.
  25.  
  26. loopback loop (hdX,Y)/<path to ISO>/<ISO-name.iso>
  27.  
  28. loopback loop (hd1,1)/path/to/ubuntu-10.04.1-desktop-i386.iso
  29.  
  30. set root=(loop)
  31. linux /casper/vmlinuz boot=casper iso-scan/filename=/<ISO-name.iso> noprompt noeject
  32. initrd /casper/initrd.lz
  33.  
  34. linux /casper/vmlinuz boot=casper iso-scan/filename=/ubuntu-10.04.1-desktop-i386.iso
  35. linux /casper/vmlinuz boot=casper iso-scan/filename=/my-iso/ubuntu-10.04.1-desktop-i386.iso
  36.  
  37. boot
  38.  
  39. /dev/sda1: LABEL="Windows XP" UUID="96A4390DA438F0FB" TYPE="ntfs"
  40. /dev/sda3: LABEL="Ubuntu 11.04" UUID="b61fcae3-7744-45b4-95b9-7528d50a3652" TYPE="ext4"
  41. /dev/sda5: LABEL="Se7en" UUID="A2DC9D71DC9D4109" TYPE="ntfs"
  42. /dev/sda6: LABEL="Development" UUID="DEB455A1B4557CC9" TYPE="ntfs"
  43. /dev/sda7: LABEL="EXTRA" UUID="D8A04109A040F014" TYPE="ntfs"
  44. /dev/sda8: LABEL="SONG" UUID="46080FCD080FBAC7" TYPE="ntfs"
  45. /dev/sda9: LABEL="BACKUPS" UUID="766E-BC99" TYPE="vfat"
  46.  
  47. grub rescue> set prefix=(hd0,6)/boot/grub
  48. grub rescue> insmod normal
  49. grub rescue> normal
  50.  
  51. sudo grub-install --root-directory=/mnt --boot-directory=/mnt/boot /dev/sda
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement