Dear All,

Heres my 1st post and a neat trick for people like me who like to do 
everything at once:) I like being able to install Mandrake 7.2 and have it 
represented on the Win2K bootloader menu without resorting to shenanigans.

I use a triple boot system..Win98SE, Win2k and of course Mandrake 7.2

This trick applies to a fresh install of Mandrake 7.2 on an existing 
Win98/Win2K Dual Boot system:

After progressing through Mankdrake setup to the point of choosing 
bootloader, i prefer to choose lilo, and then install it not in the 
bootsector but the linux root partition, in my case /dev/hda5. Im not overly 
fond of grub or using bootloaders in general that write to the bootsector of 
a Win machine.

After installing lilo to /dev/hda, i hit ALT - F2 to go to the console and 
type the following at the # prompt: (this assumes my /dev/hda5 linux root)

dd if=/dev/hda5 of=/mnt/mnt/win_c/bootsec.lnx bs=512 count=1 <Enter>

# This copies the bootsector of /dev/hda5 to a file in c:\ called 
bootsec.lnx, the /mnt/mnt is not a typo by the way. The win_c is of course 
because at partitioning time, Mandrake is friendly enough to have created 
mounts for the windows partitions.

pico /mnt/mnt/win_c/boot.ini <Enter>

# This of course will open boot.ini within pico for editing....i hate vi:)

in boot.ini , add the line (after the other entries):

c:\bootsec.lnx="Mandrake 7.2"

<Ctrl and X to save>

hit <ALT - 7> to return to the Mandrake setup screen, and then complete 
setup

Reboot and admire the new entry to the Win2k bootloader menu:)

At this point scrolling down to Mandrake 7.2 is highly advised :)

I then make sure to backup the bootsec.lnx file just in case Win2k/Win98SE 
get unfriendly and need a reinstall. If that happens its only a matter of 
the offending Win OS and reinstatement of the bootsec.lnx file and of course 
the boot.ini hacking.

Hope someone gets some use of this trick!

Adrian

>From: Klar Brian D Contr MSG SICN <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>Subject: RE: [expert] win98,win2000 and Mandrake 7 multi-boot
>Date: Tue, 27 Mar 2001 15:33:26 -0500
>
>Boot from you boot disk and reinstall grub should work.
>
>Brian
>
>-----Original Message-----
>From: Robert Johansson [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, March 27, 2001 3:13 PM
>To: [EMAIL PROTECTED]
>Subject: Re: [expert] win98,win2000 and Mandrake 7 multi-boot
>
>
>Hi Michael!
>
>Some operating $ystem$ have the not very nice policy of brutally 
>overwriting the master boot record of your computer when installed.
>To solve this you can use your Mandrake CD. Make sure you've set your BIOS 
>to boot on CD first, and then insert your Mandrake CD and reboot.
>When the Mandrake screen appears press F1. You will now be given a set of 
>options. I'f i'm not misremembering you can type "rescue" (without the 
>ticks) and hit enter.
>You should then get to a root prompt where you can type "lilo" (again 
>without ticks).
>Now LILO will make all operating systems avaiable to you on the next 
>reboot.
>LILO is more or less equivalent to grub, and I think you will feel 
>comfortable with it.
>
>I'm not sure wether you first have to mount your linux partitions before 
>doing this. Maybe someone ohter on the list knows?
>
>Cheers
>Robert
>
>
>----- Original Message -----
>
>From: Michael <mailto:[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>Sent: Tuesday, March 27, 2001 7:04 PM
>Subject: [expert] win98,win2000 and Mandrake 7 multi-boot
>
>  when I installed win2000 professional on my computer(have win98 and 
>Mandrake 7 dual boot using grub),grub disappeared,there is only win98 and 
>win2000 menu when I restart,do I need to install Mandrake using update one 
>more time?(I did so with win98 a few weeks ago),thank you in advance.
>
>have a nice day,
>Michael zhao
>

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


Reply via email to