Find the answer to your Linux question:
Results 1 to 6 of 6
Wow guys, I'm in serious trouble here. I have one physical partition, and several (6) logical partitions. I set all this up using the Debian installer, and set it up ...
  1. #1
    Just Joined!
    Join Date
    Dec 2007
    Posts
    27

    Serious Trouble - Logical Partitions Full - How do I resize

    Wow guys, I'm in serious trouble here. I have one physical partition, and several (6) logical partitions. I set all this up using the Debian installer, and set it up to use encryption, again just going through the installer.

    I have no room left on my '/' drive and cannot even edit a text file and save it. my home directory has tons of free space. in fact it wont even left me do a 'df' :
    Code:
    mdtop:/etc# df
    df: cannot read table of mounted file systems
    but i can do
    Code:
    mdtop:/etc# cd /
    mdtop:/# df .
    df: Warning: cannot read table of mounted file systems
    Filesystem           1K-blocks      Used Available Use% Mounted on
    -                       329233    329221         0 100% /
    mdtop:/# cd /home
    mdtop:/home# df .
    df: Warning: cannot read table of mounted file systems
    Filesystem           1K-blocks      Used Available Use% Mounted on
    -                    142568216  47725260  87600820  36% /home
    mdtop:/home# cd /tmp
    mdtop:/tmp# df .
    df: Warning: cannot read table of mounted file systems
    Filesystem           1K-blocks      Used Available Use% Mounted on
    -                       376807     10306    347045   3% /tmp
    mdtop:/tmp# cd /usr
    mdtop:/usr# df .
    df: Warning: cannot read table of mounted file systems
    Filesystem           1K-blocks      Used Available Use% Mounted on
    -                      4805760   4289164    272476  95% /usr
    I am seriously screwed right now, I can't even edit my sshd_conf file b/c i can't save it, the drive is 100% full. Please, please guys how do i change the size of my logical partitions, and how can i get to be able to see all the drives at the same again. I"m going to restart and maybe it will let me see all the drives at once. It is encrypted, if that makes a difference, but I didn't do anything outside of the Debian installer .

    Thanks guys, i'm really in trouble right now.

  2. #2
    Linux Guru rokytnji's Avatar
    Join Date
    Jul 2008
    Location
    Pecos, Texas
    Posts
    2,942
    Boot up live cd of Parted Magic or if you have a Linux live cd and resize logical partition using gparted running in live session. You can shrink logical /home or /tmp. Then expand / "root" partition to take up unallocated left over space left over from shrinking /home or even /tmp partition if you wish to use it instead.
    Linux Registered User # 475019
    Lead,Follow, or get the heck out of the way
    AntiX,Puppy,Ubuntu,Windows 7=(cuz of scooters)
    Open CourseWare for Linux Geeks

  3. #3
    Just Joined!
    Join Date
    Dec 2007
    Posts
    27
    Quote Originally Posted by rokytnji View Post
    Boot up live cd of Parted Magic or if you have a Linux live cd and resize logical partition using gparted running in live session. You can shrink logical /home or /tmp. Then expand / "root" partition to take up unallocated left over space left over from shrinking /home or even /tmp partition if you wish to use it instead.
    dude thank you sooooo much for the response, will this allow me to do it if the entire drive is encrypted though? i chose encryption during the debian install.

    thanks again, im really sweating here...

  4. #4
    Linux Guru rokytnji's Avatar
    Join Date
    Jul 2008
    Location
    Pecos, Texas
    Posts
    2,942
    will this allow me to do it if the entire drive is encrypted though? i chose encryption during the debian install.
    Yes if you follow steps in link

    https://help.ubuntu.com/community/Re...ptedPartitions

    You can use a Ubuntu Live CD to do this on Debian.
    Linux Registered User # 475019
    Lead,Follow, or get the heck out of the way
    AntiX,Puppy,Ubuntu,Windows 7=(cuz of scooters)
    Open CourseWare for Linux Geeks

  5. #5
    Linux Guru rokytnji's Avatar
    Join Date
    Jul 2008
    Location
    Pecos, Texas
    Posts
    2,942
    Linux Registered User # 475019
    Lead,Follow, or get the heck out of the way
    AntiX,Puppy,Ubuntu,Windows 7=(cuz of scooters)
    Open CourseWare for Linux Geeks

  6. #6
    Just Joined!
    Join Date
    Dec 2007
    Posts
    27
    you rock man, thanks soooo much. after class i'm going to check those links out.

    again man, i really appreciate it. thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •