incorrect line at at command line for partition
this what I ran
dd if=/dev/hda3 of=/dev/hda1 ; fdisk e2fsck -f /dev/hda1 resice2fs /dev/hda1
and this was the result
result was thisoot@ubuntu:~# dd if=/dev/hda3 of=/dev/hda1 ; fdisk
e2fsck -f /dev/hda1 resice2fs /dev/hda1
31599855+0 records in
31599855+0 records out
16179125760 bytes transferred in 1992.444252 seconds
(8120240 bytes/sec)
fdisk: invalid option -- f
Usage: fdisk [-b SSZ] [-u] DISK Change partition
table
fdisk -l [-b SSZ] [-u] DISK List partition
table(s)
fdisk -s PARTITION Give partition
size(s) in blocks
fdisk -v Give fdisk version
Here DISK is something like /dev/hdb or /dev/sda
and PARTITION is something like /dev/hda7
-u: give Start and End in sector (instead of cylinder)
units
-b 2048: (for certain MO disks) use 2048-byte sectors
root@ubuntu:~#
please help with correct line
thanks
alex:)