2004-04-22 09:09:34

by Frederick, Fabian

[permalink] [raw]
Subject: [OFFTOPIC] 2.6.4v SFS instead of NTFS mp

Hi,

Using vanilla 2.6.4 with ntfs module, when fdisk /dev/hdb which is some 80Gb multi-partionned ntfs, it appears as mono-block SFS ... Strange behaviour !?

PS : Please reply ; not subscribed to lkml.

Regards,
FabF

___________________________________




2004-04-22 20:41:14

by Anton Altaparmakov

[permalink] [raw]
Subject: Re: [OFFTOPIC] 2.6.4v SFS instead of NTFS mp

On Thu, 22 Apr 2004 [email protected] wrote:
> Using vanilla 2.6.4 with ntfs module, when fdisk /dev/hdb which is
> some 80Gb multi-partionned ntfs, it appears as mono-block SFS ...
> Strange behaviour !?
>
> PS : Please reply ; not subscribed to lkml.

Normal behaviour. The disk in question is a dynamic disk as created by
Windows 2k/xp or later. You need to compile in windows dynamic disk (LDM)
support into your kernel and then your disk's partitions will be
recognised properly. Note AFAIK there are no tools in existence for Linux
that will allow you to modify the dynamic disk partition layout.

Best regards,

Anton
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer / IRC: #ntfs on irc.freenode.net
WWW: http://linux-ntfs.sf.net/ & http://www-stu.christs.cam.ac.uk/~aia21/

2004-04-23 13:50:55

by Frederick, Fabian

[permalink] [raw]
Subject: RE: [OFFTOPIC] 2.6.4v SFS instead of NTFS mp

Anton,

Working with the following config

hda : dos partitioning
hdb : ldm

When plugging LDM in both 2.6.4 & 2.6.5 I have VFS unable to mount
the /dev/hda7 original root device.
(This won't happen just before building both kernels without that support
...)

If I diff configs with/out advanced partition selection:

Without :
CONFIG_MSDOS_PARTITION=y
With:
-CONFIG_MSDOS_PARTITION=y
+CONFIG_PARTITION_ADVANCED=y

Does it mean I can't work in hybrid mode ?

Regards,
Fabian

2004-04-23 14:04:53

by Anton Altaparmakov

[permalink] [raw]
Subject: RE: [OFFTOPIC] 2.6.4v SFS instead of NTFS mp

On Fri, 23 Apr 2004, Frederick, Fabian wrote:
> Anton,
>
> Working with the following config
>
> hda : dos partitioning
> hdb : ldm
>
> When plugging LDM in both 2.6.4 & 2.6.5 I have VFS unable to mount
> the /dev/hda7 original root device.
> (This won't happen just before building both kernels without that support
> ...)
>
> If I diff configs with/out advanced partition selection:
>
> Without :
> CONFIG_MSDOS_PARTITION=y
> With:
> -CONFIG_MSDOS_PARTITION=y
> +CONFIG_PARTITION_ADVANCED=y
>
> Does it mean I can't work in hybrid mode ?

Weird. The output seems to suggest that your .config is wrong. You want
the following in there:

CONFIG_PARTITION_ADVANCED=y
CONFIG_MSDOS_PARTITION=y
CONFIG_LDM_PARTITION=y

I suggest you run make menuconfig and make sure that you have actually
selected support for both MSDOS and LDM partitions... Or edit your
.config and make sure you have the above three lines and then run make
oldconfig...

Let me know if that still gives you problems. It shouldn't!

Best regards,

Anton
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer / IRC: #ntfs on irc.freenode.net
WWW: http://linux-ntfs.sf.net/ & http://www-stu.christs.cam.ac.uk/~aia21/