[opensuse] grub2 was: Non-destructive Increase of /boot partition?
On Thu, 2008-10-30 at 21:34 -0400, Anton Aylward wrote:
Hans Witvliet said the following on 10/30/2008 07:15 PM:
On Wed, 2008-10-29 at 19:15 -0400, Anton Aylward wrote:
Hans Witvliet said the following on 10/29/2008 06:44 PM:
However, the O.P. wanted to know if /boot can be resize painlessly. problem is that /boot can not be within LVM. Any other partitions can, except /boot. Not so. You can have /boot in LVM. It just requires a LVM-aware bootloader :-) (Go google for the history and see how different systems have dealt with this over the past few years.)
Late model Linux (2.6.something onwards) has this, certainly with GRUB.
Are you sure? I tried it (accidentially) about half a year ago, probably with 10.3. Are you perhaps talking about grub2? That's neither in the released versions of opnsuse or SLE neither on the OBS. Suse still use 0.9xx (grub1) Only the very latest version of ubuntu seems to be using grub2...
BIOS loads MBR MBR loads GRUB (or MBR is a stage of GRUB) GRUB loads initrd initrd needs to be configured with LVM GRUB needs to be LVM-aware
References I found start this at 2.6.x
I confirmed this with references for Hylton. Too tired and too full of other things to repeat.
You can find all this on Google. Try for starters http://grub.enbug.org/LVMandRAID http://www.rocklinux.org/wiki/Root_on_LVM http://www.linuxforums.org/forum/redhat-fedora-linux-help/61630-grub-lvm-mul...
Did it once to prove it, but its a bugger to debug having /boot and root in LVM so gave up. Only interest now is academic. It can be done, but there are better ways to do it. See how HP/UX and AIX does it if you are really interested.
http://www.linuxforums.org/forum/redhat-fedora-linux-help/61630-grub-lvm-mul...
Yeah, heard about the google thing.... I knew it was possible, but not right out of the box. As said in one of the documents you reference: "GRUB has support for LVM and RAID since version __1.95__. Multiple volume groups don't work with GRUB 1.95 however. etc etc" The grub version on the dvd, and on repo's on the OBS is _0.97-82_ So Root within lvm no problem, but _B_oot within lvm needs the next generation-grub. In the referenced article on rocklinux they still wrote: Partition Layout The partition layout in the example will be the following: * Partition 1: 100 MB ext2 - will contain the pre-system and marked bootable. * Partition 2: rest of the disk, LVM Physical volume. So /boot is here also outside lvm. Perhaps this can be a trigger to get grub2 (tng) inside openSUSE hw -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (1)
-
Hans Witvliet