Sonic and Sega Retro Message Board: Linux filesystems are a pain - Sonic and Sega Retro Message Board

Jump to content

Hey there, Guest!  (Log In · Register) Help
Loading News Feed...
 
Page 1 of 1

Linux filesystems are a pain

#1 User is online Aerosol 

Posted 13 February 2012 - 01:43 AM

  • FML
  • Posts: 6392
  • Joined: 27-April 08
  • Gender:Male
  • Location:New York
  • Project:Sonic (?): Coming summer of 2055...?
So I screwed up Ubuntu, and reinstalled it on another partition, leaving me with a 43GB filesystem that had my screwed up Ubuntu on it. I used GParted to destroy the partition and make a new one, and...now I can't do anything with it, because the owner is root. ffffffffffff-

How can I fix this? I mean, what I really wanted was to destroy the partition and add that free space onto the partition that my good Ubuntu installation is on, but I settled for having it as separate. If someone could help me on this too, that'd be awesome.

EDIT: I figured the first part out, wouldn't you know it.
This post has been edited by AerosolSP: 13 February 2012 - 01:52 AM

#2 User is offline Chilly Willy 

Posted 13 February 2012 - 03:30 AM

  • Posts: 738
  • Joined: 10-April 09
  • Gender:Male
  • Project:Wolf3D MCD
If it's formatted, just chown it for yourself and use it however you wish.

"sudo chown -R username:username /path/to/drive"

#3 User is online Aerosol 

Posted 13 February 2012 - 02:57 PM

  • FML
  • Posts: 6392
  • Joined: 27-April 08
  • Gender:Male
  • Location:New York
  • Project:Sonic (?): Coming summer of 2055...?
I figured that part out, but I was hoping I could just add the free space onto the partition that ubuntu is now installed on instead of having it as a seperate file system.
This post has been edited by AerosolSP: 13 February 2012 - 02:57 PM

#4 User is offline Sik 

Posted 13 February 2012 - 03:49 PM

  • Sik is pronounced as "seek", not as "sick".
  • Posts: 6719
  • Joined: 17-March 06
  • Gender:Male
  • Project:being an asshole =P
  • Wiki edits:11
Aren't you meant to destroy the partition, then resize the one you want to make larger to cover the gap? (can you resize a partition on which an OS is installed?)

#5 User is offline flamewing 

Posted 13 February 2012 - 05:03 PM

  • Elite Hacker
  • Posts: 675
  • Joined: 11-October 10
  • Gender:Male
  • Location:Brasil
  • Project:Sonic Classic Heroes; Sonic 2 Special Stage Editor; Sonic 3&K Heroes (on hold)
  • Wiki edits:12
Install gparted, use it to manipulate the partitions into whichever way you see fit.

#6 User is online Aerosol 

Posted 13 February 2012 - 08:09 PM

  • FML
  • Posts: 6392
  • Joined: 27-April 08
  • Gender:Male
  • Location:New York
  • Project:Sonic (?): Coming summer of 2055...?
That's just it. gparted didn't let me resize the partition that ubuntu is installed on without unmounting it...which you can't do. Unless I'm missing something.

#7 User is offline Epsilonsama 

Posted 13 February 2012 - 08:29 PM

  • THE FASTEST TAPE ALIVE!
  • Posts: 592
  • Joined: 15-November 08
  • Gender:Male
  • Location:Earth
  • Wiki edits:7

View PostAerosolSP, on 13 February 2012 - 08:09 PM, said:

That's just it. gparted didn't let me resize the partition that ubuntu is installed on without unmounting it...which you can't do. Unless I'm missing something.


Run the ubuntu live CD. It comes with G-parted I believe. Use that to resize your partitions.

#8 User is offline Sik 

Posted 13 February 2012 - 08:31 PM

  • Sik is pronounced as "seek", not as "sick".
  • Posts: 6719
  • Joined: 17-March 06
  • Gender:Male
  • Project:being an asshole =P
  • Wiki edits:11
The point is that he can't unmount the partition. But yeah, using sudo (and thereby doing stuff as root literally) should let you unmount any partition as needed.

#9 User is offline HighFrictionZone 

Posted 13 February 2012 - 11:44 PM

  • Hi.
  • Posts: 855
  • Joined: 27-February 08
  • Gender:Male
  • Location:Katy, Texas
  • Project:Nothing
  • Wiki edits:7
DO NOT UNMOUNT THE PARTITION FROM YOUR RUNNING FILESYSTEM. Unmounting it will make it so you cannot run programs which are saved on the disk itself.
Instead, use delete the empty partition, and leave it as empty space, then use an Ubuntu Live CD to run GParted. Use Gparted from a Live CD because it can umount your disk properly and expand the good partition to fill all space.

#10 User is offline LocalH 

Posted 14 February 2012 - 12:03 AM

  • roxoring your soxors
  • Posts: 3106
  • Joined: 11-January 03
  • Gender:Male
  • Location:wouldn't you like to know
  • Project:MDEM - Genesis programming stufz
  • Wiki edits:3
GParted Live CD

Small enough to fit on a mini-CD (not a business card CD though) and quicker to boot than a whole Ubuntu live DVD.

#11 User is online Aerosol 

Posted 14 February 2012 - 12:24 AM

  • FML
  • Posts: 6392
  • Joined: 27-April 08
  • Gender:Male
  • Location:New York
  • Project:Sonic (?): Coming summer of 2055...?
Good show. Thanks fellas. I'll give it a whirl.

Page 1 of 1
    Locked
    Locked Forum

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users