I try to use parted to get a new partition.
But when I use it in the command line, it shows that:
Warning: Unable to open /dev/hdd read-write (Read-only file system). /dev/hdd
has been opened read-only.
So /dev/hdd (secondary slave) is not a hard drive is it? (Maybe it is a cd/dvd-rom?)
I suggest this because of this:
the partition information from df -k:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda4 5036316 3946776 833708 83% /
/dev/hda3 194449 14318 170091 8% /boot
none 321180 0 321180 0% /dev/shm
I mean - if you had a ide hard drive as secondary slave, then df would list /dev/hddx somewhere wouldn't it?
So I think we need more information here.
Perhaps you have added a blank/unformatted hard drive as secondary slave? Does it show up in dmesg? What was the command to make the new partition?