Find the answer to your Linux question:
Results 1 to 7 of 7
I installed a new Debian Squeeze (from a NetInst I found in my house) on my Thinkpad T40, but GRUB failed to install. So I used the NetInst's rescue mode ...
  1. #1
    Just Joined!
    Join Date
    Jun 2008
    Posts
    34

    GRUB error: out of disk.

    I installed a new Debian Squeeze (from a NetInst I found in my house) on my Thinkpad T40, but GRUB failed to install. So I used the NetInst's rescue mode shell to install GRUB via the instructions for LFS. When I booted the Computer, GRUB gave me a nice "error: out of disk." message. I tried to use various online instructions to boot the computer from rescue mode, but GRUB gives me the OOD error message every time I try to access /boot.

    My computer has a single partition+swap: /dev/hda1+/dev/hda5 on /dev/hda. Any help?

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Boot up from LiveCD of any Linux distro and post the output of fdisk -l command here.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined! Leppie's Avatar
    Join Date
    Feb 2010
    Posts
    72
    at the boot menu press "e" and delete the following line from the menu entry:
    Code:
    if  [ -n \${have_grubenv} ]; then save_env recordfail; fi
    then press CTRL+x to boot into your install.
    open your 10_linux script with a text editor (using root permissions):
    Code:
    # vim /etc/grub.d/10_linux
    find the following section and comment out the line you removed at boot like this:
    Code:
        menuentry "$1" {
        recordfail=1
      # if [ -n \${have_grubenv} ]; then save_env recordfail; fi
    save the file and exit, then run update-grub:
    Code:
    # update-grub
    you should now be able to boot normally.

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    GRUB installation has been failed and I think problem is in disk structure only.
    if thread starter has installed GRUB Legacy instead of GRUB2 then there wont be any grub.d folder in /etc.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Just Joined! Leppie's Avatar
    Join Date
    Feb 2010
    Posts
    72
    Quote Originally Posted by devils casper View Post
    GRUB installation has been failed and I think problem is in disk structure only.
    if thread starter has installed GRUB Legacy instead of GRUB2 then there wont be any grub.d folder in /etc.
    AFAIK squeeze should default to grub2, i haven't seen a comment that grub has been downgraded to grub legacy...

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Thread starter has installed GRUB through LFS manual only and I don't think instructions for GRUB2 installation are available there. I might be wrong though.
    Last edited by devils casper; 02-25-2010 at 12:55 AM.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  7. #7
    Just Joined! Leppie's Avatar
    Join Date
    Feb 2010
    Posts
    72
    Quote Originally Posted by devils casper View Post
    Thread started has installed GRUB through LFS manual only and I don't think instructions for GRUB2 installations are available there. I might be wrong though.
    i'm sorry, i completely missed the lfs part there... i think i need glasses...

Posting Permissions

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