LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-20-2011, 05:00 AM   #1
gabytf
Member
 
Registered: Jun 2010
Location: Kota Kinabalu, Sabah, Malaysia
Distribution: Slackware64 14, -current. Slackware 14.1
Posts: 170

Rep: Reputation: 1
Question How to delete duplicated Filesystem


i got two "10GB Filesystem" in my directory where i know only one is using for my current Ubuntu 10.04, how to make sure which directory of these i can safely delete? how to delete it?
 
Old 09-20-2011, 05:15 AM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Hello,

What do you mean it is "in your directory?" .... What directory are you talking about? And why do you assume that you need to delete it? It may be an already mounted device.... Or it may be a duplicate... we don't know. Please explain how you got up to this point, and tell us what you were trying to do, and what you are currently trying to work on.

Cheers,

Josh
 
Old 09-20-2011, 05:36 AM   #3
gabytf
Member
 
Registered: Jun 2010
Location: Kota Kinabalu, Sabah, Malaysia
Distribution: Slackware64 14, -current. Slackware 14.1
Posts: 170

Original Poster
Rep: Reputation: 1
Question

Thank you for your prompt reply.

It appeared in my Homefolder.
I think that was when i installing the upgraded version from the previous version, initially it was unable to boot so i got stuck. later i download again but this time install with Flash USB and it went thru. anyway i am not really sure how i got this duplicated Filesystem.

i wanna delete it to get more space, my HD is 60GB only and sharing with XP dual booting. Keeping XP for back up to open Microsoft Office files.
 
Old 09-20-2011, 05:41 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,834

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
Open a terminal session, and post the output of these
Code:
df -hT
sudo fdisk -l
(that's a lower case ell)
 
1 members found this post helpful.
Old 09-20-2011, 05:46 AM   #5
gabytf
Member
 
Registered: Jun 2010
Location: Kota Kinabalu, Sabah, Malaysia
Distribution: Slackware64 14, -current. Slackware 14.1
Posts: 170

Original Poster
Rep: Reputation: 1
Here is the results:

gab@gab-Inspiron-700m:~$ df -hT
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda11 ext4 3.7G 3.2G 343M 91% /
none devtmpfs 234M 700K 233M 1% /dev
none tmpfs 240M 288K 240M 1% /dev/shm
none tmpfs 240M 92K 240M 1% /var/run
none tmpfs 240M 0 240M 0% /var/lock
/dev/sr0 iso9660 97M 97M 0 100% /media/GParted-live
gab@gab-Inspiron-700m:~$ sudo fdisk -l
[sudo] password for gab:

Disk /dev/sda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xd0f4738c

Device Boot Start End Blocks Id System
/dev/sda1 1 13 104391 6 FAT16
/dev/sda2 * 14 2039 16273845 7 HPFS/NTFS
/dev/sda3 2040 7296 42226790+ f W95 Ext'd (LBA)
/dev/sda5 3371 5410 16384000 7 HPFS/NTFS
/dev/sda6 5961 5992 257008+ 7 HPFS/NTFS
/dev/sda7 2040 3307 10185147 83 Linux
/dev/sda8 3308 3370 506016 82 Linux swap / Solaris
/dev/sda9 5993 7234 9976333+ 83 Linux
/dev/sda10 7235 7296 497983+ 82 Linux swap / Solaris
/dev/sda11 5410 5897 3912704 83 Linux
/dev/sda12 5898 5960 504832 82 Linux swap / Solaris

Partition table entries are not in disk order
gab@gab-Inspiron-700m:~$
 
Old 09-20-2011, 06:06 AM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,834

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
Let's see a "sudo swapon -s" as well.
 
Old 09-20-2011, 06:09 AM   #7
gabytf
Member
 
Registered: Jun 2010
Location: Kota Kinabalu, Sabah, Malaysia
Distribution: Slackware64 14, -current. Slackware 14.1
Posts: 170

Original Poster
Rep: Reputation: 1
gab@gab-Inspiron-700m:~$ sudo swapon -s
[sudo] password for gab:
Filename Type Size Used Priority
/dev/sda12 partition 504828 185156 -1
gab@gab-Inspiron-700m:~$
 
Old 09-20-2011, 07:25 AM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,834

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
It looks like you've done 3 installs - and the last one (the system you currently use) is small because of that.
As stated above by corp769, we can't know if you have anything in those other partitions you wish to preserve. I'm guessing not, but you are responsible for making that decision.

As you have a gparted liveCD, I'd suggest you boot that, and delete partitions /dev/sda7,8,9 and 10. Whilst there, you might want to expand (what currently is) /dev/sda11 to give yourself some more room in Ubuntu. Make it say 20 Gig - leaves plenty to grow either XP or Ubuntu in future.
You will also have to re-install grub - see here.

Nothing is ever as easy as we might like.
 
1 members found this post helpful.
Old 09-20-2011, 07:48 AM   #9
gabytf
Member
 
Registered: Jun 2010
Location: Kota Kinabalu, Sabah, Malaysia
Distribution: Slackware64 14, -current. Slackware 14.1
Posts: 170

Original Poster
Rep: Reputation: 1
That's why it keep popping up telling me that i got not enough space to download or install other programs. i intend to maintain partitions for WinXP and Ubuntu. Will delete others partition as you advised. No worry, i am responsible for making that decision i just want more space for my Linux.

Will let you know the outcome once done.

Thanks once again.
 
Old 09-20-2011, 02:10 PM   #10
gabytf
Member
 
Registered: Jun 2010
Location: Kota Kinabalu, Sabah, Malaysia
Distribution: Slackware64 14, -current. Slackware 14.1
Posts: 170

Original Poster
Rep: Reputation: 1
Managed to repartition my Hard Drive and deleted those not needed. Followed the instruction how to reinstall Grub. now everything back to action. Thank you very much.
 
Old 09-20-2011, 07:50 PM   #11
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Looks like a fell off of the bandwagon after I got off of work.... Glad to know you got it solved though!

Cheers,

Josh
 
  


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
unknow filesystem grub rescue after delete Trisquel GNU/Linux by hand in win7 jackrun Fedora - Installation 2 01-27-2011 09:26 PM
Duplicated directory on ext3 filesystem Wocky Linux - Hardware 1 07-11-2010 09:06 AM
cannot delete file, Read-Only filesystem ufmale Linux - Newbie 2 12-06-2007 05:22 PM
Can different FS be duplicated satimis Linux - General 4 03-17-2006 07:00 PM
C program problem on delete duplicated nodes in linked list ! antony_csf Programming 2 10-28-2004 11:42 AM


All times are GMT -5. The time now is 04:49 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration