public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Again - problem on installing Gentoo
@ 2006-09-04 14:16 Stephen Liu
  2006-09-04 14:45 ` Jean-Marc Beaune
  2006-09-04 17:38 ` Marc Blumentritt
  0 siblings, 2 replies; 31+ messages in thread
From: Stephen Liu @ 2006-09-04 14:16 UTC (permalink / raw
  To: gentoo-user

Hi folks,

Have another round installing Gentoo, running
"install-amd64_minimal-2006.1".  Still encountered the same problem
apart from that of Internet connection.  Installation went through
without difficulty.  Grub started but ending at "Error 15 : File not
found".

I installed grub manually with;
# cat << EOF | grub
> root (hd0,0)
> setup (hd0)
> EOF
...... (hd0,0)/boot/grub/stage2/boot/grub/menu.lst...succeeded.

Kernel image has to be copied manually;
# cp arch/x86_64/boot/bzImage /boot/linux-2.6.17-gentoo-r5

# ls -al /boot/
.keep
boot -> .
grub
linux-2.6.17-gentoo-r5
loar+found
* end *

What is ".keep" there ?

/boot/grub/grub.conf
...
....
kernel (hd0,0)/boot/kernel-2.6.17/gentoo-r7 root=/dev/hda2
* end *

I still could not resolve re-entering chroot environment unable to find
"env-update, emerge, /src/, /modules/".  I wonder whether I was
following the right book.  It seems to me installing Gentoo even more
difficult than installing LFS and BLFS.

Advice would be appreciated.  TIA

B.R.
SL
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [gentoo-user] Again - problem on installing Gentoo
  2006-09-04 14:16 [gentoo-user] Again - problem on installing Gentoo Stephen Liu
@ 2006-09-04 14:45 ` Jean-Marc Beaune
  2006-09-04 15:54   ` Stephen Liu
  2006-09-04 17:38 ` Marc Blumentritt
  1 sibling, 1 reply; 31+ messages in thread
From: Jean-Marc Beaune @ 2006-09-04 14:45 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1365 bytes --]

Hi,

Are you sure about 'kernel (hd0,0)/boot/kernel-2.6.17/gentoo-r7
root=/dev/hda2'
Shouldn't it be 'kernel (hd0,0)/boot/kernel-2.6.17-gentoo-r7 root=/dev/hda2'
instead ?


On 9/4/06, Stephen Liu <satimis@yahoo.com> wrote:
>
> Hi folks,
>
> Have another round installing Gentoo, running
> "install-amd64_minimal-2006.1".  Still encountered the same problem
> apart from that of Internet connection.  Installation went through
> without difficulty.  Grub started but ending at "Error 15 : File not
> found".
>
> I installed grub manually with;
> # cat << EOF | grub
> > root (hd0,0)
> > setup (hd0)
> > EOF
> ...... (hd0,0)/boot/grub/stage2/boot/grub/menu.lst...succeeded.
>
> Kernel image has to be copied manually;
> # cp arch/x86_64/boot/bzImage /boot/linux-2.6.17-gentoo-r5
>
> # ls -al /boot/
> .keep
> boot -> .
> grub
> linux-2.6.17-gentoo-r5
> loar+found
> * end *
>
> What is ".keep" there ?
>
> /boot/grub/grub.conf
> ...
> ....
> kernel (hd0,0)/boot/kernel-2.6.17/gentoo-r7 root=/dev/hda2
> * end *
>
> I still could not resolve re-entering chroot environment unable to find
> "env-update, emerge, /src/, /modules/".  I wonder whether I was
> following the right book.  It seems to me installing Gentoo even more
> difficult than installing LFS and BLFS.
>
> Advice would be appreciated.  TIA
>
> B.R.
> SL
> --
> gentoo-user@gentoo.org mailing list
>
>

[-- Attachment #2: Type: text/html, Size: 1899 bytes --]

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [gentoo-user] Again - problem on installing Gentoo
  2006-09-04 14:45 ` Jean-Marc Beaune
@ 2006-09-04 15:54   ` Stephen Liu
  2006-09-04 18:00     ` [gentoo-user] " Harm Geerts
  0 siblings, 1 reply; 31+ messages in thread
From: Stephen Liu @ 2006-09-04 15:54 UTC (permalink / raw
  To: gentoo-user

Hi Jean-Marc,
 
> Are you sure about 'kernel (hd0,0)/boot/kernel-2.6.17/gentoo-r7
> root=/dev/hda2'
> Shouldn't it be 'kernel (hd0,0)/boot/kernel-2.6.17-gentoo-r7
> root=/dev/hda2'
> instead ?

Just rechecked it.  It is;
'kernel (hd0,0)/boot/kernel-2.6.17-gentoo-r7 root=/dev/hda2'

Sorry it was my typing mistake on my posting.

B.R.
satimis

 
> On 9/4/06, Stephen Liu <satimis@yahoo.com> wrote:
> >
> > Hi folks,
> >
> > Have another round installing Gentoo, running
> > "install-amd64_minimal-2006.1".  Still encountered the same problem
> > apart from that of Internet connection.  Installation went through
> > without difficulty.  Grub started but ending at "Error 15 : File
> not
> > found".
> >
> > I installed grub manually with;
> > # cat << EOF | grub
> > > root (hd0,0)
> > > setup (hd0)
> > > EOF
> > ...... (hd0,0)/boot/grub/stage2/boot/grub/menu.lst...succeeded.
> >
> > Kernel image has to be copied manually;
> > # cp arch/x86_64/boot/bzImage /boot/linux-2.6.17-gentoo-r5
> >
> > # ls -al /boot/
> > .keep
> > boot -> .
> > grub
> > linux-2.6.17-gentoo-r5
> > loar+found
> > * end *
> >
> > What is ".keep" there ?
> >
> > /boot/grub/grub.conf
> > ...
> > ....
> > kernel (hd0,0)/boot/kernel-2.6.17/gentoo-r7 root=/dev/hda2
> > * end *
> >
> > I still could not resolve re-entering chroot environment unable to
> find
> > "env-update, emerge, /src/, /modules/".  I wonder whether I was
> > following the right book.  It seems to me installing Gentoo even
> more
> > difficult than installing LFS and BLFS.
> >
> > Advice would be appreciated.  TIA
> >
> > B.R.
> > SL
> > --
> > gentoo-user@gentoo.org mailing list
> >
> >
> 

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 31+ messages in thread

* [gentoo-user] Re: Again - problem on installing Gentoo
  2006-09-04 14:16 [gentoo-user] Again - problem on installing Gentoo Stephen Liu
  2006-09-04 14:45 ` Jean-Marc Beaune
@ 2006-09-04 17:38 ` Marc Blumentritt
  2006-09-05 15:06   ` Stephen Liu
  1 sibling, 1 reply; 31+ messages in thread
From: Marc Blumentritt @ 2006-09-04 17:38 UTC (permalink / raw
  To: gentoo-user

Stephen Liu schrieb:
> I installed grub manually with;
> # cat << EOF | grub
>> root (hd0,0)
>> setup (hd0)
>> EOF
> ...... (hd0,0)/boot/grub/stage2/boot/grub/menu.lst...succeeded.
> 
> Kernel image has to be copied manually;
> # cp arch/x86_64/boot/bzImage /boot/linux-2.6.17-gentoo-r5
> 
> # ls -al /boot/
> .keep
> boot -> .
> grub
> linux-2.6.17-gentoo-r5
^^^^^^^^^^^^^^^^^^^^^^^^
> loar+found
> * end *
> 
> What is ".keep" there ?
> 
> /boot/grub/grub.conf
> ...
> ....
> kernel (hd0,0)/boot/kernel-2.6.17/gentoo-r7 root=/dev/hda2
                      ^^^^^^^^^^^^^^^^^^^^^^^
You have release 5 and in grub.conf release 7.

Marc
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 31+ messages in thread

* [gentoo-user] Re: Again - problem on installing Gentoo
  2006-09-04 15:54   ` Stephen Liu
@ 2006-09-04 18:00     ` Harm Geerts
  0 siblings, 0 replies; 31+ messages in thread
From: Harm Geerts @ 2006-09-04 18:00 UTC (permalink / raw
  To: gentoo-user

On Monday 04 September 2006 17:54, Stephen Liu wrote:
> # ls -al /boot/
> .keep
> boot -> .
> grub
> linux-2.6.17-gentoo-r5
> loar+found
> * end *

+

> Just rechecked it.  It is;
> 'kernel (hd0,0)/boot/kernel-2.6.17-gentoo-r7 root=/dev/hda2'
>
> Sorry it was my typing mistake on my posting.

= wrong kernel name

try: 'kernel (hd0,0)/boot/linux-2.6.17-gentoo-r5 root=/dev/hda2'

On a side note:
You asked about the "boot -> ." symlink in your previous thread, this is a 
convenience thing for users like you.

You have a seperate /boot partition /dev/hda1 with the kernel.
But you tell grub the kernel is at "(hd0,0)/boot/<kernel>"
This maps to /dev/hda1/boot/<kernel>

By linking "boot -> ." grub can still find the kernel even though the config 
is wrong.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [gentoo-user] Re: Again - problem on installing Gentoo
  2006-09-04 17:38 ` Marc Blumentritt
@ 2006-09-05 15:06   ` Stephen Liu
  2006-09-05 15:32     ` Neil Bothwick
  0 siblings, 1 reply; 31+ messages in thread
From: Stephen Liu @ 2006-09-05 15:06 UTC (permalink / raw
  To: gentoo-user

Hi Marc,

> > kernel (hd0,0)/boot/kernel-2.6.17/gentoo-r7 root=/dev/hda2
>                       ^^^^^^^^^^^^^^^^^^^^^^^
> You have release 5 and in grub.conf release 7.

During installation after chroot, I ran;

# ls -l /usr/src/linux
lrwxrwxrwx  1  root  root ...... /usr/src/linux ->
linux-2.6.17-gentoo-r7

I used it as kernel version.

B.R.
SL
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [gentoo-user] Re: Again - problem on installing Gentoo
  2006-09-05 15:06   ` Stephen Liu
@ 2006-09-05 15:32     ` Neil Bothwick
  2006-09-05 17:42       ` [gentoo-user] Re: Again - problem on installing Gentoo (Booting started) Stephen Liu
  0 siblings, 1 reply; 31+ messages in thread
From: Neil Bothwick @ 2006-09-05 15:32 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 883 bytes --]

On Tue, 5 Sep 2006 23:06:10 +0800 (CST), Stephen Liu wrote:

> > > kernel (hd0,0)/boot/kernel-2.6.17/gentoo-r7 root=/dev/hda2  
> >                       ^^^^^^^^^^^^^^^^^^^^^^^
> > You have release 5 and in grub.conf release 7.  
> 
> During installation after chroot, I ran;
> 
> # ls -l /usr/src/linux
> lrwxrwxrwx  1  root  root ...... /usr/src/linux ->
> linux-2.6.17-gentoo-r7
> 
> I used it as kernel version.

/usr/src contains the source to the kernel (as you'd expect form the
name). The actual kernels live in /boot, this is the version that must
match.

As was previously pointed out, if you use "make install" to install your
kernel, the correct files are copied to the correct places, and symlinks
are set up so you don't need to mess with your bootloader config. 


-- 
Neil Bothwick

"What is about L'waxana Troi that makes me melt." * Odo

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [gentoo-user] Re: Again - problem on installing Gentoo (Booting started)
  2006-09-05 15:32     ` Neil Bothwick
@ 2006-09-05 17:42       ` Stephen Liu
  2006-09-05 20:22         ` Jean-Marc Beaune
  0 siblings, 1 reply; 31+ messages in thread
From: Stephen Liu @ 2006-09-05 17:42 UTC (permalink / raw
  To: gentoo-user

Hi Neil,

> /usr/src contains the source to the kernel (as you'd expect form the
> name). The actual kernels live in /boot, this is the version that
> must
> match.

Gentoo started booting after changing following line;
kernel (hd0,0)/boot/kernel-2.6.17-gentoo-r7  root=/dev/hda2
to
kernel (hd0,0)/boot/linux-2.6.17-gentoo-r7  root=/dev/hda2

But still having following problems;


1)
Engine: Unable to open the engine block file /var/lock/evms-engine :
Read only filesystem.  The engine is not protected against other
instances of the Engine being opened at the same time.  Error returned
from evms_commit_changes ( ) : No such device [!!]


2)
Loading module 3c59x ....
Failed to load 3c59x  [!!]


3)
All
/dev/vg/usr
/dev/vg/home
/dev/vg/opt
/dev/vg/var
/dev/vg/tmp

have same problem as listed follow;
e2fsck: No such file or directory which trying to open /dev/vg/usr. 
The super block could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else).  There the
superblock is corrupt, and your might trying e2fsck with an alternative
superblock :
e2fsck -b 8193

# e2fsck -b 8193 /dev/vg/usr
fsck.ext3: No such file or directory while trying to open /dev/vg/usr

Please advise how to fix them.  TIA

B.R.
SL
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [gentoo-user] Re: Again - problem on installing Gentoo (Booting started)
  2006-09-05 17:42       ` [gentoo-user] Re: Again - problem on installing Gentoo (Booting started) Stephen Liu
@ 2006-09-05 20:22         ` Jean-Marc Beaune
  2006-09-05 23:12           ` Stephen Liu
  0 siblings, 1 reply; 31+ messages in thread
From: Jean-Marc Beaune @ 2006-09-05 20:22 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1619 bytes --]

Hi,

Do you follow the installation guide from gentoo.org? I mean, do you use a
"standard" scheme?


On 9/5/06, Stephen Liu <satimis@yahoo.com> wrote:
>
> Hi Neil,
>
> > /usr/src contains the source to the kernel (as you'd expect form the
> > name). The actual kernels live in /boot, this is the version that
> > must
> > match.
>
> Gentoo started booting after changing following line;
> kernel (hd0,0)/boot/kernel-2.6.17-gentoo-r7  root=/dev/hda2
> to
> kernel (hd0,0)/boot/linux-2.6.17-gentoo-r7  root=/dev/hda2
>
> But still having following problems;
>
>
> 1)
> Engine: Unable to open the engine block file /var/lock/evms-engine :
> Read only filesystem.  The engine is not protected against other
> instances of the Engine being opened at the same time.  Error returned
> from evms_commit_changes ( ) : No such device [!!]
>
>
> 2)
> Loading module 3c59x ....
> Failed to load 3c59x  [!!]
>
>
> 3)
> All
> /dev/vg/usr
> /dev/vg/home
> /dev/vg/opt
> /dev/vg/var
> /dev/vg/tmp
>
> have same problem as listed follow;
> e2fsck: No such file or directory which trying to open /dev/vg/usr.
> The super block could not be read or does not describe a correct ext2
> filesystem.  If the device is valid and it really contains an ext2
> filesystem (and not swap or ufs or something else).  There the
> superblock is corrupt, and your might trying e2fsck with an alternative
> superblock :
> e2fsck -b 8193
>
> # e2fsck -b 8193 /dev/vg/usr
> fsck.ext3: No such file or directory while trying to open /dev/vg/usr
>
> Please advise how to fix them.  TIA
>
> B.R.
> SL
> --
> gentoo-user@gentoo.org mailing list
>
>


-- 
/JM

[-- Attachment #2: Type: text/html, Size: 2193 bytes --]

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [gentoo-user] Re: Again - problem on installing Gentoo (Booting started)
  2006-09-05 20:22         ` Jean-Marc Beaune
@ 2006-09-05 23:12           ` Stephen Liu
  2006-09-06  1:12             ` [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started) Stephen Liu
  0 siblings, 1 reply; 31+ messages in thread
From: Stephen Liu @ 2006-09-05 23:12 UTC (permalink / raw
  To: gentoo-user

Hi Jean-Marc,

> Do you follow the installation guide from gentoo.org? 

There are several documents on Gentoo website.  I followed 2 documents:

Partitioning HD with LVM
Gentoo LVM2 installation
http://www.gentoo.org/doc/en/lvm2.xml

Installation
Gentoo Linux AMD64 Handbook
http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml


> I mean, do you use a
> "standard" scheme?

I made some adjustment for my case.  I did not emerge LVM2.  

If fail again.  I'll run a final test according their HD config (w/o
slave), not running LVM.

B.R.
SL



> 
> 
> On 9/5/06, Stephen Liu <satimis@yahoo.com> wrote:
> >
> > Hi Neil,
> >
> > > /usr/src contains the source to the kernel (as you'd expect form
> the
> > > name). The actual kernels live in /boot, this is the version that
> > > must
> > > match.
> >
> > Gentoo started booting after changing following line;
> > kernel (hd0,0)/boot/kernel-2.6.17-gentoo-r7  root=/dev/hda2
> > to
> > kernel (hd0,0)/boot/linux-2.6.17-gentoo-r7  root=/dev/hda2
> >
> > But still having following problems;
> >
> >
> > 1)
> > Engine: Unable to open the engine block file /var/lock/evms-engine
> :
> > Read only filesystem.  The engine is not protected against other
> > instances of the Engine being opened at the same time.  Error
> returned
> > from evms_commit_changes ( ) : No such device [!!]
> >
> >
> > 2)
> > Loading module 3c59x ....
> > Failed to load 3c59x  [!!]
> >
> >
> > 3)
> > All
> > /dev/vg/usr
> > /dev/vg/home
> > /dev/vg/opt
> > /dev/vg/var
> > /dev/vg/tmp
> >
> > have same problem as listed follow;
> > e2fsck: No such file or directory which trying to open /dev/vg/usr.
> > The super block could not be read or does not describe a correct
> ext2
> > filesystem.  If the device is valid and it really contains an ext2
> > filesystem (and not swap or ufs or something else).  There the
> > superblock is corrupt, and your might trying e2fsck with an
> alternative
> > superblock :
> > e2fsck -b 8193
> >
> > # e2fsck -b 8193 /dev/vg/usr
> > fsck.ext3: No such file or directory while trying to open
> /dev/vg/usr
> >
> > Please advise how to fix them.  TIA
> >
> > B.R.
> > SL
> > --
> > gentoo-user@gentoo.org mailing list
> >
> >
> 
> 
> -- 
> /JM
> 

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)
  2006-09-05 23:12           ` Stephen Liu
@ 2006-09-06  1:12             ` Stephen Liu
  2006-09-06  7:07               ` Alan McKinnon
  2006-09-06  7:24               ` Dirk Heinrichs
  0 siblings, 2 replies; 31+ messages in thread
From: Stephen Liu @ 2006-09-06  1:12 UTC (permalink / raw
  To: gentoo-user

Hi folks,

Fruther to my late posting, now Gentoo started finally, but still
having problem on mounting Logcial Volumes;
/dev/vg/usr
/dev/vg/home
etc.

"localhost login" started.  Root login was possble.


/etc/fstab now looks like as follow:
tmpfs /newroot tmpfs rw 0 0
/dev/hdd /newroot/mnt/cdrom iso9660 ro 0 0
/dev/loop/0 /newroot/mnt/livecd squashfs ro 0 0
proc /newroot/proc proc rw,nodiratime 0 0
sysfs /newroot/sys sysfs rw 0 0
udev /newroot/dev tmpfs rw,nosuid 0 0
devpts /newroot/dev/pts devpts rw 0 0
cachedir /newroot/mnt/livecd/lib64/splash/cache tmpfs rw 0 0
tmpfs /newroot/mnt/livecd/lib64/splash/tmp tmpfs rw 0 0
tmpfs /newroot/mnt/livecd/lib64/firmware tmpfs rw 0 0
tmpfs /newroot/mnt/livecd/usr/portage tmpfs rw 0 0
usbfs /newroot/proc/bus/usb usbfs rw 0 0
/dev/hda2 / ext3 rw,data=ordered 0 0
/dev/hda1 /boot ext2 rw,nogrpid 0 0
/dev/vg/usr /usr ext3 rw,data=ordered 0 0
/dev/vg/home /home ext3 rw,data=ordered 0 0
/dev/vg/var /var ext3 rw,data=ordered 0 0
/dev/vg/opt /opt ext3 rw,data=ordered 0 0
/dev/vg/tmp /tmp ext3 rw,data=ordered 0 0
none /proc proc rw,nodiratime 0 0
udev /dev tmpfs rw,nosuid 0 0
* end *


"tmpfs /newroot" not created during booting.

I think following warning is critical;
device-mapper : dm-linear : Device lookup failed
device-mapper : error adding target to table

Any advice???  TIA

B.R.
SL




--- Stephen Liu <satimis@yahoo.com> wrote:

> Hi Jean-Marc,
> 
> > Do you follow the installation guide from gentoo.org? 
> 
> There are several documents on Gentoo website.  I followed 2
> documents:
> 
> Partitioning HD with LVM
> Gentoo LVM2 installation
> http://www.gentoo.org/doc/en/lvm2.xml
> 
> Installation
> Gentoo Linux AMD64 Handbook
> http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml
> 
> 
> > I mean, do you use a
> > "standard" scheme?
> 
> I made some adjustment for my case.  I did not emerge LVM2.  
> 
> If fail again.  I'll run a final test according their HD config (w/o
> slave), not running LVM.
> 
> B.R.
> SL
> 
> 
> 
> > 
> > 
> > On 9/5/06, Stephen Liu <satimis@yahoo.com> wrote:
> > >
> > > Hi Neil,
> > >
> > > > /usr/src contains the source to the kernel (as you'd expect
> form
> > the
> > > > name). The actual kernels live in /boot, this is the version
> that
> > > > must
> > > > match.
> > >
> > > Gentoo started booting after changing following line;
> > > kernel (hd0,0)/boot/kernel-2.6.17-gentoo-r7  root=/dev/hda2
> > > to
> > > kernel (hd0,0)/boot/linux-2.6.17-gentoo-r7  root=/dev/hda2
> > >
> > > But still having following problems;
> > >
> > >
> > > 1)
> > > Engine: Unable to open the engine block file
> /var/lock/evms-engine
> > :
> > > Read only filesystem.  The engine is not protected against other
> > > instances of the Engine being opened at the same time.  Error
> > returned
> > > from evms_commit_changes ( ) : No such device [!!]
> > >
> > >
> > > 2)
> > > Loading module 3c59x ....
> > > Failed to load 3c59x  [!!]
> > >
> > >
> > > 3)
> > > All
> > > /dev/vg/usr
> > > /dev/vg/home
> > > /dev/vg/opt
> > > /dev/vg/var
> > > /dev/vg/tmp
> > >
> > > have same problem as listed follow;
> > > e2fsck: No such file or directory which trying to open
> /dev/vg/usr.
> > > The super block could not be read or does not describe a correct
> > ext2
> > > filesystem.  If the device is valid and it really contains an
> ext2
> > > filesystem (and not swap or ufs or something else).  There the
> > > superblock is corrupt, and your might trying e2fsck with an
> > alternative
> > > superblock :
> > > e2fsck -b 8193
> > >
> > > # e2fsck -b 8193 /dev/vg/usr
> > > fsck.ext3: No such file or directory while trying to open
> > /dev/vg/usr
> > >
> > > Please advise how to fix them.  TIA
> > >
> > > B.R.
> > > SL
> > > --
> > > gentoo-user@gentoo.org mailing list
> > >
> > >
> > 
> > 
> > -- 
> > /JM
> > 
> 
> -- 
> gentoo-user@gentoo.org mailing list
> 
> 

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)
  2006-09-06  1:12             ` [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started) Stephen Liu
@ 2006-09-06  7:07               ` Alan McKinnon
  2006-09-06  7:21                 ` Dirk Heinrichs
  2006-09-06  7:24               ` Dirk Heinrichs
  1 sibling, 1 reply; 31+ messages in thread
From: Alan McKinnon @ 2006-09-06  7:07 UTC (permalink / raw
  To: gentoo-user

On Wednesday 06 September 2006 03:12, Stephen Liu wrote:
> Hi folks,
>
> Fruther to my late posting, now Gentoo started finally, but
> still having problem on mounting Logcial Volumes;
> /dev/vg/usr
> /dev/vg/home
> etc.

Your previous mail stated that you did not emerge lvm2. 
However, /dev/vg/usr IS a logical volume so it will never work 
until you install the lvm2 software.

Look Stephen, throughout this thread several people have asked 
you if you followed the relevant howtos and your replies were 
mostly, um, evasive. The errors you are making are elementary - 
wrong file names, trying to use a facility that has not been 
installed, etc. So I earnestly recommend you go back to the 
howto on the wiki, and follow the instructions EXACTLY, without 
trying to tweak stuff and be different. Once it's working, then 
you can tweak it.

alan
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)
  2006-09-06  7:07               ` Alan McKinnon
@ 2006-09-06  7:21                 ` Dirk Heinrichs
  2006-09-06  9:02                   ` Stephen Liu
  0 siblings, 1 reply; 31+ messages in thread
From: Dirk Heinrichs @ 2006-09-06  7:21 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 882 bytes --]

Am Mittwoch, 6. September 2006 09:07 schrieb ext Alan McKinnon:
> On Wednesday 06 September 2006 03:12, Stephen Liu wrote:
> > Hi folks,
> >
> > Fruther to my late posting, now Gentoo started finally, but
> > still having problem on mounting Logcial Volumes;
> > /dev/vg/usr
> > /dev/vg/home
> > etc.
>
> Your previous mail stated that you did not emerge lvm2.
> However, /dev/vg/usr IS a logical volume so it will never work
> until you install the lvm2 software.

He has EVMS installed, he doesn't need lvm2 tools.

Bye...

	Dirk
-- 
Dirk Heinrichs          | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: dirk.heinrichs@capgemini.com
Hambornerstraße 55      | Web:  http://www.capgemini.com
D-40472 Düsseldorf      | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)
  2006-09-06  1:12             ` [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started) Stephen Liu
  2006-09-06  7:07               ` Alan McKinnon
@ 2006-09-06  7:24               ` Dirk Heinrichs
  2006-09-06  9:16                 ` Stephen Liu
  1 sibling, 1 reply; 31+ messages in thread
From: Dirk Heinrichs @ 2006-09-06  7:24 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 632 bytes --]

Am Mittwoch, 6. September 2006 03:12 schrieb ext Stephen Liu:

> I think following warning is critical;
> device-mapper : dm-linear : Device lookup failed
> device-mapper : error adding target to table

Did you compile dm into the kernel (or: Is the dm-mod modules loaded?)?

Bye...

	Dirk
-- 
Dirk Heinrichs          | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: dirk.heinrichs@capgemini.com
Hambornerstraße 55      | Web:  http://www.capgemini.com
D-40472 Düsseldorf      | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)
  2006-09-06  7:21                 ` Dirk Heinrichs
@ 2006-09-06  9:02                   ` Stephen Liu
  2006-09-06 12:18                     ` Jeff Rollin
  0 siblings, 1 reply; 31+ messages in thread
From: Stephen Liu @ 2006-09-06  9:02 UTC (permalink / raw
  To: gentoo-user

Hi Dirk,

> > Your previous mail stated that you did not emerge lvm2.
> > However, /dev/vg/usr IS a logical volume so it will never work
> > until you install the lvm2 software.
> 
> He has EVMS installed, he doesn't need lvm2 tools.

My problem is LV not being activated on booting so all devices such
/dev/vg/usr, home, opt, etc. can't not been mounted.  At time of
installation ;
# vgchange -a y 
must be run to activate LV.

I'm now looking around where ("/rc.d/"  ?) I have to add this command.

I tried creating /tmp/newroot, /tmp/newroot/mnt, etc.in anticipating
mounting LV.  But found it did not work.

Actually Gentoo started but the above devices unable to mount making
some files can't be found.  Other problem are of minor matters.

In the past I have been playing around on FC5 and Ubuntu 6.06
partitioning HD with LVM on command lines but never work.  I was
compelled using GUI to get it done.  Then it worked without problem.  I
don't know its reason.

B.R.
SL
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)
  2006-09-06  7:24               ` Dirk Heinrichs
@ 2006-09-06  9:16                 ` Stephen Liu
  2006-09-06 11:57                   ` Dirk Heinrichs
  0 siblings, 1 reply; 31+ messages in thread
From: Stephen Liu @ 2006-09-06  9:16 UTC (permalink / raw
  To: gentoo-user

Hi Dirk,

> Am Mittwoch, 6. September 2006 03:12 schrieb ext Stephen Liu:
> 
> > I think following warning is critical;
> > device-mapper : dm-linear : Device lookup failed
> > device-mapper : error adding target to table
> 
> Did you compile dm into the kernel (or: Is the dm-mod modules
> loaded?)?

At time of installation I ran;
# modprobe dm-mod
No printout

Afterwards I found it for "Loading the LVM2 module".  I ran LVM not
LVM2 so I did not care it further.

I can re-run the above command again starting the 
"install-amd64-minimal-2006.1".  It is before "chroot".  If after
"chroot" I have to wipe out the HD and re-work from the beginning.

I think following warning is a major problem;
device-mapper : dm-linear : Device lookup failed
device-mapper : error adding target to table

How to check whether EMVS is working?  Tks

B.R.
SL
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)
  2006-09-06  9:16                 ` Stephen Liu
@ 2006-09-06 11:57                   ` Dirk Heinrichs
  2006-09-06 12:20                     ` Stephen Liu
  0 siblings, 1 reply; 31+ messages in thread
From: Dirk Heinrichs @ 2006-09-06 11:57 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2051 bytes --]

Am Mittwoch, 6. September 2006 11:16 schrieb ext Stephen Liu:

> > Am Mittwoch, 6. September 2006 03:12 schrieb ext Stephen Liu:
> > > I think following warning is critical;
> > > device-mapper : dm-linear : Device lookup failed
> > > device-mapper : error adding target to table
> >
> > Did you compile dm into the kernel (or: Is the dm-mod modules
> > loaded?)?
>
> At time of installation I ran;
> # modprobe dm-mod
> No printout
>
> Afterwards I found it for "Loading the LVM2 module".  I ran LVM not
> LVM2 so I did not care it further.

There is no LVM2 module.

> I think following warning is a major problem;
> device-mapper : dm-linear : Device lookup failed
> device-mapper : error adding target to table

From the EVMS FAQ:

"Q.  I'm running on a 2.6 kernel and some or all of my volumes fail to get 
activated. The volumes don't show up in the /dev/evms/ directory and I get 
the following errors in my kernel log: 
device-mapper: dm-linear: Device lookup failed
device-mapper: error adding target to table

A.  You probably need to apply the bd-claim patch to your kernel. See 
http://evms.sf.net/install/kernel.html#bdclaim for more details about this 
patch and other possible options."

The problem is that beginning with kernel 2.6 it is no longer allowed to 
talk to devices via different paths (i.e. /dev/hda1 and /dev/evms/hda1). So 
evms_activate (or: the device-mapper) will have problems creating a mapping 
when the device is allready used via a different path. However, from the 
other mails in this thread, I don't see where this is happening.

Are you using both lvm2 tools _and_ EVMS? Then it is clear that the latter 
will fail.

Bye...

	Dirk
-- 
Dirk Heinrichs          | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: dirk.heinrichs@capgemini.com
Hambornerstraße 55      | Web:  http://www.capgemini.com
D-40472 Düsseldorf      | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)
  2006-09-06  9:02                   ` Stephen Liu
@ 2006-09-06 12:18                     ` Jeff Rollin
  2006-09-06 12:32                       ` Stephen Liu
  0 siblings, 1 reply; 31+ messages in thread
From: Jeff Rollin @ 2006-09-06 12:18 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1666 bytes --]

---------- Forwarded message ----------
From: Stephen Liu <satimis@yahoo.com>
Date: 06-Sep-2006 10:02
Subject: Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo
started)
To: gentoo-user@lists.gentoo.org

Hi Dirk,

> > Your previous mail stated that you did not emerge lvm2.
> > However, /dev/vg/usr IS a logical volume so it will never work
> > until you install the lvm2 software.
>
> He has EVMS installed, he doesn't need lvm2 tools.

My problem is LV not being activated on booting so all devices such
/dev/vg/usr, home, opt, etc. can't not been mounted.  At time of
installation ;
# vgchange -a y
must be run to activate LV.

I'm now looking around where ("/rc.d/"  ?) I have to add this command.

I tried creating /tmp/newroot, /tmp/newroot/mnt, etc.in anticipating
mounting LV.  But found it did not work.

Actually Gentoo started but the above devices unable to mount making
some files can't be found.  Other problem are of minor matters.

In the past I have been playing around on FC5 and Ubuntu 6.06
partitioning HD with LVM on command lines but never work.  I was
compelled using GUI to get it done.  Then it worked without problem.  I
don't know its reason.

Sorry if this sounds harsh but if it works from the GUI but not from the
commandline then the problem exists between keyboard and chair: you're not
typing in the commands properly. Computers are stupid. They need to be told
EXACTLY what to do; spelling mistakes just don't cut it. FWIW the other day
I need to do some "resurrection" work involving LVM and it would have taken
a quarter of the time if I'd just been more careful ;-)

Jeff Rollin

-- 
Proud Linux user since 1998

[-- Attachment #2: Type: text/html, Size: 2109 bytes --]

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)
  2006-09-06 11:57                   ` Dirk Heinrichs
@ 2006-09-06 12:20                     ` Stephen Liu
  2006-09-06 13:50                       ` Dirk Heinrichs
  0 siblings, 1 reply; 31+ messages in thread
From: Stephen Liu @ 2006-09-06 12:20 UTC (permalink / raw
  To: gentoo-user

Hi Dirk,

> > At time of installation I ran;
> > # modprobe dm-mod
> > No printout
> >
> > Afterwards I found it for "Loading the LVM2 module".  I ran LVM not
> > LVM2 so I did not care it further.
> 
> There is no LVM2 module.

Sorry, it's on the book:
http://www.gentoo.org/doc/en/lvm2.xml
Code Listing 2.1: Loading the LVM2 module
# modprobe dm-mod

> Are you using both lvm2 tools _and_ EVMS? Then it is clear that the
> latter will fail.

I haven't installed LVM2 intentionally.  Neither I selected LVM2 module
in kernel Device Drivers, IIRC, nor I ran "etc-update".  I'll start
Gentoo later to check it again.

Others noted with tks

B.R.
SL
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)
  2006-09-06 12:18                     ` Jeff Rollin
@ 2006-09-06 12:32                       ` Stephen Liu
  0 siblings, 0 replies; 31+ messages in thread
From: Stephen Liu @ 2006-09-06 12:32 UTC (permalink / raw
  To: gentoo-user

Hi Jeff,

> Sorry if this sounds harsh but if it works from the GUI but not from
> the
> commandline then the problem exists between keyboard and chair:
> you're not
> typing in the commands properly.

I tried dozen times on Ubuntu unable to activate LV.  Sorry I don't
think it was keyboard problem.  I also followd their installation book.
 The folks on their mailing list tried to assist me without result. 
Problem was unknown.

B.R.
SL
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)
  2006-09-06 12:20                     ` Stephen Liu
@ 2006-09-06 13:50                       ` Dirk Heinrichs
  2006-09-06 16:20                         ` Stephen Liu
  0 siblings, 1 reply; 31+ messages in thread
From: Dirk Heinrichs @ 2006-09-06 13:50 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1134 bytes --]

Am Mittwoch, 6. September 2006 14:20 schrieb ext Stephen Liu:

> Sorry, it's on the book:
> http://www.gentoo.org/doc/en/lvm2.xml
> Code Listing 2.1: Loading the LVM2 module
> # modprobe dm-mod

Then the book is wrong, or at least misleading. The header should then 
be: "Loading the Device Mapper module", because this is what the command 
does.

> > Are you using both lvm2 tools _and_ EVMS? Then it is clear that the
> > latter will fail.
>
> I haven't installed LVM2 intentionally.

Yes you have, otherwise it wouldn't be there.

> Neither I selected LVM2 module in kernel Device Drivers, IIRC, nor I
> ran "etc-update". 

Again, how comes it exists, if you didn't select it (assuming you've not 
used genkernel)?

I don't get the point about etc-update?

Bye...

	Dirk
-- 
Dirk Heinrichs          | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: dirk.heinrichs@capgemini.com
Hambornerstraße 55      | Web:  http://www.capgemini.com
D-40472 Düsseldorf      | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)
  2006-09-06 13:50                       ` Dirk Heinrichs
@ 2006-09-06 16:20                         ` Stephen Liu
  2006-09-06 18:03                           ` Harm Geerts
  0 siblings, 1 reply; 31+ messages in thread
From: Stephen Liu @ 2006-09-06 16:20 UTC (permalink / raw
  To: gentoo-user

Hi Dirk,

> > I haven't installed LVM2 intentionally.
> 
> Yes you have, otherwise it wouldn't be there.

Starting Gentoo and login as root

To fix "Volume activation"
device-mapper: dm-linear: Device lookup failed
device-mapper: error adding target to table

Edited "/etc/evms.config"
under "Sysfs_device
added "exclude = [hda]

Now problem GONE.


The remaining mounting problem are;
mount : mount special device /dev/vg/usr does not exist
mount : mount special device /dev/vg/home does not exist
mount : mount special device /dev/vg/opt does not exist
mount : mount special device /dev/vg/var does not exist
mount : mount special device /dev/vg/tmp does not exist

re-ran
# modprobe de-mod
FATAL: Module dm-mod not found.

Any suggestion?  TIA


B.R.
SL
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 31+ messages in thread

* [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)
  2006-09-06 16:20                         ` Stephen Liu
@ 2006-09-06 18:03                           ` Harm Geerts
  0 siblings, 0 replies; 31+ messages in thread
From: Harm Geerts @ 2006-09-06 18:03 UTC (permalink / raw
  To: gentoo-user

On Wednesday 06 September 2006 18:20, Stephen Liu wrote:
> # modprobe de-mod
> FATAL: Module dm-mod not found.

>From http://www.gentoo.org/doc/en/lvm2.xml

Code Listing 2.9: Selecting the LVM2 module in a 2.6.x kernel
Device Drivers  --->
 Multi-device support (RAID and LVM)  --->
   [*] Multiple devices driver support (RAID and LVM)
   < >   RAID support
   <M>   Device mapper support

Clearly, you did not follow the guide !
Clearly this is yet another mistake you made yourself !
Clearly we *cannot* help you if you randomly follow parts of guides !

If you dont know *exactly* what you are doing you should follow the guide to 
the letter !

> Any suggestion?  TIA

I suggest you skip LVM and stick to the official installation guide.
I suggest you take small steps and learn in small increments cause you're in 
way over your head right now.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)
       [not found] <20060906175019.6a6f585c@hactar.digimed.co.uk>
@ 2006-09-07 11:09 ` Stephen Liu
  2006-09-07 11:46   ` Neil Bothwick
  0 siblings, 1 reply; 31+ messages in thread
From: Stephen Liu @ 2006-09-07 11:09 UTC (permalink / raw
  To: gentoo-user

Hi Neil,

Tks for your advice.

> > # modprobe de-mod
> > FATAL: Module dm-mod not found.
> 
> You may have it compiled i the kernel rather than as a module. It
> makes
> little sense to use a module when you need it all the time.

I'll try to recompile the kernel on Gentoo itself.  But I don't know
whether it works because some devices/partitions not mounted.


> What does "zgrep BLK_DEV_DM /proc/config.gz" show?

CONFIG_BLK_DEV_DM=y
# CONFIG_BLK_EEV_DM_BBR is not set.

How to set it?  By recompiling the kernel?

B.R.
SL
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)
  2006-09-07 11:09 ` Stephen Liu
@ 2006-09-07 11:46   ` Neil Bothwick
  2006-09-07 12:10     ` Stephen Liu
  0 siblings, 1 reply; 31+ messages in thread
From: Neil Bothwick @ 2006-09-07 11:46 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 424 bytes --]

On Thu, 7 Sep 2006 19:09:58 +0800 (CST), Stephen Liu wrote:

> > What does "zgrep BLK_DEV_DM /proc/config.gz" show?  
> 
> CONFIG_BLK_DEV_DM=y
> # CONFIG_BLK_EEV_DM_BBR is not set.
> 
> How to set it?  By recompiling the kernel?

Yes, but there's no need. This is the correct setting (IMO). it means you
don't need to modprobe dm-mod.


-- 
Neil Bothwick

Growing old is mandatory; growing up is optional!!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)
  2006-09-07 11:46   ` Neil Bothwick
@ 2006-09-07 12:10     ` Stephen Liu
  2006-09-07 12:57       ` Neil Bothwick
  0 siblings, 1 reply; 31+ messages in thread
From: Stephen Liu @ 2006-09-07 12:10 UTC (permalink / raw
  To: gentoo-user

Hi Neil,

> On Thu, 7 Sep 2006 19:09:58 +0800 (CST), Stephen Liu wrote:
> 
> > > What does "zgrep BLK_DEV_DM /proc/config.gz" show?  
> > 
> > CONFIG_BLK_DEV_DM=y
> > # CONFIG_BLK_EEV_DM_BBR is not set.
> > 
> > How to set it?  By recompiling the kernel?
> 
> Yes, but there's no need. This is the correct setting (IMO). it means
> you don't need to modprobe dm-mod.

Noted with tks.


My problem is unable to mount following devices/partitions at booting;

/dev/vg/usr
/dev/vg/home
/dev/vg/opt
/dev/vg/var
/dev/vg/tmp

otherwise Gentoo can't work properly even booted up.  Any suggesiton?

TIA

B.R
SL
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)
  2006-09-07 12:10     ` Stephen Liu
@ 2006-09-07 12:57       ` Neil Bothwick
  2006-09-07 13:19         ` Stephen Liu
  0 siblings, 1 reply; 31+ messages in thread
From: Neil Bothwick @ 2006-09-07 12:57 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 353 bytes --]

On Thu, 7 Sep 2006 20:10:34 +0800 (CST), Stephen Liu wrote:

> My problem is unable to mount following devices/partitions at booting;
> 
> /dev/vg/usr
> /dev/vg/home
> /dev/vg/opt
> /dev/vg/var
> /dev/vg/tmp

Do the devices exist? What does "ls -l /dev/vg /dev/mapper" say?


-- 
Neil Bothwick

Top Oxymorons Number 12: Plastic glasses

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)
  2006-09-07 12:57       ` Neil Bothwick
@ 2006-09-07 13:19         ` Stephen Liu
  2006-09-07 13:52           ` Dirk Heinrichs
  2006-09-07 14:17           ` Neil Bothwick
  0 siblings, 2 replies; 31+ messages in thread
From: Stephen Liu @ 2006-09-07 13:19 UTC (permalink / raw
  To: gentoo-user

Hi Neil,

> > /dev/vg/usr
> > /dev/vg/home
> > /dev/vg/opt
> > /dev/vg/var
> > /dev/vg/tmp
> 
> Do the devices exist? What does "ls -l /dev/vg /dev/mapper" say?

# ls -l /dev/vg /dev/mapper
ls: /dev/vg: no such file or directory
/dev/mapper:
total 0
crw-rw---- 1 root root .... control

# ls -l /dev | grep vg
no printout

# vgchange -a y
-bash: vgchange: command not found

During installing Gentoo, "vgchange -a y" must be run to activate vg
then all Logical volumes will be activated simultaneously.  Otherwise
/dev/vg could not be found and the above devices/directories can't be
mounted as well.

However "vgchange" is not running on Gentoo.


B.R.
SL
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)
  2006-09-07 13:19         ` Stephen Liu
@ 2006-09-07 13:52           ` Dirk Heinrichs
  2006-09-07 13:53             ` Dirk Heinrichs
  2006-09-07 14:17           ` Neil Bothwick
  1 sibling, 1 reply; 31+ messages in thread
From: Dirk Heinrichs @ 2006-09-07 13:52 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 493 bytes --]

Am Donnerstag, 7. September 2006 15:19 schrieb ext Stephen Liu:

> # vgchange -a y
> -bash: vgchange: command not found

So, emerge lvm.

Bye...

	Dirk
-- 
Dirk Heinrichs          | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: dirk.heinrichs@capgemini.com
Hambornerstraße 55      | Web:  http://www.capgemini.com
D-40472 Düsseldorf      | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)
  2006-09-07 13:52           ` Dirk Heinrichs
@ 2006-09-07 13:53             ` Dirk Heinrichs
  0 siblings, 0 replies; 31+ messages in thread
From: Dirk Heinrichs @ 2006-09-07 13:53 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 590 bytes --]

Am Donnerstag, 7. September 2006 15:52 schrieb Dirk Heinrichs:
> Am Donnerstag, 7. September 2006 15:19 schrieb ext Stephen Liu:
> > # vgchange -a y
> > -bash: vgchange: command not found
>
> So, emerge lvm.

Must be: emerge lvm2

Bye...

	Dirk
-- 
Dirk Heinrichs          | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: dirk.heinrichs@capgemini.com
Hambornerstraße 55      | Web:  http://www.capgemini.com
D-40472 Düsseldorf      | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)
  2006-09-07 13:19         ` Stephen Liu
  2006-09-07 13:52           ` Dirk Heinrichs
@ 2006-09-07 14:17           ` Neil Bothwick
  1 sibling, 0 replies; 31+ messages in thread
From: Neil Bothwick @ 2006-09-07 14:17 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1022 bytes --]

On Thu, 7 Sep 2006 21:19:12 +0800 (CST), Stephen Liu wrote:

> # ls -l /dev/vg /dev/mapper
> ls: /dev/vg: no such file or directory
> /dev/mapper:
> total 0
> crw-rw---- 1 root root .... control
> 
> # ls -l /dev | grep vg
> no printout
> 
> # vgchange -a y
> -bash: vgchange: command not found

That's because you haven't installed lvm2, emerge it.

> During installing Gentoo, "vgchange -a y" must be run to activate vg
> then all Logical volumes will be activated simultaneously.  Otherwise
> /dev/vg could not be found and the above devices/directories can't be
> mounted as well.

vgchange is present on the live CD, but not on your system.

If I were you I would start again and follow the instructions to the
letter. Every time you think you know a better/quicker/cleverer way,
remind yourself of how much more experience the writers of the
instructions have. You can try to "improve" things once you have a
working system.


-- 
Neil Bothwick

When the going gets tough, upgrade.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2006-09-07 14:23 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-04 14:16 [gentoo-user] Again - problem on installing Gentoo Stephen Liu
2006-09-04 14:45 ` Jean-Marc Beaune
2006-09-04 15:54   ` Stephen Liu
2006-09-04 18:00     ` [gentoo-user] " Harm Geerts
2006-09-04 17:38 ` Marc Blumentritt
2006-09-05 15:06   ` Stephen Liu
2006-09-05 15:32     ` Neil Bothwick
2006-09-05 17:42       ` [gentoo-user] Re: Again - problem on installing Gentoo (Booting started) Stephen Liu
2006-09-05 20:22         ` Jean-Marc Beaune
2006-09-05 23:12           ` Stephen Liu
2006-09-06  1:12             ` [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started) Stephen Liu
2006-09-06  7:07               ` Alan McKinnon
2006-09-06  7:21                 ` Dirk Heinrichs
2006-09-06  9:02                   ` Stephen Liu
2006-09-06 12:18                     ` Jeff Rollin
2006-09-06 12:32                       ` Stephen Liu
2006-09-06  7:24               ` Dirk Heinrichs
2006-09-06  9:16                 ` Stephen Liu
2006-09-06 11:57                   ` Dirk Heinrichs
2006-09-06 12:20                     ` Stephen Liu
2006-09-06 13:50                       ` Dirk Heinrichs
2006-09-06 16:20                         ` Stephen Liu
2006-09-06 18:03                           ` Harm Geerts
     [not found] <20060906175019.6a6f585c@hactar.digimed.co.uk>
2006-09-07 11:09 ` Stephen Liu
2006-09-07 11:46   ` Neil Bothwick
2006-09-07 12:10     ` Stephen Liu
2006-09-07 12:57       ` Neil Bothwick
2006-09-07 13:19         ` Stephen Liu
2006-09-07 13:52           ` Dirk Heinrichs
2006-09-07 13:53             ` Dirk Heinrichs
2006-09-07 14:17           ` Neil Bothwick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox