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

Re: [linux-lvm] root partition



ramsis farhat wrote:
> Hello every body. I'm student and I have training in a company that wants to put LVM partitions in its server.
> The problem is that they do not want to format the hard disk.
> For the moment, I'm working on a virtual machine with Red Hat Entreprise 3.
> I'm working with 2 hard disks of 8GB. The first is partitioned like this
> sda1 boot (101 MB)
> sda2 /      (7400MB)
> sda3 swap (573 MB)
>  
> I followed exactly the steps in the LVM-HOWTO excepted that I added the second Hard disk sdb.
> I made a lvm partion sdb1 and I put all the root data on it.
> Then, I had 2 problems. The first is that the RAM disk can't be created because of the lack of space ( I'm not sure of that)
> And the second is that the server is using GRUB and not LILO, so I don't know How rebooting on the new root file.

What do you mean by "RAM disk"? Is it a problem while preparing the
ramdisk (initrd) by mkinited, or is it a problem to startup the
ramdisk during boot?

Both, grub and lilo need sda1 (/boot) to boot, load the kernel and
the initrd (ram disk). There are two things you should verify:
1) For the new root partition (more correct: root LV), be sure,
/boot still comes from /dev/sda1 (should be, as it was before).
2) the initrd (ram disk) created by mkinitrd, must know about
using LVM. This may be achieved either via some configuration
(my SuSE system looks into /etc/sysconfig/kernel) or by "-f lvm2".
See "man mkinitrd".

Dieter.


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