3

Does the machine that I want to install 14.04 on need to have the HDD partitioned and formatted in any specific way to fix this error?

The live USB will boot up 14.04 in the "Try Ubuntu without installation" choice, but "erase and install to HDD" choice, fails at the same point every time and memtest returns error message "cannot load ramdisk with an old kernel image"

Note: the several different downloaded ISO files I have created live USB thumb drive with using unebootin will boot Ubuntu and run 14.04 perfectly yet none of the ISO files passed the MD5sum hash check.

Every file from every source for every version I have downloaded fails this hash comparison. But they all created Live USB that will boot Ubuntu from the "try Ubuntu without installing" option Please help this relative newbie.

Dreamwalker
  • 128
  • 12
Nordishman
  • 71
  • 4

2 Answers2

2

It turns out that the working laptop used to download ISO files and create the Live USB thumb drives has bad ram. This more than likely has been the cause of all ISO files failing MD5sum checks and subsequent live USB failing to install to HDD. Thank you to everyone that helped me with this issue.

Nordishman
  • 71
  • 4
1

Possible duplicate of "errno 5 - input/output error" when trying to install.

You're getting an Input/Output error and so you probably just have some bad sectors on your HDD. I recommend you take a look at How to install Ubuntu on a hard drive with bad blocks?

If you don't mind deleting all data on the HDD, you could try using gparted to partition your whole drive into one EXT4 filesystem and then run fsck -cc /dev/sdx1 where x is the drive letter for your HDD.

Longer explanation of how to do that:

Boot Ubuntu from a Live Ubuntu (DVD or USB) using "Try Ubuntu".

Open a terminal by pressing Ctrl-Alt-t and type sudo gparted and press enter, a window like this should show up.

DON'T FOLLOW THESE INSTRUCTIONS UNLESS YOU WANT TO DELETE EVERYTHING ON YOUR HDD.

Use the Drive Selector to select your HDD, it should be easy to distinguish it from a flash drive by its size.

Right-click each partition and click "delete", if that option is greyed out, click "Unmount" first.

Once all the partitions are deleted, there should be one entry marked "unallocated", right-click that and click "new". Make sure the "Free space preceding" and "Free space following" are as low as possible. (sometimes it doesn't allow you to make them 0, but it shouldn't force you to have more than 1 or 2 MiB of space that you can't use)

Make sure "File system" is set to "ext4" and set the Label to whatever you want, or leave it blank. Click "Add". https://dl.dropboxusercontent.com/u/62318117/gparted_new.png

Now press the green check mark and then click "Apply" in the window that appears.

Now note the partition location, it should look like /dev/sda1.

Now you can check the filesystem for bad sectors by opening another terminal and typing sudo fsck -cc /dev/sdx1 replacing /dev/sdx1 with your partition location and then press enter.

Once that is done, you might be able to install Ubuntu by selecting "Something Else" in the boot menu and then setting the partition you made as / and installing Grub to /dev/sda (providing you are using Legacy boot mode instead of UEFI.

ILoveGit
  • 220
  • 1
  • 7