[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: coexistence with Windows 2000



On Fri, Apr 06, 2001 at 09:25:01PM +0000, Darryl Röthering wrote:
| But I want to get the bootsector from linux to copy into Windoze.
| 
| Now, as I sit here looking at the /boot I see two possibilities:
| 
| boot.b
| boot.0301
| 
| Which is the one I want to capture & is the syntax just:
| 
| dd boot.b > floppy
| 
| ??

Which boot loader are you using?  

If you use lilo , make sure your /etc/lilo.conf file is correct (or
else you will end up with an unbootable system) and run  'lilo'  (you
might need some CL options, try man lilo to find out).


If you use grub, just enter the command mode of it (during bootup) and
type  setup (hd0)  to put grub on the MBR of hd0.

If you mess up with grub, you can just enter command mode and try
again :-).  (You can even boot by entering the commands manually).
Then set /boot/grub/menu.lst to the proper configuration.

Some other notes re grub :

    o make sure stage2 and menu.lst are in the same directory
    o make sure they are on the hard drive, and you specified the hard
      drive in the 'setup' command  (the first time I put it on MBR
      was from booting with a floppy -- I specified to get the other
      stuff from the floppy and as a result the MBR needed the floppy
      for booting.  I then (haveing already put stage2 and menu.lst on
      the harddrive) specified the hd to install from and it was fine)
    o you can put stage2 and menu.lst on any partition -- all
      partitions are labeled '/' by grub because it doesn't know how any
      os's mount the partitions.  (/boot/grub can be on your windows
      partition if you want it to be)  The main restriction here is
      the filesystem must be of a supported type (ext2 vfat minix and
      others -- see grub documentation for more details)

HTH,
-D



Reply to: