Now that our syslinux multiboot is working properly, we will protect it a minimum.
To do this, start a command prompt as an administrator.
Then, type these commands :
cd /d C:\ ATTRIB +R +S +H chain.c32 ATTRIB +R +S +H memdisk ATTRIB +R +S +H menu.c32 ATTRIB +R +S +H reboot.c32 ATTRIB +R +S +H vesamenu.c32
These commands will add 3 attributes for syslinux files :
Note that using system + hidden attributes doesn't display these files, even when a user simply displays hidden files.
If you then use the "ATTRIB" command, you will see that the modified files have the 3 attributes added previously.
On Windows, you will notice that the icons of the modified files have a slight transparency compared to the others files.
To avoid deleting these files by mistake, we recommend that you hide the hidden files (with "S" attribute), as well as the protected files of the system ("S + H" attributes).
Now, Windows will only display your 2 configuration files.
Warning : if the syslinux.cfg file is deleted, your computer will not restart under Windows.
Finally, we will also hide the partition "Windows RE", because its access under Windows is useless.
Warning : this partition is required to start on the Windows RE environments that we have added to this partition, but its access from Windows is unnecessary.
So, we recommend that you hide it to prevent a virus from altering the data on it.
Go to the start menu and right-click "Manage" on Computer.
Then, right-click on the "Windows RE" partition and click "Change Drive Letter and Paths".
Select the letter displayed and click "Remove".
Confirm the deletion of this drive letter.
Now this partition no longer has a drive letter.
Windows will no longer display it in Computer.
Don't forget to also hide this partition under Windows 10.
To do this, open the file explorer and click on "This PC" in the left column.
Then, go to the "Computer" tab and click "Manage".
Delete the letter as before.
The partition no longer has a drive letter.
And the Windows RE partition will also disappear under Windows 10.
Although syslinux files are hidden under Windows, your multiboot will continue to work properly.
Select Windows RE and press Enter.
As you can see, syslinux is still able to boot on our Windows RE partition even though it's no longer accessible under Windows.
The Windows RE environment of Windows 7 starts.
® InformatiWeb.net 2008-2020 - © Lionel Eppe - All rights reserved.
Total or partial reproduction of this site is prohibited and constitutes an infringement punishable by articles L.335-2 and following of the intellectual property Code.