Announcement

Collapse
No announcement yet.

Kubuntu 11.04 can't see windows extended (d:) partition!!! HEEEELLLLPPP!!!

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

    Kubuntu 11.04 can't see windows extended (d:) partition!!! HEEEELLLLPPP!!!

    Hi all,

    I have 2 hard disks. First one is 320Gb SATA and second is 80gb ATA. On 320Gb hd is Win 7 with "C:System" partition (50gb) and "D: Data partition" (250gb). While installing Kubuntu on new (80gb) hd, installer recognized windows 7 hard disk as "sda" with C: partition as "sda1" and d: partition as "sda5". Kubuntu's hard disk was recognized as "sdb" (I've manualy set up /root, /user, swap and /home partitions on "sdb" for Kubuntu). So, after installation was finished and computer restarted, GRUB shown up with choice between Kubuntu and also Win 7 boot option (which is goood). But, when I start Kubuntu, I can't see second (D windows 7 partition in Dolphin. I can only see drive that says "System" (Which is from Win 7) with all Win 7 folders like Documents & Settings, Program Files, Windows folder etc.

    Can someone explain me how to set Kubuntu to "see" my second extended windows partition I really need this because all music, movies and data is on that partition and I'd want to access it from Kubuntu also...


    (DUAL BOOT WIN 7 AND KUBUNTU, 2 SEPARATE HARD DISKS)



    #2
    Re: Kubuntu 11.04 can't see windows extended (d partition!!! HEEEELLLLPPP!!!

    Try playing with system settings->hardware->Removable Media (or similar, mine is german).

    You could also check and see if your drive (partition) is available.

    It the terminal do:
    Code:
    sudo blkid
    give your password and it should look something like this:

    fintan@fintanws2:~$ sudo blkid
    [sudo] password for fintan:
    /dev/sda1: UUID="964c920a-b81f-4a20-99a0-102647a42c84" TYPE="ext4"
    /dev/sda5: UUID="f1a65db9-86d0-4203-8468-5b94a5b87f6a" TYPE="swap"
    /dev/sda6: LABEL="/home" UUID="5517cdab-5747-4901-bcea-d81c24d99116" TYPE="ext3"
    /dev/sda7: UUID="21ed9e01-70d9-4309-afdd-92911c278d5f" TYPE="ext4"
    /dev/sda8: LABEL="Vmware2" UUID="0a1f1736-90d7-439d-8f3f-ace44df6ccba" TYPE="ext3"
    /dev/sda9: UUID="ce3cd5ec-9ea3-46d9-ba6e-f4e850541e4a" TYPE="ext4"
    /dev/sda10: LABEL="/sda10" UUID="e31ac091-8d69-4fe8-966c-752b30d039b0" TYPE="ext4"
    /dev/sdb1: UUID="c4a303c0-593f-4472-b1cc-237d413d89fb" TYPE="ext4"
    fintan@fintanws2:~$
    When you have identified the "missing" partition you can then go on and check the file /etc/fstab and see if it is listed there. If not you will have to create a listing for it using the uuid from the above command.


    You can also use the command to list all of your partitions:
    Code:
    sudo fdisk -l
    that is a lower case L NOT a "1")

    Also have a look here:
    https://help.ubuntu.com/community/Au...ountPartitions


    Hope that helps
    HP Pavilion dv6 core i7 (Main)
    4 GB Ram
    Kubuntu 18.10

    Comment


      #3
      Re: Kubuntu 11.04 can't see windows extended (d partition!!! HEEEELLLLPPP!!!

      I'll try that! Thanx

      But when I input /etc/fstab it says "permission denied"!! Why is that??

      This is so frustrating...

      Comment


        #4
        Re: Kubuntu 11.04 can't see windows extended (d partition!!! HEEEELLLLPPP!!!

        and d: partition as "sda5"
        I assume you'll be accessing this drive and using it daily?

        If this is true there's a couple steps you may want to take to make your life easier.

        First, have that partition mounted at every boot. Then link the folders on that partition to your home folders that are appropriate (Music to Music, Videos to Videos...etc.).

        If it were me, I'd do this:

        Part One: Setting up mounting

        Open a terminal (konsole)
        Edit /etc/fstab to mount the drive at boot: kdesudo kate /etc/fstab
        When kate opens up add a line like this:
        /dev/sda5 /mnt/drive_d ntfs defaults,rw,users,auto 0 0
        Leave a blank line at the end of the file also.
        Make yourself root user: sudo -i
        Create a mount point: mkdir /mnt/drive_d
        Change ownership to your user and group: chown sixxx37:sixxx37 /mnt/drive_d
        Mount the partition: mount /dev/sda5
        Now exit superuser mode: exit

        At this point, the drive should be mounted at /mnt/drive_d, you should be able to mount and unmount it whenever you want, you should be able to read and write files to and from it.

        Check and verify it's mounted: mount

        You should see output like this:

        /dev/sda5 on /mnt/drive_d type ntfs (rw)

        If you don't, something went wrong. Assuming it did work, open Dolphin and browse the drive_d mount. Now would be a good time to decide which folders you want to link to and discover the full paths to each of them. You need this info for part two.

        NOTES: I don't use NTFS so you might want to verify the mount line I used in the above example. Substitute your user and group name for sixxx37 in the above example. You can use any mount point you wish - change "drive_d" to whatever you want.

        Part Two: Create links to your Windows folders

        There are three ways (more actually) to do this:

        1.You can delete the current folders in your home (Music, Documents, Videos..) and replace them with link to your Windows folders. This is a good option if you're dual booting often and want to be able to access your data from both OS's all the time.

        2.You can delete all the current folders in your home and have a single link to your windows "My Documents" folder. This is somewhat quicker to set up, but you'll have one more sub-directory layer to navigate through each time you access the folders.

        3.You can link via a sub-folder within the folders currently in your home. This would be best if you want to have files not always available to Windows.

        The work involved for either method roughly is the same.

        (Still in the konsole, not as root user)

        Make sure you're in your home directory: cd ~
        (OPTIONAL) Remove the folders you want to replace: rmdir Music
        Repeat for each folder.
        Create symlinks to these folders: ln -s '/mnt/sda5/Documents and Settings/sixxx37/My Documents/My Music' Music
        Repeat for each folder.

        That's pretty much it.

        NOTES: Notice in the "Create symlinks" step I used single quotes around the path to the music folder. Quotes (single or double - as long as there's a set of them) are required so contain spaces in the path name. Obviously, use the exact paths to your folders. For the single folder option, just link to"My Documents" on the windows drive and all the other stuff will be there.

        Let us know if you have any problems.

        Please Read Me

        Comment


          #5
          Re: Kubuntu 11.04 can't see windows extended (d partition!!! HEEEELLLLPPP!!!

          Originally posted by sixxx37
          I'll try that! Thanx

          But when I input /etc/fstab it says "permission denied"!! Why is that??

          This is so frustrating...

          If you're serious about using linux, now would be a good time to start reading up on permissions and using "sudo" and "kdesudo."

          Remember: Linux is not Windows. You have some learning to do, but it's not too difficult.

          Please Read Me

          Comment


            #6
            Re: Kubuntu 11.04 can't see windows extended (d partition!!! HEEEELLLLPPP!!!

            Yes im serious about Linux.. I really liked it.. I want to keep using Windows just for work stuff (CAD and other programs..)..

            I've started usking Linux first time few days ago but i'm diggin' it slowly


            I'm starting NOW on permissions and "sudo" and "kdesudo."

            Gonna try now to do what you've told me about my PROBLEM!!!

            ...here I go..

            Comment


              #7
              Re: Kubuntu 11.04 can't see windows extended (d partition!!! HEEEELLLLPPP!!!

              Short version: "sudo" gives you temporary "super user" aka root user status for a single command. sudo= "Do as Super User." If you want to launch a GUI program (like kate - the text editor), use "kdesudo" instead of sudo. Launching a GUI program with sudo may cause certain configuration files to be re-written in your home with root ownership, thus causing numerous headaches.

              Short course on permissions: In the linux world, all files and directories have "ownership" and "permissions" which control who has the power to do what (this is 99% of why we have no viruses).

              A long directory listing shows this well:

              $ ls -l ~

              Code:
              drwxr-xr-x 1 stuart stuart    0 2011-05-01 08:26 Public
              -rwxr-xr-x 1 stuart stuart   2228 2011-05-02 23:27 puls
              lrwxrwxrwx 1 stuart stuart    7 2011-05-01 17:40 shared -> /shared
              -rw------- 1 stuart stuart  16922 2011-07-09 07:13 stuart.kmy
              my name and group are "stuart", that's who owns the files.The permissions are the characters on the left.
              The first character: d=directory, l=link, -=file
              The next three characters are file owners permissions: rwx = read, write, execute
              The next three are group permissions, and the last three are for everyone else.

              For a file to be executable, it must have the x in all three places. For directories, the x is required to browse or enter that directory.

              So in the list above:
              The first line is a directory and everyone can browse or enter it ( 3 x's)
              The second line is a file that anyone can read, but only I can write to (or delete) because only the file "owner" (me) has the w.
              The third line is a directory link that has "world" access - i.e. anyone can read/write/enter it.
              The last line is a file that only I can read or write.

              There's much more but this is a good start for you.

              Please Read Me

              Comment

              Working...
              X