Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Installing Ubuntu - Can't see my partitioned HDD

  1. #1
    Join Date
    Feb 2013
    Beans
    13

    Red face Installing Ubuntu - Can't see my partitioned HDD

    Hello Ubuntu Forum People! It's nice to meet you all.

    Let me start from the beginning. In the beginning... There was Chuck Norris having a brofist with God then BOOM! The Earth was created. Haha!
    Just Kidding~

    So I was following this video on "How to dual boot Win7 and Ubuntu":
    http://www.youtube.com/watch?v=3HANcetKsqc

    In my laptop, like in the video, I started by partitioning my disc. So I tried to partition my local disc D to 30GB.

    Disc Sizes:
    Disk C: 306 GB
    Disc D: 361 GB
    HP: 1.99 GB
    free space: 30 GB(Originally from D which is 390GB)

    I then boot Ubuntu from my CD and started the installation but along the way of selecting the "free space" disc where I'll install my Ubuntu it doesn't show up the add tab while the 30GB disc is selected. I turned back to my Windows 7 OS.

    I saw that it was Unallocated, so I decided to format it and after formatting all my disc type turned into dynamic type then it hit me "what is this?"

    I searched on google how to convert it back to basic and followed the steps I found here:
    http://www.nextofwindows.com/how-to-...-in-windows-7/

    It worked like magic but now I see this green box line that says these 4 partion are now "Extended Partition":



    Now that it is back I was hoping I could install the Ubuntu smoothly. I was again wrong and it only show one hard drive that I can't even edit:



    So with my friend Google, again, I tried to search for solution and saw in the forum that there are still leftover RAID data.
    And one way to remove this is to issue this command:



    and again no success.
    Now I'm trying to run GParted on my Laptop to see if it really shows my disc and I'm stuck here.
    Specs:


    Sorry for the disturbance
    and thanks for reading.

  2. #2
    Join Date
    Apr 2009
    Location
    UK Lake District
    Beans
    2,865
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Installing Ubuntu - Can't see my partitioned HDD

    Running in Ubuntu
    Open up Gparted. Does this see you partitions.
    Post a screen

    Also post the result of
    Code:
    sudo fdisk -l
    Ubuntu Member Always something different. Promoting Ubuntu and System 76 at TUXPC

  3. #3
    Join Date
    Feb 2013
    Beans
    13

    Re: Installing Ubuntu - Can't see my partitioned HDD

    Here's the screen shot:





    After some time, I've researched and found out that Linux doesn't use the NTFS and FAT32 system so I decided to delete the volume "free space" and just leave it there in case I fixed my problem and can install the ubuntu again.
    Last edited by Coolai; February 27th, 2013 at 07:34 AM. Reason: I've forgotten to add this detail.

  4. #4
    Join Date
    Apr 2009
    Location
    UK Lake District
    Beans
    2,865
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Installing Ubuntu - Can't see my partitioned HDD

    Your partition table may need rebuilding
    http://askubuntu.com/questions/48717...artition-table
    Ubuntu Member Always something different. Promoting Ubuntu and System 76 at TUXPC

  5. #5
    Join Date
    Feb 2013
    Beans
    13

    Re: Installing Ubuntu - Can't see my partitioned HDD

    I tried using testdisk and this is what I see:



    Does this mean that Ubuntu can't detect my partitions only the whole hdd?

  6. #6
    Join Date
    Apr 2009
    Location
    UK Lake District
    Beans
    2,865
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Installing Ubuntu - Can't see my partitioned HDD

    /dev/sr0
    Is your optical drive

    fdisk showed partitions
    But your partition table is corrupt and needs rebuilding
    At least from what I can see
    Ubuntu Member Always something different. Promoting Ubuntu and System 76 at TUXPC

  7. #7
    Join Date
    Feb 2013
    Beans
    13

    Re: Installing Ubuntu - Can't see my partitioned HDD

    Okay... That is so stupid. I didn't know that was my optical drive. I'm sorry for that.
    So, how do I rebuild the partition table?

    Do I search on "rebuild the partition table using testdisk, and install GRUB" like in the link you gave me.

    And many thanks for the replies it is helping me understand more about my problem.
    Thank you.

  8. #8
    Join Date
    Nov 2009
    Location
    Segur De Calafell, Spain
    Beans
    11,660
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Installing Ubuntu - Can't see my partitioned HDD

    The conversion from dynamic to basic left your partition table in weird layout. I guess because you had more than 4 partition so it converted all of them into logical except the System Reserved which needs to be primary in any case.

    In your place, I would use fixparts from ubuntu live mode, print the table it can detect, and very carefully convert HP_Tools and C: into primary partitions. Leave the D: as logical.

    Then, when the layout in fixparts looks OK to you, write the new table. It doesn't do anything until you use 'w' to write the table.

    fixparts has a very easy option to convert primary to logical partitions, and vice versa.

    Converting HP_Tools and C: into primary, would leave three primary partitions (System Reserved is already primary), and one logical (the D: partition). It will probably leave the unallocated space next to D: as outside the extended partition but when you install ubuntu it will take care of that and join D: and the ubuntu partitions in one extended because they will all be logical partitions. I hope that made sense.

    Read the fixparts tutorial first. There is a .deb you can install in live mode. Just don't forget that if you restart the program is not kept in live mode and you have to install it again.
    www.rodsbooks.com/fixparts/
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 12.04 LTS 64bit & Windows 7 Ultimate 64bit

  9. #9
    Join Date
    Feb 2013
    Beans
    13

    Re: Installing Ubuntu - Can't see my partitioned HDD

    Quote Originally Posted by darkod View Post
    The conversion from dynamic to basic left your partition table in weird layout. I guess because you had more than 4 partition so it converted all of them into logical except the System Reserved which needs to be primary in any case.

    In your place, I would use fixparts from ubuntu live mode, print the table it can detect, and very carefully convert HP_Tools and C: into primary partitions. Leave the D: as logical.

    Then, when the layout in fixparts looks OK to you, write the new table. It doesn't do anything until you use 'w' to write the table.

    fixparts has a very easy option to convert primary to logical partitions, and vice versa.

    Converting HP_Tools and C: into primary, would leave three primary partitions (System Reserved is already primary), and one logical (the D: partition). It will probably leave the unallocated space next to D: as outside the extended partition but when you install ubuntu it will take care of that and join D: and the ubuntu partitions in one extended because they will all be logical partitions. I hope that made sense.

    Read the fixparts tutorial first. There is a .deb you can install in live mode. Just don't forget that if you restart the program is not kept in live mode and you have to install it again.
    www.rodsbooks.com/fixparts/
    Thanks darkod, I also thought that that was the problem all along the conversion from dynamic back to basic. And I also get what you want me to do.

    But now I'm little confused as to what partition to set as primary and as a logical.



    These partitions, are these the HP, C and D partitions?
    How do I know which one? I know their sizes like HP has 2GB and D: has 360GB but I don't know what is what here because I can only determine them by sizes.
    And lastly do I use FixParts to convert the partitions or do I use testdisk for that?

    Sorry for all the questions.

  10. #10
    Join Date
    Feb 2013
    Beans
    13

    Talking Re: Installing Ubuntu - Can't see my partitioned HDD

    I finally fixed it thanks to both - darkod & carl4926.
    Thank you so much.

    What I did was:
    I determined throughly what partition is what by issuing the command: lsblk


    I saw that sda1 is HP, sda2 is C:, and sda3 is D:
    I carefully change sda1 to primary, sda2 also to primary, and sda3 to logical.
    Then it appeared! Haha!


    Now I'm on to installing ubuntu.
    Thanks again guys!

    THIS PROBLEM IS NOW SOLVED.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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