i just installed fedora 16 in my laptop.........sharing with windows 7 ultimatum . inorder to increase my linux space i had shrinked my e: drive in windows creating a free unallcated space 25 gb..when i try format this 25 gb of space using fdisk command its giving an error "Inappropriate ioctl for device"....i need to add this space to fedora without reinstalling it.
MY operations are as follows:
..........................................
[root@urban-ninja urban-ninja]# fdisk -l
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xef7d31bf
Device Boot Start End Blocks Id System
/dev/sda1 2048 204802047 102400000 7 HPFS/NTFS/exFAT
/dev/sda2 204802048 389122047 92160000 7 HPFS/NTFS/exFAT
/dev/sda3 389122048 522242047 66560000 7 HPFS/NTFS/exFAT
/dev/sda4 573442048 625142447 25850200 5 Extended
/dev/sda5 * 573444096 574468095 512000 83 Linux
/dev/sda6 574470144 625141759 25335808 8e Linux LVM
Disk /dev/mapper/vg_urbanninja-lv_swap: 5234 MB, 5234491392 bytes
255 heads, 63 sectors/track, 636 cylinders, total 10223616 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/vg_urbanninja-lv_swap doesn't contain a valid partition table
Disk /dev/mapper/vg_urbanninja-lv_root: 20.7 GB, 20703084544 bytes
255 heads, 63 sectors/track, 2517 cylinders, total 40435712 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/vg_urbanninja-lv_root doesn't contain a valid partition table
[root@urban-ninja urban-ninja]# fdisk /dev/sda4
fdisk: unable to read /dev/sda4: Inappropriate ioctl for device
...................