Advertisement
Guest User

Untitled

a guest
Dec 6th, 2016
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. #!/bin/sh
  2. exec tail -n +3 $0
  3. # This file provides an easy way to add custom menu entries. Simply type the
  4. # menu entries you want to add after this comment. Be careful not to change
  5. # the 'exec tail' line above.
  6. submenu "Windows 7" {
  7. regexp -s root '((.+))' "$cmdpath"
  8. chainloader /EFI/Microsoft/Boot/bootmgfw.efi
  9. }
  10.  
  11. NAME FSTYPE LABEL UUID MOUNTPOINT
  12. sda
  13. ├─sda1 ntfs System Reserved 6874CCE474CCB65A
  14. ├─sda2 ntfs 34F0E721F0E6E7D6
  15. ├─sda3 vfat 52FA-B552 /boot/efi
  16. └─sda4 ext4 da2e349a-50aa-4bda-9770-32d431bb0881 /
  17. sdb
  18. ├─sdb1 ntfs My Files F26C58206C57DDC3
  19. ├─sdb2 ntfs Windows Programs 0EBA345BBA34418F
  20. └─sdb3 ext4 a6064200-2841-4f0b-8c69-7fbe41993fd4 /home
  21.  
  22. >>> sudo mount /dev/sda1 /mnt
  23. >>> ls /mnt
  24. Boot bootmgr BOOTSECT.BAK 'System Volume Information'
  25.  
  26. >>> sudo mount /dev/sda2 /mnt
  27. >>> ls /mnt
  28. Boot 'Documents and Settings' Portable 'Program Files (x86)' Users
  29. bootmgr pagefile.sys ProgramData '$Recycle.Bin' Windows
  30. BOOTSECT.BAK PerfLogs 'Program Files' 'System Volume Information'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement