Announcement

Collapse
No announcement yet.

How to find root partition

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to find root partition

    I inadvertently created a lot of partitions in last install. /home and / were on separate partitions. When I look in gparted I see mount points for /home and others but not /. How do I find out what partition was used for / in Gutsy install.

    #2
    Re: How to find root partition

    Open a console and type:
    Code:
    sudo fdisk -l
    The listed device marked with the boot flag ( * ) is your root directory. Additionally, type:
    Code:
    cat /etc/fstab
    The entry showing the mount point of / also tells you where your / partition is installed at.
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Re: How to find root partition

      fdisk didn't work since I dual boot with win2000 which is on sda1 and marked with a * in fdisk. fstab shows sda3 is mounted at / but gparted does not show this mount point for sda3 and shows size as 19g with nothing used. Can you explain how gparted is working?

      Comment


        #4
        Re: How to find root partition

        GParted always shows my root partition as "mount point" = /.

        Konsole
        sudo grub
        grub> find /boot/grub/menu.lst

        that'll tell where menu.lst is, which is probably your root partition (assuming no separate GRUB/boot partitions).
        An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

        Comment


          #5
          Re: How to find root partition

          Many thanks Qmike. Grub showed (hda,2) which is, I guess, sda3. Interestingly Partition Magic Gparted showed sda3 as about 4g, not empty as shown by gparted on Gutsy, but did not show mount point as /.

          Comment


            #6
            Re: How to find root partition

            yes
            (hd0,2) = sda3

            An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

            Comment

            Working...
            X