How to install LVM partition?

Paul Smith phhs80 at gmail.com
Tue Apr 4 10:47:17 UTC 2006


On 4/3/06, Paul Howarth <paul at city-fan.org> wrote:
> >>>> One of these times we'll hit the magic incantation.  :-)
> >>> I hope it will be soon! :-)
> >>>
> >>> # vgchange -a y
> >>>   2 logical volume(s) in volume group "VolGroup00" now active
> >>> # mount -t ext3 /dev/mapper/VolGroup00/LogVol00 /mnt/fc5
> >>> mount: special device /dev/mapper/VolGroup00/LogVol00 does not exist
> >>> #
> >> Bingo now!
> >>
> >> It should be
> >>
> >> # mount -t ext3 /dev/VolGroup00/LogVol00 /mnt/fc5
> >>
> >> i.e., without 'mapper'.
> >
> > But still a problem:
> >
> > # grub-install --root-directory=/mnt/fc5 /dev/hda
> > mkdir: cannot create directory `/mnt/fc5/boot/grub': Permission denied
> > #
>
> What are you actually trying to do?

Paul,

I was trying to use FC5 partition for the root directory of grub.
Meanwhile, I was successful with doing that not from the FC4 partition
(mounting FC5 partition) but doing that on FC5 directly.

Paul




More information about the users mailing list