Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I tried cleaning the partition which had Ubuntu installed (but was corrupted somehow and I wanted to reinstall) - I used gparted for it. After deleting the partitions which contained ubuntu (I had another partition for windows), I tried re-installing ubuntu 12 - however, the installation failed complaining that there was no /dev/sda. When I tried gparted again via live CD, its unable to find any devices on the computer. I will run disk utility to gather more information - any other thoughts that could possibly help me get to the point where I can re-install ubuntu on my computer. I noticed the option for reformatting on disk utility but I have not tried it yet.
Edit: I am assuming that I may have corrupted/deleted the NTFS partition somehow since I am unable to see any deviced on gparted now. I am not entirely sure whether I should try format volume or drive via dis utility. I will try running a bad blocks check as well.
thanks in advance
Update: I can neither format drive nor volume using disk utility - it complains about "Daemon is inhibited".
Update:
When I tried running benchmark drive performance, I received the following error:
Error benchmarking: helper exited with exit code 1: Error reading 104857600 bytes at 104857600 from /dev/sda when guesstimating buffer size: Input/output error
It seems to me that your disk is faulty, which would also explain why the installation got corrupted in the first place. I would recommend to test the disk with the manufacturer's diagnosis tool, but you can have a first look at its state with booting the live-CD and launching the command
Code:
sudo smartctl -a /dev/sda
in a terminal.
If you don't know how to interpret the data just post it here, but please use code-tags (look in my signature) for posting that rather lengthy output.
Thanks for responding. Here are some of the messages when I ran the command you suggested:
ATA Error Count: 65535 (device log contains only the most recent five errors)
Error 65535 occurred at disk power-on lifetime: 5462 hours (227 days + 14 hours)
When the command that caused the error occurred, the device was active or idle
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 41 02 00 08 00 40 Error: UNC at LBA = 0x00000800 = 2048
We can't see much from that small part of output. Please post the complete output and use code-tags for posting it (see my signature for instructions how to use code-tags).
Seeing the sheer amount of errors (the drive reports 65535 errors, but I am sure there were more, but not countable because the counter is only 8bit wide) I assume that this drive really is faulty. You can make a test with the manufacturer's diagnosis tool to be absolutely sure, but my advice would be to replace that disk.
Thank you for looking into this - much appreciated. I was able to reformat the volume and eventually re-install Ubuntu on the hard drive. I will not be surprised if the hard drive crashes in the very near future (I have an external drive and it seems like I might have to get an internal one pretty soon).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.