Find the answer to your Linux question:
Results 1 to 3 of 3
hello group.. check this : http://slackware.osuosl.org/slackwar...README_LVM.TXT i need some newbie help. . . accdg to the file : We are going to 'chroot' into our fresh installation and setup the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Nov 2005
    Location
    Philippines
    Posts
    198

    LVM in slack 12.0 HOW TO--help


    hello group.. check this :

    http://slackware.osuosl.org/slackwar...README_LVM.TXT

    i need some newbie help. . .

    accdg to the file :

    We are going to 'chroot' into our fresh installation and setup the LVM device
    nodes which lilo needs in order to install successfully. While we are
    chrooted anyway, we will use the opportunity to create a initial ramdisk image
    (initrd) which is required for a root filesystem which is created on LVM.
    Run the following commands to "bind" mount the proc and sys filesystems in the
    chroot, do the actual chroot and finally create the LVM device nodes:

    # mount -o bind /proc /mnt/proc

    # mount -o bind /sys /mnt/sys

    # chroot /mnt

    # vgscan --mknodes

    question is. .. after opening a new console.. how will i do the chroot?

    sorry for being noob... will i just do the instruction as said sequentially? ?
    P4 1.8, 1G DDR ram, 64mb GF2 MX400, 80G WD and 40G Maxtor, ECS mobo. Playing XP,Slack 12.0 and Vector Linux 5.8 GOLD, STD 6.0 Zenwalk 4.6.1, OpenBSD 3.9

  2. #2
    Linux Engineer aliov's Avatar
    Join Date
    Dec 2006
    Location
    Geneva,Beirut
    Posts
    1,078
    all what you need it's to login as root , if you use any of the tty (Ctl Alt +Fx) ,enter root and the password, if you login from your current account type su - and then enter the root password.

    Regards.
    Linux is not only an operating system, it's a philosophy.
    Archost.

  3. #3
    Linux Newbie
    Join Date
    Nov 2005
    Location
    Philippines
    Posts
    198
    UPDATE :

    ok so im here : but an error occurred :


    from the readme file it says :


    # pvcreate /dev/sda1

    # vgcreate myvg /dev/sda1

    # lvcreate -L 5G -n root myvg

    # lvcreate -L 3G -n usr myvg
    on my side :

    i have set up my LV partitions to /dev/hdc5 -- for my root (2G in size)
    /dev/hdc10 -- for usr (5G) and /dev/hdc11 for home

    /dev/hdc --- my entire HD


    when i did :

    pvcreate /dev/hdc

    error : no /dev/hdc found (ignored or filtered)

    **** so how's that? *****
    P4 1.8, 1G DDR ram, 64mb GF2 MX400, 80G WD and 40G Maxtor, ECS mobo. Playing XP,Slack 12.0 and Vector Linux 5.8 GOLD, STD 6.0 Zenwalk 4.6.1, OpenBSD 3.9

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •