I booted the new 2004.0 universal minimal LiveCD (gentoo). Everything is OK: network-setup, hard-disk partitioning... Here is my partition table: livecd root # fdisk /dev/hda The number of cylinders for this disk is set to 4982. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): p Disk /dev/hda: 40.9 GB, 40982151168 bytes 255 heads, 63 sectors/track, 4982 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 5 40131 83 Linux /dev/hda2 6 68 506047+ 82 Linux swap /dev/hda3 69 193 1004062+ 83 Linux /dev/hda4 194 4982 38467642+ 5 Extended /dev/hda5 194 2684 20008926 8e Linux LVM /dev/hda6 2685 4982 18458653+ c W95 FAT32 (LBA) Command (m for help): I want to use LVM on my system: 1) I successfully created physical volume and volume group: livecd root # pvcreate /dev/hda5 /dev/cdrom: open failed: Read-only file system Can't initialize physical volume "/dev/hda5" of volume group "vg" without -ff livecd root # pvcreate /dev/hda5 -ff /dev/cdrom: open failed: Read-only file system Really INITIALIZE physical volume "/dev/hda5" of volume group "vg" [y/n]? y WARNING: Forcing physical volume creation on /dev/hda5 of volume group "vg" Physical volume "/dev/hda5" successfully created livecd root # livecd root # vgcreate vg /dev/hda5 /dev/cdrom: open failed: Read-only file system /dev/cdrom: open failed: Read-only file system /dev/cdrom: open failed: Read-only file system Volume group "vg" successfully created 2) The problem occurs, when I want to create a logical volume: livecd root # lvcreate -L256M -n chroot vg /dev/cdrom: open failed: Read-only file system /dev/mapper/control: open failed: No such file or directory Is device-mapper driver missing from kernel? Failed to activate new LV. 3) My system is: livecd root # uname -a Linux livecd 2.4.24-xfs-r3 #1 Sun Feb 29 01:17:55 CET 2004 i686 AMD Athlon(tm) XP AuthenticAMD GNU/Linux livecd root # With the 1.4 Gentoo LiveCD there is no problem with creating LV. Thank you very much!
According to my Kernel-Config, device-mapper should have been compiled as a module. Can you check if that module is loaded and try to load it if not?
*** This bug has been marked as a duplicate of 40394 ***