Title: How to fix Ubuntu getting stuck at creating ext4 file partition on LivecCD?
Tags: installation;boot;dual-boot;partitioning;live-cd
Question: I have an Acer Aspire One. Not sure what version. I've had it for a year or two on Windows and then suddenly, I couldn't boot Windows anymore. So I decided to use Ubuntu. I first tried Ubuntu 13.04. It said my hard disk was faulty. So, I decided to try a lower version: 12.04. Whenever I get to the part where it starts creating ext4 file system, it gets stuck. I know that it is stuck because I have waited for 1-2 hours, and it didn't move a bit.

I don't know what I am doing wrong. Maybe my hard drive is ruined or something. I don't know. Any Ubuntu installer I try never works to go through the whole installation. I have been using a liveCD for my installation.

I have tried the Disk Utility. It says that a few sectors are bad. Only two when I checked. Those sectors didn't seem very important. For the memory test, There was only one failing address. It also said my Err-Bits were 80000 and the Count Chan 1.

Comment: @SimplySimon I tried entering the commands like suggested in the answer, it just comes up with this: /dev/sda1 on /target type ext4 (rw,errors=remount-ro).

Comment: The first thing to do is to scan your hard disk for errors. The reason Windows wouldn't boot is probably the same reason Ubuntu can not create the partition. See http://askubuntu.com/questions/122307/need-to-try-several-times-to-log-into-ubuntu-normally/122310#122310

Comment: @Mitch No, "Check disc for defects" is checking the Ubuntu boot disc for defects (verifying md5sums), not the internal hard drive!

Comment: Run from a live CD/USB and check your hard drive from there: [How can I check my RAM and harddrive for errors?](http://askubuntu.com/q/14303/88802) Include the results in your question by *editing* it.

Here is the accepted answer: Check your hardware.

```
  It says my hard disk has a few bad sectors. The Reallocated Sectro Count and the Current Pending Sector Count. Not sure whether that affects my hard drive. I tried the installation again and while copying files, it had an error saying that the hard drive might be faulty and stuff.
```

Replace the hard drive. It has already failed or it will fail soon. This is very likely to be the cause.

```
  For the memory test, There was only one failing address.
```

This also does not sound very good. Memory should not fail, or else you will be suffering from data corruption.

Comment for this answer: Okay. Thanks for that. If I need to change my hard drive then I might as well dump the netbook.

Here is another answer: Boot from the 12.04 Live CD/DVD/USB select try Ubuntu without installing click on the Ubuntu symbol at the top left of your screen, write disks in the search field, there should only one programm appear start it.

On the left are your devices listed click on your harddrive, on the right schould now appear SMART-Status: (something) if this says your disk is bad then you should buy a new harddisk.

Comment for this answer: It says my hard disk has a few bad sectors. The Reallocated Sectro Count and the Current Pending Sector Count. Not sure whether that affects my hard drive. I tried the installation again and while copying files, it had an error saying that the hard drive might be faulty and stuff. Thanks for the quick reply btw. :)

{'source': 'StackExchangeDataset', 'subset': 'askubuntu.com', 'metadata': {'AnswerCount': 2, 'CommentCount': 4, 'ContentLicense': 'CC BY-SA 3.0', 'CreationDate': '2013:00:06/23/13', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<installation><boot><dual-boot><partitioning><live-cd>', 'Title': 'How to fix Ubuntu getting stuck at creating ext4 file partition on LivecCD?', 'ViewCount': 17077, 'id': 311697, 'user_AboutMe': None, 'user_AccountId': 2933877.0, 'user_DisplayName': 'Sebastian Kua', 'user_Reputation': 31.0, 'user_Views': 15.0, 'user_id': 169551.0}}