From owner-freebsd-questions@FreeBSD.ORG Sun Nov 4 11:37:55 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1DB7FA5 for ; Sun, 4 Nov 2012 11:37:55 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from blu0-omc3-s2.blu0.hotmail.com (blu0-omc3-s2.blu0.hotmail.com [65.55.116.77]) by mx1.freebsd.org (Postfix) with ESMTP id C895F8FC12 for ; Sun, 4 Nov 2012 11:37:54 +0000 (UTC) Received: from BLU002-W171 ([65.55.116.74]) by blu0-omc3-s2.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 4 Nov 2012 03:37:48 -0800 Message-ID: X-Originating-IP: [14.97.104.136] From: Manish Jain To: Leslie Jensen Subject: RE: My freebsd partition changed by Windows chkdsk (Leslie Jensen) Date: Sun, 4 Nov 2012 11:37:47 +0000 Importance: Normal In-Reply-To: References: , <5093CF85.4080708@eskk.nu>, , <50961DA6.1000308@eskk.nu>, MIME-Version: 1.0 X-OriginalArrivalTime: 04 Nov 2012 11:37:48.0733 (UTC) FILETIME=[D0EC26D0:01CDBA80] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Nov 2012 11:37:55 -0000 =0A= =0A= =0A= > Date: Sun=2C 4 Nov 2012 16:41:45 +0530 > From: bourne.identity@hotmail.com > To: leslie@eskk.nu > CC: freebsd-questions@freebsd.org > Subject: Re: My freebsd partition changed by Windows chkdsk (Leslie Jense= n) >=20 >=20 > On 04-Nov-12 13:17=2C Leslie Jensen wrote: > > > > > > Manish Jain 2012-11-02 19:18: > > > >> 1) Boot from your FreeBSD CD/DVD=2C enter the slice editor and > >> change the type of your FreeBSD slice back to 165. Do not press Q. > >> Press W instead. Conform with Yes to the warning=2C and then press > >> Ctrl+Alt+Del to abort the installation. > >> > >> 2) Boot from your FreeBSD CD/DVD again=2C and run boot0cfg -B in an > >> emergency shell. > >> > >> > >> > >> I hope my message sounds less cryptic now. I personally don't have > >> anything against running chkdsk or fixmbr=2C AS LONG AS I have backed > >> up the important sectors. > >> > >> Regards > >> > >> Manish Jain > >> bourne.identity@hotmail.com > >> > >> _______________________________________________ > >> freebsd-questions@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >> To unsubscribe=2C send any mail to > >> "freebsd-questions-unsubscribe@freebsd.org" > > > > > > I've attached the disk to a running Freebsd system 8.3. > > > > Which program do you reefer to when you write slice editor? > > > > I do not need to be able to boot from the disk. I just need to be able > > to read it and copy my /home to another disk. > > > > Thanks > > > > /Leslie > > >=20 >=20 > Hello Leslie=2C >=20 > I think you are unclear with FreeBSD terminology. What Windows calls=20 > primary partitions are called slices in FreeBSD. You can have a maximum > of 4 slices per disk=2C as I had mentioned earlier. One of the slices may= =20 > optionally be marked as what Windows calls an extended partition. The=20 > extended partition can be broken up into many partitions ("logical=20 > drives" in Windows terminology). Your C: drive is a slice in FreeBSD=20 > terms. If you have a D: drive too=2C that - in all likelihood - is a=20 > partition in FreeBSD terminology. >=20 > FreeBSD's terminology is in general much clearer and a lot more mature=20 > than you would find on any other OS=2C particularly Windows. >=20 > The first step that you have to perform when installing FreeBSD is to=20 > enter the slice editor and create a slice for FreeBSD. When you press on= =20 > "Begin a standard installation"=2C the slice editor is the first=20 > application that is automatically presented to you. >=20 > FreeBSD uses the term partition to refer to the divisions it creates=20 > inside its slice for the /=2C /usr=2C /var=2C /tmp filesystems. >=20 > Now I fail to understand what you mean by a "running FreeBSD system". I=20 > thought your FreeBSD installation had been rendered unbootable by=20 > chkdsk. If you can indeed boot into FreeBSD successfully=2C then you=20 > shouldn't be having any problem copying out whatever data you want. >=20 > The steps I had suggested were meant to make your FreeBSD installation=20 > bootable. As long as your FreeBSD slice is marked as NTFS (filesystem ID= =20 > 7) instead of FFS (filesystem ID 165) in the MBR=2C no application or OS= =20 > can read any data from that slice=2C at least AFAIK. >=20 >=20 > Regards >=20 > Manish Jain > +91-99620-10329 Just in case you are not aware how to change the filesystem type in the sli= ce editor=2C =0A= highlight your FreeBSD slice and press T. Make sure you enter 165 as the fi= lesystem =0A= type=2C and then press W and confirm the change. Then press Ctrl+Alt+Del a= nd reboot. =0A= =0A= =0A= Regards =0A= =20 =0A= Manish Jain =0A= bourne.idenity@hotmail.com =0A= =