grub-devel
[Top][All Lists]
Advanced

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

Re: multidistro grub2 idea


From: Mani A
Subject: Re: multidistro grub2 idea
Date: Mon, 6 Aug 2007 20:35:26 +0530

On 7/23/07, adrian15 <address@hidden> wrote:
> THE PROBLEM
> =============
>
>         The problem about boot loaders in a multi distribution environment is
> the grub configurations being overlapped.

>         I think the problem is here is that no one knows that a command called
> configfile exists.
>         In my computer I have 4 menu.lst and I have not used the configfile
> approach. I have installed grub in the distros' partition and  also in
> the mbr which is associated with a grub installed on a /boot partition.
>
> Disk /dev/sda: 137.4 GB, 137437871104 bytes
> 255 heads, 63 sectors/track, 16709 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
>     Device Boot Start         End      Blocks   Id  System
> /dev/sda1   *      1        1275    10241406    c  W95 FAT32 (LBA)
> /dev/sda2       1276        1287       96390   83  Linux        (/BOOT)
> /dev/sda3       1288        3719    19535040   83  Linux   (DEBIAN)
> /dev/sda4       3720       16709   104342175    5  Extended
> /dev/sda5       3720       15147    91795378+  83  Linux   (/HOME)
> /dev/sda6      15148       16166     8185086   83  Linux   (FEDORA)
> /dev/sda7      16167       16198      257008+  82  Linux swap / Solaris
> /dev/sda8      16199       16709     4104576   83  Linux(TEST DISTROS)
>
>
> THE SOLUTION
> =============
>
> I think that if grub2 is going to have scripting and so many new
> features we should take advantage of them and change the way computers
> do boot.
>
> #1) All Linux installers should set or reuse a ext2 partition next to
> the windows one as a /boot one where grub2 is installed.
.. . if the dreaded OS exists. But a single /boot partition is not
preferable over 'but from anywhere' principle.

>
> #2) /boot/grub/
>
>         will have a new folder called:
>
>         /boot/grub/menu/
>
>         which will be filled with .cfg files from the different distros that
> are installed in a computer.

It will be a good thing if, if grub2 is installed to the mbr of the
active partition and  if a new OS is going to be installed, then we
must be able to tell grub2 about it and accordingly it must be able to
update the .cfg, when the new OS tries to write to the MBR of any of
the partitions.

Best

A. Mani

-- 
A. Mani
Member, Cal. Math. Soc




reply via email to

[Prev in Thread] Current Thread [Next in Thread]