Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Grub 2, error: out of disk

  1. #11
    Join Date
    May 2010
    Beans
    1

    Unhappy Re: Grub 2, error: out of disk

    Quote Originally Posted by muni001 View Post
    The computer is a Via Mini-itx build, but it has no problem booting from USB, and I know this because I have booted Ubuntu 9.10 Live off of the same USB key that I used to install. Regardless, I will post the results next time I have a chance to sit down with it, hopefully a little later tonight.
    I am trying to install Xubuntu 10.04 with grub2 in a EPIA mini itx. At first I was succesful with booting and executing LiveUSB, and it even let me install it on another USB-HDD. But the problem is about booting from grub2. (first of all, I edited grub.cfg and set the root devices correctly).

    As far as i know, BIOS is able to manage up to 8MB boot partitions from an USB HDD, FDD , ZIP or whatever you try.

    I have updated to 1.04 version (the last available on the website) but no luck, I got errors like "out of disk", and when I read on Suse Linux forums about the memory limitation, I decided to create a 8MB /boot partition on my USB HDD (hd0,1). Next, I have tried to boot kernel but, it goes into Kernel panic because it is unable to mount root fs.
    The issue may have to do with the problem of mounting the ext4 partition where I have the Linux OS files (hd0,3). Every time I try to set it as root and find any file, it gives me "file not found" error.

    Hope that anybody can read this message and help me to find a solution, I am sure that it should be possible to boot with grub2 or any other bootmanager, because I have installed Xubuntu with a LiveUSB, and it hadn't any problems to boot.

    Thank you

    BTW, i ran the script and here is the result:

    Boot Info Script 0.55 dated February 15th, 2010

    ============================= Boot Info Summary: ==============================

    => Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
    partition #1 for /grub.

    sda1: __________________________________________________ _______________________

    File system: ext3
    Boot sector type: -
    Boot sector info:
    Operating System:
    Boot files/dirs: /grub/grub.cfg /grub/core.img

    sda2: __________________________________________________ _______________________

    File system: swap
    Boot sector type: -
    Boot sector info:

    sda3: __________________________________________________ _______________________

    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System: Ubuntu 10.04 LTS
    Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

    sda4: __________________________________________________ _______________________

    File system: vfat
    Boot sector type: -
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files/dirs:

    =========================== Drive/Partition Info: =============================

    Drive: sda ___________________ __________________________________________________ ___

    Disco /dev/sda: 40.0 GB, 40020664320 bytes
    255 cabezas, 63 sectores/pista, 4865 cilindros, 78165360 sectores en total
    Unidades = sectores de 1 * 512 = 512 bytes
    Identificador de disco: 0xd85fd85f

    Partition Boot Start End Size Id System

    /dev/sda1 63 16,064 16,002 83 Linux
    /dev/sda2 32,130 305,234 273,105 82 Linux swap / Solaris
    /dev/sda3 309,248 4,288,511 3,979,264 83 Linux
    /dev/sda4 4,289,355 78,156,224 73,866,870 c W95 FAT32 (LBA)


    blkid -c /dev/null: __________________________________________________ __________

    Device UUID TYPE LABEL

    /dev/sdf1 d77b77a8-ae64-487d-883f-bdeb79e5b536 ext3 boot
    /dev/sdf2 a13505c1-b39e-4980-9c98-f33ed798f745 swap
    /dev/sdf3 48ea7439-76dd-443a-851a-2da6cbe0bf92 ext4
    /dev/sdf4 C0C5-DABA vfat

    ============================ "mount | grep ^/dev output: ===========================

    Device Mount_Point Type Options

    /dev/sdf1 /media/boot ext3 (rw,nosuid,nodev,uhelper=devkit)
    /dev/sdf3 /media/48ea7439-76dd-443a-851a-2da6cbe0bf92 ext4 (rw,nosuid,nodev,uhelper=devkit)
    /dev/sdf4 /media/C0C5-DABA vfat (rw,nosuid,nodev,uhelper=devkit,uid=1000,gid=0,sho rtname=mixed,dmask=0077,utf8=1,flush)


    ============================= sda1/grub/grub.cfg: =============================

    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by /usr/sbin/grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    #
    #~ echo 'zzz'
    #~ insmod sleep
    #~ sleep 8
    #~ echo 'fin zzz'

    ### BEGIN /etc/grub.d/00_header ###
    echo 'PControl 0'
    if [ -s $prefix/grubenv ]; then
    load_env
    fi
    echo 'PControl 1'
    set default="0"
    if [ ${prev_saved_entry} ]; then
    set saved_entry=${prev_saved_entry}
    save_env saved_entry
    set prev_saved_entry=
    save_env prev_saved_entry
    set boot_once=true
    fi

    ## esta parte es de funciones, no de rutina ppal ...

    function savedefault {
    if [ -z ${boot_once} ]; then
    saved_entry=${chosen}
    save_env saved_entry
    fi
    }

    function recordfail {
    echo 'algo va mal'
    set recordfail=1
    #if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
    }

    ## ... sigo con Pcontrol2
    echo 'PControl 2 - busco una fuente en hd0,3'
    insmod ext2
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set 48ea7439-76dd-443a-851a-2da6cbe0bf92
    echo 'PControl 3 ¿se carga la fuente?'
    #if loadfont /usr/share/grub/unicode.pf2 ; then
    if loadfont (hd0,1)/ascii.pf2 ; then
    echo 'PControl 3 - encontrada'
    set gfxmode=640x480
    insmod gfxterm
    insmod vbe
    if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
    fi
    fi

    echo 'PControl 4 - vuelvo a hd0,1 y busco hd01 x su uuid'
    insmod ext2
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set d77b77a8-ae64-487d-883f-bdeb79e5b536
    set locale_dir=($root)/grub/locale
    set lang=es
    echo 'PControl 5 - prueba de escritura en hd0,1'
    insmod gettext
    if [ ${recordfail} = 1 ]; then
    set timeout=-1
    else
    set timeout=10
    fi
    ### END /etc/grub.d/00_header ###

    ### BEGIN /etc/grub.d/05_debian_theme ###
    set menu_color_normal=white/black
    set menu_color_highlight=black/light-gray
    ### END /etc/grub.d/05_debian_theme ###

    ### BEGIN /etc/grub.d/10_linux ###
    echo 'PControl 6 - ¿lee esto?'
    menuentry 'Ubuntu, con Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    echo 'PControl 6 - cargando kernel'
    recordfail
    insmod ext2
    set root='(hd0,1)'
    echo 'PControl 2'
    #search --no-floppy --fs-uuid --set d77b77a8-ae64-487d-883f-bdeb79e5b536
    linux /vmlinuz-2.6.32-21-generic root=/dev/sda3 ro quiet splash
    echo 'PControl 3'
    }
    menuentry 'Ubuntu, con Linux 2.6.32-21-generic (modo recuperación)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set d77b77a8-ae64-487d-883f-bdeb79e5b536
    echo 'Cargando Linux 2.6.32-21-generic ...'
    linux /vmlinuz-2.6.32-21-generic root=/dev/sda3 ro single
    echo 'Cargando el disco RAM inicial...'
    }
    ### END /etc/grub.d/10_linux ###

    ### BEGIN /etc/grub.d/20_memtest86+ ###
    menuentry "Memory test (memtest86+)" {
    insmod ext2
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set d77b77a8-ae64-487d-883f-bdeb79e5b536
    linux16 /memtest86+.bin
    }
    menuentry "Memory test (memtest86+, serial console 115200)" {
    insmod ext2
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set d77b77a8-ae64-487d-883f-bdeb79e5b536
    linux16 /memtest86+.bin console=ttyS0,115200n8
    }
    ### END /etc/grub.d/20_memtest86+ ###

    ### BEGIN /etc/grub.d/30_os-prober ###
    if [ ${timeout} != -1 ]; then
    if keystatus; then
    if keystatus --shift; then
    set timeout=-1
    else
    set timeout=0
    fi
    else
    if sleep --interruptible 3 ; then
    set timeout=0
    fi
    fi
    fi
    ### END /etc/grub.d/30_os-prober ###

    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries. Simply type the
    # menu entries you want to add after this comment. Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###

    =================== sda1: Location of files loaded by Grub: ===================


    .0GB: grub/core.img
    .0GB: grub/grub.cfg
    .0GB: vmlinuz-2.6.32-21-generic

    =========================== sda3/boot/grub/grub.cfg: ===========================

    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by /usr/sbin/grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    #

    ### BEGIN /etc/grub.d/00_header ###
    if [ -s $prefix/grubenv ]; then
    load_env
    fi
    set default="0"
    if [ ${prev_saved_entry} ]; then
    set saved_entry=${prev_saved_entry}
    save_env saved_entry
    set prev_saved_entry=
    save_env prev_saved_entry
    set boot_once=true
    fi

    function savedefault {
    if [ -z ${boot_once} ]; then
    saved_entry=${chosen}
    save_env saved_entry
    fi
    }

    function recordfail {
    set recordfail=1
    if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
    }
    insmod ext2
    set root='(hd0,3)'
    #search --no-floppy --fs-uuid --set 48ea7439-76dd-443a-851a-2da6cbe0bf92
    if loadfont /usr/share/grub/unicode.pf2 ; then
    set gfxmode=640x480
    insmod gfxterm
    insmod vbe
    if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
    fi
    fi
    insmod ext2
    set root='(hd0,3)'
    echo 'hola llego aki -1'
    search --no-floppy --fs-uuid --set d77b77a8-ae64-487d-883f-bdeb79e5b536
    set locale_dir=($root)/boot/grub/locale
    set lang=es
    echo 'hola llego aki 0'
    insmod gettext
    if [ ${recordfail} = 1 ]; then
    set timeout=-1
    else
    set timeout=10
    fi
    ### END /etc/grub.d/00_header ###

    ### BEGIN /etc/grub.d/05_debian_theme ###
    set menu_color_normal=white/black
    set menu_color_highlight=black/light-gray
    ### END /etc/grub.d/05_debian_theme ###

    ### BEGIN /etc/grub.d/10_linux ###
    menuentry 'Ubuntu, con Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    echo 'hola llego aki 1'
    recordfail
    insmod ext2
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set d77b77a8-ae64-487d-883f-bdeb79e5b536
    linux /vmlinuz-2.6.32-21-generic root=/dev/sda3 ro quiet splash
    }
    menuentry 'Ubuntu, con Linux 2.6.32-21-generic (modo recuperación)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set d77b77a8-ae64-487d-883f-bdeb79e5b536
    echo 'Cargando Linux 2.6.32-21-generic ...'
    linux /vmlinuz-2.6.32-21-generic root=/dev/sda3 ro single
    echo 'Cargando el disco RAM inicial...'
    }
    ### END /etc/grub.d/10_linux ###

    ### BEGIN /etc/grub.d/20_memtest86+ ###
    menuentry "Memory test (memtest86+)" {
    insmod ext2
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set d77b77a8-ae64-487d-883f-bdeb79e5b536
    linux16 /memtest86+.bin
    }
    menuentry "Memory test (memtest86+, serial console 115200)" {
    insmod ext2
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set d77b77a8-ae64-487d-883f-bdeb79e5b536
    linux16 /memtest86+.bin console=ttyS0,115200n8
    }
    ### END /etc/grub.d/20_memtest86+ ###

    ### BEGIN /etc/grub.d/30_os-prober ###
    if [ ${timeout} != -1 ]; then
    if keystatus; then
    if keystatus --shift; then
    set timeout=-1
    else
    set timeout=0
    fi
    else
    if sleep --interruptible 3 ; then
    set timeout=0
    fi
    fi
    fi
    ### END /etc/grub.d/30_os-prober ###

    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries. Simply type the
    # menu entries you want to add after this comment. Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###

    =============================== sda3/etc/fstab: ===============================

    # /etc/fstab: static file system information.
    #
    # Use 'blkid -o value -s UUID' to print the universally unique identifier
    # for a device; this may be used with UUID= as a more robust way to name
    # devices that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc nodev,noexec,nosuid 0 0
    # / was on /dev/sdb3 during installation
    UUID=48ea7439-76dd-443a-851a-2da6cbe0bf92 / ext4 errors=remount-ro 0 1
    # /boot was on /dev/sdb1 during installation
    UUID=83e89888-5d2e-4ee9-a9e3-98fa339c5e3f /boot ext3 defaults 0 2
    # /windows was on /dev/sdb4 during installation
    UUID=C0C5-DABA /windows vfat utf8,umask=007,gid=46 0 1
    # swap was on /dev/sdb2 during installation
    UUID=a13505c1-b39e-4980-9c98-f33ed798f745 none swap sw 0 0

    =================== sda3: Location of files loaded by Grub: ===================


    .4GB: boot/grub/core.img
    .9GB: boot/grub/grub.cfg
    2.1GB: boot/vmlinuz-2.6.32-21-generic
    2.1GB: vmlinuz
    =======Devices which don't seem to have a corresponding hard drive==============

    sdb sdc sdd sde
    Last edited by ertioct; May 3rd, 2010 at 05:27 PM. Reason: I have run the test script.

  2. #12
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Grub 2, error: out of disk

    Please go back and edit your boot info script to put it in code tags. It makes it much easier to scroll thru. Highlight with cursor and on right side of edit menu is # or code tags to automatically add them for you.

    Your grub is looking to boot from sda1 but your install is on sda3. Reinstall grub2 and see if then it works.

    How to restore the Ubuntu/XP/Vista/7 bootloader (Updated for Ubuntu 9.10)
    http://ubuntuforums.org/showthread.php?t=1014708
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  3. #13
    Join Date
    Aug 2011
    Beans
    2

    Re: Grub 2, error: out of disk

    I have same problem. Finally I solve it by install /boot in a separate partition (100M). And arrange the partition in the begining part of the disk.

    When I go through the:

    1. ls
    2. set prefix=(hdX,Y)/boot/grub
    3*. set root=(hdX,Y)
    4. set
    5. ls /boot
    6. insmod /boot/grub/linux.mod
    7*. linux /vmlinuz root=/dev/sdxY ro
    8. initrd /initrd.img
    9. boot

    process detailed on the https://help.ubuntu.com/community/Grub2 page, at step 6, I get the error, "out of disk".

  4. #14
    Join Date
    Aug 2006
    Location
    TÜRKİYE
    Beans
    194
    Distro
    Ubuntu Development Release

    Re: Grub 2, error: out of disk

    Quote Originally Posted by mbdong View Post
    I have same problem. Finally I solve it by install /boot in a separate partition (100M). And arrange the partition in the begining part of the disk.

    When I go through the:

    1. ls
    2. set prefix=(hdX,Y)/boot/grub
    3*. set root=(hdX,Y)
    4. set
    5. ls /boot
    6. insmod /boot/grub/linux.mod
    7*. linux /vmlinuz root=/dev/sdxY ro
    8. initrd /initrd.img
    9. boot

    process detailed on the https://help.ubuntu.com/community/Grub2 page, at step 6, I get the error, "out of disk".



    These steps worked for me too, up to 9.
    exact commands as follows (after grup> commandline):

    1. ls
    2. set prefix=(hd0,msdos1)/boot/grub
    3. set root=(hd0,msdos1)
    4. set
    5. ls /boot
    6. insmod /boot/grub/linux.mod
    7. linux /vmlinuz root=/dev/sda1 ro
    8. initrd /initrd.img
    9. boot

    and system booted,
    I manually gave IP, updated,
    now will try to fix grub too, for next boot.

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

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