<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><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Good idea. I tried it, but it didn't affect the problem (I wish I knew<br>what 'parted's problem is with the filesystem it doesn't like.) So<br>I just screwed up my courage and deleted the partition with fdisk.<br>(This of course renumbered my OS partition down from 7 to 6,<br>so I had to go through all the gyrations with grub to get it back<br>to a bootable condition.) Then I was able to create the enlarged<br>new partition with fdisk, now at /dev/sda8, and put a new fs on<br>it.<br><br>Thanks again - Ed <br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b>
Rajiv Gunja <opn.src.rocks@gmail.com><br><b><span style="font-weight: bold;">To:</span></b> Ed Browne <edward_d_browne@yahoo.com><br><b><span style="font-weight: bold;">Cc:</span></b> calug@unknownlamer.org<br><b><span style="font-weight: bold;">Sent:</span></b> Sunday, October 26, 2008 12:49:57 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [CALUG] resizing a partition with parted, no need to preserve data?<br></font><br>
<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 rel="nofollow" target="_blank" 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 rel="nofollow" ymailto="mailto:edward_d_browne@yahoo.com" target="_blank" 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 rel="nofollow" ymailto="mailto:CALUG@unknownlamer.org" target="_blank" href="mailto:CALUG@unknownlamer.org">CALUG@unknownlamer.org</a><br>
<a rel="nofollow" target="_blank" href="http://lists.unknownlamer.org/listinfo/calug">http://lists.unknownlamer.org/listinfo/calug</a><br>
<br></blockquote></div><br>
</div></div></div><br>
</body></html>