LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 10-27-2004, 08:16 AM   #1
PenguinMolester
Member
 
Registered: Apr 2003
Location: UK
Distribution: Dual booting Mandrake 10 and SUSE 9.1
Posts: 44

Rep: Reputation: 15
How can I tell if a partition is empty?


Iam dual booting Mandrake and SUSE but I think I should have a spare empty partition and would like to put Gentoo on it if this is possible but I am not sure how to tell if a partition is empty or if one of my distos is using it?
 
Old 10-27-2004, 08:20 AM   #2
heema
Senior Member
 
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528

Rep: Reputation: 47
type : df
 
Old 10-27-2004, 08:21 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
it sounds like it's not actually mounted, in which case just mount in in a terminal and then look inside it with ls, df or whatever you want. fdisk -l should tell you the partition type.
 
Old 10-27-2004, 08:28 AM   #4
PenguinMolester
Member
 
Registered: Apr 2003
Location: UK
Distribution: Dual booting Mandrake 10 and SUSE 9.1
Posts: 44

Original Poster
Rep: Reputation: 15
How do you mount a partition in a terminal? I will need to check a couple of partitions and what will it say if in use or empty.
Thanks
 
Old 10-27-2004, 08:31 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
well it will be in use if there is stuff on it... just look.

mount /dev/hda2 /mnt/test

if you want to look at /dev/hda2 of course...
 
Old 10-27-2004, 08:46 AM   #6
PenguinMolester
Member
 
Registered: Apr 2003
Location: UK
Distribution: Dual booting Mandrake 10 and SUSE 9.1
Posts: 44

Original Poster
Rep: Reputation: 15
Tried that just keep getting No such file or directory
mount: you must specify the filesystem type
linux:/home/****** #
 
  


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
Parted won't partition empty space phillywize Linux - Newbie 4 01-04-2005 11:42 AM
I can't shrink my empty partition yeehi Linux - General 3 10-20-2004 03:23 PM
Empty Partition Systerektomy Linux - Newbie 1 04-28-2004 11:01 AM
strange partition table - boot partition empty etanter Linux - General 0 12-23-2003 10:46 AM
How can I install Dos on an empty partition? florinel Linux - General 1 08-23-2003 11:31 PM


All times are GMT -5. The time now is 08:59 AM.

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