Advertisement
marioq

boot repair???

Oct 11th, 2022
998
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 26.57 KB | None | 0 0
  1. sudo chroot "/mnt/boot-sav/sda6" dpkg --configure -a
  2. sudo chroot "/mnt/boot-sav/sda6" apt-get install -fy
  3. sudo chroot "/mnt/boot-sav/sda6" apt-get purge -y grub*-common shim-signed
  4. #########################################
  5. sudo chroot "/mnt/boot-sav/sda6" apt-get install -y grub-efi
  6.  
  7. #########################################
  8. #########################################
  9. boot-repair-4ppa125                                              [20221011_0827]
  10.  
  11. ============================= Boot Repair Summary ==============================
  12.  
  13.  
  14. mount -t ntfs-3g -o remove_hiberfile /dev/sda3 /mnt/boot-sav/sda3
  15.  
  16. Error code 14
  17. mount -r /dev/sda3 /mnt/boot-sav/sda3
  18.  
  19. mount -t ntfs-3g -o remove_hiberfile /dev/sda4 /mnt/boot-sav/sda4
  20.  
  21. Error code 14
  22. mount -r /dev/sda4 /mnt/boot-sav/sda4
  23.  
  24. mount -t ntfs-3g -o remove_hiberfile /dev/sda3 /mnt/boot-sav/sda3
  25.  
  26. Error code 14
  27. mount -r /dev/sda3 /mnt/boot-sav/sda3
  28.  
  29.  
  30. Default settings: ______________________________________________________________
  31.  
  32. The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of
  33. sda6,
  34. using the following options:        sda1/boot/efi,
  35. Additional repair would be performed: unhide-bootmenu-10s win-legacy-basic-fix use-standard-efi-file  restore-efi-backups  
  36.  
  37. Final advice in case of suggested repair: ______________________________________
  38.  
  39.  
  40. Please do not forget to make your UEFI firmware boot on the Ubuntu 22.04.1 LTS entry (sda1/efi/****/shim****.efi (**** will be updated in the final message) file) !
  41. If your computer reboots directly into Windows, try to change the boot order in your UEFI firmware.
  42.  
  43. If your UEFI firmware does not allow to change the boot order, change the default boot entry of the Windows bootloader.
  44. For example you can boot into Windows, then type the following command in an admin command prompt:
  45. bcdedit /set {bootmgr} path \EFI\****\shim****.efi (**** will be updated in the final message)
  46.  
  47. User settings: _________________________________________________________________
  48.  
  49. Windows is hibernated, refused to mount.
  50. Failed to mount '/dev/sda3': Operazione non permessa
  51. The NTFS partition is in an unsafe state. Please resume and shutdown
  52. Windows fully (no hibernation or fast restarting), or mount the volume
  53. read-only with the 'ro' mount option.
  54. The disk contains an unclean file system (0, 0).
  55. Metadata kept in Windows cache, refused to mount.
  56. Failed to mount '/dev/sda3': Operazione non permessa
  57. The NTFS partition is in an unsafe state. Please resume and shutdown
  58. Windows fully (no hibernation or fast restarting), or mount the volume
  59. read-only with the 'ro' mount option.
  60. The disk contains an unclean file system (0, 0).
  61. Metadata kept in Windows cache, refused to mount.
  62. Failed to mount '/dev/sda4': Operazione non permessa
  63. The NTFS partition is in an unsafe state. Please resume and shutdown
  64. Windows fully (no hibernation or fast restarting), or mount the volume
  65. read-only with the 'ro' mount option.
  66. The disk contains an unclean file system (0, 0).
  67. Metadata kept in Windows cache, refused to mount.
  68. Failed to mount '/dev/sda4': Operazione non permessa
  69. The NTFS partition is in an unsafe state. Please resume and shutdown
  70. Windows fully (no hibernation or fast restarting), or mount the volume
  71. read-only with the 'ro' mount option.
  72. The settings chosen by the user will purge (in order to unsign-grub) and reinstall the grub-efi of
  73. sda6,
  74. using the following options:       set-windows-as-default sda1/boot/efi,
  75. Additional repair will be performed: unhide-bootmenu-3s win-legacy-basic-fix use-standard-efi-file  restore-efi-backups
  76.  
  77.  
  78. /boot/efi added in sda6/fstab
  79. rm /mnt/boot-sav/sda1/efi/Boot/bootx64.efi
  80. mv /mnt/boot-sav/sda1/efi/Boot/bkpbootx64.efi /mnt/boot-sav/sda1/efi/Boot/bootx64.efi
  81. rm /mnt/boot-sav/sda2/efi/Boot/bootx64.efi
  82. mv /mnt/boot-sav/sda2/efi/Boot/bkpbootx64.efi /mnt/boot-sav/sda2/efi/Boot/bootx64.efi
  83. Quantity of real Windows: 1
  84. Mount sda1 on /mnt/boot-sav/sda6/boot/efi
  85. chroot /mnt/boot-sav/sda6 apt-get -y update
  86. Purge the GRUB of sda6
  87. grub-efi available
  88. Lettura elenco dei pacchetti...SET@_progressbar1.pulse()
  89.  
  90. Generazione albero delle dipendenze...SET@_progressbar1.pulse()
  91.  
  92. Lettura informazioni sullo stato...
  93. 0 aggiornati, 0 installati, 1 reinstallati, 0 da rimuovere e 0 non aggiornati.
  94. È necessario scaricare 2.240 B di archivi.
  95. Dopo quest'operazione, verranno occupati 0 B di spazio su disco.
  96. Scaricamento di:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 grub-efi amd64 2.06-2ubuntu7 [2.240 B]
  97. Scaricamento completato e in modalità solo scaricamento
  98. DEBCHECK debOK, grub-efi
  99. DEBCHECK debOK
  100. shim-signed available
  101. Please type: sudo chroot "/mnt/boot-sav/sda6" dpkg --configure -ansudo chroot "/mnt/boot-sav/sda6" apt-get install -fynsudo chroot "/mnt/boot-sav/sda6" apt-get purge -y grub*-common shim-signed
  102. Then type: sudo chroot "/mnt/boot-sav/sda6" apt-get install -y grub-efi
  103.  
  104. Unhide GRUB boot menu in sda6/etc/default/grub
  105.  
  106. ======================== Reinstall the grub-efi of sda6 ========================
  107.  
  108. grub-install --version
  109. grub-install (GRUB) 2.06-2ubuntu7
  110.  
  111. efibootmgr -v from chroot before grub install
  112. BootCurrent: 0003
  113. Timeout: 1 seconds
  114. BootOrder: 0001,0002,0003,0000,0004
  115. Boot0000* UEFI: SanDisk Cruzer Blade 1.26   BBS(17,,0x0)
  116. Boot0001* UEFI: ST500DM002-1BD142   PciRoot(0x0)/Pci(0x1f,0x2)/Sata(0,65535,0)/HD(2,GPT,9e3929dd-1dd4-470e-8eba-1bef105cea53,0x40800,0x32000)
  117. Boot0002* Windows Boot Manager  HD(2,GPT,9e3929dd-1dd4-470e-8eba-1bef105cea53,0x40800,0x32000)/File(EFIMICROSOFTBOOTBOOTMGFW.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
  118. Boot0003* UEFI: SanDisk Cruzer Blade 1.26   PciRoot(0x0)/Pci(0x1a,0x0)/USB(1,0)/USB(4,0)/HD(1,MBR,0x378ae9e3,0x800,0x32000)
  119. Boot0004* UEFI: P1: HL-DT-ST DVDRAM GH70N       BBS(18,,0x0)
  120.  
  121. uname -r
  122. 4.4.0-146-generic
  123.  
  124. grub-install --efi-directory=/boot/efi --target=x86_64-efi --no-uefi-secure-boot
  125. Installing for x86_64-efi platform.
  126. grub-install: warning: EFI variables cannot be set on this system.
  127. grub-install: warning: You will have to complete the GRUB setup manually.
  128. Installation finished. No error reported.
  129. df /dev/sda1
  130. mv /mnt/boot-sav/sda6/boot/efi/EFI/Boot/bootx64.efi /mnt/boot-sav/sda6/boot/efi/EFI/Boot/bkpbootx64.efi
  131. cp /mnt/boot-sav/sda6/boot/efi/EFI/ubuntu/grubx64.efi /mnt/boot-sav/sda6/boot/efi/EFI/Boot/bootx64.efi
  132. df /dev/sda2
  133. mv /mnt/boot-sav/sda2/EFI/Boot/bootx64.efi /mnt/boot-sav/sda2/EFI/Boot/bkpbootx64.efi
  134. cp /mnt/boot-sav/sda6/boot/efi/EFI/ubuntu/grubx64.efi /mnt/boot-sav/sda2/EFI/Boot/bootx64.efi
  135.  
  136. grub-install --efi-directory=/boot/efi --target=x86_64-efi --no-uefi-secure-boot
  137. Installing for x86_64-efi platform.
  138. grub-install: warning: EFI variables cannot be set on this system.
  139. grub-install: warning: You will have to complete the GRUB setup manually.
  140. Installation finished. No error reported.
  141.  
  142. efibootmgr -v from chroot after grub install
  143. BootCurrent: 0003
  144. Timeout: 1 seconds
  145. BootOrder: 0001,0002,0003,0000,0004
  146. Boot0000* UEFI: SanDisk Cruzer Blade 1.26   BBS(17,,0x0)
  147. Boot0001* UEFI: ST500DM002-1BD142   PciRoot(0x0)/Pci(0x1f,0x2)/Sata(0,65535,0)/HD(2,GPT,9e3929dd-1dd4-470e-8eba-1bef105cea53,0x40800,0x32000)
  148. Boot0002* Windows Boot Manager  HD(2,GPT,9e3929dd-1dd4-470e-8eba-1bef105cea53,0x40800,0x32000)/File(EFIMICROSOFTBOOTBOOTMGFW.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
  149. Boot0003* UEFI: SanDisk Cruzer Blade 1.26   PciRoot(0x0)/Pci(0x1a,0x0)/USB(1,0)/USB(4,0)/HD(1,MBR,0x378ae9e3,0x800,0x32000)
  150. Boot0004* UEFI: P1: HL-DT-ST DVDRAM GH70N       BBS(18,,0x0)
  151. Error: NVram is locked (Ubuntu not found in efibootmgr).
  152.  
  153. chroot /mnt/boot-sav/sda6 update-grub
  154. Sourcing file `/etc/default/grub'
  155. Sourcing file `/etc/default/grub.d/init-select.cfg'
  156. Generating grub configuration file ...
  157. Found linux image: /boot/vmlinuz-5.15.0-50-generic
  158. Found initrd image: /boot/initrd.img-5.15.0-50-generic
  159. Found linux image: /boot/vmlinuz-5.15.0-48-generic
  160. Found initrd image: /boot/initrd.img-5.15.0-48-generic
  161. Warning: os-prober will be executed to detect other bootable partitions.
  162. Its output will be used to detect bootable binaries on them and create new boot entries.
  163. Found Windows Boot Manager on /dev/sda2@/efi/Microsoft/Boot/bootmgfw.efi
  164.  
  165. Set menuentry 'Windows Boot Manager (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-efi-2A1B-BE12' { as default entry
  166.  
  167. chroot /mnt/boot-sav/sda6 update-grub
  168. Sourcing file `/etc/default/grub'
  169. Sourcing file `/etc/default/grub.d/init-select.cfg'
  170. Generating grub configuration file ...
  171. Found linux image: /boot/vmlinuz-5.15.0-50-generic
  172. Found initrd image: /boot/initrd.img-5.15.0-50-generic
  173. Found linux image: /boot/vmlinuz-5.15.0-48-generic
  174. Found initrd image: /boot/initrd.img-5.15.0-48-generic
  175. Warning: os-prober will be executed to detect other bootable partitions.
  176. Its output will be used to detect bootable binaries on them and create new boot entries.
  177. Found Windows Boot Manager on /dev/sda2@/efi/Microsoft/Boot/bootmgfw.efi
  178. Windows is hibernated, refused to mount.
  179. Failed to mount '/dev/sda3': Operazione non permessa
  180. The NTFS partition is in an unsafe state. Please resume and shutdown
  181. Windows fully (no hibernation or fast restarting), or mount the volume
  182. read-only with the 'ro' mount option.
  183. The disk contains an unclean file system (0, 0).
  184. Metadata kept in Windows cache, refused to mount.
  185. Failed to mount '/dev/sda3': Operazione non permessa
  186. The NTFS partition is in an unsafe state. Please resume and shutdown
  187. Windows fully (no hibernation or fast restarting), or mount the volume
  188. read-only with the 'ro' mount option.
  189.  
  190. Unhide GRUB boot menu in sda6/boot/grub/grub.cfg
  191.  
  192. Si è verificato un errore durante la riparazione.
  193.  
  194. Locked-NVram rilevato. Disabiliti SecureBoot nel BIOS. Provare nuovamente.
  195.  
  196.  
  197. ============================ Boot Info After Repair ============================
  198.  
  199. => No boot loader is installed in the MBR of /dev/sda.
  200. => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdd.
  201.  
  202. sda1: __________________________________________________________________________
  203.  
  204.    File system:       vfat
  205.    Boot sector type:  FAT32
  206.    Boot sector info:  No errors found in the Boot Parameter Block.
  207.    Operating System:  
  208.    Boot files:        /efi/Boot/bkpbootx64.efi /efi/Boot/bootx64.efi
  209.                       /efi/Boot/fbx64.efi /efi/Boot/grubx64.efi
  210.                       /efi/Boot/mmx64.efi /efi/ubuntu/grubx64.efi
  211.                       /efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi
  212.                       /efi/ubuntu/grub.cfg
  213.  
  214. sda2: __________________________________________________________________________
  215.  
  216.    File system:       vfat
  217.    Boot sector type:  Windows 8/2012: FAT32
  218.    Boot sector info:  No errors found in the Boot Parameter Block.
  219.    Operating System:  
  220.    Boot files:        /efi/Boot/bkpbootx64.efi /efi/Boot/bootx64.efi
  221.                       /efi/Boot/grubx64.efi /efi/ubuntu/grubx64.efi
  222.                       /efi/ubuntu/shimx64.efi
  223.                       /efi/Microsoft/Boot/bootmgfw.efi
  224.                       /efi/Microsoft/Boot/bootmgr.efi
  225.                       /efi/Microsoft/Boot/memtest.efi
  226.                       /efi/OEM/Boot/bootmgfw.efi /efi/OEM/Boot/bootmgr.efi
  227.                       /efi/OEM/Boot/memtest.efi
  228.  
  229. sda3: __________________________________________________________________________
  230.  
  231.    File system:       ntfs
  232.    Boot sector type:  Windows 8/2012: NTFS
  233.    Boot sector info:  No errors found in the Boot Parameter Block.
  234.    Operating System:  Windows 10
  235.    Boot files:        /Windows/System32/winload.exe
  236.  
  237. sda4: __________________________________________________________________________
  238.  
  239.    File system:       ntfs
  240.    Boot sector type:  Windows 8/2012: NTFS
  241.    Boot sector info:  No errors found in the Boot Parameter Block.
  242.    Operating System:  
  243.    Boot files:        
  244.  
  245. sda5: __________________________________________________________________________
  246.  
  247.    File system:       swap
  248.    Boot sector type:  -
  249.    Boot sector info:
  250.  
  251. sda6: __________________________________________________________________________
  252.  
  253.    File system:       ext4
  254.    Boot sector type:  -
  255.    Boot sector info:
  256.    Operating System:  Ubuntu 22.04.1 LTS
  257.    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub
  258.  
  259. sdd1: __________________________________________________________________________
  260.  
  261.    File system:       vfat
  262.    Boot sector type:  SYSLINUX 6.03 20151222............................................@.....2....0............A20 gate n
  263.    Boot sector info:  Syslinux looks at sector 109225 of /dev/sdd1 for its
  264.                       second stage. SYSLINUX is installed in the syslinux
  265.                       directory. No errors found in the Boot Parameter Block.
  266.    Operating System:  
  267.    Boot files:        /boot/grub/grub.cfg /syslinux/syslinux.cfg
  268.                       /efi/BOOT/grubx64.efi /syslinux/ldlinux.sys
  269.  
  270. sdd2: __________________________________________________________________________
  271.  
  272.    File system:       ext2
  273.    Boot sector type:  -
  274.    Boot sector info:
  275.    Operating System:  
  276.    Boot files:        
  277.  
  278.  
  279. ================================ 2 OS detected =================================
  280.  
  281. OS#1:   Ubuntu 22.04.1 LTS on sda6
  282. OS#2:   Windows 10 on sda3
  283.  
  284. ============================ Architecture/Host Info ============================
  285.  
  286. CPU architecture: 64-bit
  287. Live-session OS is Ubuntu 64-bit (Ubuntu 16.04.7 LTS, xenial, x86_64)
  288.  
  289.  
  290. ===================================== UEFI =====================================
  291.  
  292. BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
  293.  
  294. efibootmgr -v
  295. BootCurrent: 0003
  296. Timeout: 1 seconds
  297. BootOrder: 0001,0002,0003,0000,0004
  298. Boot0000* UEFI: SanDisk Cruzer Blade 1.26   BBS(17,,0x0)
  299. Boot0001* UEFI: ST500DM002-1BD142   PciRoot(0x0)/Pci(0x1f,0x2)/Sata(0,65535,0)/HD(2,GPT,9e3929dd-1dd4-470e-8eba-1bef105cea53,0x40800,0x32000)
  300. Boot0002* Windows Boot Manager  HD(2,GPT,9e3929dd-1dd4-470e-8eba-1bef105cea53,0x40800,0x32000)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
  301. Boot0003* UEFI: SanDisk Cruzer Blade 1.26   PciRoot(0x0)/Pci(0x1a,0x0)/USB(1,0)/USB(4,0)/HD(1,MBR,0x4294967267,0x800,0x32000)
  302. Boot0004* UEFI: P1: HL-DT-ST DVDRAM GH70N       BBS(18,,0x0)
  303.  
  304. f06d36ba95d450130f39b545ac58d4d0   sda1/Boot/bootx64.efi
  305. c152ec201c37b6e97bbc2207e49d1271   sda1/Boot/fbx64.efi
  306. 09e7409f299eedb9ddaf8ec32df7f3b6   sda1/Boot/grubx64.efi
  307. fdafb5eece6caeccb788c946a28e6872   sda1/Boot/mmx64.efi
  308. f06d36ba95d450130f39b545ac58d4d0   sda1/ubuntu/grubx64.efi
  309. fdafb5eece6caeccb788c946a28e6872   sda1/ubuntu/mmx64.efi
  310. 728124f6ec8e22fbdbe7034812c81b95   sda1/ubuntu/shimx64.efi
  311. 401b8301fc0b55344e4456e9ccb987b8   sda2/Boot/bootx64.efi
  312. 09e7409f299eedb9ddaf8ec32df7f3b6   sda2/Boot/grubx64.efi
  313. 09e7409f299eedb9ddaf8ec32df7f3b6   sda2/ubuntu/grubx64.efi
  314. 78415fb8fb9b909f8029858113f1335f   sda2/ubuntu/shimx64.efi
  315. 066ab248a71890b23da33e3927946dbb   sda2/Microsoft/Boot/bootmgfw.efi
  316. 6381d67751bc12358de31eb220fd41f5   sda2/Microsoft/Boot/bootmgr.efi
  317. 4273ab7da52754a30c510d1b2ab1b408   sda2/OEM/Boot/bootmgfw.efi
  318. fc01f0e410975fbb2edc87f0baebb35a   sda2/OEM/Boot/bootmgr.efi
  319. ac9a0daf61af21df31b000073aeab084   sdd1/BOOT/grubx64.efi
  320. ded965934506efb38a6dcb9ac5b2b79e   sdd1/BOOT/BOOTx64.efi
  321.  
  322.  
  323. ============================= Drive/Partition Info =============================
  324.  
  325. Disks info: ____________________________________________________________________
  326.  
  327. sda : is-GPT,   no-BIOSboot,    has---ESP,  not-usb,    not-mmc, has-os,    2048 sectors * 512 bytes
  328. sdd : notGPT,   no-BIOSboot,    has---ESP,  liveusb,    not-mmc, no-os, 2048 sectors * 512 bytes
  329.  
  330. Partitions info (1/3): _________________________________________________________
  331.  
  332. sda1    : no-os,    32, nopakmgr,   no-docgrub, nogrub, nogrubinstall,  no-grubenv, noupdategrub,   not-far
  333. sda2    : no-os,    32, nopakmgr,   no-docgrub, nogrub, nogrubinstall,  no-grubenv, noupdategrub,   not-far
  334. sda3    : is-os,    32, nopakmgr,   no-docgrub, nogrub, nogrubinstall,  no-grubenv, noupdategrub,   farbios
  335. sda4    : no-os,    32, nopakmgr,   no-docgrub, nogrub, nogrubinstall,  no-grubenv, noupdategrub,   farbios
  336. sda6    : is-os,    64, apt-get,    signed grub-efi ,   grub2,  grub-install,   grubenv-ok, update-grub,    farbios
  337. sdd1    : no-os,    32, nopakmgr,   no-docgrub, nogrub, nogrubinstall,  no-grubenv, noupdategrub,   not-far
  338.  
  339. Partitions info (2/3): _________________________________________________________
  340.  
  341. sda1    : is---ESP, part-has-no-fstab,  no-nt,  no-winload, no-recov-nor-hid,   no-bmgr,    notwinboot
  342. sda2    : is---ESP, part-has-no-fstab,  no-nt,  no-winload, no-recov-nor-hid,   no-bmgr,    notwinboot
  343. sda3    : isnotESP, part-has-no-fstab,  no-nt,  haswinload, no-recov-nor-hid,   no-bmgr,    notwinboot
  344. sda4    : isnotESP, part-has-no-fstab,  no-nt,  no-winload, recovery-or-hidden, no-bmgr,    notwinboot
  345. sda6    : isnotESP, fstab-has-goodEFI,  no-nt,  no-winload, no-recov-nor-hid,   no-bmgr,    notwinboot
  346. sdd1    : is---ESP, part-has-no-fstab,  no-nt,  no-winload, no-recov-nor-hid,   no-bmgr,    notwinboot
  347.  
  348. Partitions info (3/3): _________________________________________________________
  349.  
  350. sda1    : not-sepboot,  no-boot,    part-has-no-fstab,  not-sep-usr,    no---usr,   part-has-no-fstab,  std-grub.d, sda
  351. sda2    : not-sepboot,  no-boot,    part-has-no-fstab,  not-sep-usr,    no---usr,   part-has-no-fstab,  std-grub.d, sda
  352. sda3    : not-sepboot,  no-boot,    part-has-no-fstab,  not-sep-usr,    no---usr,   part-has-no-fstab,  std-grub.d, sda
  353. sda4    : not-sepboot,  no-boot,    part-has-no-fstab,  not-sep-usr,    no---usr,   part-has-no-fstab,  std-grub.d, sda
  354. sda6    : not-sepboot,  with-boot,  fstab-without-boot, not-sep-usr,    with--usr,  fstab-without-usr,  std-grub.d, sda
  355. sdd1    : not-sepboot,  no-kernel,  part-has-no-fstab,  not-sep-usr,    no---usr,   part-has-no-fstab,  std-grub.d, sdd
  356.  
  357. fdisk -l (filtered): ___________________________________________________________
  358.  
  359. Disk sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
  360. Disk identifier: B92B0BB3-9B57-4328-9354-8E96F48DDC9B
  361.          Start       End   Sectors   Size Type
  362. sda1       2048    264191    262144   128M EFI System
  363. sda2     264192    468991    204800   100M EFI System
  364. sda3     468992 201369599 200900608  95.8G Microsoft basic data
  365. sda4  201369600 202375167   1005568   491M Windows recovery environment
  366. sda5  202375168 221421567  19046400   9.1G Linux filesystem
  367. sda6  221421568 468656127 247234560 117.9G Linux filesystem
  368. Disk sdd: 29.8 GiB, 32015679488 bytes, 62530624 sectors
  369. Disk identifier: 0x378ae9e3
  370.      Boot  Start      End  Sectors  Size Id Type
  371. sdd1  *      2048   206847   204800  100M  c W95 FAT32 (LBA)
  372. sdd2       206848 62530623 62323776 29.7G 83 Linux
  373.  
  374. parted -lm (filtered): _________________________________________________________
  375.  
  376. sda:500GB:scsi:512:4096:gpt:ATA ST500DM002-1BD14:;
  377. 1:1049kB:135MB:134MB:fat32::boot, esp;
  378. 2:135MB:240MB:105MB:fat32::boot, esp;
  379. 3:240MB:103GB:103GB:ntfs::msftdata;
  380. 4:103GB:104GB:515MB:ntfs::hidden, diag;
  381. 5:104GB:113GB:9752MB:linux-swap(v1)::;
  382. 6:113GB:240GB:127GB:ext4::;
  383. sdd:32.0GB:scsi:512:512:msdos:SanDisk Cruzer Blade:;
  384. 1:1049kB:106MB:105MB:fat32::boot, lba;
  385. 2:106MB:32.0GB:31.9GB:ext2::;
  386.  
  387. blkid (filtered): ______________________________________________________________
  388.  
  389. NAME   FSTYPE   UUID                                 PARTUUID                             LABEL   PARTLABEL
  390. sda                                                                                              
  391. ├─sda1 vfat     5DFC-1FC8                            414f016a-c5ad-4776-8df2-9a8047d3a276        
  392. ├─sda2 vfat     2A1B-BE12                            9e3929dd-1dd4-470e-8eba-1bef105cea53 ESP    
  393. ├─sda3 ntfs     BE32B4E332B4A237                     93cd4dee-637e-4285-b491-5f5f52eb478f LAVORO  
  394. ├─sda4 ntfs     FC268BEE268BA7EA                     e9ed3c89-9206-463a-a8d1-18db4f890b0b        
  395. ├─sda5 swap     f4f50a00-2439-4e28-b436-4bfa85aac978 0270af34-b851-4aac-b58e-d6344ed75507 SB@SWAP
  396. └─sda6 ext4     145ea010-a3ab-4033-9937-8f79b8b99a8f 24d0171c-d335-4821-9c7c-8214eafabec9 SB@    
  397. sdd                                                                                              
  398. ├─sdd1 vfat     FBAE-4407                            378ae9e3-01                          SBLIVE  
  399. └─sdd2 ext2     e746a085-9ddb-4aa8-9861-7ed129c00381 378ae9e3-02                          SBROOT  
  400.  
  401. df (filtered): _________________________________________________________________
  402.  
  403.                   Avail Use% Mounted on
  404. sda1              121.9M   3% /mnt/boot-sav/sda1
  405. sda2                 47M  53% /mnt/boot-sav/sda2
  406. sda3               23.7G  75% /mnt/boot-sav/sda3
  407. sda4               53.2M  89% /mnt/boot-sav/sda4
  408. sda6               88.9G  18% /mnt/boot-sav/sda6
  409. sdd1               46.6M  53% /media/PARETO-User/SBLIVE
  410. sdd2               15.5G  42% /cdrom
  411.  
  412. Mount options: __________________________________________________________________
  413.  
  414. sda1              rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
  415. sda2              rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
  416. sda3              ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
  417. sda4              ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
  418. sda6              rw,relatime,stripe=32747,data=ordered
  419. sdd1              rw,nosuid,nodev,relatime,uid=1002,gid=1002,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro
  420. sdd2              ro,noatime,block_validity,barrier,user_xattr,acl
  421.  
  422. ===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================
  423.  
  424. search.fs_uuid 145ea010-a3ab-4033-9937-8f79b8b99a8f root hd0,gpt6
  425. set prefix=($root)'/boot/grub'
  426. configfile $prefix/grub.cfg
  427.  
  428. ====================== sda6/boot/grub/grub.cfg (filtered) ======================
  429.  
  430. Windows Boot Manager (on sda2)   osprober-efi-2A1B-BE12
  431. Ubuntu   145ea010-a3ab-4033-9937-8f79b8b99a8f
  432. Ubuntu, with Linux 5.15.0-50-generic   145ea010-a3ab-4033-9937-8f79b8b99a8f
  433. Ubuntu, with Linux 5.15.0-48-generic   145ea010-a3ab-4033-9937-8f79b8b99a8f
  434. Windows Boot Manager (on sda2)   osprober-efi-2A1B-BE12
  435. ### END /etc/grub.d/30_os-prober ###
  436. ### END /etc/grub.d/30_uefi-firmware ###
  437.  
  438. ========================== sda6/etc/fstab (filtered) ===========================
  439.  
  440. # <file system> <mount point>   <type>  <options>       <dump>  <pass>
  441. UUID=f4f50a00-2439-4e28-b436-4bfa85aac978   none   swap   sw   0   0
  442. UUID=145ea010-a3ab-4033-9937-8f79b8b99a8f   /   ext4   noatime,errors=remount-ro   0   1
  443. UUID=5DFC-1FC8  /boot/efi       vfat    defaults      0       1
  444.  
  445. ======================= sda6/etc/default/grub (filtered) =======================
  446.  
  447. GRUB_DEFAULT="menuentry 'Windows Boot Manager (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-efi-2A1B-BE12' {"
  448. GRUB_TIMEOUT_STYLE=hidden
  449. GRUB_TIMEOUT=3
  450. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  451. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  452. GRUB_CMDLINE_LINUX=""
  453.  
  454. ==================== sda6: Location of files loaded by Grub ====================
  455.  
  456.           GiB - GB             File                                 Fragment(s)
  457. 105.582038879 = 113.367851008  boot/grub/grub.cfg                             1
  458. 122.683589935 = 131.730501632  boot/vmlinuz                                   2
  459. 107.506828308 = 115.434577920  boot/vmlinuz-5.15.0-48-generic                 2
  460. 122.683589935 = 131.730501632  boot/vmlinuz-5.15.0-50-generic                 2
  461. 107.506828308 = 115.434577920  boot/vmlinuz.old                               2
  462. 120.035152435 = 128.886763520  boot/initrd.img                                3
  463. 109.236259460 = 117.291540480  boot/initrd.img-5.15.0-48-generic              3
  464. 120.035152435 = 128.886763520  boot/initrd.img-5.15.0-50-generic              3
  465. 109.236259460 = 117.291540480  boot/initrd.img.old                            3
  466.  
  467. ===================== sda6: ls -l /etc/grub.d/ (filtered) ======================
  468.  
  469. -rwxr-xr-x 1 root root 18683 apr 15 23:50 10_linux
  470. -rwxr-xr-x 1 root root 43031 apr 15 23:50 10_linux_zfs
  471. -rwxr-xr-x 1 root root 14180 apr 15 23:50 20_linux_xen
  472. -rwxr-xr-x 1 root root 13369 apr 15 23:50 30_os-prober
  473. -rwxr-xr-x 1 root root  1372 apr 15 23:50 30_uefi-firmware
  474. -rwxr-xr-x 1 root root   214 apr 15 23:50 40_custom
  475. -rwxr-xr-x 1 root root   215 apr 15 23:50 41_custom
  476.  
  477. ====================== sdd1/boot/grub/grub.cfg (filtered) ======================
  478.  
  479. Boot Live system
  480. Boot system installer
  481. Boot Live in safe graphics mode
  482. Boot Live in debug mode
  483.  
  484. ==================== sdd1/syslinux/syslinux.cfg (filtered) =====================
  485.  
  486. default vesamenu.c32
  487. prompt 0
  488. timeout 100
  489. menu title Systemback Live (paretoxx-03-12-2020)
  490. menu tabmsg Press TAB key to edit
  491. menu background splash.png
  492. label live
  493.  menu label Boot Live system
  494.  kernel /casper/vmlinuz
  495.  append root=LABEL=SBROOT boot=casper initrd=/casper/initrd.gz quiet splash
  496. label install
  497.  menu label Boot system installer
  498.  kernel /casper/vmlinuz
  499.  append root=LABEL=SBROOT boot=casper initrd=/casper/initrd.gz finstall quiet splash
  500. label safe
  501.  menu label Boot Live in safe graphics mode
  502.  kernel /casper/vmlinuz
  503.  append root=LABEL=SBROOT boot=casper initrd=/casper/initrd.gz xforcevesa nomodeset quiet splash
  504. label debug
  505.  menu label Boot Live in debug mode
  506.  kernel /casper/vmlinuz
  507.  append root=LABEL=SBROOT boot=casper initrd=/casper/initrd.gz
  508.  
  509. ==================== sdd1: Location of files loaded by Grub ====================
  510.  
  511.           GiB - GB             File                                 Fragment(s)
  512.            ?? = ??             boot/grub/grub.cfg                             1
  513.  
  514. ================== sdd1: Location of files loaded by Syslinux ==================
  515.  
  516.           GiB - GB             File                                 Fragment(s)
  517.            ?? = ??             syslinux/syslinux.cfg                          1
  518.            ?? = ??             syslinux/ldlinux.sys                           1
  519.            ?? = ??             syslinux/ldlinux.c32                           1
  520.            ?? = ??             syslinux/libcom32.c32                          1
  521.            ?? = ??             syslinux/libutil.c32                           1
  522.            ?? = ??             syslinux/vesamenu.c32                          1
  523.  
  524. =============== sdd1: Version of COM32(R) files used by Syslinux ===============
  525.  
  526. syslinux/ldlinux.c32               :  not a COM32/COM32R module
  527. syslinux/libcom32.c32              :  not a COM32/COM32R module
  528. syslinux/libutil.c32               :  not a COM32/COM32R module
  529. syslinux/vesamenu.c32              :  not a COM32/COM32R module
  530.  
  531.  
  532. ========= Devices which don't seem to have a corresponding hard drive ==========
  533.  
  534. sdb sdc
  535.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement