Advertisement

There's no such thing as a stupid question, but they're the easiest to answer.
Login
Search

Advertisement

Linux and Unix Linux and Unix
Search Search
Search for:
Tech Support Guy > > >

Solved: Input/output error during read on /dev/sda...on installing Ubuntu 10.04


(!)

Vyomgrisham's Avatar
Vyomgrisham Vyomgrisham is offline
Computer Specs
Junior Member with 7 posts.
THREAD STARTER
 
Join Date: Jan 2011
Experience: Intermediate
31-Jan-2011, 04:52 AM #1
Unhappy Solved: Input/output error during read on /dev/sda...on installing Ubuntu 10.04
I have an Emachines D725 series laptop with a seagate 250 GB hard drive.I have been trying to install Ubuntu Netbook 10.04 from my flash drive ( tried with CD too...no luck ).The boot order is set to detect USB first.
This is the error message I get "Input/output error during read on /dev/sda" while installing Ubuntu 10.04 on my hard drive.
On clicking Retry, The installation shows 15 % completed and returns another error " The ext4 file system creation in partition 5 of SCSI (0,0,0) (sda) failed.

The Ubuntu runs perfectly from the pen drive and the disk utility which I ran from Ubuntu showed my disk as healthy ( the utility was not able to format the hard drive either... ).

I was able to install windows XP on the same hard drive later after formatting it.It seems there is nothing wrong with my hard drive as even running chkdsk didnt bring out anything.I am not sure if I missing out anything here...any help would be much appreciated.
lotuseclat79's Avatar
Member with 20,583 posts.
 
Join Date: Sep 2003
Location: -71.45091, 42.27841
31-Jan-2011, 10:03 AM #2
Hi Vyomgrisham,

Welcome to TSG!

Ubuntu 10.10 (Maverick Meerkat) is the latest version available until April when a new release 11.04 is scheduled.

Prior to attempting to install Ubuntu, it is necessary to create a partition on your disk. If you entire disk is already formatted for WinXP on an NTFS file system, you need to repartition the disk and create at least say a 10-20GB or more partion for EXT4 in which to install Ubuntu. If you don't setup the EXT4 partition prior to attempting to install Ubuntu - that could be the cause of your I/O problems.

From what you describe, I would boot up from your USB, and then use the GParted partition editor to repartition your 250GB harddrive to create the EXT4 partition to receive Ubuntu Netbook for dual-boot with WinXP or for the entire partition which would wipe WinXP out on the harddrive. Then proceed with the installation.

-- Tom
__________________
The independence created by philosophical insight is - in my opinion - the mark of distinction
between a mere artisan or specialist and a real seeker after truth. - Einstein 1944
Imagination is more important than knowledge. - Einstein

Last edited by lotuseclat79; 31-Jan-2011 at 10:09 AM..
Vyomgrisham's Avatar
Vyomgrisham Vyomgrisham is offline
Computer Specs
Junior Member with 7 posts.
THREAD STARTER
 
Join Date: Jan 2011
Experience: Intermediate
02-Feb-2011, 12:19 PM #3
Thanks for your reply , Tom.

Taking off from where I left , I tried my hands on Ubuntu 10.10. On using Gparted from within Ubuntu (...from bootable GParted CD as within ), its able to see my hard drive as 250 GB of unallocated space , but when I try to format it , it gives me an error "Error fsyncing /closing/dev/sda : Input/Output error". On ignoring this error , I will be presented with another error " The ext4 file system creation on partition 7 of SCSI ( 0,0,0 ) failed.This was a no go too.
I dont know what is preventing linux installation on my hard drive as I did a complete format of my hard drive to start afresh.Then too , I recieved the above mentioned errors......any advice would be welcome.
lotuseclat79's Avatar
Member with 20,583 posts.
 
Join Date: Sep 2003
Location: -71.45091, 42.27841
02-Feb-2011, 04:29 PM #4
Hi Vyomgrisham,

Try using the System>Administration>Disk Utility selection and choose Format Drive for your 250 GB drive. Note: this will wipe everything from your hard drive (if that is what you want). I am assuming this is ok with you - if not, then do not try it.

SCSI (0,0,0) refers to an entire device - not a partition (as in partition 7 in your previous message post#3 above.

-- Tom
Vyomgrisham's Avatar
Vyomgrisham Vyomgrisham is offline
Computer Specs
Junior Member with 7 posts.
THREAD STARTER
 
Join Date: Jan 2011
Experience: Intermediate
03-Feb-2011, 12:57 PM #5
Hi Lotuseclat79 ,

I tried doing that but I am getting the same error "Error fsyncing /closing/dev/sda : Input/Output error". (......also ,the same disk utility shows my disk as healthy ).
Just to make sure that there is nothing wrong with my hard drive , I carried out some tests with SeaTools ( Hard drive testing utility ).My drive passed all the tests
lotuseclat79's Avatar
Member with 20,583 posts.
 
Join Date: Sep 2003
Location: -71.45091, 42.27841
03-Feb-2011, 01:38 PM #6
Hi Vyomgrisham,

Please explain:
1) Are you in a Live CD environment when you experience the problem described in post#5.
2) Have you mounted any disks?

You should not have any mounted disks when you run the Disk Utility, especially /dev/sda if that is the disk you want to reformat.

I suspect, but cannot verify based on what you said in post#5 whether your /dev/sda disk was mounted. If it were, then that probably may have been the cause the error message you saw.

Read the man page for fsync to understand what the command fsync does - it is a very good command for a user to use prior to powering down a system even though the system will usually do what is needed to flush the write buffers to disk prior to shutdown.

-- Tom
TerryNet's Avatar
Computer Specs
Moderator with 63,982 posts.
 
Join Date: Mar 2005
Location: Ottawa, IL
03-Feb-2011, 01:44 PM #7
Quote:
... its able to see my hard drive as 250 GB of unallocated space , but when I try to format it ...
Is it possible to format unallocated space? I've always created a partition (even if the entire disk) and then formatted the partition.
Vyomgrisham's Avatar
Vyomgrisham Vyomgrisham is offline
Computer Specs
Junior Member with 7 posts.
THREAD STARTER
 
Join Date: Jan 2011
Experience: Intermediate
03-Feb-2011, 09:41 PM #8
Hi Lotuseclat79 ,

It worked now... and I am posting this message through Ubuntu ....This installation was getting a bit confusing but it went through.Thanks for your input and response.It helped me become a Ubuntuan too.

I was running 10.04 LTS from my flash drive and was trying to install it from there on my laptop. When I changed the SATA mode (in my BIOS ) from IDE to AHCI the Ubuntu Installer began to see the primary partitions on my hard drive , free space etc.I chose the option of installing it on the "largest contiguous free space ". ( This allowed me to keep my Windows intact ).After this my installation went at top speed without any issue.As of now they are no issues but I will have to reboot and see how windows is taking it.
Vyomgrisham's Avatar
Vyomgrisham Vyomgrisham is offline
Computer Specs
Junior Member with 7 posts.
THREAD STARTER
 
Join Date: Jan 2011
Experience: Intermediate
04-Feb-2011, 07:35 AM #9
Hi Lotuseclat79 ,

The Ubuntu installation is working fine alongwith my Windows 7 and XP.The only issue is that I have to change the SATA mode in BIOS to AHCI while booting into Ubuntu.Both XP and Windows 7 giving me BSOD while booting in AHCI mode.....I guess I will have to create an XP image with the AHCI drivers integrated into it...will work on that later...Thanks for your help.....ciao
As Seen On

BBC, Reader's Digest, PC Magazine, Today Show, Money Magazine
WELCOME TO TECH SUPPORT GUY!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.


Tags
ubuntu

(clock)
THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Title Thread Starter Forum Replies Last Post
Ubuntu 10.04 Server Firewall Problem NewtownGal General Security 0 30-Sep-2010 01:08 AM
How do I configure a serial console in Ubuntu 10.04 Server ? NewtownGal Linux and Unix 2 20-Sep-2010 07:24 PM
Ubuntu installation asks for network proxy? Airidh Linux and Unix 2 11-Sep-2010 08:40 PM
[Tutorial] How to move window buttons back to right in Ubuntu 10.04 Gigacore Linux and Unix 4 09-May-2010 11:03 PM
upgrade to 10.04? XPUser1991 Linux and Unix 13 01-May-2010 02:19 AM

WELCOME
You Are Using: Server ID
Trusted Website Back to the Top ↑