Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Nov 2012 16:41:45 +0530
From:      Manish Jain <bourne.identity@hotmail.com>
To:        Leslie Jensen <leslie@eskk.nu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: My freebsd partition changed by Windows chkdsk (Leslie Jensen)
Message-ID:  <BLU0-SMTP3788749583C3169A69DDF7CF6650@phx.gbl>
In-Reply-To: <50961DA6.1000308@eskk.nu>
References:  <mailman.71.1351857602.2182.freebsd-questions@freebsd.org> <BLU0-SMTP2000A2F18699724EBB86133F6670@phx.gbl> <5093CF85.4080708@eskk.nu> <BLU0-SMTP966722287B4A0D9F796405F6670@phx.gbl> <50961DA6.1000308@eskk.nu>

next in thread | previous in thread | raw e-mail | index | archive | help

On 04-Nov-12 13:17, Leslie Jensen wrote:
>
>
> Manish Jain 2012-11-02 19:18:
>
>> 1) Boot from your FreeBSD CD/DVD, 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, and then press
>> Ctrl+Alt+Del to abort the installation.
>>
>> 2) Boot from your FreeBSD CD/DVD again, and run boot0cfg -B in an
>> emergency shell.
>>
>> <My legal disclaimer comes here, but do let me know if you get lucky>
>>
>> I hope my message sounds less cryptic now. I personally don't have
>> anything against running chkdsk or fixmbr, 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, 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
>


Hello Leslie,

I think you are unclear with FreeBSD terminology. What Windows calls 
primary partitions are called slices in FreeBSD. You can have a maximum
of 4 slices per disk, as I had mentioned earlier. One of the slices may 
optionally be marked as what Windows calls an extended partition. The 
extended partition can be broken up into many partitions ("logical 
drives" in Windows terminology). Your C: drive is a slice in FreeBSD 
terms. If you have a D: drive too, that - in all likelihood - is a 
partition in FreeBSD terminology.

FreeBSD's terminology is in general much clearer and a lot more mature 
than you would find on any other OS, particularly Windows.

The first step that you have to perform when installing FreeBSD is to 
enter the slice editor and create a slice for FreeBSD. When you press on 
"Begin a standard installation", the slice editor is the first 
application that is automatically presented to you.

FreeBSD uses the term partition to refer to the divisions it creates 
inside its slice for the /, /usr, /var, /tmp filesystems.

Now I fail to understand what you mean by a "running FreeBSD system". I 
thought your FreeBSD installation had been rendered unbootable by 
chkdsk. If you can indeed boot into FreeBSD successfully, then you 
shouldn't be having any problem copying out whatever data you want.

The steps I had suggested were meant to make your FreeBSD installation 
bootable. As long as your FreeBSD slice is marked as NTFS (filesystem ID 
7) instead of FFS (filesystem ID 165) in the MBR, no application or OS 
can read any data from that slice, at least AFAIK.


Regards

Manish Jain
+91-99620-10329



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BLU0-SMTP3788749583C3169A69DDF7CF6650>