• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

bootrecord of a linx bootdisk

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
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
 
Ranch Hand
Posts: 776
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi - Boot your Linux system from floppy.
Look at /etc/lilo.conf.
The 1st line in it should be:
boot=/dev/hd??
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:
C:\bootsect.lnx="Linux"
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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic