[H-GEN] Linux & NTFS

Steven McIntyre stev at uq.net.au
Mon Dec 16 06:32:08 EST 2002


[ Humbug *General* list - semi-serious discussions about Humbug and     ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]

On Mon, Dec 16, 2002 at 05:18:11PM +1000, Steven McIntyre wrote:
> <snip>
>   Just one point which seems important.  Keep in mind that
> will not be able to write to NTFS partitions from Linux, ie:
> expect read-only access.
> 
>   It is possible to get write access but don't; its not worth
> the dramas of corrupting your file system
  
  Just to clarify, I wrote the previous message in a hurry
earlier this evening.  This is the super long version,
good luck!

  I'm running a triple boot system, mainly for compatibility
though I have some very old software I use under Windows
(rarely).

  Occasionally I do want to move files between Linux and Win2000;
you can't copy these files to a NTFS partition.  If you think you
might want to do this, ensure you have at least one FAT16/32
partition.

  For technical reasons, you can save yourself a lot of trouble
by having /dev/hda1 (Drive C) as FAT16/32.  However this
can create potential security issues with Windows, system recovery
is much easier if you can't boot if you do this though.

  A copy of my partition tables follows:

   Device Boot    Start       End    Blocks   Id  System
   /dev/hda1   *         1       260   2088418+   6  FAT16
   /dev/hda2           261      1016   6072570    7  HPFS/NTFS
   /dev/hda3          1017      1826   6506325   85  Linux extended
   /dev/hda5          1017      1025     72261   83  Linux
   /dev/hda6          1026      1042    136521   82  Linux swap
   /dev/hda7          1043      1059    136521   83  Linux
   /dev/hda8          1060      1076    136521   83  Linux
   /dev/hda9          1077      1207   1052226   83  Linux
   /dev/hda10         1208      1468   2096451   83  Linux
   /dev/hda11         1469      1826   2875603+  83  Linux

   Device Boot    Start       End    Blocks   Id  System
   /dev/hdb1             1       518   2088544+   6  FAT16
   /dev/hdb2           519       779   1052352    5  Extended
   /dev/hdb5           519       779   1052320+   6  FAT16

  /dev/hda5 is my root (/) partition
  /dev/hda7 is /tmp, /dev/hda8 is /var, /dev/hda9 is /home
  /dev/hda10 is /usr and /dev/hda11 is "other storage".

  /dev/hda1 is Drive C (Windows 98)
  /dev/hda2 is not visible under Windows 98
  /dev/hdb1 is Drive D (Windows 98)
  /dev/hdb5 is Drive E (Windows 98)

  /dev/hda1 is Drive H (Windows 2000)
  /dev/hda2 is Drive C (Windows 2000)
  /dev/hdb1 is Drive D (Windows 2000)
  /dev/hdb5 is Drive E (Windows 2000)
  (Drives F and G are removable media)

  Important technical note:   When using extended partitions
which have logical Windows partitions, ensure the extended 
partition is type 0x0f (not 0x05).  This is required for
drives which exceed 8448Mb (and is to do with LBA translations).

  Technically speaking logical Windows partitions should be
place prior to linux logical partitions.  Bizarre behaviour
can result if this is not the case, however XP/2000 seem
to be immune to this problem.

  In short, use Partition Magic; its easier.  On the other hand
if you really want the gory details do it this way ;-)

-- 

Steven McIntyre
stev at uq.net.au

--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.  See http://www.humbug.org.au/



More information about the General mailing list