LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-03-2009, 02:59 AM   #1
fuzzylogic25
LQ Newbie
 
Registered: Jun 2009
Posts: 3

Rep: Reputation: 0
Installed Ubuntu, ran GParted and have an issue now?


Hi,

I just installed Ubuntu, and I already had windows XP in a separate partition. This is my first time installing Linux.

I have a 500GB drive, 20GB is a primary NTFS partition for win xp. I set linux to use the remaining space at installation time. Once installed, I checked the properties of the parition linux is using which is called "Filesystem" through File -> Properties and it said the following:

Ubuntu filesystem properties
---------------------------------------------------------------
Hard disk space used: totalling 3.2GB (some files unreadable)
Freespace: 409.5GB
---------------------------------------------------------------

Then i ran Gparted, because I actually only wanted 30GB for the parition, and remaining space to be used as data partition which will be NTFS. Gparted stated following information when i ran it:

What GParted saw before making any changes
---------------------------------------------------------------
/dev/sda1 : ntfs Size:19.53G; Used: 11.11G; Unused: 8.42G; boot flag
/dev/sda2 : extended Size: 446.23GB
/dev/sda5 ext3 Size: 440.47gb; Used: 8.97; Unused: 431.51
/dev/sda6 linux-swap Size: 5.75gb
---------------------------------------------------------------

Then what I wanted to do was set /dev/sda5 down to 30GB, and move the /dev/sda6 (linux-swap) to just after the /dev/sda5. That way, the remaining space which is going to be data partition in NTFS can be put at the end of disk.

So this is what I set the conditions to be:

Changes I wanted to make: (resize ext3 partition down and move linux-swap from end of disk to just after ext3 partition)
---------------------------------------------------------------
/dev/sda1 : ntfs Size:19.53G; Used: 11.11G; Unused: 8.42G; boot flag
/dev/sda2 : extended Size: 446.23GB
/dev/sda5 ext3 Size: 29.29GB; Used: 8.97GB; Unused: 20.33GB
/dev/sda6 linux-swap Size: 5.75gb
new partition #1 411.18
---------------------------------------------------------------

After I ran this process, i got the following information form GParted:

GParted view on disk partitions after I made changes
---------------------------------------------------------------
/dev/sda1 : ntfs Size:19.53G; Used: 11.11G; Unused: 8.42G; boot flag
/dev/sda2 : extended Size: 446.23GB
/dev/sda5 ext3 Size: 29.29GB; Used: 2.49GB; Unused: 26.8GB
/dev/sda6 linux-swap Size: 5.75gb
new partition #1 411.18
---------------------------------------------------------------

And when I when I booted up Ubuntu to check the properties of the FILESYSTEM disk like it did initially I got:

---------------------------------------------------------------
Hard disk space used: totalling 2.6GB (some files unreadable)
Freespace: 25.3GB
---------------------------------------------------------------

My question is, after I did a resize, why has the space used according to Ubuntu changed from 3.2GB down to 2.6GB? Have I lost some data that was there from the installation process?

And according to GParted, why does it say the used space was 8.97GB for that drive but now saying 2.48GB? Have I lost that much data?
 
Old 06-03-2009, 06:37 AM   #2
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 82
Why would you bother doing all that, when you have this problem before you even resized your partition?
Quote:
Ubuntu filesystem properties
---------------------------------------------------------------
Hard disk space used: totalling 3.2GB (some files unreadable)
Freespace: 409.5GB
---------------------------------------------------------------
 
Old 06-03-2009, 11:15 AM   #3
fuzzylogic25
LQ Newbie
 
Registered: Jun 2009
Posts: 3

Original Poster
Rep: Reputation: 0
what is the problem exactly? is it that some files are unreadable? i thought maybe they are some system files? i dont know, im a newbie to linux lol
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sound Card Issue on Ubuntu installed on Laptop jef3189 Linux - Hardware 2 11-05-2008 04:36 PM
Help! had XP installed on Mandriva, got a virus, both OS died, ran SuperGrub . linuxwise Linux - General 10 08-27-2008 09:56 AM
Installed TightVNC. Fails. Can't find fonts when ran. Running CentOS. CrewXp Linux - Software 12 08-16-2007 02:06 PM
Installed suse...ran Yast Update...now a kernel panic? RoaCh Of DisCor Suse/Novell 1 12-24-2004 10:32 PM
CPU Load ran away...NFS issue? Linux303 Linux - General 7 01-06-2003 02:45 PM


All times are GMT -5. The time now is 03:25 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration