<span style="font-family: georgia,serif; color: rgb(0, 0, 153);">I would suggest, fdisk sda and mark sda4 to "5" than "f" Once saved, try your hand at partd.</span><br style="font-family: georgia,serif; color: rgb(0, 0, 153);">
<br style="font-family: georgia,serif; color: rgb(0, 0, 153);"><span style="font-family: georgia,serif; color: rgb(0, 0, 153);">Since all slices under sda4 are Linux, Windows should not be able to see them.</span><br style="font-family: georgia,serif; color: rgb(0, 0, 153);">
<br style="font-family: georgia,serif; color: rgb(0, 0, 153);"><span style="font-family: georgia,serif; color: rgb(0, 0, 153);">-GGR</span><br style="font-family: georgia,serif; color: rgb(0, 0, 153);"><br style="font-family: georgia,serif; color: rgb(0, 0, 153);">
<span style="font-family: georgia,serif; color: rgb(0, 0, 153);">--</span><br style="font-family: georgia,serif; color: rgb(0, 0, 153);"><span style="font-family: georgia,serif; color: rgb(0, 0, 153);">Rajiv G Gunja</span><br style="font-family: georgia,serif; color: rgb(0, 0, 153);">
<span style="font-family: georgia,serif; color: rgb(0, 0, 153);">Blog: <a href="http://ossrocks.blogspot.com">http://ossrocks.blogspot.com</a></span><br style="font-family: georgia,serif; color: rgb(51, 51, 255);">
<br><br><div class="gmail_quote">2008/10/25 Ed Browne <span dir="ltr"><<a href="mailto:edward_d_browne@yahoo.com">edward_d_browne@yahoo.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><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>
</div><br>_______________________________________________<br>
CALUG mailing list<br>
<a href="mailto:CALUG@unknownlamer.org">CALUG@unknownlamer.org</a><br>
<a href="http://lists.unknownlamer.org/listinfo/calug" target="_blank">http://lists.unknownlamer.org/listinfo/calug</a><br>
<br></blockquote></div><br>