1 |
Apparently, though unproven, at 23:03 on Saturday 04 September 2010, walt did |
2 |
opine thusly: |
3 |
|
4 |
> On 09/04/2010 07:11 AM, Konstantinos Agouros wrote: |
5 |
> > Hi, |
6 |
> > |
7 |
> > I have a VM with a gentoo guest. For testing I set it up with an LVM |
8 |
> > Volume Group that consisted of only one disk. Now I added a 2nd resized |
9 |
> |
10 |
> > the FS but lilo stopped working. When I call it I get: |
11 |
> Way back when I was using LILO, it had to be reinstalled to the boot block |
12 |
> of the boot drive whenever the partition table changed. The partition |
13 |
> table was hard-wired into the boot block, so naturally the boot block |
14 |
> needed to be updated. Dunno if LILO still does that, and I can't recall |
15 |
> how to re-install the boot block, either :/ |
16 |
> |
17 |
> > Is maybe grub the answer to my problem? |
18 |
> |
19 |
> That's what I use, and it's not subject to the re-install problem. |
20 |
> Bit of a learning curve at first, but worth it IMO. |
21 |
|
22 |
Well, they are boot loaders, |
23 |
|
24 |
BOOT_LOADERS ARE DIFFERENT. VERY DIFFERENT. |
25 |
|
26 |
Not shouting, just emphasis. One cannot think of boot-loaders in OS terms, as |
27 |
they are not the OS. |
28 |
|
29 |
lilo does indeed need to be re-written to disk when the partition table |
30 |
changes, it does not have the ability to dynamically read a disk, it has no |
31 |
clue what a file or an fs is. This makes life simple, but you need to remember |
32 |
the extra step. |
33 |
|
34 |
grub does support dynamically reading disks, meaning there's no extra step |
35 |
when making changes. But it did move the complexity into menu.lst. |
36 |
|
37 |
Which one to use? It's a trade-off. Decide for yourselves where you want the |
38 |
complexity to be, and use that one. You will never eliminate the complexity of |
39 |
a boot loader, you can however contain it somewhere YOU are familiar with and |
40 |
where you feel comfortable working with it. |
41 |
|
42 |
|
43 |
-- |
44 |
alan dot mckinnon at gmail dot com |