<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt">
<div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Hello,<br> I'm trying to clean up a balkanized hard drive by merging two<br>partitions which formerly held a bootable OS, /dev/sda6 and /dev/sda7.<br> They are consecutive, so I deleted the second one, sda7 (note that<br>my current Ubuntu install was on /dev/sda8, but it became /dev/sda7,<br>so that one will have to be remain untouched.) This is the partition<br>table now:<br><br><br> Device Boot Start End Blocks Id System<br>/dev/sda1 1 702 5632000 27
Unknown<br>Partition 1 does not end on cylinder boundary.<br>/dev/sda2 * 702 893 1536000 7 HPFS/NTFS<br>Partition 2 does not end on cylinder boundary.<br>/dev/sda3 893 6758 47109375 7 HPFS/NTFS<br>/dev/sda4 6759 12161 43399597+ f W95 Ext'd (LBA)<br>/dev/sda5 9215 9477 2100481 82 Linux swap /
Solaris<br>/dev/sda6 9477 10593 8972271 83 Linux<br>/dev/sda7 6759 9106 18860247 83 Linux<br>/dev/sda8 9107 9214 867478+ 82 Linux swap / Solaris<br><br><br>I want to expand sda6 to reclaim blocks 10,594-12,161, but nothing<br>I can do with "parted" works:<br><br>root@bongo:~# parted<br>GNU Parted 1.7.1<br>Using /dev/sda<br>Welcome to GNU Parted! Type 'help' to view a list of commands.<br>(parted) check 6<br>Error: File system has an incompatible feature enabled.<br>(parted) resize 6 9477 12161<br>Error: File system has an
incompatible feature enabled.<br>(parted) quit<br>Information: Don't forget to update /etc/fstab, if necessary.<br><br>root@bongo:~# uname -a<br>Linux bongo 2.6.24-21-generic #1 SMP Mon Aug 25 17:32:09 UTC 2008 i686 GNU/Linux<br>root@bongo:~# <br><br>I don't need to preserve any data on /dev/sda6 (I made a new<br>file system several times, because I read that ext3 did not<br>support resizing, but the result was no better with ext2<br>or reiserfs.)<br><br>Can I do it with fdisk just by deleting the sda6 partition, <br>and making a new sda6 partition that uses all the available<br>space? Is there a smart way to do this?<br><br>Thanks in advance - Ed <br></div></div><br>
</body></html>