That is obsolete.
In current Linux, ALL disks use names such as sda, sdb... and none use
the anciend hda, hdb... Software wise, they all use the SCSI driver even
if they are "normal hard disks", using PATA or SATA.
See? That page is too old and maybe incorrect in parts.
>>> What do I do now? When giving the instructions to use the Auto method,
>>> either the author made a typo of some sort, or they had renamed it, when
>>> he said boot-loader instead of boot-repair. Maybe that's true in this
>>> line too?
>>>
>>> What does usr/lib/syslinux/mbr.bin mean?
>>
>> /usr/lib/syslinux/mbr.bin is a file. In this case, it is the generic
>> code that is usually installed on the MBR of a hard disk, the version
>> created by the syslinux people.
>>
>>>
>>> What does dd if= mean?
>>
>> dd is the command, and it stands for "convert and copy a file".
>>
>> if= means "the input file is equal to"
>>
>>>
>>> What does of= mean?
>>
>> of= means "the output file is equal to"
>
> This helps.
Good.
>>> I found the Files icon and looked for the file it says is not there.
>>> Found a couple with partial similarities, but then found:
>>>
>>> computer/usr/lib/syslinux/mbr/mbr.bin Do you think that could be
>>> what he meant? ??? Should I use that in the previous command, as
>>> in:
>>> sudo dd if=computer/usr/lib/syslinux/mbr/mbr.bin of=/dev/sda1
>>
>> That method will probably destroy your "disk".
>
> Sounds bad.
Intentionally ;-)
>>> where I think sda1 is the reserved partition and sda2 is the windows
>>> partition on the same SDD. Actually, should I be doing this to the
>>> Reserved Partition or the one with Windows in it?
>>
>> No, it has to be done on "sda", not "sda1" nor "sda2".
>
> I get it now. He had said "Don’t forget to replace sda with the
> Windows 10 system drive." but he just means it might be sdb.
Correct.
>> It is very dangerous to touch things you don't understand. The 'dd'
>> command can actually destroy your disk in a second if used incorrectly.
>>
>>
>> The correct command, in _my_ computer, would be
>>
>> sudo dd if=/usr/share/syslinux/mbr.bin of=/dev/sda
>>
>> In your computer it is probably
>>
>> sudo dd if=/usr/lib/syslinux/mbr.bin of=/dev/sda
>>
>>
>> If it failed, you probably typed it wrong.
>>
>> do
>>
>> ls /usr/lib/syslinux/
>> ls /usr/lib/
>> ls /usr/
>> ls /
>>
>> and paste here the result.
>
> I plan to do that.
Somebody else wrote what the current location of the file should be.
>>
>>
>>
>>> These were the remaining two instructions. Didn't try them.usr
>>> sudo apt-get install mbr
>>> sudo install-mbr -i n -p D -t 0 /dev/sda
>
> Maybe a bigger problem in all this is that he only gives instructions on
> replacing the mbr. AFAIK I've already done that more than once, using
> the Win10 installation usb, Hirens, Lazesoft. The problem is that the
> third or fourth instruction in the list doesn't work (or sometimes the
> software doesn't say what doesn't work, or it thinks it all worked but
> it didn't.)
>
>>> It also lists /dev/loop0. What could that be?
>>> It contains lost+found, upper, and work!!
>>
>> Dunno.
>>
>>>
>>>
>>> BTW, I found a whole page on Toms Hardware where someone said he heard
>>> you can use Ubuntu to repair Windows and everyone said, No you can't do
>>> that. This has not yet worked when I'm writing this, but they'd never
>>> even heard of it. Might have been when it just came out.
>>
>> It can be done, but you need to know what you are doing.
>
> I've found that things can always get worse, but at the moment I don't
> think I can make this worse.
>
> Worst comes to worst, I wipe it and start from scratch, or bearing in
> mind that I managed to ruin a $2 flashdrive, even while following
> Macrium's directions, maybe I can ruin this entire SSD. I don't like
> spending money but even that I can afford to replace if I have too.
Hardly :-)
At worst, a reformat would restore the SSD.
> When I bought this refurbished PC, and it had an SDD, I thought it wwas
> a new drive because I didn't think they sold PC's with SDDs then, but
> since then I'm pretty sure they did and my SDD was used, who knows how
> much. It also has an HDD and I'm sure that was original too.
Ok, do:
sudo smartctl -a /dev/sda
(I am assuming that "smartctl" is already installed. If not, somebody
familiar with Ubuntu can tell you the specifics).
The output will be similar to this (watch for line wrap):
Erebor:~ # smartctl -a /dev/sda
smartctl 7.0 2019-05-21 r4917 [x86_64-linux-5.3.18-lp152.106-default]
(SUSE RPM)
Copyright (C) 2002-18, Bruce Allen, Christian Franke,
www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Crucial/Micron BX/MX1/2/3/500, M5/600, 1100 SSDs
Device Model: Crucial_CT525MX300SSD1
Serial Number: ....
LU WWN Device Id: 5 00a075 117eea2e5
Firmware Version: M0CR060
User Capacity: 525,112,713,216 bytes [525 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Form Factor: 2.5 inches
Device is: In smartctl database [for details use: -P show]
ATA Version is: ACS-3 T13/2161-D revision 5
SATA Version is: SATA 3.2, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is: Fri Dec 31 22:12:21 2021 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
...
further down
...
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE
UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x002f 100 100 000 Pre-fail
Always - 1
5 Reallocate_NAND_Blk_Cnt 0x0032 100 100 010 Old_age
Always - 1
9 Power_On_Hours 0x0032 100 100 000 Old_age
Always - 5034
...
See? My SSD disk has 5034 hours of use.
This other line is interesting:
202 Percent_Lifetime_Remain 0x0030 099 099 001 Old_age
Offline - 1
99% of life remaining.
>
> But if I didn't have problems, I woudln't have problems to solve. i
> love solving mechanical and computer problems, even if I fail sometimes.
>
:-)
--
Cheers, Carlos.