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

Re: Advanced Installer



Rick Stevens wrote:
> Mikkel L. Ellertson wrote:
>> davide wrote:
>>> Il Thu, 11 Jun 2009 16:24:36 +0930, Tim ha scritto:
>>>
>>>> On Thu, 2009-06-11 at 01:08 -0500, Bruno Wolff III wrote:
>>>>> Remember /boot can't be lvm nor encrypted, nor for the time being
>>>>> ext4.
>>>> Is there any point it being anything more than ext2?  It's hardly used,
>>>> only during bootup and when installing a new kernel.
>>>>
>>> Indeed I was thinking to keep it in ext2.
>>> I was thinking also to put into it a iso for a live system (like
>>> finnix or grml) just in case something goes wrong, grub2 can boot the
>>> iso directly.
>>>
>> One other point to keep in mind - whatever file system you pick, it
>> has to be one that Grub understands. It is possible to use a file
>> system Grub does not read, but you have to re-install Grub every
>> time you update the kernel, change the Grub menu, etc. (Unless you
>> are not using Grub as your boot loader.)
> 
> Absolutely NOT true, Mikkel.  You do NOT have to reinstall grub.  If
> you install a new kernel, the install process builds a new initrd for
> it and updates the grub menu to reflect the availability of the new
> kernel, but that is NOT a reinstall of grub.
> 
> Note that grub doesn't give a toss about the initrd, but it does have to
> hand it to the new kernel so the kernel can find its loadable drivers.
> That's all that happens.
> 
> The only time you may have to reinstall grub is if the order of disks
> your BIOS sees changes (e.g. your old sda has become sdb, etc.)

You need to read my comment a bit more carefully - You need to
re-install Grub ONLY if you use a file system that Grub does not
know about. If Grub can read the file system, it can find the
changes grub.conf and the new kernel. But if you are using a file
system that Grub can not read, then you are stuck with the same
setup as you had to use with LILO. If it can not read the file
system, then you have to feed it the location on the disk.

You can also run into this problem if you change from one file
system that Grub understands to a different one that Grub
understands. The difference there is that once you install the new
stage 1.5, Grub will be able to read the new file system. (Changing
from ext2 to ext3 does not count - Grub still reads it as an ext2
file system.)

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature


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