Thursday, January 12, 2012

Ubuntu disk formatting

Recently I was using Ubuntu V11.10 to create a sample Unix disk.  I am no greate fan of Linux, but I have to say that V11 is getting close to a system that could be used by 'normal' users and not just geeks that love long command lines with millions of options.  On the negative side it does seem to be influenced by the Macintosh.

However, one currious problem I ran into was with formatting a disk.  I wanted to reformat an old Windows disk into Unix.  The old disk was a valid disk, so had a partition identifier set in the boot sector, and naturally it was set as 7 for NTFS.  I formated the disk, copied some files over and went to use the disk.  Rather oddly, it was recognised as an NTFS disk - but corrupted.  I discovered this was because the partition ID was still 7, rather than 0x83 I would have expected for Reiser.

The solution was two fold - it is posible in Ubuntu to edit the partition info, and in CnW it is possible to select the correct type of disk.

The warning that I doubt I am the first to create this problem and it is possible that a corrupt NTFS disk is infact a Unix disk.  Be aware!

No comments:

Post a Comment