Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: partition sizing in linux  (Read 9147 times)

0 Members and 1 Guest are viewing this topic.

smeezekitty

  • Guest
partition sizing in linux
« 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?

Geek-9pm


    Mastermind
  • Geek After Dark
  • Thanked: 1026
    • Gekk9pm bnlog
  • Certifications: List
  • Computer: Specs
  • Experience: Expert
  • OS: Windows 10
Re: partition sizing in linux
« Reply #1 on: September 03, 2009, 02:07:12 AM »
Gnome Partition Editor.
http://gparted.sourceforge.net/

smeezekitty

  • Guest
Re: partition sizing in linux
« Reply #2 on: September 03, 2009, 12:37:07 PM »
forgot to mention
but i would prefer doing it without starting the windowing system

Salmon Trout

  • Guest
Re: partition sizing in linux
« 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

smeezekitty

  • Guest
Re: partition sizing in linux
« 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

Salmon Trout

  • Guest
Re: partition sizing in linux
« 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

smeezekitty

  • Guest
Re: partition sizing in linux
« 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

smeezekitty

  • Guest
Re: partition sizing in linux
« Reply #7 on: September 03, 2009, 01:44:43 PM »
i have attached a directory listing of the /usr/ directory


[attachment deleted by admin]

Salmon Trout

  • Guest
Re: partition sizing in linux
« 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...



smeezekitty

  • Guest
Re: partition sizing in linux
« 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


Salmon Trout

  • Guest
Re: partition sizing in linux
« Reply #10 on: September 03, 2009, 01:53:33 PM »
Well do what I told you

smeezekitty

  • Guest
Re: partition sizing in linux
« 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

Salmon Trout

  • Guest
Re: partition sizing in linux
« 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.

smeezekitty

  • Guest
Re: partition sizing in linux
« 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

Salmon Trout

  • Guest
Re: partition sizing in linux
« 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

Duderino



    Rookie

    Re: partition sizing in linux
    « 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

    Salmon Trout

    • Guest
    Re: partition sizing in linux
    « 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.

    Duderino



      Rookie

      Re: partition sizing in linux
      « Reply #17 on: November 01, 2009, 01:05:54 AM »
      Fair enough, how about an answer to my question.

      Salmon Trout

      • Guest
      Re: partition sizing in linux
      « 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.

      Geek-9pm


        Mastermind
      • Geek After Dark
      • Thanked: 1026
        • Gekk9pm bnlog
      • Certifications: List
      • Computer: Specs
      • Experience: Expert
      • OS: Windows 10
      Re: partition sizing in linux
      « 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.

      Duderino



        Rookie

        Re: partition sizing in linux
        « 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.

        soybean



          Genius
        • The first soybean ever to learn the computer.
        • Thanked: 469
        • Computer: Specs
        • Experience: Experienced
        • OS: Windows 10
        Re: partition sizing in linux
        « 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.

        Computer_Commando



          Hacker
        • Thanked: 494
        • Certifications: List
        • Computer: Specs
        • Experience: Expert
        • OS: Windows 10
        Re: partition sizing in linux
        « 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 »