• Post Reply Bookmark Topic Watch Topic
  • New Topic

bootrecord of a linx bootdisk  RSS feed

Dieter Monstrey
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have three OS's running currently on my pc, on C: win 98, on D: win2k and RedHat 7.2 on a third partition. In the beginning I only had win98 and redhat, everything worked fine, I could boot with LILO. Due to serious problems with win98 I needed to reinstall. I decided I would like to run win2k as well and created another partition with bootmagic. so I reinstalled win98 on my C and win2k on my D. Off course my LILO was overwritten and lost. but I still could boot my RedHat with a bootdisk (after modifying the hda reference) and I could boot win98 and win2k with the win2k bootmanager.
I recently heard of a friend that it should be possible to boot RedHat with the win2k bootmanager. However since he was able to copy his bootrecord from his HD he wasn't sure where the bootrecord would be on my RedHat bootdisk, neither am I.
So this is my question, Is it possible to find the bootrecord on a bootdisk and if so, where can I find it ???
I know I will need to copy this bootrecord into a file so once I know the answer to the question above I should be able to continue.
If you have any further questions, don't hesitate to ask. Thanks
Guy Allard
Ranch Hand
Posts: 776
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi - Boot your Linux system from floppy.
Look at /etc/lilo.conf.
The 1st line in it should be:
The /dev/hd?? is where the boot code is.
To copy it to a DOS/Win floop do:
# Insert a clean DOS floppy
mount /dev/fd0
dd if=/dev/hd?? of=/mnt/floppy/bootsect.lnx bs=512 count=1
umount /dev/fd0
Shutdown Linux, boot W2K.
Copy bootsect.lnx to C:\.
Edit C:\boot.ini (you probably have to unhide it and reset readonly 1st) to add a line at the bottom that says:
This should get you a W2K boot option for Linux.
There is nothing 'magic' about the file name 'bootsect.lnx' - you can call it 'junk.dat' if you want to.
HTH, Guy
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!