PDA

View Full Version : Need help recovering 2GB of Harddrive space



warpedmind
04-12-2003, 08:50 PM
When I went through the knx-hdinstall, I left
all the partitions the way they were.


so I have
hda1 as the boot
hda5 as the swap
hda6 as an extra partition that was there.

if I do $ cat /proc/partitions i get
major minor #blocks name

3 0 5004720 hda
3 1 2887888 hda1
3 5 249448 hda5
3 6 1867288 hda6

In my /mnt I have hda1 and hda6 listed and I can access them, but
anything that I put into hda6 is seen as part of hda1.

When I use KDiskFree. It only recognizes hda1

so I am missing 2GB od space

can anyone help me recover the extra 2GB that are hidden?

thanks in advance for your help,

Luis

P.S. A simple step by step solution would be appreciated...I'm still learning linux.

Stephen
04-12-2003, 10:11 PM
You have to mount hda6. Use the mount command in a console window to see what is mounted on your system. If /dev/hda6 is not there then as root mount /dev/hda6 /mnt/hda6 will mount and now anything you save to /mnt/hda6 will be on the device hda6. If you want to use the space all the time you should modify the /etc/fstab to mount /dev/hda6 on boot.

ie. remove the # from the /dev/hda6 line that should already be there.

warpedmind
04-13-2003, 02:35 AM
Stephen,

The mounting worked! Thank you so much. One more question
This is my fstab file should I also uncomment the hda1 above hda6? Becuase It is already uncommented once

# /etc/fstab: filesystem table.
#
# filesystem mountpoint type options dump pass
/dev/hda1 / ext3 defaults,errors=remount-ro 0 1
/dev/hda5 none swap sw 0 0
proc /proc proc defaults 0 0
/dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
/dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
# partitions found by Knoppix
#/dev/hda1 /mnt/hda1 ext3 noauto,users,exec 0 0
/dev/hda6 /mnt/hda6 ext3 noauto,users,exec 0 0

or should I just leave everything else as it is?

Luis

Stephen
04-13-2003, 02:49 AM
You just need it there once. Knoppix puts all partitions it finds in the fstab commented out. Good luck with Knoppix and post back if you have any problems.