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

Re: initrd kernel image, dual boot with NTLDR



On Monday 22 November 2004 07:06, Brian Coiley wrote:
> Hi all.
>
> As a complete newbie, I've had lots of help from people here over the
> last few days, and as a result have upgraded Woody to Sarge.  However, I
> have also been advised to install a 2.4 kernel version, as opposed to the
> 2.2 version that was installed with Woody.
>
> I tried to do this as follows:
>
> apt-get install kernel-image-2.4.27-1-k7
>
> But, I get a message saying, among other stuff, that I need to configure
> my boot loader to use initrd.  It also gives instructions on how to do
> this for LILO.  BUT, this is a dual-boot machine, with W2K, and I'm using
> NTLDR, not LILO.  So, does anyone know how I fix this using NTLDR or, if
> it can't be done, how I can change from using NTLDR to using LILO
> (crucially, without breaking Windows!)
>
> Thanks
>
> Brian

Hi Brian,

I don't have any experience using NTLDR, but boot loaders aren't usually 
that complex, so I think I know what you could do.

Lilo should be installed on to the boot sector of your Linux partition, not 
the MBR of the drive.  Once that is done, you follow the instructions on 
how to change LILO to boot your new kernel.  You don't have to worry about 
NTLDR at all, so long as you make NTLDR point to LILO (i.e. the boot sector 
of your partition).

What happens in that case is your computer starts executing whatever program 
is at the MBR (should be NTLDR).  NTLDR allows you to choose what you boot.  
If you choose Windows, it boots.  If you choose Linux, it hands control 
over to LILO.  LILO then asks you to choose which kernel you want to boot.  
After you choose, LILO hands off to the kernel, and you're off and running.

Alternately, you can choose to install LILO in the MBR.  If you configure 
LILO to give you the option to boot windows, you can let LILO manage your 
booting, and still boot windows.

Hope that helps,
Justin Guerin



Reply to: