LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Ghost and wrong partition table (https://www.linuxquestions.org/questions/linux-hardware-18/ghost-and-wrong-partition-table-422390/)

Doeners 03-07-2006 03:05 AM

Ghost and wrong partition table
 
Howdy,

I recently upgraded my harddisk from a 4,3gb to a 120gb.
Now i didn't want to reinstall my linux, so i dediced to ghost my partitions.
But for my / partition i increased the partition aswell from 3,4 gb to 10 gb.
Only after ghosting the partition linux still sees it as a 3,4gb partition. But if i look in fdisk you can see it's bigger. How can i tell linux that the partition is bigger? preferably withouth reinstalling.

Thanks in advance

[root@HTPC ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda3 3.4G 3.0G 207M 94% /
/dev/hda1 101M 17M 79M 17% /boot
/dev/shm 252M 0 252M 0% /dev/shm
/dev/hda4 102G 534M 101G 1% /mnt/store

[root@HTPC ~]# sfdisk -l /dev/hda

Disk /dev/hda: 14593 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/hda1 * 0+ 13- 14- 105808+ 83 Linux
/dev/hda2 13+ 70- 58- 461160 82 Linux swap / Solaris
/dev/hda3 70+ 1345- 1276- 10243800 83 Linux
/dev/hda4 1345+ 14592 13248- 106407472+ 83 Linux

syg00 03-07-2006 03:20 AM

What you are seeing is the filesystem reporting its size. Depends on the fs type as to resizing tool - something like gparted might help, although I prefer to use the native tools.


All times are GMT -5. The time now is 05:03 PM.