[linux-lvm] Debian and LVM at the begin of the installation prozess

shsp0058 at st-peter.stw.uni-erlangen.de shsp0058 at st-peter.stw.uni-erlangen.de
Sun Mar 16 02:16:01 UTC 2003


Quoting Stefan Feeser <stefan.feeser at felino.de>:

> Hi all,
> 
> I am a beginner with LVM and Debian. I would like to install debian and
> "put" 
> the hole disks in the LVM. At my system I would like to stripe-mirror
> (RAID 
> 10) my two disks (IDE). Because the hardware is not the newest one I
> have to 
> do the installation with bootdisks.
> 
> My question is how I can create a volume group and so on during the 
> installation prozess.
> 
> I have tested this but Debian always present his installation tool. I 
> downloaded debian installation disks and the device drivers but I always
> see 
> the installation tool. After that the next steps will be to configure 
> language, etc., and, after that I have to create a swap partition and
> than an 
> root partition. A LVM filesystem I can't create.
> 
> Sorry about my, I am sure, stupid questions and my bad english.
> 
> Thanks and regards
> 
> Stefan

Hi Stefan,
the easiest way would be:
1. create a /boot partition
2. create 2 raids - one for lvm,
   the second for temporary installation
3. format the second raid & install debian on it,
4. create VG & LV's on the first raid, and trasfer 
   the temporary installation to it 
   i use:
   cd /
   find . -xdev | cpio -pm /mnt/newroot
5. modify fstab & lilo.conf to correspond to the new
   installation, rerun lilo
6. boot in the new installation, if everything is OK,
   you can create PV of the second raid(the temporary installation)
   and add it to your VG,extend your LV's and the FS on them
7. that was all :)

regards,

svetljo
 




More information about the linux-lvm mailing list