Re: [gentoo-user] Auto-mount USB device

2006-10-11 Thread Stephen Liu
Hi Iain, Yes, it worked, no icons on gnome desktop. $ ls -al /media/disk $ ls -al /media/disk-l showed 2 partitions of the USB enclosure. # gnome-volume-propertie ... Mount removable drives when hot-plugged Mount removable media when inserted Browse removable media when inserted all

Re: [gentoo-user] Auto-mount USB device

2006-10-11 Thread Stephen Liu
Hi Iain, Sorry, previously I made a mistake running; # mount /dev/sdb1 /media/disk It should be # mount /dev/sda1 /media/ The USB enclosure can still be mounted. They are there. - snip - Now that you kind-of have things happening, what does /var/log/messages show when you plug in a usb

Re: [gentoo-user] Auto-mount USB device

2006-10-10 Thread Stephen Liu
Hi Iain, I actually meant brand chipset if you know it :) But nevermind, your Oh Sorry misunderstood your question Brand - Nil Chipset JM20337 0615 LGEZ1 86 11097027 There are dozens of these devices in the market. I just selected an economic one. AFAIK this seems to be OK. There were

Re: [gentoo-user] About Gnome desktop

2006-10-09 Thread Stephen Liu
Hi Iain, gdmsetup is part of gdm. Do you have gdm installed? Even though you're running gnome, it's possible not to have gdm... # equery l gdm [ Searching for package 'gdm' in all categories among: ] * installed packages [I--] [ ] gnome-base/gdm-2.14.9-r1 (0) * end * It is there. Tks

Re: [gentoo-user] Auto-mount USB device

2006-10-09 Thread Stephen Liu
Hi Iain, Still failed. # cat /etc/group | grep plugdev plugdev:x:1004:haldaemon,satimis if the logout-login doesn't work, then post the relevant part of /var/log/messages when plugging in the usb device. /var/log/message .. Oct 10 02:53:09 localhost usb 1-3: configuration #1 chosen from

Re: [gentoo-user] Auto-mount USB device

2006-10-09 Thread Stephen Liu
Hi Andrew, Still failed.# cat /etc/group | grep plugdevplugdev:x:1004:haldaemon,satimis if the logout-login doesn't work, then post the relevant partof /var/log/messages when plugging in the usb device. /var/log/message..Oct 10 02:53:09 localhost usb 1-3: configuration #1

Re: [gentoo-user] About Dictionary

2006-10-09 Thread Stephen Liu
Hi BoØrsted, Tks for your advice. # cat `equery w openoffice` [...] pkg_postinst() { [...] einfo Spell checking is now provided through our own myspell-ebuilds, einfo if you want to use it, please install the correct myspell package einfo according to your language needs.

Re: [gentoo-user] Auto-mount USB device

2006-10-08 Thread Stephen Liu
Hi Iain, Tks for your advice. 2. add yourself to the plugdev group 3. remove any lines in /etc/fstab for the same device you want to automount # nano /etc/group adding satimis on; plugdev:x:1004:haldaemon;satimis (remark:- also tried plugdev:x:1004:haldaemon,satimis) # cat /etc/fstab shm

[gentoo-user] Auto-mount USB device

2006-10-06 Thread Stephen Liu
Hi folks, Gentoo_64 gnome-light When the USB enclosure is plugin hotplug detects it. But it won't mount it automatically showing it as an icon on desktop. I have to mount it manually on console. Please advise which file I have to edit enabling auto-mount when the USB enclosure is

[gentoo-user] About Gnome desktop

2006-10-06 Thread Stephen Liu
Hi folks, Gentoo_64 Gnome-light Gnome desktop On Desktop -- Administration -- there is only 1 item Login Window clicking it starting; Could not launch menu item Details: Failed to execute child process gdmsetup (No such file or directory) Please advise how to fix it. What package shall I

Re: [gentoo-user] pppoe-start problem

2006-09-27 Thread Stephen Liu
Hi Boyd, Gentoo_amd64 gnome-light I belive you'll need to have a net.eth0 that is a symlink to net.lo as well as a net.ppp0 that is a symlink to net.lo. Before we go any further, what version of baselayout are you using? # equery l baselayout [ Searching for package 'baselayout' in all

[gentoo-user] pppoe-start problem

2006-09-26 Thread Stephen Liu
Hi folks, Gentoo_amd64 gnome-light Frequently on running; # pppoe-start ... Connected. # ifconfig only showing 2 sections loLink encap:Local Loopback ppp0 Link encap:Point-to-Point Protocol eth0 Link encap:Ethernet HWaddr 00:13:D4:FE:DA:87 disappeared Internet can't be

Re: [gentoo-user] About dig command and others

2006-09-26 Thread Stephen Liu
Hi Boyd, Is there another method to check/verify my suspicion. TIA Based on the original post, it sounds to me like your ISP is (intentionally or not) blocking that site. There's very little (probably nothing) you could do to prove they are doing it intentionally. Actually I'm not

Re: [gentoo-user] pppoe-start problem

2006-09-26 Thread Stephen Liu
Hi Boyd, Tks for your advice. I thought the new baselayout handled pppoe (and other ppp connections) just like normal connections: 1. Configure in /etc/conf.d/net /etc/conf.d/net is a file # cat /etc/conf.d/net config_eth0=( 192.168.0.2 netmask 255.255.255.0 brd 192.168.0.255 )

Re: [gentoo-user] About dig command and others

2006-09-25 Thread Stephen Liu
Hi Thomas, $ equery belongs `which dig` [ Searching for file(s) /usr/bin/dig in *... ] net-dns/bind-tools-9.3.2-r3 (/usr/bin/dig) Noted with tks. B.R. SL -- gentoo-user@gentoo.org mailing list

Re: [gentoo-user] About dig command and others

2006-09-25 Thread Stephen Liu
Hi Ryan, $ sudo emerge -av bind-tools I have dig installed. Tks B.R. SL -- gentoo-user@gentoo.org mailing list

[gentoo-user] Adjust date and time.

2006-09-25 Thread Stephen Liu
Hi folks, Gentoo-amd64 gnome-light Hi folks, I tried to adjust date and time of the OS. Right click on the date and time gnome panel widget I can't find adjust date time item. Please advise whether I need to install additional package. TIA B.R. satimis -- gentoo-user@gentoo.org

Re: [gentoo-user] Adjust date and time.

2006-09-25 Thread Stephen Liu
Hi Dirk, man date I got it done. Tks # date 092517312006 -s is not necessary. B.R. SL -- gentoo-user@gentoo.org mailing list

Re: [gentoo-user] recompiing kernel quesiton

2006-09-25 Thread Stephen Liu
Hi Pawel Kraszewski, Tks for your advice. First of all - you may try the installation CD of Gentoo - boot it and give 'halt -p' at command prompt. If it switches off, that means error in your config. If it doesn't, this might be the hardware fault. I made following 2 tests 1) Booted

Re: [gentoo-user] About dig command and others

2006-09-25 Thread Stephen Liu
Hi Bo, Is there another method to check/verify my suspicion. TIA http://www.rommel.stw.uni-erlangen.de/~fejf/cgi-bin/pfs-web.pl?filter=%2Fusr%2Fbin%2Fdigaction=search_filelimit=500 Tks for your link. I have dig' installed and running here. I can't recall which of the following commands is

Re: [gentoo-user] recompiing kernel quesiton

2006-09-24 Thread Stephen Liu
Hi Mick Unfortunately, both HTML posting and 'top posting' are still switched On. Now I checked the option again and reload yahoo. Would it be better? Tks Remarks: This is a beta version of Yahoo. I don't know how to change it back to its previous version. Tks B.R. SL --

[gentoo-user] About dig command and others

2006-09-24 Thread Stephen Liu
Hi folks, Gentoo_amd64 My ISP tried to block their unwellcome sites on the proxy server, I suppose, disallowing their subscribers visiting them. The blocked sites can be visited locally or abroad without problem via other ISPs OR via www.proxydom.com by me. I tried to verify my suspicion

[gentoo-user] recompiing kernel quesiton

2006-09-23 Thread Stephen Liu
Hi folks,Gentoo_amd64I need to recompile kernel to enable/check some items.I'll run# cd /usr/src/linux# make menuconfigchecked "Legacy Power Management API", etc.# makeHere I hesitate what shall I copy.# ls arch/alpha cris i386 m68k parisc s390 sparc v850arm frv ia64 m68knommu powerpc sh sparc64

[gentoo-user] Problem after recompiling kernel

2006-09-22 Thread Stephen Liu
Hi folks,Gentoo_amd64gnome-lightAfter recompiling kernel to enable;checked "Legacy Power Management API"cheched "Video" on "ACPI (Advanced Configuration and Power Interface) Support" following warning popup at booting;...Sep 22 23:01:01 localhost device-mapper: dm-linear: Device lookup

Re: [gentoo-user] Problem after recompiling kernel

2006-09-22 Thread Stephen Liu
Hi Dirk, How, without knowing more about your system (esp. HD subsystem used)IDE ATA133 HD your actual kernel config (/usr/src/linux/.config)?(Remark: already deleted some "commented out" lines to reduce file

Re: [gentoo-user] Problem after recompiling kernel

2006-09-22 Thread Stephen Liu
Hi Dirk, CONFIG_NR_CPUS=32 Wow, what kind of machine is this?This is a AMD64 bit box. But I did not touch this item on recompiling kernel. Before recompilation there was no such a complaint on text scrolling at booting. # Multi-device support (RAID and LVM) # CONFIG_MD=y # CONFIG_BLK_DEV_MD is

[gentoo-user] About .html and .pdf viewer

2006-09-21 Thread Stephen Liu
Hi folks,Gentoo_amd64gnome-lightAfter reading "All Packages By Name" on;http://pdb.finkproject.org/pdb/list.phpI can't resolve which packages I have to install to read .html and .pdf files, html-viewer and pdf-viewer. Please advise.TIAB.R.SL

[gentoo-user] About update question

2006-09-20 Thread Stephen Liu
Hi folks,Gentoo-amd64I need to update all running packages to their latest version, if available on Internet. Performed following steps;# emerge --sync# emerge --update worldPlease advise whether any further step is necessary thereafter.If I expect to clear all empty files on the box which will

Re: [gentoo-user] Screenshot package

2006-09-18 Thread Stephen Liu
Hi Daniel, Tks for your advice. If you have media-gfx/imagemagick installed I don't have it installed. I tried to do it on M$Windows way by pressing [PrintScreen] and paste the image on .doc or on Gimp, but following warning popup There was an error running gnome-screenshot: Failed to

Re: [gentoo-user] Screenshot package

2006-09-18 Thread Stephen Liu
Hi Neil, but following warning popup There was an error running gnome-screenshot: Failed to execute child process emerge gnome-extra/gnome-utils Added following tools Applications -- Accessories -- Dictionary and Take Screenshot Applications -- System Tools -- Floppy Formatter Tks B.R. SL

[gentoo-user] Screenshot package

2006-09-16 Thread Stephen Liu
Hi folks, Gentoo amd64 Gnome-light Screenshot does not come with gnome-light. Please advise which package shall I emerge. TIA B.R. SL -- gentoo-user@gentoo.org mailing list

Re: [gentoo-user] DVD burning package

2006-09-15 Thread Stephen Liu
Hi Neil, Tks for your advice. That depends on the type of discs you want to make. I prefer plain old kisofs + growisofs for data DVDs and tovid for video DVDs. Mainly for data burning. Do I need both of them or only either one? Do I need cdrecord as well? What will the correct command to

Re: [gentoo-user] DVD burning package

2006-09-15 Thread Stephen Liu
Hi Rumen, Check gnome-extra/nautilus-cd-burner don't know if it's included in gnome-light though. gnome-light is a very basic desktop with a few packages installed. Application Accessories - Terminal Internet - SeaMonkey System Tools - Avahi Zeorconf Browser/File Browser/New Login/New Login

Re: [gentoo-user] DVD burning package

2006-09-15 Thread Stephen Liu
Hi Neil, Tks for your advice. dvd+rw-tools. It does for DVDs what cdrecord does for CDs. Despite the name, it is for DVD-R(W) as well as DVD+RW It is the tool for burning both DVD+/-R(W), but not working well on DVD+R(W) If you emerge k3b with the dvdr USE flag, it will pull in all of

Re: [gentoo-user] DVD burning package

2006-09-15 Thread Stephen Liu
Hi Dirk, What will the correct command to emerge them? # emerge -pv kisofs then # emerge kisofs I'd guess this is a little typo: should be mkisofs. This is part of the famous cdrtools package. Noted with tks. Would # emerge cdrtools including mkisofs? Don't know where growisofs

[gentoo-user] DVD burning package

2006-09-14 Thread Stephen Liu
Hi folks, Gentoo amd64 Gnome-light What DVD/CD burning packages will you recommend to emerge on Gentoo other than Gnomebaker and K3b. TIA B.R. SL -- gentoo-user@gentoo.org mailing list

Re: [gentoo-user] Problem on installing Gnome (gnome-light) (gnome-light started)

2006-09-12 Thread Stephen Liu
Hi Bo, Tke for your advice. To get equery you need to emerge app-portage/gentoolkit. # emerge app-portage/gentoolkit. # emerge app-portage/gentoolkit # equery check gnome-base/gnome-session gnome-session not found # equery check gdm gdm not found # emerge gnome-session and manually

Re: [gentoo-user] Problem on installing Gnome (gnome-light) (SOLVED with gnome-light running)

2006-09-12 Thread Stephen Liu
Hi Bo, Further to my late posting, I have Gnome-light up running with further 2 steps:- - ran revdep-rebuild - ran emerge gnome-light - update conf files - rebooted PC - login as user - gnome-light 2.14 started (a warning popup: The panel encountered a problem while loading

Re: [gentoo-user] Problem on installing Gnome (gnome-light)

2006-09-11 Thread Stephen Liu
Hi Bo, - snip - Otherwise please show the output of: # equery check gnome-base/gnome-session # equery check gnome-base/gnome-session -bash command not found # emerge --search equery Application not found # emerge equery emerge : there are no ebuilds to satify equery - snip - Perhaps

Re: [gentoo-user] Re: Again - problem on installing Gentoo (Solved, X window now started)

2006-09-09 Thread Stephen Liu
Hi Neil, # 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

Re: [gentoo-user] xorg.conf problem

2006-09-09 Thread Stephen Liu
Hi folks, I can't find an xorg.conf.example file I just finished installing X window server. # X -config /root/xorg.conf.new created a working xorg.conf for me. I don't need xorg.conf.example. Then; # cp /root/xorg.conf.new /etc/X11/xorg.conf That is all. Some minor adjustment has to be

Re: [gentoo-user] xorg.conf problem

2006-09-09 Thread Stephen Liu
Hi Dale, I recall having to work a bit to get it to see my mouse too. X will not start without the little rat being found. Mine is: OptionDevice /dev/input/mouse0 The above line works for me too. OR /dev/input/mice also works here. On the document mentioned by me

[gentoo-user] Problem on installing Gnome (gnome-light)

2006-09-09 Thread Stephen Liu
Hi folks, I followed The GNOME Configuration HOWTO http://www.gentoo.org/doc/en/gnome-config.xml installing Gnome. Steps writen there went though w/o problem until upto; Code Listing 2.7: Adding hald and avahi-dnsconfd to the default runlevel On running; # /etc/init.d/hald start I failed to

Re: [gentoo-user] Problem on installing Gnome (gnome-light)

2006-09-09 Thread Stephen Liu
Hi Ryan, I think that what you found was not hald.sh, but rather halt.sh - something quite different. Oh yes, my mistake. But I can't find hald there. # ls -al /etc/init.d/ | grep hald No printout B.R. SL -- gentoo-user@gentoo.org mailing list

Re: [gentoo-user] Problem on installing Gnome (gnome-light)

2006-09-09 Thread Stephen Liu
Hi Bo, Tks for your advice. Did you set the following USE flags USE=gtk gtk2 gnome hal avahi in /etc/make.conf # cat /etc/make.conf . USE=gtk gtk2 gnome I left out hal avahi because I have no idea what they are for. Neither I need them. # emerge --newuse --update --deep

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 know

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 correct setting

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 | grep vg no

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 such

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?)? At time

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 Listing 2.1:

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. I

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_device

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

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

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

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

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

2006-09-05 Thread Stephen Liu
/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 [EMAIL PROTECTED] wrote

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

2006-09-05 Thread Stephen Liu
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 [EMAIL PROTECTED] wrote: Hi Jean-Marc, Do you follow the installation guide from gentoo.org? There are several documents on Gentoo

Re: [gentoo-user] OT Bookeeping recommendations

2006-09-05 Thread Stephen Liu
Hi Brett, What software does anyone use for bookeeping under Linux. I do some consulting and need to be able to track income, expenses, and do invoices and payments. I don't need anything fancy. Maybe GnuCash http://www.gnucash.org/ I found it 2 years ago but not having experienced it.

[gentoo-user] Again - problem on installing Gentoo

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

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

2006-09-04 Thread Stephen Liu
typing mistake on my posting. B.R. satimis On 9/4/06, Stephen Liu [EMAIL PROTECTED] 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

[gentoo-user] Internet can't be accessed

2006-09-03 Thread Stephen Liu
Hi folks, After the failure on installing Gentoo by running install-amd64-minimal-2006.0. I wiped out the HD and started again. This time I ran install-amd64-minimal-2006.1, the lastes version. However I encountered problem on networking, Internet access. adsl-setup is not working on this

Re: [gentoo-user] Gentoo failed to start

2006-09-01 Thread Stephen Liu
: On 8/31/06, Stephen Liu [EMAIL PROTECTED] wrote: Edited /etc/fstab as follows; /dev/hda1 /boot ext2 defaults,noatime 1 2 Does this filesystem contain a grub directory with stage2, menu.lst (or grub.conf), etc? What does grub/{menu.lst,grub.conf} contain? # grep -v rootfs /proc

Re: [gentoo-user] Gentoo failed to start

2006-09-01 Thread Stephen Liu
/mnt/gentoo/boot/boot/boot/boot boot - . grub lost+found It looks to me quite funny. It seems continue endlessly. boot was symlink to . There was no kernel nor bzimage there. B.R. SL --- Stephen Liu [EMAIL PROTECTED] wrote: Hi Richard, snip So try specifying the paths without

Re: [gentoo-user] Gentoo failed to start

2006-09-01 Thread Stephen Liu
Hi Richard, On 9/1/06, Stephen Liu [EMAIL PROTECTED] wrote: Ran # ls -l /mnt/gentoo/boot boot - . grub lost+found Well, this is why you cannot boot. You do not have a kernel image in /boot. Are you actually _following_ the guide that you posted a link to originally, because

Re: [gentoo-user] Gentoo failed to start

2006-08-31 Thread Stephen Liu
is [Ctrl]+[Alt]+F4). But after switching back to the working console all the work disappeared. It did happen occassionally but not always. Any advice? TIA. B.R. SL --- Jarry [EMAIL PROTECTED] wrote: Stephen Liu wrote: * IMPORTANT: 7 config files in /etc need updating. * Type emerge

Re: [gentoo-user] Gentoo failed to start

2006-08-31 Thread Stephen Liu
Hi Richard, Tks for your advice. On 8/31/06, Stephen Liu [EMAIL PROTECTED] wrote: After activating lv, mounting all devices, etc., coming to; # mount -t proc none /mnt/gentoo/proc # mount -o bind /dev /mnt/gentoo/dev # env-update -/bin/bash:env-update:command not found. You need

Re: [gentoo-user] Gentoo failed to start

2006-08-31 Thread Stephen Liu
Hi Richard and folks, Further to my late posting, tried again still failed. Steps performed as follows; After activating lv, vg, mounting device, partitions, etc.; # cd /mnt/gentoo # mount -t proc none /mnt/gentoo/proc # mount -o bind /dev /mnt/gentoo/dev # chroot ./ ./bin/bash All w/o

Re: [gentoo-user] Partitioning and LVM problem (partially solved)

2006-08-30 Thread Stephen Liu
Hi Richard, On 8/29/06, Stephen Liu [EMAIL PROTECTED] wrote: /dev/hda4: No label detected Did you do pvcreate /dev/hda4? At that time, NO. Later I did, having completed vgcreate, lvcreated, mkdir, mounting, etc. All went through w/o problem. Problem came after chroot. I'll post

[gentoo-user] problem re ebuilds

2006-08-30 Thread Stephen Liu
Hi folks, Installing Gentoo amd64 Guide:- Gentoo Linux AMD64 Handbook http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml On running; # emerge --sync --quiet following warning popup: * An update to portage is available. It is highly recommended * that your update portage now, before any

[gentoo-user] Partitioning and LVM problem

2006-08-29 Thread Stephen Liu
Hi folks, I have following partitions on the HD # fdisk -l /dev/hda1 * 83 System (for /boot) /dev/hda2 5 Extended (as swap) /dev/hda3 83 Linux (for /root) /dev/hda4 8e Linux LVM (for /home /usr /var /opt /tmp) Encountered following problems; 1) # vgscan Reading all physical volumes.

Re: [gentoo-user] Partitioning and LVM problem (partially solved)

2006-08-29 Thread Stephen Liu
... No volume groups found # vgchange -a y No volume groups found I don't know whether this is a mistake. Because according to; Gentoo LVM2 installation http://www.gentoo.org/doc/en/lvm2.xml It should be no printout. Tks B.R. SL --- Stephen Liu [EMAIL PROTECTED] wrote: Hi folks, I have

Re: [gentoo-user] Partitioning and LVM problem (partially solved)

2006-08-29 Thread Stephen Liu
Hi Richard, New partitions # fdisk -l /dev/hda1 * 83 Linux /dev/hda283 Linux /dev/hda382 Linux Swap/Solaris /dev/hda48e Linux LVM * end * Can you post the output of 'grep -v -e ^ *# -e ^ *$ /etc/lvm/lvm.conf'. devices { dir = /dev scan = [ /dev ] filter = [

Re: [gentoo-user] File replication

2006-08-28 Thread Stephen Liu
Hi Rumen, Tks for your advice. Not very sure that's what you want, but check: sys-cluster/drbd. Description: mirror/replicate block-devices across a network-connection (requires a network connection though). sync+cron can do the job, incremental-copying files from /home/user on to

Re: [gentoo-user] File replication

2006-08-28 Thread Stephen Liu
Hi Roger, Tks for your advice. If you want to synchronize (i.e. update to the latest version, no matter where it is), try unison. Whether you suggested; Unison File Synchronizer http://www.cis.upenn.edu/~bcpierce/unison/ I'm trying to find out whether real time synchronization is possible,

Re: [gentoo-user] File replication

2006-08-28 Thread Stephen Liu
Hi Neil, In the rsync man page. rsync -ax ~/ /mnt/extdisk/myhome/ should do it. On which file of cron shall I add following line to rsync /mnt/extdisk/myhome/ quarterly? 0,15,30,45 * * * * rsync -ax ~/ /mnt/extdisk/myhome/ Whether -u update will do incremental copying for those files

Re: [gentoo-user] File replication

2006-08-28 Thread Stephen Liu
Hi Valerio, Try to add --delete. Could you please provide more detail? TIA B.R. SL On 8/28/06, Stephen Liu [EMAIL PROTECTED] wrote: Hi Neil, In the rsync man page. rsync -ax ~/ /mnt/extdisk/myhome/ should do it. On which file of cron shall I add following line

[gentoo-user] Installing Gentoo - question

2006-08-28 Thread Stephen Liu
Hi folks, I followed; Gentoo Linux AMD64 Handbook http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml running install-amd64-minimal-2006.0 CD to install Gentoo and encountered following problem; 1) Network connection ADSL broadband connection via ADSL modem -- telephone line Ethernet -

Re: [gentoo-user] File replication

2006-08-27 Thread Stephen Liu
Linux PC when I work on the latter. B.R. SL On 8/25/06, Stephen Liu [EMAIL PROTECTED] wrote: Hi folks, I'm prepared using an USB enclosure for data stroage. I'm searching a tool/method whenever I save a file on /home/user a duplicate copy will be saved automatically on /mnt

Re: [gentoo-user] File replication

2006-08-27 Thread Stephen Liu
Hi Neil, Do you really need such frequent syncing? Bear in mind the limited write lifespan of flash memory, if you have a file in your home directory that is frequently updated, you could wear out the memory in a short time. what's wrong with using a script that syncs your hard disk with

Re: [gentoo-user] File replication

2006-08-27 Thread Stephen Liu
Hi Etaoin, Tks for your advice. If you have networking, why not set up a network share of some kind (nfs, smb, or even ssh via shfs) and mount it (under the same path) from each computer you work on? This avoid having to replicate data and, with decent network speed, is nearly as fast

Re: [gentoo-user] File replication

2006-08-27 Thread Stephen Liu
Hi Neil, but I still don't see why you need real-time mirroring. A script to sync the drive before unmounting would give you an accurate mirror. A cron script to check if the drive is mounted and sync it every hour would cut down on the amount of data to sync when unmounting. If running

Re: [gentoo-user] File replication

2006-08-27 Thread Stephen Liu
Hi Neil, Shutdown involves unmounting the drive, and I recommended syncing before unmounting. The USB enclosure will be automatically mounted/umounted. Whether on the script includes syncing once before poweroff/reboot starts. Where can I find similar syncing and cron script examples? TIA

Re: [gentoo-user] File replication

2006-08-26 Thread Stephen Liu
Hi Robert, Tks for your advice. What about a perl script that just copies all files in /home/user to the device once it is plugged in? I'm not a programmer nor very acknowledgeable on perl. Could you please shed me some guide how to start. What I need is on saving a new file or edited

[gentoo-user] File replication

2006-08-25 Thread Stephen Liu
Hi folks, I'm prepared using an USB enclosure for data stroage. I'm searching a tool/method whenever I save a file on /home/user a duplicate copy will be saved automatically on /mnt/point/of/usb_enclosure/home/user simultaneously, similar to replication/mirroring. Thus the USB enclosure can be

[gentoo-user] Installation - about creating /etc/fstab

2006-08-20 Thread Stephen Liu
Hi folks, About creating /etc/fstab HD partitions:- /dev/hda1 ext2/boot /dev/hda2 (swap) swap (ext) /dev/hda3 ext3/root /dev/hda4 LVM under Volume Group (vg) /home /usr /opt /var /tmp floppy cdrom cdwriter Whether following entries are correct ? /etc/fstab