LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   parted - Filesystem Resizing (https://www.linuxquestions.org/questions/linux-software-2/parted-filesystem-resizing-411199/)

ANU 02-03-2006 05:32 AM

parted - Filesystem Resizing
 
im using Xandros 3.0 with KDE :D and
i run out of space
Code:

kbox# df -h

Filesystem            Size  Used Avail Use% Mounted on
/dev/hda1            2.0G  1.9G  25M  99% /
tmpfs                  94M    0  94M  0% /dev/shm
/dev/hda2            1.8G  625M  1.1G  38% /home
kbox# fdisk -l

Disk /dev/hda: 4303 MB, 4303272960 bytes
255 heads, 63 sectors/track, 523 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot      Start        End      Blocks  Id  System
/dev/hda1  *          1        261    2096451  83  Linux
/dev/hda2            262        490    1839442+  83  Linux
/dev/hda3            491        523      265072+  82  Linux swap

so i need to resize my hda3 too make it smaler, and then too make my hda1 bigger :D

i got "parted"
but i have to umount my partition to make any changes
so ... how can i do that? boot from the originalCD?
i dont want to lose any data from my / partition or from my /home
:cry:
i need help

british_76 02-03-2006 06:41 AM

live-boot
 
hi!

i do not know "parted" at all.

you could use a live-distribution which doesn't boot into /dev/hdax. so it would be easy to unmount /dev/hda1(-2) (just for the case it is mounted at all by the distri).

maybe ubuntu live --- kubuntu live --- knoppix ...


All times are GMT -5. The time now is 11:09 PM.