Re: [Freedos-user] How to reinstall FreeDOS VBR?

2021-01-27 Thread Ralf Quint

On 1/27/2021 6:16 AM, Michał Dec wrote:

Hello,

I had FreeDOS as the only system on my CF card, but I had to scale 
down the FAT32 partition and make space for Gentoo Linux. After 
installing the other system, FreeDOS can't boot. Probably because the 
volume boot record was thrashed during the partition resize. Is there 
any way to reinstall only this component? 


FIrst check if the partition of FreeDOS is still set as "active". 
Multiple OS on one disk doesn't install automatically any form of dual 
boot and Gentoo is one of the rather peculiar Linux distros. You also 
might  check into installing GRUB or any other boot loader from your 
Linux distro.


If you just want to get FreeDOS back up and running, try running FDISK 
C: /MBR from a FreeDOS boot media (floppy disk or CD)...


Ralf



--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] How to reinstall FreeDOS VBR?

2021-01-27 Thread Eric Auer


Hi! If you want a fresh boot sector for your DOS partition,
you can simply run SYS C: on the DOS prompt after booting
from another medium. You could also use a tool such as my
sys-freedos-linux, which uses Perl and NASM to write a boot
sector to a given disk device or disk image, but because it
does has no access to the geometry and location of disk and
partition, that would be more complicated than using SYS in
DOS. While SYS also copies kernel and shell, you can use the
suitable command line options for SYS to suppress that if it
really is a problem for you otherwise. You can even tell SYS
to write the boot sector to a file which you can then use in
any way you like, for example in special boot loaders/menus.
I am surprised that resizing failed to update all necessary
boot sector fields, though. It is not SUPPOSED to break boot.

Regards, Eric



___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


[Freedos-user] How to reinstall FreeDOS VBR?

2021-01-27 Thread Michał Dec

Hello,

I had FreeDOS as the only system on my CF card, but I had to scale down 
the FAT32 partition and make space for Gentoo Linux. After installing 
the other system, FreeDOS can't boot. Probably because the volume boot 
record was thrashed during the partition resize. Is there any way to 
reinstall only this component?


Best regards,

Michał Dec



___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user