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

Thread: Not finding hdd in cd boot installation

  1. #1
    Join Date
    May 2013
    Beans
    4

    Not finding hdd in cd boot installation

    Update: After trying some things, I've posted an update, http://ubuntuforums.org/showthread.p...2#post12720142 .
    Hello, I've reached a dead end when trying to install Ubuntu 13.04, please help me. (Boring introduction has now been skipped.)

    I want to install Ubuntu to run alongside windows 7. I don't have cd's to reinstall windows if something went wrong.

    I've got a Packard Bell ixtreme M5140.


    At which point in the installation I get stuck. Note the stage in orange and white dotes.



    Text shown when I click at any option in the window except "Install now" (back and quit also excluded).

    As you can see I get an error message at this point in the installation. The installer obviously doesn't find my hard drive or its partitions.



    If Ubuntu is run live from the CD, it can find the hdd and it's partitions, as shown below.







    As you can see I've got two main partitions of my hdd. The partitioning where done when I bought my PC from the store. I want to either install it on the partition named DATA (/dev/sda4) or partition Packard Bell (/dev/sda3) into two partitions, one with Windows that's already installed and one with Ubuntu.

    Here's the error log from page three that shows up when you press "Show Details".





    I hope i haven't uploaded the images in too high resolution, if so, I apologise.


    I've done my best to put up as much information as I thought would be useful. Tell me if you feel something's missing and I'll add it if I can.

    And to round it off, a photo of my PC's interior for good measure.


    Please note my new graphic card. =)


    Thanks in advance.
    Sincerely, Lukas.
    Last edited by Nargluj; July 6th, 2013 at 05:46 PM. Reason: Speling erorr.

  2. #2
    Join Date
    Jan 2007
    Beans
    3,202

    Re: Not finding hdd in cd boot installation

    Very complete question -- congrats on that!

    Issues:

    1. You're not going to install Ubuntu on a partition that is formatted NTFS -- it needs a linux filesystem, and ext4 is recommended.

    2. The two partitions that you have in mind for Ubuntu are equally large at 690GB, but probably you want one for the OS, which only needs to be on a 20GB or 30GB partition, allowing plenty of space for downloads and such, and you probably want the largest space for data.

    3. If you were thinking that Windows and Ubuntu would share the data partition, then that is not a problem, but it will max out your allowable 4 primary partitions, leaving none available for a swap space.

    So, my approach if I were in your situation would be first to make a Parted Magic Live CD or USB stick, using Windows 7 (I don't actually know how that works, but I know that is a common method to make the Live USB stick). Parted Magic Live is available here. You don't HAVE to use Parted Magic, most Linux Live CDs, including Ubuntu, have GParted on them, so if you happen to have one of those, that's fine. One way or another, you need to boot a linux system that has GParted on it, and Parted Magic is my preferred way to do that.

    I'll assume you want to maximize the shared NTFS data partition, and then install Ubuntu in a 30GB partition, and also have a swap space.

    With GParted up and showing the hard drive on the graphic, delete the fourth partition (/dev/sda4). Now you need to shutdown the booted Parted Magic Live CD, boot Windows 7, and use the Windows Disk Management tool to enlarge /dev/sda3 (the one presently labeled "Packard Bell" -- you can change the label to DATA), and enlarge it so that there is only about 35GB left unallocated on the drive.

    Now shutdown Windows and boot your Parted Magic Live USB stick again. In the unallocated space, make a new partition and the type of this new partition is "extended". In the new extended partition, you can make two logical partitions. The first one for Ubuntu, formatted ext4, can be 30GB, and the second one, formatted "linux swap" is for swap, and can be the rest of the hard drive, which should amount to about 5GB. Don't worry if swap comes out a bit less -- you could probably do fine with only 3 or 4GB of swap space.

    Now you are ready to install Ubuntu, which can go on the 30GB partition, with swap on the small one. Once Ubuntu is installed, if the ntfs-3g package is not installed, you'll need to install it. There is a lot of guidance on the internet and this forum about how to make a mount point on /mnt and then mount your NTFS data partition with a line in /etc/fstab.

    I have tried not to go too high-level with this guidance, but I have skipped some minor details, so if you need more details post back.


    NOTE: I am not familiar with the motherboard and BIOS in that computer model. If it uses UEFI, then there is a whole other list of issues to deal with, beyond the scope of this guidance, and you'll have to address those first, before installing Ubuntu and grub. Note the many, many forum posts about Windows not booting after installing Ubuntu on a UEFI motherboard -- there are challenges on that which you should familiarize yourself with if UEFI is an issue on your system.
    Last edited by dabl; May 12th, 2013 at 10:35 PM.
    Intel Core i7-950 / Asus P6X58D-E / Nvidia GTX480 / siduction 64-bit on OCZ Revodrive SSD / KDE4.10.2/ Kubuntu 13.04

  3. #3
    Join Date
    Dec 2009
    Location
    Fareham, UK
    Beans
    1,733
    Distro
    Ubuntu

    Re: Not finding hdd in cd boot installation

    Hi. Welcome to the Forum.

    Before suggesting a plan of action to install Ubuntu buy some DVDs or CDs and make a full back-up of your Windows partitions including the PQSERVICE partition. Do these things before doing anything else in case anything does go wrong.

    Also could you boot the LiveCD into 'Try' mode and open a terminal - pressing Ctrl+Alt+T at the same time is the quick way - and run this command
    Code:
    sudo fdisk -l
    the l in the command is a small L. In the terminal window highlight the output and copy - Ctrl+Shift+C - then in a New Reply in this thread click on the # at the top of the writing pane and paste between the [code] brackets.

    Further advice will be available after these tasks have been done.

    Thank you.

  4. #4
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    6,401
    Distro
    Ubuntu Development Release

    Re: Not finding hdd in cd boot installation

    What option did you select when it came to installing Ubuntu? Did you choose Do Something Else? Or Install alongside? It seems to me that you already have 4 primary partitions on that disk. If that is true then you would have to delete at least one of those partitions and turn it into an Extended partition (a special kind of primary partition) and then create logical partitions (as many as you need) inside the extended partition.

    I am guessing that Windows is install in sda3 but what do you have in sda4?

    https://help.ubuntu.com/community/HowtoPartition

    Regards.
    Last edited by grahammechanical; May 12th, 2013 at 10:45 PM.
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


  5. #5
    Join Date
    May 2013
    Beans
    4

    Re: Not finding hdd in cd boot installation

    Thank you for three fast replys. =)

    It's 0:15 right now for me, so I'll look into it more deeply tomorrow (hopefully) when I'm not tired. Less risk of doing something bad.


    1) Thank you dabl for your fast long reply, it's very much appreciated. I'll go with a bit more than 30 GB for the Ubuntu partition, something along the lines of 600 GB. I've got the space so I might as well use it.

    2) I don't know about UEFI, never heard about it before. I'll look into it.

    3) What does
    Code:
    sudo fdisk -l
    do? It's late now so I'm booting the Live CD tomorrow to try it and post here shortly after that.

    4) Regarding the options grahammechanical asked about, this stage came before those. If you're talking about stage four from this.

    5) As shown in image three and four image, sda4 is empty.

  6. #6
    Join Date
    May 2007
    Beans
    12,372

    Re: Not finding hdd in cd boot installation

    Quote Originally Posted by Nargluj View Post
    I want to install Ubuntu to run alongside windows 7. I don't have cd's to reinstall windows if something went wrong.
    The FIRST thing you should do is use the Win7 Backup feature to create and burn a Win7 Repair CD. IF you don't do that, you will not have a way to repair your Win7 boot loader, should something go wrong.

    The SECOND thing you should do is download and install the free version of Macrium Reflect in Win7. Then, use the option to create and burn a Linux Boot CD. Then, do an image of your Win7 OS and boot partitions to an external drive. This will allow you to restore Win7, should something go wrong.

    Only AFTER you have done these, should you move forward with installing Ubuntu. IF you rush into it, you will virtually guarantee that (1) you will hose up Win7 in some way, and (2) you will not have a way to repair it or restore it.
    Ubuntu 14.04, Mint 17; MS Win 8.1.
    Will not respond to PM requests for support -- use the forums.

  7. #7
    Join Date
    Jan 2007
    Beans
    3,202

    Re: Not finding hdd in cd boot installation

    Yes, I concur with Mark Phelps -- you need to protect yourself against "inadvertencies", wrt the Windows installation.


    Quote Originally Posted by Nargluj View Post
    I'll go with a bit more than 30 GB for the Ubuntu partition, something along the lines of 600 GB. I've got the space so I might as well use it.
    No problem Lukas -- just be aware that data that you accumulate on your ext4 Ubuntu partition will not be available when you're running windows. The Ubunto OS itself only needs around 7 GB of space.
    Intel Core i7-950 / Asus P6X58D-E / Nvidia GTX480 / siduction 64-bit on OCZ Revodrive SSD / KDE4.10.2/ Kubuntu 13.04

  8. #8
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Not finding hdd in cd boot installation

    Also some BIOS have trouble finding boot files in large / (root) partitions. We are not sure if a BIOS issue or grub bug. But better to keep / (root) at the 10 to 25GB size and have separate data partition(s) or separate /home.

    Sometimes issue can be avoided by making sure you have BIOS in AHCI, but may have to install those drivers in Windows first if not installed already.
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  9. #9
    Join Date
    May 2013
    Beans
    4

    Re: Not finding hdd in cd boot installation

    Code:
    ubuntu@ubuntu:~$ sudo fdisk -l
    
    Disk /dev/sda: 1500.3 GB, 1500301910016 bytes
    255 heads, 63 sectors/track, 182401 cylinders, total 2930277168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x7f67eba2
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1            2048    33556479    16777216   27  Hidden NTFS WinRE
    /dev/sda2   *    33556480    33761279      102400    7  HPFS/NTFS/exFAT
    /dev/sda3        33761280  1481742335   723990528    7  HPFS/NTFS/exFAT
    /dev/sda4      1481742336  2930143231   724200448    7  HPFS/NTFS/exFAT
    ubuntu@ubuntu:~$

  10. #10
    Join Date
    May 2013
    Beans
    4

    Re: Not finding hdd in cd boot installation

    Hello again!

    I've been quite busy for a while with school, work and other stuff and haven't had an whole day for which to do this. I really don't want to rush things like this. Better to do it on a day when I know I wont get interrupted.

    It turns out I still get an error message at the same place. The only real change in results during the installation is that it's a longer wait time to get to the "error-stage" from the previous stage. Don't know why, or even if it matters. I did get a about 3 tries in which it just crashed back to "try Ubuntu" from the installation at the same place, don't know why. Worth to note is that I also got the error message doing the same thing as when it just crashed. Probably just a stupid coincidence that I didn't get an error report.

    Things I've done or tried:

    1) I've followed dabl's very good advice/guide and changed my partitions.

    2) Tried out booting in AHCI, didn't work. Did this after changing my partitions.

    3) Ran 'sudo fdisk -l' command.


    Here comes some updated screen shots:


    Partitions on my PC as of 2013-07-06. I've waited to extend my sda3 until the first problem is fixed. One thing at a time.




    My dxdiag box. It's in Swedish. Should be obvious what each thing means. Most likely in same order as if it where in English.




    This one looks familiar. Where have I seen it before??? Right! Each and every time I've said "Let's install Ubuntu today!".


    I took photos of the full error log and put them here! Wasn't able to copy it as text unfortunately.
    http://s1312.photobucket.com/user/Na...?sort=3&page=1


    Updated "sudo fdisk -l":
    Code:
    ubuntu@ubuntu:~$ sudo fdisk -l
    
    Disk /dev/sda: 1500.3 GB, 1500301910016 bytes
    255 heads, 63 sectors/track, 182401 cylinders, total 2930277168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x7f67eba2
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1            2048    33556479    16777216   27  Hidden NTFS WinRE
    /dev/sda2   *    33556480    33761279      102400    7  HPFS/NTFS/exFAT
    /dev/sda3        33761280  1481742335   723990528    7  HPFS/NTFS/exFAT
    /dev/sda4      2407903232  2930143231   261120000    5  Extended
    /dev/sda5      2407905280  2919903231   255998976   83  Linux
    /dev/sda6      2919905280  2930143231     5118976   82  Linux swap / Solaris

    Thank you in advance.
    Sincerely Lukas.
    Last edited by Nargluj; July 6th, 2013 at 04:20 PM. Reason: Messed up code brackets first and second time.

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
  •