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 2310 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,365

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,365

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,365

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,365

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,365

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,365

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

Duderino
Rookie



Posts: 16


« Reply #15 on: October 31, 2009, 11:57:40 PM »

If I understood this thread correctly he's trying to modify the partition where the Windows is installed, I think it was obvious from the beginning that doing this would screw up his Windows installation.

Or can this be done safely without screwing up the Windows installation?

As you can see on this thread, I am very interested to know the correct answer to this: http://www.computerhope.com/forum/index.php/topic,94425.0.html
IP logged
Salmon Trout
Prodigy



Thanked: 501
Posts: 7,365

Computer: Specs
Experience: Guru
OS: Linux variant

1
« Reply #16 on: November 01, 2009, 01:50:42 AM »

Quote
If I understood this thread correctly he's trying to modify the partition where the Windows is installed,

You didn't understand this thread correctly.
IP logged

Duderino
Rookie



Posts: 16


« Reply #17 on: November 01, 2009, 01:05:54 AM »

Fair enough, how about an answer to my question.
IP logged
Salmon Trout
Prodigy



Thanked: 501
Posts: 7,365

Computer: Specs
Experience: Guru
OS: Linux variant

1
« Reply #18 on: November 01, 2009, 01:12:48 AM »

Fair enough, how about an answer to my question.

1. It'll be in your thread
2. Leave attitude at the door.
IP logged

Geek-9pm
Sage



Thanked: 327
Posts: 8,047

Computer: Specs
Experience: Familiar
OS: Windows XP


Geek After Dark

« Reply #19 on: November 01, 2009, 09:11:13 AM »

Some things to consider.  :D
The drive should not have errors before you try to re size  it.
The Partition you want to change should have been defragmented first.
Do not ever use any partition manager with  Windows 7 or Vista. Instead, do the partition re size inside of Vista or Win 7 to prevent boot problems.
IP logged
Duderino
Rookie



Posts: 16


« Reply #20 on: November 01, 2009, 06:05:20 PM »

Some things to consider.  :D
The drive should not have errors before you try to re size  it.
The Partition you want to change should have been defragmented first.
Do not ever use any partition manager with  Windows 7 or Vista. Instead, do the partition re size inside of Vista or Win 7 to prevent boot problems.

Thank you.
IP logged
soybean
Genius



Thanked: 312
Posts: 12,103

Computer: Specs
Experience: Experienced
OS: Windows 7
The first soybean ever to learn the computer.

« Reply #21 on: November 01, 2009, 06:45:07 PM »

Do not ever use any partition manager with  Windows 7 or Vista. Instead, do the partition re size inside of Vista or Win 7 to prevent boot problems.
I have to disagree.  This very issue was discussed in http://www.computerhope.com/forum/index.php/topic,84852.0.html.  However, I would first try the Shrink Volume feature in Windows 7 or Vista.
IP logged


Computer_Commando
Guru



Thanked: 383
Posts: 4,321

Certifications: List
Computer: Specs
Experience: Expert
OS: Windows XP



« Reply #22 on: November 04, 2009, 02:43:03 PM »

There is definitely a problem with this latest distribution.  I think it has to do with the size of the hard drive.  No problem installing to notebook with 8GB hard drive.  Desktop with 80GB hard drive stops at Install Step #4 and is unable to see existing partition, even if there is only one.  Tried same hard drive in 2 computers, same result.  Attempting to use gpart creates partitions but install goes no further.

I had given up until I found this:  http://ubuntuforums.org/showthread.php?t=1305858

V9.04 does not have this issue and Prepare Disk Space is ready for remainder of install.  It did lockup my PS2 keyboard, so had to use USB keyboard (very strange!).

THIS IS A BIG BUG!!!

UPDATE:  I can confirm that installing 9.04 first did exactly what it was supposed to.  I then upgraded online to 9.10

« Last Edit: November 05, 2009, 01:30:35 PM by Computer_Commando » IP logged



Sign by Danasoft - Get Your Free Sign

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.121 seconds with 20 queries.