From owner-freebsd-questions@FreeBSD.ORG Sat Sep 16 14:46:00 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C141D16A407 for ; Sat, 16 Sep 2006 14:46:00 +0000 (UTC) (envelope-from fysical@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E01D43D46 for ; Sat, 16 Sep 2006 14:46:00 +0000 (GMT) (envelope-from fysical@gmail.com) Received: by py-out-1112.google.com with SMTP id o67so4215218pye for ; Sat, 16 Sep 2006 07:45:59 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=cu21skyey+06rJFmah0owsotiZQZPZuWbpyfnOkPTDr6gNRfEbmbT8fa+1e796HKhm/8ih9ArnESq6VK77M/ksLvZU4FJetpn/oRx9Wk8EibH2XRc42gmtNygnvwT2c7Tq5uKKgS1pB9SyfLOiP2gOtvaMSGgcNbloEWlBcsrD0= Received: by 10.65.103.17 with SMTP id f17mr6344238qbm; Sat, 16 Sep 2006 07:45:59 -0700 (PDT) Received: by 10.65.124.13 with HTTP; Sat, 16 Sep 2006 07:45:59 -0700 (PDT) Message-ID: <73d604760609160745k6419a381y4fb9269610246d94@mail.gmail.com> Date: Sat, 16 Sep 2006 20:15:59 +0530 From: "Viswas Nair" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Crippled FreeBSD! Need help! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Sep 2006 14:46:00 -0000 I have managed to scr** up my FBSD 6.1 installation. This is what happened: I had an installation of BSD with which I was experimenting and managed to get it to work to my taste. Call this installation A. This installation had a lot of unwanted ports installed so I decided to do a new installation. I installed BSD in another partition. Call this installation B. I wanted to custom build the kernel in B and hence created the config file needed for the custom build. I used sysinstall to copy the src from the 6.1 CD. When I marked Base inside sysinstall to be copied, it gave me an error: Write failure on transfer! (wrote -1 bytes of 1425408 bytes). I know this is not a problem with the CD because I was able to copy the base and src in another machine that I have. Src however got copied in B. I couldnt do a make buildworld because it gave me an error saying that it didnt know what buildworld was. I knew i needed the base files to get it to work. A friend of mine had helped me custom build the kernel in installation A. So I mounted the partition and copied the files in /usr/src (only files, excluded /usr/src/sys) from installation A to installation B. Then when I did a make buildworld it gave me an error that it was unable to cd into a directory by thename /somepath/usr.bin. I dont remember what somepath was. I couldn't note it down. Then I mounted the 6.1 CD and went into the 6.1Release folder and into the base directory and ran ./install.sh. It asked me if I wanted to copy files to / and i said yes. I attempted make buildworld again and it did not work. When this did not work, I decided to restart the machine and try again. However, after restarting, the login prompt does not accept my user id and password. And when i type "root" for user, it logs me in without asking for a password. I am clueless whats happening here. Please help. Thanks, Vishy p.s: i used make buildworld KERNCONF=CUSTOM.