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

Re: Installing 2 Linux on one HD.



Yazad Khambata wrote:
> Hi all,
>  
> I have 2 hard drives on one I have windows installed.
>  
> The other is used by me for Linux installation...
>  
> I first installed Debian 4.0; during installation it asked me about GRUB
> and it aslo asked me if I had Windows XP/2000. All was well... I could
> log into Debian and on selecting "others" from the menu I was redirected
> to the Windows Menu (I have XP and 2000) installed on my machine.
>  
> Next I decided to install CentOS on the Disk with Debian installed...
> now I have lost the GRUB menu for Debian all together :(
>  
> When I select "others"... in the CentOS grub menu I an redirected to
> Windows boot menu... how do I enter debian now... I am ready to
> reinstall, but how do I ensure that both linux show up in one menu?
>  

In a similar case, here is what I did:
1. Repaired grub from within Debian (Debian is my main installation)
2. In the 'experimental' linux (I have FC7), I opted not to install Grub
at all. I jotted down the location of /boot directory and its partition
in this installation.
3. Next, in Debian, I entered the lines in menu.lst which pointed to the
kernel in /boot of FC7.

Next time I booted, I had the Grub list showing my Windows, Debian and FC7.

The drawback is that for each update of the kernel in FC7, you will have
to manually edit your menu.lst in Debian to get the lines corresponding
to the new kernel.

So, you see that I have separate /boot directories for the two linux
installations. In the past, I have even played around with a common
/boot. Since FC7 names its kernels differently than Debian, there was no
clash and all worked fine.

Since a few months ago, however, I have chosen to keep FC7 /boot
separate -- just to experiment.


regards,
->HS






Reply to: