PDA

View Full Version : [ubuntu] Ubuntu won't install



Dan_Hayes
October 18th, 2013, 07:11 PM
OK, im sure this is something simple(i Hope), but when i try to install Ubuntu form cd, it comes up and says
ubiquity components. partman failed with exit code 2
from this point, it starts the installation back from the beginning
I had to get a new hard drive for this machine and it does not have an operating system on it,
please HELP!!!

Bashing-om
October 18th, 2013, 09:49 PM
Dan_Hayes; Hello, Welcome to the forum.

Is ubuntu to be the only operating system installed ? Are Windows, UEFI, ISRT, raid meta data a factor, how are you formatting (GPT ??)the hard drives ?

For starters, show us what we are working with.
From the liveDVD - try ubuntu mode - ; Post the output of terminal codes:


sudo fdisk -lu
sudo parted -l
sudo parted /dev/sda unit s print
sudo parted /dev/sdb unit s print

This will answer a lot of questions, and prompt for others.



ain't nothing but a thing

Dan_Hayes
October 19th, 2013, 06:46 PM
Here is what it says/ oh and this will be the only operating system installed.

ubuntu@ubuntu:~$ sudo fdisk -lu
ubuntu@ubuntu:~$ sudo parted -l
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
has been opened read-only.
Error: /dev/sr0: unrecognised disk label

ubuntu@ubuntu:~$ sudo parted /dev/sda unit s print
Error: Error opening /dev/sda: No medium found
Retry/Cancel? sudo parted /dev/sdb unit s print

Bashing-om
October 19th, 2013, 07:25 PM
Dan_Hayes; Hey,

From that last I gather there is no partition tables (no formats) on the hard drive. Thus, there is nothing to detect.
What I would do; fire up GParted from the liveDVD and format that drive to accommodate the operating system I am to install .
If only ubuntu is to be installed, put some thought into how I want the hard disk partitioned and why.
There are pros and cons to any partitioning scheme. I personally prefer separate "/", /home, /swap and /var. But that is for the way I use and monitor my system. You may want it simple and direct as the whole drive formatted ext4 and a single partition to house the entire operating system.

I hope I am not confusing you. Before you can impose a file system, the hard disk has to be formatted to accommodate that file system. There is nothing wrong - at this stage - in experimenting with GParted, learning and wiping out what you have done .. and doing a re-do.

In any event, format that hard drive as file type "ext4" and if a "smaller" drive use partitioning scheme "msdos" - msdos DOES NOT equal MicroSoft Disk Operating System, in this instance - > for ubuntu.

The help files in GParted are difficult to comprehend until you have some experience with the utility .. but the instruction is complete and totally doable.
-and- if at first you do not succeed, use the utility to wipe the hard drive (delete all partitions) and start all over once more. The installer will honor any partitions you make with GParted .. It is likely though that you will have to re-confirm if you do separate partitions which partition is to be used for "/" --- (/ means "root", the top directory for the ubuntu file system) in the installer.

There is no luck to this .. all prior prudent planning and learning how to implement the plan.



ain't nothing but a thing

siepo
October 19th, 2013, 10:02 PM
Here is what it says/ oh and this will be the only operating system installed.

ubuntu@ubuntu:~$ sudo fdisk -lu
ubuntu@ubuntu:~$ sudo parted -l
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
has been opened read-only.
Error: /dev/sr0: unrecognised disk label

ubuntu@ubuntu:~$ sudo parted /dev/sda unit s print
Error: Error opening /dev/sda: No medium found
Retry/Cancel?
This rather sounds like it does not find the harddisk at all. Did you check your cables?

sudo parted /dev/sdb unit s print
What output did you get here? The same?

Dan_Hayes
October 20th, 2013, 04:39 AM
WOW, ok sounds a little over whelming, but I'm up to the challenge in the morning. Thank You for all of the positive direction, i will keep you up to date on my progress, and a sincere thank you

Dan_Hayes
October 20th, 2013, 03:07 PM
Yes i did check and re-check everything and it still is not recognized

Bashing-om
October 20th, 2013, 05:06 PM
Dan_Hayes; Well,

In order for anything to be recognized one must have that device formatted for a some file system.
Fire up the liveDVD, boot to the desk top, top of the launcher is the "dash" -> search term "GParted" -> icon below the search box, click on the GParted icon to activate.
Post back a screen shot of GParted's screen. I expect that the disk will show as "unallocated" space.


we will see what is to be seen

Dan_Hayes
October 20th, 2013, 06:18 PM
Yes it just shows no devices detected

Dan_Hayes
October 20th, 2013, 06:22 PM
The Hard Drive is a WD5000AAKX if this makes a difference

Bashing-om
October 20th, 2013, 07:52 PM
Dan_Hayes; Hey,
Same drive(s) as I am using on this system.
As you say it is a brand new hard disk, it will have to be formatted before a file system can be installed onto it.

Show us a screen shot of GParted from that liveDVD, and I will try and guide you to format that drive, to the best of my poor memory. I have formatted disks numerous times.. I do not even think about what I am doing so my direction may not be exact - seek confirmation from the help file.



just try'n to help

Dan_Hayes
October 20th, 2013, 10:17 PM
Well, there is no screen shot, when i open gparted, it brings up gparted, searches for a drive, and that's it. it doesn't show a thing and says no drives detected on the bottom of the screen. I also took out the live CD and rebooted into bios, not detected there either.

Bashing-om
October 20th, 2013, 10:35 PM
Dan_Hayes; very un good !

Ok back up, regroup and once more check your wiring ..is this a sata or an ide drive ?
Make sure you have the separate power cable connected if it is sata;
ide drive:
Double check the ribbon connectors and insure how the cable select mode is pinned- at the back of the hard drive - if this is a ide drive.
Single hard drive ? set the pinning to master;
other drives on the same ribbon ? set the mode to slave if there is a hard drive connected on this cable before the hard drive you want to boot from.
if CD/DVD drive is on that same ribbon, try setting the pinnning as "cable select".

If bios does not see that drive, you are indeed ---dead in the water ---!

Else you are looking at breaking out a voltage meter and a logic probe to see what is not going on.



but, where there is a will there is a way

Dan_Hayes
October 22nd, 2013, 06:00 PM
Well, when the computer re-boots, i can hear the drive clicking then thats it, going to get a new hard drive, will keep you up to date. Thanks for all of your help so far

Bashing-om
October 22nd, 2013, 06:14 PM
Dan_Hayes; Hey,

Yep, that is the next logical thing to try. If you have a known good drive lying about, would be a good idea to stick it in and see what happens. At least rule out bios problems.

Lord willing, I will



still be here in the event of need