Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Move files to end of partition (ext3)
New Posts  All Forums:Forum Nav:

Move files to end of partition (ext3)

post #1 of 11
Thread Starter 
I need to edit my partition tables to install Arch. The only partition I could make smaller would be my music partition, which is ext3. I don't currently have any form of linux installed, is there a livecd or windows app I could use to force the files to the end of the partition (JKDefrag doesn't read/write ext3)?
post #2 of 11
Try a linux LiveCD with GParted/QtParted (Knoppix, Ubuntu)
1+8
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Celeron G530 AsRock H61M-VS ASUS 8800 GS 384MB 2x2GB DDR3 1333MHz 
Hard DriveOSMonitorPower
WD Caviar Blue 500GB Gentoo Samsung 226BW HiPro 480W 
  hide details  
Reply
1+8
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Celeron G530 AsRock H61M-VS ASUS 8800 GS 384MB 2x2GB DDR3 1333MHz 
Hard DriveOSMonitorPower
WD Caviar Blue 500GB Gentoo Samsung 226BW HiPro 480W 
  hide details  
Reply
post #3 of 11
Quote:
Originally Posted by mkdir View Post
Try a linux LiveCD with GParted/QtParted (Knoppix, Ubuntu)
Exactly what he said. HERE is a link for System Rescue CD (includes GParted and is a livecd) and HERE is a link for the actual GParted livecd. I recommend System Rescue CD as its name is exactly what it can do. Just type startx when it fully boots and double click on the gparted icon. The GParted livecd automatically and only runs GParted (from what I remember) so it will be less of a hassle and less of a download.
    
CPUMotherboardGraphicsRAM
9950 Phenom 140w @ 3ghz Foxconn A7DA-S ASUS TOP 4850 Mushkin 4gb (2x2gb) DDR2-800 
Hard DriveOptical DriveOSMonitor
500GB WD, 500GB Hit, & 320GB Seagate LG DVD-RW Win7 x64 and Gentoo x64 Hanns-G 22" & Acer 19" 
KeyboardPowerCaseMouse
Logitech G15 Gaming Keyboard Ultra X2 750-Watt Antec 300 Logitech MX518 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
9950 Phenom 140w @ 3ghz Foxconn A7DA-S ASUS TOP 4850 Mushkin 4gb (2x2gb) DDR2-800 
Hard DriveOptical DriveOSMonitor
500GB WD, 500GB Hit, & 320GB Seagate LG DVD-RW Win7 x64 and Gentoo x64 Hanns-G 22" & Acer 19" 
KeyboardPowerCaseMouse
Logitech G15 Gaming Keyboard Ultra X2 750-Watt Antec 300 Logitech MX518 
  hide details  
Reply
post #4 of 11
Thread Starter 
Burning the "System Rescue" CD right now, will report back on how it goes.
post #5 of 11
You may need to convert (not format!!!) to ext2 before resizing and convert back to ext3 after. But try this only if normal resize doesn't work.
1+8
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Celeron G530 AsRock H61M-VS ASUS 8800 GS 384MB 2x2GB DDR3 1333MHz 
Hard DriveOSMonitorPower
WD Caviar Blue 500GB Gentoo Samsung 226BW HiPro 480W 
  hide details  
Reply
1+8
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Celeron G530 AsRock H61M-VS ASUS 8800 GS 384MB 2x2GB DDR3 1333MHz 
Hard DriveOSMonitorPower
WD Caviar Blue 500GB Gentoo Samsung 226BW HiPro 480W 
  hide details  
Reply
post #6 of 11
He won't need to convert to ext2, I've used SystemRescue CD's Gparted to resize a ext3 partition before and it worked fine. HERE are the features, and ext3 resizing is supported.
    
CPUMotherboardGraphicsRAM
9950 Phenom 140w @ 3ghz Foxconn A7DA-S ASUS TOP 4850 Mushkin 4gb (2x2gb) DDR2-800 
Hard DriveOptical DriveOSMonitor
500GB WD, 500GB Hit, & 320GB Seagate LG DVD-RW Win7 x64 and Gentoo x64 Hanns-G 22" & Acer 19" 
KeyboardPowerCaseMouse
Logitech G15 Gaming Keyboard Ultra X2 750-Watt Antec 300 Logitech MX518 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
9950 Phenom 140w @ 3ghz Foxconn A7DA-S ASUS TOP 4850 Mushkin 4gb (2x2gb) DDR2-800 
Hard DriveOptical DriveOSMonitor
500GB WD, 500GB Hit, & 320GB Seagate LG DVD-RW Win7 x64 and Gentoo x64 Hanns-G 22" & Acer 19" 
KeyboardPowerCaseMouse
Logitech G15 Gaming Keyboard Ultra X2 750-Watt Antec 300 Logitech MX518 
  hide details  
Reply
post #7 of 11
Thread Starter 
Back, apparently GParted will resize the partition. I have another problem at the moment though, I need to backup the stuff on the partition, and I have a file thats being stubborn, when I try to delete it it gives me this error: "Cannot delete *:The filename, directory name,or volume label syntax is incorrect." I can't rename it, "dir /x" gives the same name, "xcopy /n" doesn't work. The System Rescue CD didn't mount the drives, would a live Ubuntu CD be able to delete this file?
post #8 of 11
mount manually
#mkdir mountpoint
#mount -t ext3 /dev/yourpartition /mountpoint
1+8
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Celeron G530 AsRock H61M-VS ASUS 8800 GS 384MB 2x2GB DDR3 1333MHz 
Hard DriveOSMonitorPower
WD Caviar Blue 500GB Gentoo Samsung 226BW HiPro 480W 
  hide details  
Reply
1+8
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Celeron G530 AsRock H61M-VS ASUS 8800 GS 384MB 2x2GB DDR3 1333MHz 
Hard DriveOSMonitorPower
WD Caviar Blue 500GB Gentoo Samsung 226BW HiPro 480W 
  hide details  
Reply
post #9 of 11
Thread Starter 
Quote:
Originally Posted by mkdir View Post
mount manually
#mkdir mountpoint
#mount -t ext3 /dev/yourpartition /mountpoint
Good tip, just used it

Booted xubuntu live cd, mounted drives, deleted the bad file, now I'll backup the files.
post #10 of 11
Thread Starter 
Wow, so I finished backing up my stuff from my partition and now I'm shrinking it. GParted says: 3:46:30 remaining
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Move files to end of partition (ext3)