-   Linux - Newbie (
-   -   How do I know which partition my distros are on? (Multi distros) (

glenn69 06-18-2005 12:06 AM

How do I know which partition my distros are on? (Multi distros)
I have about 4 Linux distros and 1 Windows installed on 2 hard drives. I installed these distros some time ago and have only really used 1 on a regular basis. (For those of you curious....MEPIS)

I would like to try some new distros out.

My question is : How do I verify which partition my MEPIS is using?
I don't want to install anything over that one. I am booting through GRUB if that matters.

Thanks for the help.

PowerMatt 06-18-2005 12:47 AM

Take a look at your fstab in /etc and it'll tell you exactly what partition it's on (while you're running MEPIS that is). Just look for what is being mounted at / (assuming you're only using one partition for it). It'll be something like /dev/hda5 (which would be the first logical partition on your primary hard drive if I remember right, if you happen to have SCSI, it'll look like /dev/sda5). Or you could look in your grub.conf and see the device string in there as well.

linux-rulz 06-18-2005 01:56 AM

Just type the command mount with nothing else and you'll get some output like this :

ryan@ryanhp:~$ mount
/dev/hda1 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/hda6 on /home type ext3 (rw)
/dev on /.dev type unknown (rw,bind)
none on /dev type tmpfs (rw,size=5M,mode=0755)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/hdc on /media/cdrom0 type udf (ro,noexec,nosuid,nodev,user=ryan)

This should tell you everything you need to know.

J.W. 06-18-2005 03:43 AM

Another option would be to open a terminal session and run the "df" command, which is intended to display the amount of space each partition is using, but also (conveniently) shows you exactly which partitions are currently in use. -- J.W.

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