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

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

    Checking what HAL sees:

    man lshal
    LSHAL(1) LSHAL(1)

    NAME
    lshal - list HAL devices

    SYNOPSIS
    lshal [options]

    DESCRIPTION
    lshal is a utility for displaying items in the HAL device database. For
    more information about both the big picture and specific HAL proper‐
    ties, refer to the HAL spec which can be found in /usr/share/doc/hal-
    doc/spec/hal-spec.html depending on the distribution.

    OPTIONS
    The following options are supported:...

    =>
    Code:
    lshal | grep sdb
    or simply
    Code:
    lshal

    With KDE gui:
    Package kde-hal-device-manager, shows the hardware on your computer.
    After installation K > System > Device Manager...


    This doesn't help but...

    There are (lot of ?) questions why and how KIO-slave system:/media/ should work, but not real answers :

    [kde-linux] hd partitions don't appear in storage media folder
    http://linux.derkeiler.com/Mailing-L.../msg00220.html

    [kde] system:/media and /etc/fstab
    http://lists.kde.org/?l=kde&m=115100776720173&w=2

    how to show all unmounted disk in system:/media protocol
    http://www.kde-forum.org/artikel/164...edia-prot.html


    Chapter 8. Multimedia With KDE
    http://docs.kde.org/kde3/en/kdebase/...ultimedia.html
    The Storage Media location (also known as the media:/ protocol) will show all devices which are recognized by KDE, including the hard drive and CD and DVD drives, as well as USB and Firewire devices, provided that your distribution is set up correctly to tell KDE about them.

    How KIO-slave system:/media/ is meant to work (that is, how it is working here)

    1) There should be all partitions showing.
    Mounted and unmounted. No need to be in the /etc/fstab (using HAL device database ?).

    2) You can mount partitions (and unmount) by right clicking them (if you have rights).


    Gutsy (KDE 3.5.8 ):

    Right click > Mount:



    As root this is working (kdesudo dolphin/konqueror), you have rights to mount/unmount.


    Hardy (KDE 3.5.9):
    Right click > Mount and Hardy will ask password:


    Kubuntu (KDE) is evolving .
    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information

    Comment


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

      thanks for your post I"ll check out the links
      Code:
      doorslammer@ubuntuslammer:~$ lshal | grep sdb
       block.device = '/dev/sdb' (string)
       linux.sysfs_path = '/sys/block/sdb' (string)
       block.device = '/dev/sdb1' (string)
       linux.fstab.mountpoint = '/media/sdb1' (string)
       linux.sysfs_path = '/sys/block/sdb/sdb1' (string)
       volume.mount_point = '/media/sdb1' (string)
      doorslammer@ubuntuslammer:~$

      Comment


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


        I wonder if sudo mount was the cause ? for what I've been reading now kdesu mount is what I should be using ?

        I did install Package kde-hal-device-manager thanks .
        also ran the commands you posted seems the lable of the hard drive is not being detected nor is the uuid hance why that did not work when I tried it ..

        thanks your post will get me closer to finding whats wrong here

        Comment


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

          umm..I just learned this a while ago..I don't know how it works exactly or if it'll work w/ ur system.

          Code:
          sudo fdisk -l  (look for your hard drive. usually it is 'sdb' or 'sdc')
          sudo fdisk /dev/sdb
          mount -t auto /dev/sdb1 t/

          Comment


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

            Originally posted by doorslammer

            I wonder if sudo mount was the cause ? for what I've been reading now kdesu mount is what I should be using ?

            I did install Package kde-hal-device-manager thanks .
            also ran the commands you posted seems the lable of the hard drive is not being detected nor is the uuid hance why that did not work when I tried it ..

            thanks your post will get me closer to finding whats wrong here
            No, "sudo" is the correct prefix for Linux commands like "mount" and "mkdir" and "rm".

            "kdesu" or "kdesudo" is the prefix to run KDE GUI packages in Super User mode, such as "kdesu kate" or "kdesu krusader".

            And thanks to Rog131 for the excellent information on HAL media policy -- I didn't know that!

            Comment


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

              got you ok thanks ..
              I played a bit today with this drive thing but still nothing
              in the hal-device-manager sdb1 does not show drive label or uuid
              which is why I do think it's a bug , booted in to windows today for a minute just to check the drive in question
              label is BIGONE2
              but that did not help any LOL
              I should just format that drive to ntfs then see if it's detected in kubuntu .

              Comment


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

                Originally posted by doorslammer

                I should just format that drive to ntfs then see if it's detected in kubuntu .
                That might work -- so might ext3 (even if just for the experiment).

                How are those IDE drives set up in BIOS? I take it you have 2 IDE channels on that motherboard? Is there a "priority" between the two channels? Probably you have the optical drive set to boot first, so that's on the first channel, and these 2 drives are on the other channel. Are the drives jumpered to "cs" or "Cable Select"? Does BIOS offer "modes" for the IDE channels? Just throwing out some other things that might or might not relate to the issue. From that link you posted the other day, it does look like there might be a bug for this particular kind of setup.

                My mobo has only a single IDE connector, so I'm kinda forced to the SATA route for additional hard drives -- I guess I'm glad ... LOL.

                Comment


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

                  This isn't fix but it is a workaround.

                  From Modifying the KDE System Menu:

                  You can edit /usr/share/apps/systemview/media.desktop. There is line:
                  Code:
                  URL=media:/
                  if you change that to the
                  Code:
                  URL=/media
                  then "Storage Media" will show /media folder.
                  (it is a good idea to backup the media.desktop)
                  Before you edit, BACKUP !

                  Why there are dead links ?
                  1. Thread: Please explain how to access old kubuntu forum posts
                  2. Thread: Lost Information

                  Comment


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

                    Thanks I have no problem getting to my media directory .
                    it is just one of them things I thought I could find a fix for .
                    no worries , I'll leave it alone for now unless some one stumbles on to a fix .
                    on that note I do have kde 4 installed also & well same thing no sdb1 in menu LOL
                    I can live with out it anyway I can still get around , was just a visual thing ..



                    Comment


                      #25
                      Re: making hard drives show up in system:/media/ &lt;solved&gt;

                      OK JUST TO UPDATE MY THREAD HERE

                      backed up sdb1 & used gparted to format it to ext3 now it shows up in system:/media

                      so thanks for all the help !

                      I think if I formated to fat32 again using gparted it would have showed up in storage media .

                      just in case someone else needs this info

                      Comment

                      Working...
                      X