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

Re: /boot partition changes when it should not



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

thib wrote:
> Clive McBarton wrote:
>>> For the record, grub can also load a kernel and an initrd by just
>>> providing a block list, as you described for lilo.  Since the filesystem
>>> is made read-only, this shouldn't be too ugly and certainly worth
>>> trying.
>>
>> Really? Great. How exactly? I looked at the man and info page and didn't
>> see this option.
> 
> Actually, I haven't studied grub2 yet, but I see no reason they would
> have gone backwards regarding this feature.

I'm not saying grub cannot do it, but I do see a reason:

grub has its config in a *file*. By default anyway. Something called
menu.lst which controls how the grub display looks like and so on. When
grub loads, it loads this file first. There are also other files, like
device.map.

Another reason: I read somewhere that grub is too fat to fit in the boot
sector. So only half sits in it and loads the other half, which is a
*file* on a file system.

> In grub1, you need to get dirty with the install command, from the grub
> shell.  Basically, you wouldn't specify a stage 1.5 (which loads the fs
> driver), and instead load stage2 directly.  It's all documented in the
> manual[1].

I have been in the grub shell, in the grub-install Unix commands, and
have read in the manual, but have never seen an option for providing a
sector or a sector list.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkuW4gEACgkQ+VSRxYk4409ISgCeKmtHMvQJtjUyKaE9aO2JoSRJ
jgEAoKqSnU6fkAYBLFvNvNjIGzyLE5KA
=mFiV
-----END PGP SIGNATURE-----


Reply to: