Announcement

Collapse
No announcement yet.

making hard drives show up in system:/media/ <solved>

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

    making hard drives show up in system:/media/ <solved>

    ok
    I have 2 fat32 hard drives . only one of them show up in storage media
    I do have them both mounted sda1 & sdb1
    sda1 shows in storage media ( system:/media/ )
    but sdb1 does not show up in system:/media why not ?

    I have them both mounted media/sda1 & media/sdb1 so I'm able to use them
    but this has puzzled me

    edit: this is on kubuntu 7.10 gusty

    #2
    Re: making hard drives show up in system:/media/

    no one here on the kubuntu site knows this ?

    Comment


      #3
      Re: making hard drives show up in system:/media/

      I usually just work in Disk & Filesystems:
      K > System Settings > Advanced, Administrator mode, right-click on the device, Modify, and edit it, OK, enable it.
      And in fstab -- make or copy a suitable entry for it in /etc/fstab, as root, File > Save, then at Konsole mount -a (or re-boot).
      An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

      Comment


        #4
        Re: making hard drives show up in system:/media/

        one shows up in storage media & one does not

        there both mounted .
        I checked what you said . also compared both drive setting & there both the same .
        did the sudo mount -a
        still the same
        still one of them show up in system:/media not both
        sda1 shows up but sdb1 does not
        there both mounted media/sda1 & media/sdb1

        so we are clear . when I go to storage Media root drive shows my ntfs drive shows & one of the fat32 drives show.
        Code:
        doorslammer@ubuntuslammer:~$ cat /etc/fstab
        # /etc/fstab: static file system information.
        #
        # <file system> <mount point>  <type> <options>    <dump> <pass>
        proc /proc proc defaults 0 0
        # /dev/hdb1
        UUID=ee8a9387-5e1b-4396-919c-fe9f909ecfff / ext3 nouser,defaults,errors=remount-ro,atime,auto,rw,dev,exec,suid 0 1
        # /dev/hdb5
        UUID=121ab551-a594-4625-a195-a6659f721f5f none swap sw 0 0
        /dev/hdc /media/cdrom0 udf,iso9660 user,atime,noauto,rw,dev,exec,suid 0 0
        /dev/fd0 /media/floppy0 auto user,atime,noauto,rw,dev,exec,suid 0 0
        # Added drives
        
        /dev/sda1 /media/sda1 vfat umask=007,uid=1000,gid=100,auto,rw,user 0 0
        /dev/sdb1 /media/sdb1 vfat umask=007,uid=1000,gid=100,auto,rw,user 0 0
        doorslammer@ubuntuslammer:~$

        Comment


          #5
          Re: making hard drives show up in system:/media/

          Not that I expect this will result in the other drive showing, but, you have the fsck (file system check) order on /dev/sda1 and /dev/sdb1 set incorrectly. The last item - the zero - needs to be changed to a 2.

          Fsck order
          Fsck: Fsck order is to tell fsck what order to check the file systems, if set to "0" file system is ignored.
          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


            #6
            Re: making hard drives show up in system:/media/

            so your saying it should look like this
            /dev/sda1 /media/sda1 vfat umask=007,uid=1000,gid=100,auto,rw,user 0 2
            /dev/sdb1 /media/sdb1 vfat umask=007,uid=1000,gid=100,auto,rw,user 0 2

            thank you for your reply

            Comment


              #7
              Re: making hard drives show up in system:/media/

              If I'm reading your /etc/fstab file correctly, /dev/sdb1 is your root filesystem, and it uses the ext3 filesystem format. So you don't want to call it an "added" fat32 drive!

              Can you open a console window and run
              Code:
              blkid
              ? That might help sort what you have and where it is.

              Comment


                #8
                Re: making hard drives show up in system:/media/

                Originally posted by dibl
                If I'm reading your /etc/fstab file correctly, /dev/sdb1 is your root filesystem, and it uses the ext3 filesystem format. So you don't want to call it an "added" fat32 drive!

                Can you open a console window and run
                Code:
                blkid
                ? That might help sort what you have and where it is.
                dev/hdb1 is my root . everythign works
                my complaint here is out of 2 fat32 hard drives I have only one shows up in the system:/media .
                thats it

                all my other drives show even my ntfs (windows partion shows up
                the only drive that does not show up is sdb1
                maybe it should be sdb as it's a complete drive & not just a partion
                here is a screen shot of what I'm talking about
                [img width=400 height=320]http://dslam.homelinux.com/media.jpg[/img]

                Comment


                  #9
                  Re: making hard drives show up in system:/media/

                  I believe I see what dibl sees. You are naming your two other drives as sdxx when in Gutsy, all physical HD devices are referenced as hdxx. As /dev/hdb1 is your root partition, then it might be possible that your /dev/sdb1 is being interpreted as being /dev/hdb1 which is the root file system, already mounted, and so ignored.
                  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


                    #10
                    Re: making hard drives show up in system:/media/

                    so in gusty everything should be named hd
                    humm
                    so in that case I should unmount sda1 sdb1 . & do what with them
                    this is the first time I've heard of this .
                    hold on hda1 shows & so does sda1 in my system:/media
                    so what you said don't seem right . not saying your wrong .
                    where would I find this info about this.
                    is this kubuntu only ? I also have ubuntu on another box & well it's set up the same way & everything works well

                    should I be using the id to the hard drives instead to mount the 2 fat32 drives ??

                    I do thank both of you for the help

                    Comment


                      #11
                      Re: making hard drives show up in system:/media/

                      Please open the Konsole, run
                      Code:
                      sudo fdisk -lu
                      and
                      Code:
                      blkid
                      and post the output of both in your reply. That will help resolve some apparent confusion in the relationships between /dev/sdx or /dev/hdx devices and the UUIDs that are being used for mounting in your fstab file. In your original post you said you "have 2 FAT32 drives", but your /etc/fstab file shows a partition formatted ext3, along with a Linux swap partition, and it appears to show you attempting to add 2 more drives -- this isn't gonna work unless we can sort out what you actually have.

                      Since Feisty (7.04) there has been no distinction between hdx and sdx drive designations -- you can Google "ubuntu libata driver" if you are interested in the technicalities.

                      BTW, FAT32 is the least fault tolerant filesystem format available -- it will work, but your data won't survive a power outage or anything else, if you happen to be reading or writing to the drive at the time. If you're looking for interoperability with a Windows system, NTFS would be a considerably better choice.

                      Comment


                        #12
                        Re: making hard drives show up in system:/media/

                        Code:
                        doorslammer@ubuntuslammer:~$ sudo fdisk -lu
                        
                        Disk /dev/hda: 20.5 GB, 20520493056 bytes
                        255 heads, 63 sectors/track, 2494 cylinders, total 40079088 sectors
                        Units = sectors of 1 * 512 = 512 bytes
                        Disk identifier: 0xf6adf6ad
                        
                          Device Boot   Start     End   Blocks  Id System
                        /dev/hda1  *     63  40066109  20033023+  7 HPFS/NTFS
                        
                        Disk /dev/hdb: 40.0 GB, 40020664320 bytes
                        255 heads, 63 sectors/track, 4865 cylinders, total 78165360 sectors
                        Units = sectors of 1 * 512 = 512 bytes
                        Disk identifier: 0x4faaccd1
                        
                          Device Boot   Start     End   Blocks  Id System
                        /dev/hdb1  *     63  74862899  37431418+ 83 Linux
                        /dev/hdb2    74862900  78156224   1646662+  5 Extended
                        /dev/hdb5    74862963  78156224   1646631  82 Linux swap / Solaris
                        
                        Disk /dev/sda: 80.0 GB, 80054059008 bytes
                        255 heads, 63 sectors/track, 9732 cylinders, total 156355584 sectors
                        Units = sectors of 1 * 512 = 512 bytes
                        Disk identifier: 0x4bb290cf
                        
                          Device Boot   Start     End   Blocks  Id System
                        /dev/sda1  *     63  156344579  78172258+  c W95 FAT32 (LBA)
                        
                        Disk /dev/sdb: 81.9 GB, 81964302336 bytes
                        255 heads, 63 sectors/track, 9964 cylinders, total 160086528 sectors
                        Units = sectors of 1 * 512 = 512 bytes
                        Disk identifier: 0x0478ffb5
                        
                          Device Boot   Start     End   Blocks  Id System
                        /dev/sdb1  *     63  160071659  80035798+  c W95 FAT32 (LBA)
                        Code:
                        doorslammer@ubuntuslammer:~$ blkid
                        /dev/hda1: UUID="AA9CF1FE9CF1C53B" LABEL="win2k" TYPE="ntfs"
                        /dev/hdb1: UUID="ee8a9387-5e1b-4396-919c-fe9f909ecfff" SEC_TYPE="ext2" TYPE="ext3"
                        /dev/hdb5: TYPE="swap" UUID="121ab551-a594-4625-a195-a6659f721f5f"
                        /dev/sda1: LABEL="BIGONE" UUID="3E14-BA38" TYPE="vfat"
                        /dev/sdb1: LABEL="BIGONE2" UUID="0000-0EB6" TYPE="vfat"
                        I did edit /etc/fstab
                        used the uuid for sdb1 rebooted & uuid was not found so it never mounted the drive

                        UUID=0000-0EB6 /media/sdb1 vfat umask=007,uid=1000,gid=100,auto,rw,user 0 0

                        so I just changed it back to the way it was & mount -a working the way it was .

                        if I do this notice in /dev/disk/by-uuid/ there is no sdb1
                        Code:
                        doorslammer@ubuntuslammer:~$ ls /dev/disk/by-uuid/ -alh
                        total 0
                        drwxr-xr-x 2 root root 120 2008-03-26 08:53 .
                        drwxr-xr-x 6 root root 120 2008-03-26 04:52 ..
                        lrwxrwxrwx 1 root root 10 2008-03-26 04:52 121ab551-a594-4625-a195-a6659f721f5f -> ../../hdb5
                        lrwxrwxrwx 1 root root 10 2008-03-26 08:53 3E14-BA38 -> ../../sda1
                        lrwxrwxrwx 1 root root 10 2008-03-26 04:52 AA9CF1FE9CF1C53B -> ../../hda1
                        lrwxrwxrwx 1 root root 10 2008-03-26 04:52 ee8a9387-5e1b-4396-919c-fe9f909ecfff -> ../../hdb1
                        Code:
                        doorslammer@ubuntuslammer:~$ sudo parted /dev/sda p
                        [sudo] password for doorslammer:
                        
                        Disk /dev/sda: 80.1GB
                        Sector size (logical/physical): 512B/512B
                        Partition Table: msdos
                        
                        Number Start  End   Size  Type   File system Flags
                         1   32.3kB 80.0GB 80.0GB primary fat32    boot, lba
                        
                        Information: Don't forget to update /etc/fstab, if necessary.
                        
                        doorslammer@ubuntuslammer:~$
                        Code:
                        doorslammer@ubuntuslammer:~$ sudo parted /dev/sdb p
                        
                        Disk /dev/sdb: 82.0GB
                        Sector size (logical/physical): 512B/512B
                        Partition Table: msdos
                        
                        Number Start  End   Size  Type   File system Flags
                         1   32.3kB 82.0GB 82.0GB primary fat32    boot, lba
                        
                        Information: Don't forget to update /etc/fstab, if necessary.
                        
                        doorslammer@ubuntuslammer:~$

                        Comment


                          #13
                          Re: making hard drives show up in system:/media/

                          I'v been trying to hunt this down
                          it might just be a bug
                          i found this page & other kubuntu gusty 7.10 are reporting the same issues
                          https://bugs.launchpad.net/ubuntu/+s...ibs/+bug/98751..
                          it's just funny that one of them show up in storage media & the other does not

                          Comment


                            #14
                            Re: making hard drives show up in system:/media/

                            Yes, the good old "policy kit" issue -- I don't think that is relevant to your issue at all, although it is a very popular "bug" complaint.

                            But, that bug report does also reflect an issue with IDE drives being found in the /media folder. I would recommend that you follow the mounting instructions given in that thread (and disregard all the USB-related stuff). Probably they will mount and show up.

                            Also, I have found that "mount by UUID" really is the superior way to go, notwithstanding the complaints of long-time Linux users who were comfortable with the "mount by /dev/ID" method. Your blkid output provides the UUID of each of your drives. If you will use that to write mounting lines in your /etc/fstab file, following the format of the /dev/hda1 mount line, with modification for the filesystem type (vfat) and the fsck options, they may mount just fine. So, for example, one of them (sda1) will be:

                            Code:
                            UUID=3E14-BA38 /media/sda1 vfat mask=007,uid=1000,gid=100,auto,rw,user 0 2
                            Don't forget to make a /media/sda1 directory for it.

                            Comment


                              #15
                              Re: making hard drives show up in system:/media/

                              sda1 is mounted & showing LOL
                              I tried mounting sdb1 with user id but it did not work

                              I also tried mounting sdb instead of sdb1 & that did not work


                              I have & alway had sdb1 mounted in /media/sdb1
                              like I said the only problem is it does not show in storage media .
                              even loged out & fired up kd4 still the same thing
                              sda1 shows but sdb1 does not
                              I'm sure it's a bug as I've tried everything & even followed a lot of suggestion in post.
                              nothing works ..
                              like I said my only problem is there is no icon in system:/media for sdb1 ( if I was in windows it would be My Computer.
                              this is just one of them stupid things I was chasing, it's not stopping me from using my drives
                              uuid I tried but did not work would not even mount the drive
                              uuid works for sda1 but not sdb1 .
                              sdb1 is the secondary drive on the ide channel
                              sda1 is the master on the same ide channel
                              both drives are mounted the same way yet one shows up in storage media & one does not.
                              so far in this thread nothing suggested has worked .
                              think I'll leave it alone & call it a bug it's not important , it was just me wanting my kubuntu install to be perfact & thats not going to happen .

                              Thanks for trying

                              Comment

                              Working...
                              X