On Sun, Aug 19, 2007 at 11:13:42PM +1000, [EMAIL PROTECTED] wrote: > Douglas A. Tutty wrote: > >that partition. With it unmounted, run e2fsck -cc on it. > > > >The -cc means that a non-distructive read/write badblocks test will run > >on it. With modern drives you should not actually find any bad blocks > >unless the drive is at end-of-life and has used up its remapping space. > >However, if it completes fine you'll know that writing beyond the 70% > >range worked for the drive. > > > >Which partition has the problem? > > hda8 (12 G), it does not have any OS installed to it. It is an > independent partition with /work on it. > > >>Please see following partition information and the debian boot is in > >>Master section. > >> > >>sudo fdisk -l > >> > >>Disk /dev/hda: 32.0 GB, 32003112960 bytes 255 heads, 63 sectors/track, > >>3890 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes > >> > >> Device Boot Start End Blocks Id System > >> /dev/hda1 1 255 2048256 7 HPFS/NTFS > >> /dev/hda2 256 1275 8193150 b W95 FAT32 > >> /dev/hda3 1276 3890 21004987+ 5 Extended > >> /dev/hda5 1276 1504 1839411 83 Linux > >> /dev/hda6 2296 2298 24066 83 Linux > >> /dev/hda7 2299 2364 530113+ 82 Linux swap > >> / Solaris /dev/hda8 2365 3890 12257563+ 83 > >> Linux /dev/hda9 * 1505 1863 2883636 83 Linux > >> /dev/hda10 1864 2295 3470008+ 83 Linux > >> > > > > > >Since hda3 goes from cylinder 1276 to 3890 yet hda10 ends at 2295, there > >should also be some free space at the end. > > How can I use fdisk or other partition tools to display free space? > > What command should I call to remove window partition and to > re-partition to ext3? Are following correct? > > fdisk -s /dev/hda1 ? > fdisk -s /dev/hda2 ? >
cfdisk /dev/hda Then you'll see the partitions and free space. You can scroll down the list, delete what you want. Once you are finished you "W"rite the partition table and exit. Then you need to format your new partition: e2fsck -c /dev/hda8 (or whatever it ends up being). Doug. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]