• Lucid Dreaming - Dream Views




    Results 1 to 9 of 9

    Hybrid View

    1. #1
      Member Achievements:
      1 year registered Veteran First Class 5000 Hall Points

      Join Date
      Sep 2004
      Gender
      Location
      Seattle, WA
      Posts
      2,503
      Likes
      217
      Yup I just copied my home directory to the external HD, and backed up some key files from the root that I care about (sources.list, etc.) so no worries there

    2. #2
      FBI agent Ynot's Avatar
      Join Date
      Oct 2005
      Gender
      Location
      Southend, Essex
      Posts
      4,337
      Likes
      14
      boot into a liveCD
      ensure that neither your root or home partitions are mounted
      fire up gparted (or qtparted, depending on desktop environment)
      resize to suit

      always a good idea to backup your system before hand

      *edit*
      to answer a few of the other queries

      Quote Originally Posted by Replicon View Post
      I keep reading online that if you're resizing a windows partition, you absolutely must defrag it before. Is that true of ext3 as well, or am I safe just going for it? Also, I am finding online that there is no real way to defrag ext3 filesystems (short of temporarily converting to ext2). I imagine it's sophisticated enough to make fragmentation a mostly negligible issue.
      There is actually no way of defragging an ext3 partition
      you just can't do it

      under normal use, ext3 does not fragment
      ext3 does start fragmenting under special use cases
      - after you exceed ~95% disk usage (but at this stage, a little fragmentation is the least of your worries - you have no space left)
      - if you're writing large files (greater than 4Gb) that change constantly in size
      (Eg. a time-shifting media centre, or a very high traffic database with lots of inserts)

      Don't convert ext3 to ext2
      you will lose a lot of meta-data attached to files
      converting to ext2 should only be done when recovering data from a damaged disk
      Last edited by Ynot; 09-28-2008 at 05:32 AM.
      (\_ _/)
      (='.'=)
      (")_(")

    3. #3
      FBI agent Ynot's Avatar
      Join Date
      Oct 2005
      Gender
      Location
      Southend, Essex
      Posts
      4,337
      Likes
      14
      nice little explanation of fragmentation
      http://geekblog.oneandoneis2.org/ind..._defragmenting
      (\_ _/)
      (='.'=)
      (")_(")

    4. #4
      Member Achievements:
      1 year registered Veteran First Class 5000 Hall Points

      Join Date
      Sep 2004
      Gender
      Location
      Seattle, WA
      Posts
      2,503
      Likes
      217
      sweeet. I'll try it first thing in the morning!

    5. #5
      Member Achievements:
      1 year registered Veteran First Class 5000 Hall Points

      Join Date
      Sep 2004
      Gender
      Location
      Seattle, WA
      Posts
      2,503
      Likes
      217
      Ack!

      So I did it. It all looked like it worked out fine, but now, all I get is a GRUB flashing cursor. I imagine the resize might have moved the grub configuration out of the boot sector or something. I'll start googling, but if anyone knows the incantation to have this fixed, please post it

    6. #6
      Member Achievements:
      1 year registered Veteran First Class 5000 Hall Points

      Join Date
      Sep 2004
      Gender
      Location
      Seattle, WA
      Posts
      2,503
      Likes
      217
      ah, this worked:

      Code:
      (from grub prompt)
      
      find /boot/grub/stage1
      
      <<<said (hd0,0)>>>
      
      root (hd0,0)
      
      setup (hd0)
      
      quit

      Hopefully it sticks

    7. #7
      dsr
      dsr is offline
      我是老外,可是我會說一點中文。
      Join Date
      Nov 2006
      Gender
      Location
      my mind
      Posts
      374
      Likes
      1
      Note that "df -h" treats 1G as 2^30 (i.e. 1024^3) bytes, whereas fdisk treats 1GB as 10^9 (i.e. 1000^3) bytes. Likewise, "df -h" treats 1M as 2^20 bytes and fdisk treats 1MB as 10^6 bytes. I create my partitions with GNU parted using the "unit GiB" option, so that my numbers are consistent.

    Bookmarks

    Posting Permissions

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