From owner-freebsd-questions@FreeBSD.ORG Wed Aug 10 11:43:14 2005 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 72E0B16A420 for ; Wed, 10 Aug 2005 11:43:14 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id A517843D45 for ; Wed, 10 Aug 2005 11:43:13 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: by wproxy.gmail.com with SMTP id i5so111135wra for ; Wed, 10 Aug 2005 04:43:13 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jUm7zzxAreVnd0YmTqLVEJrG4/vkk2En6YsTQwfmlRFw0yU+1gPQ0cRawlUUFlCUfFQlduRXX6IUpWFfOIFTGlxE2RvVvDuRi9FQt0I/4aclDE8ZwbhuwHs00mG9HjN7skXwVdFJL5uwM4PEw3Ew2gKokwa4V3Eg1KfSlkM771Q= Received: by 10.54.160.5 with SMTP id i5mr384244wre; Wed, 10 Aug 2005 04:43:13 -0700 (PDT) Received: by 10.54.124.11 with HTTP; Wed, 10 Aug 2005 04:43:12 -0700 (PDT) Message-ID: Date: Wed, 10 Aug 2005 06:43:13 -0500 From: Nikolas Britton To: "albi@scii.nl" In-Reply-To: <20050810132152.7932cce7.albi@scii.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <42F95459.5080208@intergate.com> <20050810132152.7932cce7.albi@scii.nl> Cc: William Manley , freebsd-questions@freebsd.org Subject: Re: FreeBSD 5.4 install problem. Newbee needs 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: Wed, 10 Aug 2005 11:43:14 -0000 On 8/10/05, albi@scii.nl wrote: > On Tue, 09 Aug 2005 21:11:53 -0400 > William Manley wrote: >=20 > > I am a new FreeBSD user and I have an installation that has gone bad. > > My problems started when I enabled XDM for a graphical logon into > > Gnome. When I logged in as root the system just looped back to the > > logon screen. I then assumed I had configured my .xinitrc file wrong >=20 > xdm,gdm,kdm,wdm do not use your .xinitrc (but they can use your > .Xsession or .xsession file), .xinitrc is only used with the command > startx >=20 > > so I booted the install cdrom into Fixit mode and tried to mount the > > root filesystem on the hardisk which the operating system would not > > let me do. The following are the commands I typed with the output. > > > > mount /dev/ad0s1a /mnt > > operation not permitted >=20 > you could instead boot from harddisc in "single mode" (sp?), then remove > xdm or configure xdm properly or use gdm or use gnome-session in your > .xinitrc Single user mode. You can get to it at the boot menu, think it's option 6, or you can exsacpe to the boot loader and type in "boot -s" and hit enter. Once your in single user mode you will need to mount your partitions, "mount /dev/ad0s1f /usr", if your disk is dirty you will need to run fsck and then remount the root partition in read/write mode before you can edit your config files. I'm not sure how XDM etc. is started but I would try in /usr/local/etc/rc.d/ first. if a xdm startup script is in there rename to something like xdm.sh-disabled. then type exit to boot into multi user mode and login as root.