Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)

2006-09-07 Thread Neil Bothwick
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 Tha

Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)

2006-09-07 Thread Dirk Heinrichs
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

Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)

2006-09-07 Thread Dirk Heinrichs
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:

Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)

2006-09-07 Thread Stephen Liu
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

Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)

2006-09-07 Thread Neil Bothwick
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

Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)

2006-09-07 Thread Stephen Liu
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 c

Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)

2006-09-07 Thread Neil Bothwick
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

Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)

2006-09-07 Thread Stephen Liu
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 kno

[gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)

2006-09-06 Thread Harm Geerts
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

Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)

2006-09-06 Thread Stephen Liu
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_

Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)

2006-09-06 Thread Dirk Heinrichs
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 m

Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)

2006-09-06 Thread Stephen Liu
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

Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)

2006-09-06 Thread Stephen Liu
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 Li

Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)

2006-09-06 Thread Jeff Rollin
-- Forwarded message --From: Stephen Liu <[EMAIL PROTECTED]>Date: 06-Sep-2006 10:02 Subject: Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)To: gentoo-user@lists.gentoo.orgHi Dirk,> > Your previous mail stated that you did not emerge lvm2.

Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)

2006-09-06 Thread Dirk Heinrichs
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 com

Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)

2006-09-06 Thread Stephen Liu
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?)

Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)

2006-09-06 Thread Stephen Liu
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 s

Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)

2006-09-06 Thread Dirk Heinrichs
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 --

Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)

2006-09-06 Thread Dirk Heinrichs
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

Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)

2006-09-06 Thread 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

Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)

2006-09-05 Thread Stephen Liu
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