Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

when i try to install windows xp on /dev/sda5 windows tell me that it can not write on /dev/sda1

how can i install windows xp on /dev/sda5? with out messing up some thing or is it not possible to install windows on this partition

cfdisk (util-linux-ng 2.17.2)

                                                                          Disk Drive: /dev/sda
                                                                   Size: 250059350016 bytes, 250.0 GB
                                                          Heads: 240   Sectors per Track: 63   Cylinders: 32301

    Name                       Flags                    Part Type               FS Type                             [Label]                         Size (MB)

    sda1                       Boot                      Primary                Linux ext3                                                           25004.86
    sda2                                                 Primary                Linux ext3                                                          125968.72
                                                                                Unusable                                                                 0.41               *
    sda3                                                 Primary                Linux ext3                                                           50708.53               *
                                                         Logical                Free Space                                                               0.61               *
    sda5                                                 Logical                Linux ext3                                                           41568.43               *
    sda6                       NC                        Logical                Linux swap / Solaris                                                  1820.61               *
                                                         Logical                Free Space                                                            4984.12               *  







 / _| __| (_) | ____| |_   _ _ __ ___  _ __  
| |_ / _` | | |/ / _` | | | | '_ ` _ \| '_ \ 
|  _| (_| | |   < (_| | |_| | | | | | | |_) |
|_|  \__,_|_|_|\_\__,_|\__,_|_| |_| |_| .__/ 
                                      |_|    

Disk /dev/sda: 250.1 GB, 250059350016 bytes 240 heads, 63 sectors/track, 32301 cylinders Units = cylinders of 15120 * 512 = 7741440 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x589cadc5

Device Boot Start End Blocks Id System

/dev/sda1   *           1        3230    24418768+  83  Linux
/dev/sda2            3231       19502   123016320   83  Linux
/dev/sda3           19503       26053    49520047+  83  Linux
/dev/sda4           26053       32301    47239401    5  Extended
/dev/sda5           26053       31422    40594129+  83  Linux
/dev/sda6           31423       31658     1775616   82  Linux swap / Solaris

mind you /dev/sda5 , /dev/sda5 , /dev/sda5 are under /dev/sda4 as logical partition since dev/sda4 is of file

share|improve this question
    
Don't confuse "logical volume" and "logical partition". –  Ignacio Vazquez-Abrams Oct 26 '10 at 8:33
    
okay sorry for that and thank you –  jspeshu Oct 26 '10 at 9:05

1 Answer 1

up vote 1 down vote accepted

Windows XP, SP2 or higher, can be installed onto a logical partition, but its bootloader must be on a primary partition.

share|improve this answer
    
what if i deleted all the partitions contained in /dev/sda4 i mean it self too(ie. /dev/sda4 ) but then i should be able to install it but that also have a problem b/se the empty space shuld be moved up into the middle or start of the /dev/sda so that windows should detect it can you help me with that @Ignacio Vazquez-Abrams –  jspeshu Oct 26 '10 at 9:10

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.