Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 18
Hello Everyone! I just made a new storage partition and formatted it as Ext3. Now, this particular partition is shown and can be read at the terminal "fdisk -l". However, ...
  1. #1
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,229

    How to Mount EXT3 Partition

    Hello Everyone!

    I just made a new storage partition and formatted it as Ext3. Now, this particular partition is shown and can be read at the terminal "fdisk -l". However, unlike in my Mint 7 partition, it does not show in my Fedora 10.

    Code:
    [jun@localhost ~]$ sudo fdisk -l
    [sudo] password for jun: 
    
    Disk /dev/sda: 250.0 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xc5e3f820
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1        1555    12490506    7  HPFS/NTFS
    /dev/sda2            1556       15817   114559515    5  Extended
    /dev/sda3           15818       29555   110350485    7  HPFS/NTFS
    /dev/sda4           29556       30401     6795495   82  Linux swap / Solaris
    /dev/sda5            1556        6803    42154528+  83  Linux
    /dev/sda6            9256       15817    52709233+  83  Linux
    /dev/sda7            6804        9255    19695658+  83  Linux
    
    Partition table entries are not in disk order
    [jun@localhost ~]$
    That would be /dev/sda6.

    This partition can also shows be seen in gparted in Fedora. However, even in the "Places" tab, it does not show.

    May I please ask for some help regarding this?

    I thank you in advance!
    nujinini
    Linux User #489667

  2. #2
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    665
    There are 2 parts to a partition type. You have the partition ID (which is set to EXT3 in your example.) and you have the applied filesystem type. Basicaly, you have told the operating system that you are going to be puting ext3 on that disk, but you never actualy applied it.

    as root, run
    # mkfs.ext3 /dev/sda6

    or if you prefer sudo
    $ sudo mkfs.ext3 /dev/sda6

    that will do default options, which should be good enough. If you want to learn more, see the manpage, or google around for it. I always use default.
    Last edited by meton_magis; 01-20-2010 at 09:45 AM. Reason: Didn't notice use of sudo
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

  3. #3
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,229
    Thank you very much for your reply!

    It seems I still am encountering some problems.
    Code:
    [jun@localhost ~]$ sudo mkfs.ext3 /dev/sda6
    [sudo] password for jun: 
    mke2fs 1.41.4 (27-Jan-2009)
    /dev/sda6 is mounted; will not make a filesystem here!
    [jun@localhost ~]$
    Apparently it says its mounted but I can't locate it in the "Places" tab or when I click the Computer Icon which shows me the other partitions.
    nujinini
    Linux User #489667

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Execute this
    Code:
    df -h
    Does it list /dev/sda6 in output?

    Which Desktop Environment are you using?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,229
    Quote Originally Posted by devils casper View Post
    Execute this
    Code:
    df -h
    Does it list /dev/sda6 in output?

    Which Desktop Environment are you using?
    Hello Casper!

    I'm using Fedora 10 (Gnome). Yes it does:

    Code:
    [jun@localhost ~]$ df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/sda5              40G   26G   14G  66% /
    tmpfs                 1.5G  4.5M  1.5G   1% /dev/shm
    /dev/sda1              12G   11G  1.8G  86% /media/Virus Prone XP
    /dev/sda7              19G  2.7G   15G  15% /media/Mint
    /dev/sda3             106G   68G   38G  65% /media/Storage Bin
    /dev/sda6              50G   13G   35G  26% /media/JunixFiles
    /dev/sr0              344M  344M     0 100% /media/ARCHISO_AHCOHH6O
    [jun@localhost ~]$
    nujinini
    Linux User #489667

  6. #6
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    665
    print the output of

    sudo cat /etc/fstab
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

  7. #7
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568
    you can umount it first and then format it.
    umount /media/JunixFiles
    Mak sure /media/JunixFiles doesn't have important files.
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

  8. #8
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,229
    Quote Originally Posted by meton_magis View Post
    print the output of

    sudo cat /etc/fstab
    Code:
    [jun@localhost ~]$ sudo cat /etc/fstab
    [sudo] password for jun: 
    
    #
    # /etc/fstab
    # Created by anaconda on Wed Dec  2 00:31:00 2009
    #
    # Accessible filesystems, by reference, are maintained under '/dev/disk'
    # See man pages fstab(5), findfs(8), mount(8) and/or vol_id(8) for more info
    #
    UUID=8dbc9d97-c3ca-4f2e-b4d7-701848d89def /                       ext3    defaults        1 1
    tmpfs                   /dev/shm                tmpfs   defaults        0 0
    devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
    sysfs                   /sys                    sysfs   defaults        0 0
    proc                    /proc                   proc    defaults        0 0
    UUID=bd778c99-6ffd-4a7f-8af5-04c26ba40c6e       swap    defaults     0 0
    [jun@localhost ~]$
    Thanks meton_magis
    nujinini
    Linux User #489667

  9. #9
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Do you mount /dev/sda6 partition manually?
    Add this code in /etc/fstab file :
    Code:
    /dev/sda6    /media/JunixFiles   ext3   defaults  0  0
    Reboot machine or execute mount -a command.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  10. #10
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,229
    Quote Originally Posted by devils casper View Post
    Do you mount /dev/sda6 partition manually?
    Add this code in /etc/fstab file :
    Code:
    /dev/sda6    /media/JunixFiles   ext3   defaults  0  0
    Reboot machine or execute mount -a command.
    Code:
    #
    # /etc/fstab
    # Created by anaconda on Wed Dec  2 00:31:00 2009
    #
    # Accessible filesystems, by reference, are maintained under '/dev/disk'
    # See man pages fstab(5), findfs(8), mount(8) and/or vol_id(8) for more info
    #
    UUID=8dbc9d97-c3ca-4f2e-b4d7-701848d89def /                       ext3    defau$
    tmpfs                   /dev/shm                tmpfs   defaults	0 0
    devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
    sysfs                   /sys                    sysfs   defaults	0 0
    proc                    /proc                   proc    defaults	0 0
    UUID=bd778c99-6ffd-4a7f-8af5-04c26ba40c6e	swap    defaults     0 0
    /dev/sda6                /media/JunixFiles	 ext3   defaults  0 0
    After saving I reboot and still the /dev/sda6 does not show in desktop and in "Places" tab.

    Code:
    [jun@localhost ~]$ sudo mount -a
    mount: mount point swap does not exist
    [jun@localhost ~]$
    This one I do not get what it is saying. Thank you
    nujinini
    Linux User #489667

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...