Announcement

Collapse
No announcement yet.

SOLVED: Unable to write to secondary hard disk

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

    SOLVED: Unable to write to secondary hard disk

    Hi there

    Re-installed Kubuntu Karmic Koala from scratch after failed upgrade

    Used Pysdm utility to automatically mount internal second hard disk and it automounts fine
    However, I cannot write to this at all!

    Have used sudo chown -R raaj /media/sdb3 which executed through all sub folders and files and
    then I rebooted but still no change!

    Any ideas??

    Thanks in advance

    Raaj
    -------------------------------------------------------
    Viva Kubuntu!!
    Pentium 4 2.4Ghz
    2Gb RAM
    Oneiric Ocelot 11.10
    KDE 4.7.1

    #2
    Re: Unable to write to secondary hard disk

    If the sudo chown command succeeded, then apparently root does have write access to the drive. What do permissions look like on the folders and files of the drive?
    Welcome newbies!
    Verify the ISO
    Kubuntu's documentation

    Comment


      #3
      Re: Unable to write to secondary hard disk

      Hi there

      Thanks for quick response

      I am down as the owner

      I wonder if there is something wrong in the way I am mounting it...I tried editing \etc\fstab\ and added an RW in column 4 to make sure it didn't mount read only but that hasn't worked
      -------------------------------------------------------
      Viva Kubuntu!!
      Pentium 4 2.4Ghz
      2Gb RAM
      Oneiric Ocelot 11.10
      KDE 4.7.1

      Comment


        #4
        Re: Unable to write to secondary hard disk

        Originally posted by webheadjunky
        I wonder if there is something wrong in the way I am mounting it...I tried editing \etc\fstab\ and added an RW in column 4 to make sure it didn't mount read only but that hasn't worked
        If you post a copy of fstab then maybe someone will be able to tell whether something is wrong with it or not.
        Welcome newbies!
        Verify the ISO
        Kubuntu's documentation

        Comment


          #5
          Re: Unable to write to secondary hard disk

          Thanks
          Hope this formats ok:

          # /etc/fstab: static file system information.
          #
          # Use 'blkid -o value -s UUID' to print the universally unique identifier
          # for a device; this may be used with UUID= as a more robust way to name
          # devices that works even if disks are added and removed. See fstab(5).
          #
          # <file system> <mount point> <type> <options> <dump> <pass>
          proc /proc proc defaults 0 0
          # / was on /dev/sda1 during installation
          UUID=9d2a6c9a-d440-40c3-b0a0-3b90090cf78e / ext4 errors=remount-ro 0 1
          # swap was on /dev/sda5 during installation
          UUID=1b0a8603-169e-4ef9-8d00-d4adf9ea1445 none swap sw 0 0
          /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
          /dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
          /dev/sdb3 /media/sdb3 ext3 errors=remount-ro,rw,users 0 0
          /dev/sdb1 /media/sdb1 ext3 errors=remount-ro,rw,users,noauto,user 0 0

          sdb3 and sdb1 are for the same hard disk
          Unfortunately, I'm learning the ropes and I think I inadvertently managed to create two mount points for the one drive!!
          -------------------------------------------------------
          Viva Kubuntu!!
          Pentium 4 2.4Ghz
          2Gb RAM
          Oneiric Ocelot 11.10
          KDE 4.7.1

          Comment


            #6
            Re: Unable to write to secondary hard disk

            could you post the output of

            Code:
            sudo blkid
            and

            Code:
            sudo fdisk -l
            that's a lower case L not an I

            VINNY
            i7 4core HT 8MB L3 2.9GHz
            16GB RAM
            Nvidia GTX 860M 4GB RAM 1152 cuda cores

            Comment


              #7
              Re: Unable to write to secondary hard disk

              Thanks, here goes:

              /dev/sda1: UUID="9d2a6c9a-d440-40c3-b0a0-3b90090cf78e" TYPE="ext4"
              /dev/sda5: UUID="1b0a8603-169e-4ef9-8d00-d4adf9ea1445" TYPE="swap"
              /dev/sdb1: UUID="2e994584-24e1-4d21-8bac-29c4a746bf81" TYPE="ext3"
              /dev/sdb3: UUID="2e994584-24e1-4d21-8bac-29c4a746bf81" TYPE="ext3"
              /dev/ramzswap0: TYPE="swap"

              and

              Disk /dev/sda: 30.8 GB, 30750031872 bytes
              255 heads, 63 sectors/track, 3738 cylinders
              Units = cylinders of 16065 * 512 = 8225280 bytes
              Disk identifier: 0xbf99bf99

              Device Boot Start End Blocks Id System
              /dev/sda1 * 1 3578 28740253+ 83 Linux
              /dev/sda2 3579 3738 1285200 5 Extended
              /dev/sda5 3579 3738 1285168+ 82 Linux swap / Solaris

              Disk /dev/sdb (Sun disk label): 255 heads, 63 sectors, 30399 cylinders
              Units = cylinders of 16065 * 512 bytes

              Device Flag Start End Blocks Id System
              /dev/sdb1 0 30401 244196032+ 83 Linux native
              /dev/sdb3 0 30401 244196032+ 5 Whole disk

              Disk /dev/sdb1 (Sun disk label): 255 heads, 63 sectors, 30399 cylinders
              Units = cylinders of 16065 * 512 bytes

              Device Flag Start End Blocks Id System
              /dev/sdb1p1 0 30401 244196032+ 83 Linux native
              /dev/sdb1p3 0 30401 244196032+ 5 Whole disk

              Disk /dev/sdb3 (Sun disk label): 255 heads, 63 sectors, 30399 cylinders
              Units = cylinders of 16065 * 512 bytes

              Device Flag Start End Blocks Id System
              /dev/sdb3p1 0 30401 244196032+ 83 Linux native
              /dev/sdb3p3 0 30401 244196032+ 5 Whole disk
              -------------------------------------------------------
              Viva Kubuntu!!
              Pentium 4 2.4Ghz
              2Gb RAM
              Oneiric Ocelot 11.10
              KDE 4.7.1

              Comment


                #8
                Re: Unable to write to secondary hard disk

                thats the strangest disk layout I'v ever seen and I personaley dont know how to straten it out.

                is you'r hole kubuntu install on /dev/sda ?

                and /dev/sdb just extra storage ?

                or is /dev/sdb part of kubuntu?

                as it apears in fstab it looks like /dev/sdb is just extra storage in /media!!

                is so it should be safe to remove it all togeter from fstab and repartition it.... but all data will be lost so coey it off some ware safe first.

                VINNY

                i7 4core HT 8MB L3 2.9GHz
                16GB RAM
                Nvidia GTX 860M 4GB RAM 1152 cuda cores

                Comment


                  #9
                  Re: Unable to write to secondary hard disk

                  Crap, what a mess. Sorry but I don't understand what you've got there.

                  I'll just say this. You don't mount drives. You mount filesystems. A file system exists on a partition. A partition exists on a drive. Generally speaking:

                  sda is a drive
                  sda1 is a partition which might contain a mountable filesystem.
                  Welcome newbies!
                  Verify the ISO
                  Kubuntu's documentation

                  Comment


                    #10
                    SOLVED: Unable to write to secondary hard disk

                    Heh heh

                    What can I say...I'm a talented learner!!

                    Aye, the second disk is just storage

                    I was planning to backup and wipe and re-format to EXT4 so will do that anyway

                    Just in case I don't have permissions...is there a killer command that will let me reformat it to EXT4??

                    Thanks for all the advice

                    Raaj
                    -------------------------------------------------------
                    Viva Kubuntu!!
                    Pentium 4 2.4Ghz
                    2Gb RAM
                    Oneiric Ocelot 11.10
                    KDE 4.7.1

                    Comment


                      #11
                      Re: SOLVED: Unable to write to secondary hard disk

                      I usualey do ALL my partitioning with a Gparted live cd.

                      it's never faled me.

                      VINNY
                      i7 4core HT 8MB L3 2.9GHz
                      16GB RAM
                      Nvidia GTX 860M 4GB RAM 1152 cuda cores

                      Comment


                        #12
                        Re: SOLVED: Unable to write to secondary hard disk

                        Yeah, in GParted Live CD session,
                        Device > Create partition table
                        and you'll have to set a disk label, MSDOS being the default (the standard PC MBR).

                        I don't think most of us are familiar with your Sun Disk Label or the notation /dev/sdb1p1 etc.
                        An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

                        Comment


                          #13
                          Re: SOLVED: Unable to write to secondary hard disk

                          I honestly can't remember how I did it last time!

                          It was over a year ago and via instructions posted on the Ubuntu forum

                          How do I create a Gparted live cd? I have the application installed but not sure how the live cd thing works

                          Thanks again

                          Raaj
                          -------------------------------------------------------
                          Viva Kubuntu!!
                          Pentium 4 2.4Ghz
                          2Gb RAM
                          Oneiric Ocelot 11.10
                          KDE 4.7.1

                          Comment


                            #14
                            Re: SOLVED: Unable to write to secondary hard disk

                            GParted (Live CD, USB, HD)
                            http://gparted.sourceforge.net/livecd.php
                            New Manual. New man page. See Documentation:
                            http://gparted.sourceforge.net/documentation.php


                            You have to download the iso file and burn it as an image to a CD, using, say K3b, same as you'd do to make a Kubuntu Live CD.
                            An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

                            Comment


                              #15
                              Re: SOLVED: Unable to write to secondary hard disk

                              thare recomending this ver. if you have eney NTFS resizing to do for some reson

                              http://sourceforge.net/projects/gpar...Files/0.4.6-1/

                              the warning

                              http://gparted.sourceforge.net/download.php

                              VINNY
                              i7 4core HT 8MB L3 2.9GHz
                              16GB RAM
                              Nvidia GTX 860M 4GB RAM 1152 cuda cores

                              Comment

                              Working...
                              X