1.

Solve : partition sizing in linux?

Answer»

ok heres the situation
i have two partitions
/dev/hda1 is the boot 600mb
/dev/hda2 is just for general stuff and is 500mb
the disk is 1500mb
how do i enlarge hda2 to get the extra 400mb without losing data and no backups?Gnome Partition Editor.
http://gparted.sourceforge.net/forgot to mention
but i would prefer doing it without starting the windowing system
Quote from: smeezekitty on September 03, 2009, 12:37:07 PM

forgot to mention
but i would prefer doing it without starting the windowing system


GNU Partition Editor (PARTED) is a package consisting of a library (libparted) and a textmode frontend (parted). GParted, on the other hand, is a Gnome partition editor that USES libparted.

http://www.gnu.org/software/parted/index.shtmli downloaded parted
did
./configure
make
make install
then i typed parted and an error came up:
parted: error while loading shared libraries: libparted-1.6.so.13: cannot open s
hared (o)object file: no such file or directory

any ideas on this error
Quote from: smeezekitty on September 03, 2009, 01:07:29 PM
i downloaded parted
did
./configure
make
make install
then i typed parted and an error came up:
parted: error while loading shared libraries: libparted-1.6.so.13: cannot open s
hared (o)object file: no such file or directory

any ideas on this error


You can try a reboot and see if the library links are updated, and if not maybe copy the library from /usr/local/lib to /usr/lib (or vice versa) (which is a kludge but never mind)

I looked for where you told us what distro you were running, but I guess I must have missed it. Maybe you wrote it really really smallQuote from: Salmon Trout on September 03, 2009, 01:22:05 PM
You can try a reboot and see if the library links are updated, and if not maybe copy the library from /usr/local/lib to /usr/lib (or vice versa) (which is a kludge but never mind)

I looked for where you told us what distro you were running, but I guess I must have missed it. Maybe you wrote it really really small
i rebooted and it still didnt work
let me log into CH with linux i will be back in a secondi have attached a directory listing of the /usr/ directory


[attachment deleted by admin]He attached a text file with 12,844 lines...

Why have I GOT to do your looking for you?

He still has not said what distro

he did not read my post properly

Either search in that text file or look in /usr/lib and /usr/local/lib for files called libparted-1.6.so.13(something)

if they are in one, copy them to the other.

If they are in both, start Googling...


the distro is DSL but does that matter
i see in /usr/local/lib only:
libparted-1.6.so.13
libparted-1.6.so.13.11
libparted.a
libparted.la
libparted.so
libparted.dat.old

Well do what I told you
This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.

->/dev/hda:(parted)
heres what it SAYS nowQuote from: smeezekitty on September 03, 2009, 02:05:53 PM
This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.

->/dev/hda:(parted)
heres what it says now

Well, whoop-de-doo.
Number Start End Size Type File system Flags
1 32kB 702MB 702MB primary ext2 boot
2 702MB 1206MB 504MB primary ext2
(parted) resize 2 702MB 1306MB
No Implementation: This ext2 file system has a rather strange layout! Parted
can't resize this (yet).
(parted)
i suppose thats not goodWell, there's always Google, or the man pages or linux.org or the parted online help or approx 9.9999 squillion other places to look. That's the beauty of Linux


Discussion

No Comment Found