<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://teherba.org/tehowiki/index.php?action=history&amp;feed=atom&amp;title=Talk%3ATips_and_Tricks</id>
	<title>Talk:Tips and Tricks - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://teherba.org/tehowiki/index.php?action=history&amp;feed=atom&amp;title=Talk%3ATips_and_Tricks"/>
	<link rel="alternate" type="text/html" href="http://teherba.org/tehowiki/index.php?title=Talk:Tips_and_Tricks&amp;action=history"/>
	<updated>2026-05-18T06:44:42Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>http://teherba.org/tehowiki/index.php?title=Talk:Tips_and_Tricks&amp;diff=731&amp;oldid=prev</id>
		<title>imported&gt;Gfis: boot-repair 20121/10/14 15&gt;23</title>
		<link rel="alternate" type="text/html" href="http://teherba.org/tehowiki/index.php?title=Talk:Tips_and_Tricks&amp;diff=731&amp;oldid=prev"/>
		<updated>2021-10-14T13:24:12Z</updated>

		<summary type="html">&lt;p&gt;boot-repair 20121/10/14 15&amp;gt;23&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;boot-repair-4ppa130                                              [20211014_1318]&lt;br /&gt;
&lt;br /&gt;
============================= Boot Repair Summary ==============================&lt;br /&gt;
&lt;br /&gt;
User choice:&lt;br /&gt;
&lt;br /&gt;
Is sdd (ATA Samsung SSD 860) a removable disk? no&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Default settings: ______________________________________________________________&lt;br /&gt;
&lt;br /&gt;
The default repair of the Boot-Repair utility would reinstall the grub2 of&lt;br /&gt;
sdd1 into the MBRs of all disks (except live-disks and removable disks without OS).&lt;br /&gt;
Additional repair would be performed: unhide-bootmenu-10s      &lt;br /&gt;
&lt;br /&gt;
Final advice in case of suggested repair: ______________________________________&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please do not forget to make your BIOS boot on sdd (ATA Samsung SSD 860) disk!&lt;br /&gt;
&lt;br /&gt;
User settings: _________________________________________________________________&lt;br /&gt;
&lt;br /&gt;
Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0 has been opened read-only.&lt;br /&gt;
The settings chosen by the user will restore the [(generic mbr)] MBR in sdd, and make it boot on sdd1.&lt;br /&gt;
Additional repair will be performed: unhide-bootmenu-10s&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
============================== Restore MBR of sdd ==============================&lt;br /&gt;
&lt;br /&gt;
dd if=/usr/lib/syslinux/mbr/mbr.bin of=/dev/sdd&lt;br /&gt;
&lt;br /&gt;
Boot successfully repaired.&lt;br /&gt;
&lt;br /&gt;
You can now reboot your computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
============================ Boot Info After Repair ============================&lt;br /&gt;
&lt;br /&gt;
 =&amp;gt; Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdd.&lt;br /&gt;
 =&amp;gt; Grub2 (v2.00) is installed in the MBR of /dev/sde and looks at sector 1 of &lt;br /&gt;
    the same hard drive for core.img. core.img is at this location and looks &lt;br /&gt;
    for /boot/grub. It also embeds following components:&lt;br /&gt;
    &lt;br /&gt;
    modules&lt;br /&gt;
    ---------------------------------------------------------------------------&lt;br /&gt;
    fshelp ext2 part_msdos biosdisk search_fs_uuid&lt;br /&gt;
    ---------------------------------------------------------------------------&lt;br /&gt;
    &lt;br /&gt;
    config script&lt;br /&gt;
    ---------------------------------------------------------------------------&lt;br /&gt;
    search.fs_uuid 206a8a35-32ea-44f1-bd10-6ad5b1faeeb8 root hd3,msdos1 &lt;br /&gt;
    set prefix=($root)&amp;#039;/boot/grub&amp;#039;&lt;br /&gt;
    &lt;br /&gt;
    ---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
sdd1: __________________________________________________________________________&lt;br /&gt;
&lt;br /&gt;
    File system:       ext4&lt;br /&gt;
    Boot sector type:  -&lt;br /&gt;
    Boot sector info: &lt;br /&gt;
    Operating System:  Ubuntu 18.04.5 LTS&lt;br /&gt;
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub &lt;br /&gt;
                       /boot/grub/i386-pc/core.img&lt;br /&gt;
&lt;br /&gt;
sde1: __________________________________________________________________________&lt;br /&gt;
&lt;br /&gt;
    File system:       ntfs&lt;br /&gt;
    Boot sector type:  Windows 8/2012: NTFS&lt;br /&gt;
    Boot sector info:  No errors found in the Boot Parameter Block.&lt;br /&gt;
    Operating System:  &lt;br /&gt;
    Boot files:        /bootmgr /Boot/BCD&lt;br /&gt;
&lt;br /&gt;
sde2: __________________________________________________________________________&lt;br /&gt;
&lt;br /&gt;
    File system:       ntfs&lt;br /&gt;
    Boot sector type:  Windows 7/2008: NTFS&lt;br /&gt;
    Boot sector info:  No errors found in the Boot Parameter Block.&lt;br /&gt;
    Operating System:  Windows 8 or 10&lt;br /&gt;
    Boot files:        &lt;br /&gt;
&lt;br /&gt;
sde3: __________________________________________________________________________&lt;br /&gt;
&lt;br /&gt;
    File system:       ntfs&lt;br /&gt;
    Boot sector type:  Windows 7/2008: NTFS&lt;br /&gt;
    Boot sector info:  No errors found in the Boot Parameter Block.&lt;br /&gt;
    Operating System:  &lt;br /&gt;
    Boot files:        &lt;br /&gt;
&lt;br /&gt;
sde4: __________________________________________________________________________&lt;br /&gt;
&lt;br /&gt;
    File system:       ntfs&lt;br /&gt;
    Boot sector type:  Windows 7/2008: NTFS&lt;br /&gt;
    Boot sector info:  No errors found in the Boot Parameter Block.&lt;br /&gt;
    Operating System:  &lt;br /&gt;
    Boot files:        /bootmgr /boot/bcd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
================================ 3 OS detected =================================&lt;br /&gt;
&lt;br /&gt;
OS#1:   Ubuntu 18.04.5 LTS on sdd1&lt;br /&gt;
OS#2:   Windows 10 (boot) on sde1&lt;br /&gt;
OS#3:   Windows Recovery Environment (boot) on sde4&lt;br /&gt;
&lt;br /&gt;
============================ Architecture/Host Info ============================&lt;br /&gt;
&lt;br /&gt;
CPU architecture: 64-bit&lt;br /&gt;
Live-session OS is Ubuntu 64-bit (Boot-Repair-Disk 64bit 20200604, bionic, x86_64)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===================================== UEFI =====================================&lt;br /&gt;
&lt;br /&gt;
This live-session is not in EFI-mode.&lt;br /&gt;
This session has been detected as &amp;#039;live&amp;#039; because /proc/cmdline contains (boot=casper)&lt;br /&gt;
This session has been detected as &amp;#039;live&amp;#039; because df -Th / contains overlay&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
============================= Drive/Partition Info =============================&lt;br /&gt;
&lt;br /&gt;
Disks info: ____________________________________________________________________&lt;br /&gt;
&lt;br /&gt;
sdd	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes&lt;br /&gt;
sde	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes&lt;br /&gt;
&lt;br /&gt;
Partitions info (1/3): _________________________________________________________&lt;br /&gt;
&lt;br /&gt;
sdd1	: is-os,	64, apt-get,	grub-pc ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios&lt;br /&gt;
sde1	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far&lt;br /&gt;
sde2	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios&lt;br /&gt;
sde3	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios&lt;br /&gt;
sde4	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios&lt;br /&gt;
&lt;br /&gt;
Partitions info (2/3): _________________________________________________________&lt;br /&gt;
&lt;br /&gt;
sdd1	: isnotESP,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot&lt;br /&gt;
sde1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	bootmgr,	is-winboot&lt;br /&gt;
sde2	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot&lt;br /&gt;
sde3	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot&lt;br /&gt;
sde4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	bootmgr,	is-winboot&lt;br /&gt;
&lt;br /&gt;
Partitions info (3/3): _________________________________________________________&lt;br /&gt;
&lt;br /&gt;
sdd1	: not-sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sdd&lt;br /&gt;
sde1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sde&lt;br /&gt;
sde2	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sde&lt;br /&gt;
sde3	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sde&lt;br /&gt;
sde4	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sde&lt;br /&gt;
&lt;br /&gt;
fdisk -l (filtered): ___________________________________________________________&lt;br /&gt;
&lt;br /&gt;
Disk sdd: 465.8 GiB, 500107862016 bytes, 976773168 sectors&lt;br /&gt;
Disk identifier: 0x373585a2&lt;br /&gt;
      Boot Start       End   Sectors   Size Id Type&lt;br /&gt;
sdd1  *     2048 976771071 976769024 465.8G 83 Linux&lt;br /&gt;
Disk sde: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors&lt;br /&gt;
Disk identifier: 0x17aa74b7&lt;br /&gt;
      Boot      Start        End    Sectors   Size Id Type&lt;br /&gt;
sde1  *          2048     206847     204800   100M  7 HPFS/NTFS/exFAT&lt;br /&gt;
sde2           206848 1846566911 1846360064 880.4G  7 HPFS/NTFS/exFAT&lt;br /&gt;
sde3       1846566912 1951424511  104857600    50G  7 HPFS/NTFS/exFAT&lt;br /&gt;
sde4       1951424512 1953523119    2098608     1G 12 Compaq diagnostics&lt;br /&gt;
Disk zram0: 1.2 GiB, 1235136512 bytes, 301547 sectors&lt;br /&gt;
Disk zram1: 1.2 GiB, 1235136512 bytes, 301547 sectors&lt;br /&gt;
Disk zram2: 1.2 GiB, 1235136512 bytes, 301547 sectors&lt;br /&gt;
Disk zram3: 1.2 GiB, 1235136512 bytes, 301547 sectors&lt;br /&gt;
&lt;br /&gt;
parted -lm (filtered): _________________________________________________________&lt;br /&gt;
&lt;br /&gt;
sdd:500GB:scsi:512:512:msdos:ATA Samsung SSD 860:;&lt;br /&gt;
1:1049kB:500GB:500GB:ext4::boot;&lt;br /&gt;
sde:1000GB:scsi:512:4096:msdos:ATA ST1000DM003-9YN1:;&lt;br /&gt;
1:1049kB:106MB:105MB:ntfs::boot;&lt;br /&gt;
2:106MB:945GB:945GB:ntfs::;&lt;br /&gt;
3:945GB:999GB:53.7GB:ntfs::;&lt;br /&gt;
4:999GB:1000GB:1074MB:ntfs::diag;&lt;br /&gt;
zram3:1235MB:unknown:4096:4096:loop:Unknown:;&lt;br /&gt;
1:0.00B:1235MB:1235MB:linux-swap(v1)::;&lt;br /&gt;
zram1:1235MB:unknown:4096:4096:loop:Unknown:;&lt;br /&gt;
1:0.00B:1235MB:1235MB:linux-swap(v1)::;&lt;br /&gt;
sr0:923MB:scsi:2048:2048:msdos:TSSTcorp CDDVDW SH-216BB:;&lt;br /&gt;
2:1974kB:12.1MB:10.1MB:::esp;&lt;br /&gt;
zram2:1235MB:unknown:4096:4096:loop:Unknown:;&lt;br /&gt;
1:0.00B:1235MB:1235MB:linux-swap(v1)::;&lt;br /&gt;
zram0:1235MB:unknown:4096:4096:loop:Unknown:;&lt;br /&gt;
1:0.00B:1235MB:1235MB:linux-swap(v1)::;&lt;br /&gt;
&lt;br /&gt;
blkid (filtered): ______________________________________________________________&lt;br /&gt;
&lt;br /&gt;
NAME   FSTYPE   UUID                                 PARTUUID                             LABEL                  PARTLABEL&lt;br /&gt;
sdd                                                                                                              &lt;br /&gt;
└─sdd1 ext4     206a8a35-32ea-44f1-bd10-6ad5b1faeeb8 373585a2-01                                                 &lt;br /&gt;
sde                                                                                                              &lt;br /&gt;
├─sde1 ntfs     9886EB9E86EB7AE0                     17aa74b7-01                                                 &lt;br /&gt;
├─sde2 ntfs     FC204C79204C3CC0                     17aa74b7-02                          Boot                   &lt;br /&gt;
├─sde3 ntfs     EE704D7E704D4E91                     17aa74b7-03                          Recover                &lt;br /&gt;
└─sde4 ntfs     8812729912728BC6                     17aa74b7-04                                                 &lt;br /&gt;
zram0                                                                                                            &lt;br /&gt;
zram1                                                                                                            &lt;br /&gt;
zram2                                                                                                            &lt;br /&gt;
zram3                                                                                                            &lt;br /&gt;
&lt;br /&gt;
df (filtered): _________________________________________________________________&lt;br /&gt;
&lt;br /&gt;
       Avail Use% Mounted on&lt;br /&gt;
sdd1    82.6G  77% /mnt/boot-sav/sdd1&lt;br /&gt;
sde1    68.4M  32% /media/lubuntu/9886EB9E86EB7AE0&lt;br /&gt;
sde2    55.1G  94% /media/lubuntu/Boot&lt;br /&gt;
sde3    23.9G  52% /media/lubuntu/Recover&lt;br /&gt;
sde4   807.3M  21% /mnt/boot-sav/sde4&lt;br /&gt;
&lt;br /&gt;
Mount options: __________________________________________________________________&lt;br /&gt;
&lt;br /&gt;
sdd1   rw,relatime&lt;br /&gt;
sde1   rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096&lt;br /&gt;
sde2   ro,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096&lt;br /&gt;
sde3   rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096&lt;br /&gt;
sde4   rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096&lt;br /&gt;
&lt;br /&gt;
====================== sdd1/boot/grub/grub.cfg (filtered) ======================&lt;br /&gt;
&lt;br /&gt;
Ubuntu   206a8a35-32ea-44f1-bd10-6ad5b1faeeb8&lt;br /&gt;
Ubuntu, with Linux 4.15.0-159-generic   206a8a35-32ea-44f1-bd10-6ad5b1faeeb8&lt;br /&gt;
Ubuntu, with Linux 4.15.0-158-generic   206a8a35-32ea-44f1-bd10-6ad5b1faeeb8&lt;br /&gt;
Windows 10 (on sde1)   9886EB9E86EB7AE0&lt;br /&gt;
Windows Recovery Environment (on sde4)   8812729912728BC6&lt;br /&gt;
### END /etc/grub.d/30_os-prober ###&lt;br /&gt;
### END /etc/grub.d/30_uefi-firmware ###&lt;br /&gt;
&lt;br /&gt;
========================== sdd1/etc/fstab (filtered) ===========================&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;file system&amp;gt; &amp;lt;mount point&amp;gt;   &amp;lt;type&amp;gt;  &amp;lt;options&amp;gt;       &amp;lt;dump&amp;gt;  &amp;lt;pass&amp;gt;&lt;br /&gt;
# / was on /dev/sda1 during installation&lt;br /&gt;
UUID=206a8a35-32ea-44f1-bd10-6ad5b1faeeb8 /               ext4    errors=remount-ro 0       1&lt;br /&gt;
/swapfile                                 none            swap    sw              0       0&lt;br /&gt;
&lt;br /&gt;
======================= sdd1/etc/default/grub (filtered) =======================&lt;br /&gt;
&lt;br /&gt;
GRUB_DEFAULT=0&lt;br /&gt;
GRUB_TIMEOUT_STYLE=hidden&lt;br /&gt;
GRUB_TIMEOUT=10&lt;br /&gt;
GRUB_DISTRIBUTOR=`lsb_release -i -s 2&amp;gt; /dev/null || echo Debian`&lt;br /&gt;
GRUB_CMDLINE_LINUX_DEFAULT=&amp;quot;quiet splash&amp;quot;&lt;br /&gt;
GRUB_CMDLINE_LINUX=&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==================== sdd1: Location of files loaded by Grub ====================&lt;br /&gt;
&lt;br /&gt;
           GiB - GB             File                                 Fragment(s)&lt;br /&gt;
 314.136848450 = 337.301872640  boot/grub/grub.cfg                             1&lt;br /&gt;
 319.632961273 = 343.203278848  boot/grub/i386-pc/core.img                     1&lt;br /&gt;
 213.219783783 = 228.942999552  boot/vmlinuz-4.15.0-158-generic                2&lt;br /&gt;
 217.258846283 = 233.279909888  boot/vmlinuz-4.15.0-159-generic                1&lt;br /&gt;
 217.258846283 = 233.279909888  vmlinuz                                        1&lt;br /&gt;
 213.219783783 = 228.942999552  vmlinuz.old                                    2&lt;br /&gt;
 214.040134430 = 229.823844352  boot/initrd.img-4.15.0-158-generic             3&lt;br /&gt;
 217.508762360 = 233.548255232  boot/initrd.img-4.15.0-159-generic             3&lt;br /&gt;
 217.508762360 = 233.548255232  initrd.img                                     3&lt;br /&gt;
 214.040134430 = 229.823844352  initrd.img.old                                 3&lt;br /&gt;
&lt;br /&gt;
===================== sdd1: ls -l /etc/grub.d/ (filtered) ======================&lt;br /&gt;
&lt;br /&gt;
-rwxr-xr-x 1 root root 12808 Aug 24  2020 10_linux&lt;br /&gt;
-rwxr-xr-x 1 root root 11298 Jul 17  2018 20_linux_xen&lt;br /&gt;
-rwxr-xr-x 1 root root 12059 Jul 17  2018 30_os-prober&lt;br /&gt;
-rwxr-xr-x 1 root root  1418 Jul 17  2018 30_uefi-firmware&lt;br /&gt;
-rwxr-xr-x 1 root root   214 Jul 17  2018 40_custom&lt;br /&gt;
-rwxr-xr-x 1 root root   216 Jul 17  2018 41_custom&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
========= Devices which don&amp;#039;t seem to have a corresponding hard drive ==========&lt;br /&gt;
&lt;br /&gt;
sda sdb sdc &lt;br /&gt;
&lt;br /&gt;
=============================== StdErr Messages ================================&lt;br /&gt;
&lt;br /&gt;
File descriptor 63 (pipe:[44014]) leaked on lvs invocation. Parent PID 4209: /bin/bash&lt;/div&gt;</summary>
		<author><name>imported&gt;Gfis</name></author>
	</entry>
</feed>