Re: Installation over existing LVM

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

 



On Saturday 07 July 2007 16:08, Timothy Murphy wrote:
> Bruno Costacurta wrote:
> > Question:
> > Is it possible to install FC7 on an already defined Logical Volume ?
>
> It's certainly possible, because I did it not long ago.
> Here's my fstab:
> ---------------------------
> [tim@alfred ~]$ cat /etc/fstab
> /dev/VolGroup00/slash   /                       ext3    defaults        1 1
> LABEL=/boot1            /boot                   ext3    defaults        1 2
> devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
> tmpfs                   /dev/shm                tmpfs   defaults        0 0
> /dev/VolGroup00/home    /home                   ext3    defaults        1 2
> /dev/VolGroup00/opt     /opt                    ext3    defaults        1 2
> proc                    /proc                   proc    defaults        0 0
> sysfs                   /sys                    sysfs   defaults        0 0
> /dev/VolGroup00/tmp     /tmp                    ext3    defaults        1 2
> /dev/VolGroup00/usr     /usr                    ext3    defaults        1 2
> /dev/VolGroup00/var     /var                    ext3    defaults        1 2
> /dev/VolGroup00/www     /www                    ext3    defaults        1 2
> /dev/VolGroup00/swap    swap                    swap    defaults        0 0
> LABEL=/common           /common                 ext3    defaults        1 2
> ---------------------------
>
> > Note:
> > I have three disks:
> > first two = RAID-1 with Debian installed
> > third disk =LVM and I would like to install FC7 on it.
>
> How does fdisk see your disk?
> Mine says
> ---------------------------
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sdb1   *           1        2433    19543041    c  W95 FAT32 (LBA)
> /dev/sdb2            2434        2446      104422+  83  Linux
> /dev/sdb3            2451        3424     7823655   81  Minix / old Linux
> /dev/sdb4            3425       36472   265458060    5  Extended
> /dev/sdb5            3425        4033     4891761    c  W95 FAT32 (LBA)
> /dev/sdb6            4034       36472   260566236   8e  Linux LVM
> ---------------------------
>
fdisk -l /dev/sdb :

Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1       24321   195358401   8e  Linux LVM

lvdisplay :

/home/bruno: sudo lvdisplay
  --- Logical volume ---
  LV Name                /dev/VolGroup01/downloads
  VG Name                VolGroup01
  LV UUID                1moL8p-rULZ-i0qY-GCFo-P54S-YjF4-g5jrN3
  LV Write Access        read/write
  LV Status              available
  # open                 0
  LV Size                50.00 GB
  Current LE             12800
  Segments               1
  Allocation             inherit
  Read ahead sectors     0
  Block device           253:0

  --- Logical volume ---
  LV Name                /dev/VolGroup01/fedora7
  VG Name                VolGroup01
  LV UUID                uNYm79-CMA0-fIrP-Tfdb-JwOq-p2XT-jFrntq
  LV Write Access        read/write
  LV Status              available
  # open                 0
  LV Size                15.00 GB
  Current LE             3840
  Segments               1
  Allocation             inherit
  Read ahead sectors     0
  Block device           253:1

The  /dev/VolGroup01/downloads is mounted as /mnt/downl and in use.
cat /etc/fstab :

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/md0        /               ext3    defaults,errors=remount-ro 0       1
/dev/sda5       none            swap    sw              0       0
/dev/hda        /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
/dev/VolGroup01/downloads       /mnt/downl      ext3    defaults
none            /selinux        selinuxfs       noauto  0       0


The Fedora installation detects the LVM and the previously created logical 
volume 'fedora7' but refuse to install boot on logical volume and so will not 
proceed installation.
How can I proceed ? Can I install Fedora files on this logical volume, and 
boot to it via current grub installed (on RAID-1 and which serves current 
Debian) ?

Note: also the lettering for this (third) drive dedicated to LVM is different 
between Debian and Fedora: sdb for Debian, sdc for Fedora.

Thanks for attention.
Bye,
Bruno


>
>
> --
> Timothy Murphy
> e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
> tel: +353-86-2336090, +353-1-2842366
> s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

Attachment: pgp7fFIO3Xwz1.pgp
Description: PGP signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux