error: attempt to read or write outside of disk 'hd0'
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 9 of 9
  1. #1
    Join Date
    Jan 2005
    Posts
    125
    Linux Chrome 68.0.3440.106

    error: attempt to read or write outside of disk 'hd0'

    I pulled my 17 yr. old Intel D850GB based build out of the closet, and fired it up. It had XP Home on it that (for some reason) wanted re-activation. I didn't care about that, I wanted to put F28 on it. However, during the boot process of the install disc, got the "display out of range" signal on the monitor. Not much I can do with that, so I tried other discs. I tried Debian 9.5 netinst, Ubuntu 16.04 sever...anything that would fit on a CD, as this machine does not have a DVD drive, and is too old to boot from USB. I would get the distros installed but upon reboot would get:

    Code:
    error: attempt to read or write outside of disk 'hd0'
    
    entering rescue mode
    grub rescue>
    Just for the record- the HDD is a Western Digital IDE 7200 RPM.

    O.K., so I tried to fix this with:

    Code:
    grub rescue > ls (hd0)
    grub rescue > set root=(hd0)
    grub rescue > set prefix=(hd0)/boot/grub
    grub rescue > insmod normal
    grub rescue > normal
    But....that didn't work. Upon reboot would still get "error: attempt to read or write outside of disk 'hd0'".

    I was successful getting an old copy of Debian 6.06(badly EOL) installed and working without any "hd0" errors.



    What does "error: attempt to read or write outside of disk 'hd0'" actually indicate? Something wrong with the hard drive?
    Something not working during partitioning?
    Server:Supermicro X9DRD-7LN4F-JBOD | (2) Xeon E5-2670 | 32GB DDR3 ECC Registered |Ubuntu -16.04 LTS
    Desktop: Asrock 79 ext4 | Intel Xeon E2650 | 16GB DDR3 1600 | Fedora 28
    Laptop: Dell Inspiron I5 7567 | Intel Core i5 |8GB RAM |GTX 1050 | Ubuntu -16.04 LTS

  2. #2
    Join Date
    Jun 2005
    Location
    Montreal, Que, Canada
    Posts
    5,493
    Linux Firefox 61.0

    Re: error: attempt to read or write outside of disk 'hd0'

    Is your Fedora the 32bit version? The boot and anaconda are 32bit software versions, but your F28 version is ???
    Leslie in Montreal

    Interesting web sites list
    http://forums.fedoraforum.org/showth...40#post1697840

  3. #3
    Join Date
    Jan 2005
    Posts
    125
    Linux (Fedora) Firefox 61.0

    Re: error: attempt to read or write outside of disk 'hd0'

    Quote Originally Posted by lsatenstein
    Is your Fedora the 32bit version? The boot and anaconda are 32bit software versions, but your F28 version is ???
    Yes, the Fedora-Workstation-netinst-i386-28-1.1.iso
    Server:Supermicro X9DRD-7LN4F-JBOD | (2) Xeon E5-2670 | 32GB DDR3 ECC Registered |Ubuntu -16.04 LTS
    Desktop: Asrock 79 ext4 | Intel Xeon E2650 | 16GB DDR3 1600 | Fedora 28
    Laptop: Dell Inspiron I5 7567 | Intel Core i5 |8GB RAM |GTX 1050 | Ubuntu -16.04 LTS

  4. #4
    Join Date
    Oct 2010
    Location
    Canberra
    Posts
    3,007
    Linux (Fedora) Firefox 60.0

    Re: error: attempt to read or write outside of disk 'hd0'

    I just Googled the error message and found this:
    https://www.linuxquestions.org/quest...es-4175571866/

    At the end that user discovered a spec of dust on one of the contacts.
    This makes sense as it might result in an address line with a faulty value, giving a value outside of the expected address range for the drive.

    Hence, check the cables and connectors for loose contacts.

    User error. Please replace user and try again

  5. #5
    Join Date
    Jan 2005
    Posts
    125
    Linux Chrome 68.0.3440.106

    Re: error: attempt to read or write outside of disk 'hd0'

    Interesting, I had come across that same thread yesterday, but I didn't scroll down far enough to see the last post. It's worth my effort to check cables and connections, I've got plenty of unused ribbon cables I could swap out to. I might try a different IDE hard drive too, have four other older machines I could borrow from.
    Server:Supermicro X9DRD-7LN4F-JBOD | (2) Xeon E5-2670 | 32GB DDR3 ECC Registered |Ubuntu -16.04 LTS
    Desktop: Asrock 79 ext4 | Intel Xeon E2650 | 16GB DDR3 1600 | Fedora 28
    Laptop: Dell Inspiron I5 7567 | Intel Core i5 |8GB RAM |GTX 1050 | Ubuntu -16.04 LTS

  6. #6
    Join Date
    Jan 2005
    Posts
    125
    Linux Chrome 69.0.3497.86

    Re: error: attempt to read or write outside of disk 'hd0'

    Quote Originally Posted by ocratato
    At the end that user discovered a spec of dust on one of the contacts.


    Hence, check the cables and connectors for loose contacts.
    Replaced the cables, blew out ide connection on the hdd, tried installing various distros(Ubuntu 16.04, Fedora 28,Debian 9.5....) all failed with the same "outside hd0" error.
    What did work: Debian 6(Squeeze-"OldStable") What could be the difference? Debian 6 uses ext3 by default, could that somehow make a difference?
    Server:Supermicro X9DRD-7LN4F-JBOD | (2) Xeon E5-2670 | 32GB DDR3 ECC Registered |Ubuntu -16.04 LTS
    Desktop: Asrock 79 ext4 | Intel Xeon E2650 | 16GB DDR3 1600 | Fedora 28
    Laptop: Dell Inspiron I5 7567 | Intel Core i5 |8GB RAM |GTX 1050 | Ubuntu -16.04 LTS

  7. #7
    Join Date
    Oct 2010
    Location
    Canberra
    Posts
    3,007
    Linux (Fedora) Firefox 60.0

    Re: error: attempt to read or write outside of disk 'hd0'

    Found this: https://www.golinuxhub.com/2014/03/w...-ext3-and.html

    Large FileSystem Support
    One of the most important limitation of ext3 was 16TB filesystem size since it was using 32-bit block numbers and has a default 4k block size. This was overcome by ext4 filesystem theoritically supporting maximum filesystem size of 1EB (1 million TB i.e 1 EB = 1024 PB, 1 PB = 1024 TB, 1 TB = 1024 GB). This change was made possible with the combination of extent patches which uses 48-bit physical block numbers. Other metadata changes, such as in the super-block structure, were also made to support the 48-bit block number.
    This tends to support the hypothesis that the problem is with an address line to the HDD. With ext3 the OS is ignoring the top 16 bits so it works OK. When the full 48 bits are used it is seeing an incorrect value which converts to an address outside the possible range for the HDD.

    If the cables are not the problem then it may be the HDD itself or the motherboard. A careful inspection of soldered connections and re-seat anything that uses a socket would be my next suggestion.

    At least you managed to get something to work, but you probably need to persist with getting something more recent if the machine is to go anywhere near the internet - Squeeze is two years past the end of its long term support.

    User error. Please replace user and try again

  8. #8
    Join Date
    Jan 2005
    Posts
    125
    Linux Firefox 60.0

    Re: error: attempt to read or write outside of disk 'hd0'

    This tends to support the hypothesis that the problem is with an address line to the HDD. With ext3 the OS is ignoring the top 16 bits so it works OK. When the full 48 bits are used it is seeing an incorrect value which converts to an address outside the possible range for the HDD.
    @ocratato,

    Thanks, I think we might be getting somewhere with this. This is more out of curiosity than necessity, I've got a bunch of newer AMD & Intel that run the latest OS's and function way beyond my actual needs. But, this 17 yr. old machine is my first build, plus I am curious as to "why" this situation occurs.

    To further test, I bought a "refurbed" Western Digital 80GB IDE hard drive, to retry my previous efforts to install a modern Linux OS.
    Server:Supermicro X9DRD-7LN4F-JBOD | (2) Xeon E5-2670 | 32GB DDR3 ECC Registered |Ubuntu -16.04 LTS
    Desktop: Asrock 79 ext4 | Intel Xeon E2650 | 16GB DDR3 1600 | Fedora 28
    Laptop: Dell Inspiron I5 7567 | Intel Core i5 |8GB RAM |GTX 1050 | Ubuntu -16.04 LTS

  9. #9
    Join Date
    Jan 2005
    Posts
    125
    Linux Chrome 69.0.3497.81

    Re: error: attempt to read or write outside of disk 'hd0'

    **In other news**

    As part of my annual Fall update on all my old machines, I did a Debian 9.5 netinst on a Athlon xp1800

    machine with a Maxtor 250GB IDE hard drive, that had no read/write outside of disk issues whatsoever.

    Only real issue is both Firefox esr and Chromium refuse to run, has to do with the processor not having SSE2 instruction set.

    https://support.mozilla.org/en-US/kb...nger-supported


    Epiphany is crippled, presumably for similar reasons.

    Midori does work, but when visiting gmail displays in [very basic] basic html mode.
    Server:Supermicro X9DRD-7LN4F-JBOD | (2) Xeon E5-2670 | 32GB DDR3 ECC Registered |Ubuntu -16.04 LTS
    Desktop: Asrock 79 ext4 | Intel Xeon E2650 | 16GB DDR3 1600 | Fedora 28
    Laptop: Dell Inspiron I5 7567 | Intel Core i5 |8GB RAM |GTX 1050 | Ubuntu -16.04 LTS

Similar Threads

  1. mmcblk0: error 1 sending read/write command
    By nbecker in forum Hardware & Laptops
    Replies: 0
    Last Post: 2nd July 2007, 02:57 PM
  2. Memory stick write error : Read-Only File System
    By chictaipei in forum Using Fedora
    Replies: 5
    Last Post: 29th January 2006, 05:53 AM
  3. Fedora 2 install error. Attempt to read sectors...
    By ZeusZeus in forum Installation, Upgrades and Live Media
    Replies: 3
    Last Post: 14th August 2004, 09:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •