Home / Software / BSD, Linux, and Unix / partition sizing in linux
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] 2  All - (Bottom) Print
Author Topic: partition sizing in linux  (Read 2305 times)
smeezekitty
Topic Starter
Newcomer



Thanked: 44
Posts: 0


« on: September 03, 2009, 12:51:58 AM »

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?
IP logged

Acer extensa 463oz
2 gb ram
160gb hdd
2ghz processor
and desk fan sitting next to it for cooling :)
Geek-9pm
Sage



Thanked: 327
Posts: 8,047

Computer: Specs
Experience: Familiar
OS: Windows XP


Geek After Dark

« Reply #1 on: September 03, 2009, 02:07:12 AM »

Gnome Partition Editor.
http://gparted.sourceforge.net/
IP logged
smeezekitty
Topic Starter
Newcomer



Thanked: 44
Posts: 0


« Reply #2 on: September 03, 2009, 12:37:07 PM »

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

Acer extensa 463oz
2 gb ram
160gb hdd
2ghz processor
and desk fan sitting next to it for cooling :)
Salmon Trout
Prodigy



Thanked: 501
Posts: 7,363

Computer: Specs
Experience: Guru
OS: Linux variant

1
« Reply #3 on: September 03, 2009, 12:42:47 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.shtml
IP logged

smeezekitty
Topic Starter
Newcomer



Thanked: 44
Posts: 0


« Reply #4 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
IP logged

Acer extensa 463oz
2 gb ram
160gb hdd
2ghz processor
and desk fan sitting next to it for cooling :)
Salmon Trout
Prodigy



Thanked: 501
Posts: 7,363

Computer: Specs
Experience: Guru
OS: Linux variant

1
« Reply #5 on: September 03, 2009, 01:22:05 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 small
IP logged

smeezekitty
Topic Starter
Newcomer



Thanked: 44
Posts: 0


« Reply #6 on: September 03, 2009, 01:38:22 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 second
IP logged

Acer extensa 463oz
2 gb ram
160gb hdd
2ghz processor
and desk fan sitting next to it for cooling :)
smeezekitty
Topic Starter
Newcomer



Thanked: 44
Posts: 0


« Reply #7 on: September 03, 2009, 01:44:43 PM »

i have attached a directory listing of the /usr/ directory


[attachment deleted by admin]
IP logged

Acer extensa 463oz
2 gb ram
160gb hdd
2ghz processor
and desk fan sitting next to it for cooling :)
Salmon Trout
Prodigy



Thanked: 501
Posts: 7,363

Computer: Specs
Experience: Guru
OS: Linux variant

1
« Reply #8 on: September 03, 2009, 01:48:24 PM »

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...


IP logged

smeezekitty
Topic Starter
Newcomer



Thanked: 44
Posts: 0


« Reply #9 on: September 03, 2009, 01:52:15 PM »

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

IP logged

Acer extensa 463oz
2 gb ram
160gb hdd
2ghz processor
and desk fan sitting next to it for cooling :)
Salmon Trout
Prodigy



Thanked: 501
Posts: 7,363

Computer: Specs
Experience: Guru
OS: Linux variant

1
« Reply #10 on: September 03, 2009, 01:53:33 PM »

Well do what I told you
IP logged

smeezekitty
Topic Starter
Newcomer



Thanked: 44
Posts: 0


« Reply #11 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
IP logged

Acer extensa 463oz
2 gb ram
160gb hdd
2ghz processor
and desk fan sitting next to it for cooling :)
Salmon Trout
Prodigy



Thanked: 501
Posts: 7,363

Computer: Specs
Experience: Guru
OS: Linux variant

1
« Reply #12 on: September 03, 2009, 02:08:14 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.
IP logged

smeezekitty
Topic Starter
Newcomer



Thanked: 44
Posts: 0


« Reply #13 on: September 03, 2009, 02:12:15 PM »

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 good
IP logged

Acer extensa 463oz
2 gb ram
160gb hdd
2ghz processor
and desk fan sitting next to it for cooling :)
Salmon Trout
Prodigy



Thanked: 501
Posts: 7,363

Computer: Specs
Experience: Guru
OS: Linux variant

1
« Reply #14 on: September 03, 2009, 02:18:40 PM »

Well, 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
IP logged

Pages: [1] 2  All - (Top) Print 
Home / Software / BSD, Linux, and Unix / partition sizing in linux « previous next »
 


Login with username, password and session length

Old Forum Search | Forum Rules
Copyright © 2010 Computer Hope ® All rights reserved.
Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
Page created in 0.101 seconds with 20 queries.