Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <5.1.0.14.0.20020606102244.02c13198@pop.ma.ultranet.com> X-Sender: lhall AT pop DOT ma DOT ultranet DOT com Date: Thu, 06 Jun 2002 10:27:45 -0400 To: Tzafrir Cohen , cygwin AT cygwin DOT com From: "Larry Hall (RFK Partners, Inc)" Subject: Re: copy registry settings win98->xp all->user In-Reply-To: References: <5 DOT 1 DOT 0 DOT 14 DOT 0 DOT 20020606095520 DOT 0375b0c0 AT pop DOT ma DOT ultranet DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 10:13 AM 6/6/2002, Tzafrir Cohen wrote: >"Larry Hall (RFK Partners, Inc)" writes: > >> What exactly led you to the conclusion that the best approach to setting up >> mounts on the XP system was to copy registry settings from the 98 machine? >> Get rid of the registry entries you've created this way and just use 'mount' >> to set up mount points like the ones you have on the 98 machine. It's allot >> simpler and requires no explicit registry manipulations. >> > >The thing that led me to do that is past experience with explicit mounts. > >The problem is what happens if I run the script twice. I don't understand >exactly what happens there, but I know that I got errors about "mount point >busy" and such. mount points are persistent. That's why you can find them in the registry. You simply need to create the mount points you want once. After that, they will persist on the system for which they were created until you remove them. If you try to recreate them without first removing them, you will get a message indicating the mount point is busy. In your case, you should interpret this as "I don't need to create this mount point. It exists already." >Anyway, this is what I currently did. My current cygwin.bat: > >set HOME=p:\ >set LOGNAME=tzafrir >n:\bin\mount n:/ / >n:\bin\mount p:/tmp /tmp Get rid of these two lines. If you've run this batch file once on the target machine, you're done. If not, run the commands from the DOS box once. >n:\bin\bash --login -i > > >Probably could be improved, but it sort-of works for the moment. I sort-of got >and X server&ssh up-and-running. > >I still only consider it sort-of works, as I currently have many problems. > >For instance, 'startx' doesn't work, due to some X authorization problem. >Maybe because mcooky is missing. And I still have to create /home/tzafrir >so I can mount my home directory on it. Sounds like you're on the right track, more or less. Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/