LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-23-2014, 06:08 PM   #1
DKnight009
LQ Newbie
 
Registered: Apr 2014
Location: Mexico
Distribution: Ubuntu, LXLE, Linux Lite
Posts: 18

Rep: Reputation: Disabled
Exclamation Error attempt to read or write outside of disk 'hd0' (Ubutnu 14.04)


I'm new to Linux and wanted to install a distro for my old laptop (HP Compac nc6400). Tried with lubuntu, xubuntu, ubuntu (14.04 all of them) and lxle. When i installed one of them and booted i got
Code:
error: attempt to read or write outside of disk 'hd0'
Code:
entering rescue mode...
Code:
grub rescue>
I booted again from the Live CD on Ubuntu 14.04 and installed Boot-Repair, and ran recommended repair but did nothing and still got the problem.

I dont know what to do so please help!

Last edited by DKnight009; 04-23-2014 at 06:09 PM.
 
Old 04-23-2014, 07:00 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,843

Rep: Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823
Did you note the URL that boot repair created at paste.ubuntu.com ?. We need that so we can see what happened.
Else just run it again and let us know the URL.
 
Old 04-23-2014, 07:59 PM   #3
DKnight009
LQ Newbie
 
Registered: Apr 2014
Location: Mexico
Distribution: Ubuntu, LXLE, Linux Lite
Posts: 18

Original Poster
Rep: Reputation: Disabled
http://paste.ubuntu.com/7295828/

This is the URL i got
 
Old 04-23-2014, 08:59 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,843

Rep: Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823
Looks ok from a Linux perspective - I'd say you've got a BIOS limitation. This would be a problem for older BIOS
Code:
=================== sda1: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)

 200.137542725 = 214.896050176  boot/grub/grub.cfg                             1
 200.145660400 = 214.904766464  boot/grub/i386-pc/core.img                     1
 200.135635376 = 214.894002176  boot/vmlinuz-3.13.0-24-generic                 1
 200.135635376 = 214.894002176  vmlinuz                                        1
  96.752681732 = 103.887400960  boot/initrd.img-3.13.0-24-generic              2
  96.752681732 = 103.887400960  initrd.img                                     2
Couple of quick solutions:
- allocate a small /boot partition at the beginning of the disk, and allow the root (/) to use the rest (minus swap)
- force the installer to only use say 100 Gig for Linux.

The latter is probably easiest, although it's been so long since I bothered with Ubuntu I can't tell you how to do it. I'll see if I can find a guide on the net.
 
Old 04-23-2014, 09:07 PM   #5
DKnight009
LQ Newbie
 
Registered: Apr 2014
Location: Mexico
Distribution: Ubuntu, LXLE, Linux Lite
Posts: 18

Original Poster
Rep: Reputation: Disabled
Thanks!

Actually i was thinking to reinstall ubuntu, that's an easier way to configure partitions right?
But i have no clue about partitioning
 
Old 04-23-2014, 09:23 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,843

Rep: Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823
If you re-install, Ubuntu will do the same again. Have a look at this for an idea of what the screens you need to use look like. Note: this is just an indication.

If it was me, I'd get to the partitioning stage, and:
- select "Something Else" - you'll get a list of your disk layout
- highlight the big (~316Gig) partition (/dev/sda1, ext4)
- click "Change" (bottom left)
- amend the size to 100 Gig, and ensure the mountpoint is /
The buttons for "primary" and "beginning of this space" should be pre-selected - if not select them. Ext4 is a good choice for "Use as".

You can go with that to see if it works, or you could additionally use the now free space for /home as that guide suggests. Up to you - /home can be done later, although it can get messy. Or you can just leave the space free for now - I like to have free space for unforseen events. Your choice.
 
Old 04-23-2014, 09:29 PM   #7
DKnight009
LQ Newbie
 
Registered: Apr 2014
Location: Mexico
Distribution: Ubuntu, LXLE, Linux Lite
Posts: 18

Original Poster
Rep: Reputation: Disabled
Yeah, i was hoing to select the Something Else option when installing.
Thanks for the information, i'll try it and post here if it worked

What does /tmp and /var partitions do?

Last edited by DKnight009; 04-23-2014 at 09:32 PM. Reason: Nevermind, i found the info about /boot in the guide you provided. Thanks a lot!
 
Old 04-23-2014, 09:37 PM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,843

Rep: Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823
Strictly /tmp and /var are mount-points - they may be on separate partitions. Heading into philosophical (flame-war) territory here - I'd not bother on a first install. /tmp will likely be taken care of for you by the installer.

If you're in the mood, on that kit I'd look at a separate /boot at the begiining of the disk. One gig should be plenty - will allow more flexibility later.
 
1 members found this post helpful.
Old 04-23-2014, 10:22 PM   #9
DKnight009
LQ Newbie
 
Registered: Apr 2014
Location: Mexico
Distribution: Ubuntu, LXLE, Linux Lite
Posts: 18

Original Poster
Rep: Reputation: Disabled
Installer just crashed... Saying that the CD/DVD i used may be dirty or bad files..
 
Old 04-23-2014, 11:03 PM   #10
DKnight009
LQ Newbie
 
Registered: Apr 2014
Location: Mexico
Distribution: Ubuntu, LXLE, Linux Lite
Posts: 18

Original Poster
Rep: Reputation: Disabled
Thanks a lot for all your help! It worked!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: attempt to read or write outside of disk 'hd0' Penpusher Ubuntu 16 10-28-2013 07:27 PM
error: attempt to read or write outside of disk `hd0' blackholes Linux - Newbie 2 07-11-2013 12:00 AM
error: hd0 out of disk. (???) oznola Linux - General 7 06-27-2012 10:00 AM
Ubunutu 11.10 grub2 can boot but error hd0 no disk from bootable usb config help craig6398 Linux - Newbie 1 02-06-2012 06:10 AM
Raid disk problem : Attempt to read block from filesystem resulted in short read ElmPie Linux - General 5 08-26-2008 06:21 AM


All times are GMT -5. The time now is 02:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration