Results 1 to 10 of 10

Thread: PC booting on "The environment block is too small"

  1. #1

    PC booting on "The environment block is too small"

    I have an issue with my asus X555L. When I boot a message appears "The evironment block is too small, press any key to continue"

    But when I press, there is a black screen and nothing happens. I have to shut down the PC.

    This is a followup to this issue https://askubuntu.com/questions/1054...er-boot-repair

    And here is the boot-repair report http://paste.ubuntu.com/p/scgxHJPzQb/

    After boot-repair and booting again Ubuntu appears in UEFI only with USB plugged and I see this menu Menubootubuntu.jpg of course when I choose any of the options only a black screen appears.


    Thank you,

  2. #2
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: PC booting on "The evironment block is too small"

    Do you get grub menu?
    or grub>?
    It looks like Boot-Repair's reinstall of grub added a missing ubuntu boot entry in UEFI.

    Have you updated UEFI from Asus. Many systems have needed UEFI updates.

    Many Asus need additional boot parameters. Best to experiment first to see which one or combination works, then we can make those permanent.

    Problems Installing on ASUS F555U needed boot option pci=nomsi
    http://ubuntuforums.org/showthread.php?t=2303665

    Asus x555u w/o pci=nomsi - space issue on drive and runaway log files filling drive
    https://ubuntuforums.org/showthread....2327103&page=3
    https://ubuntuforums.org/showthread.php?t=2327570
    ASUS X540U pci=noaer instead of pci=nomsi and it also worked
    https://ubuntuforums.org/showthread.php?t=2391201

    At grub menu, you press e for edit and at end of Linux line replace or add to splash quiet parameters. If you replace them, you then can see boot process.

    Similar to this nomodeset parameter, but you have Intel video and should not need nomodeset.
    At grub menu you can use e for edit, scroll to linux line and replace quiet splash with nomodeset.
    How to set NOMODESET and other kernel boot options in grub2 - both BIOS liveCD & grub first boot ( also UEFI with grub)
    How to add boot parameters, grub menu after install (also grub when UEFI)
    https://wiki.ubuntu.com/Kernel/KernelBootParameters
    https://help.ubuntu.com/community/Grub2
    http://ubuntuforums.org/showthread.php?t=1613132




    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  3. #3

    Re: PC booting on "The evironment block is too small"

    Hi @Oldfred,


    I reinstalled Ubuntu and it is working but I have a bug/crash/freeze every 30 minutes at least. The system is very unstable, and when I reboot sometimes the UEFI has no boot option but when I reboot again Ubuntu works again. One of the last crashes gave this screen unnamed.jpgand I had to do a hard shut down.

    As for Grub menu, I don't get it no more as well as grub>. Whether I have the UEFI or a regular Ubuntu boot with some delay.


    I will try the options for updating UEFI though,




    Thanks,

  4. #4
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: PC booting on "The evironment block is too small"

    If at all possible do not do hard shutdown. That often corrupts file system and then you need repairs with fsck.

    Never force shutdown your system. Use Alt+SysRq R-E-I-S-U-B instead. (For newer laptops they don't bother adding the SysRq print to the key, but it's the same as the PrtScr key)
    Holding down Ctrl+Alt and SysRq (which is the Print Screen key) while slowly typing REISUB
    R-E-I-S-U-B to force shutdown
    A good way to remember it is, and S can be before E, but others should be in order
    Raising Skinny Elephants Is Utterly Boring ...or
    Reboot System Even If Ultimately Broken ...LOL.
    https://en.wikipedia.org/wiki/Magic_SysRq_key
    http://kember.net/articles/reisub-th...linux-restart/

    Are you booting with one of the suggested boot parameters in the other threads?
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  5. #5

    Re: PC booting on "The environment block is too small"

    Hello again,


    I tried all the options above and nothing seems to work. I don't get Grub menu now and the boot doesn't work, except that in some boots, I get "environment is too small" followed by a black screen.
    I have to open a live USB session to get connected.

    I found an article "in French" which is basically about installing Ubuntu on my model X555LJ.

    The article states that the disk should be partitioned to three part:


    One Ext4 30000 Mo mounted on /
    One swap of 7000 Mo
    One ext4, mounted on /home for all the rest.

    But the author is not clear if the Efi partition should be removed or not so I kept it to stay safe.

    But the same issues persist and now I can't even boot on Distro.

    Thanks,
    Last edited by mohamedsouleimanepiro; July 20th, 2018 at 05:57 AM.

  6. #6
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: PC booting on "The environment block is too small"

    I think you will need the boot parameters posted in links above whether BIOS or UEFI. And the crashing was the issue with your system if boot parameter not used. It fills hard drive with log file errors.

    UEFI boot on gpt partitioned drives requires the ESP - efi system partition.
    If you want BIOS boot you can, but if drive is still gpt then you need a 1 or 2MB unformatted partition with the bios_grub flag for grub to correctly install.

    If not installing Windows then gpt is recommended.

    Its just that in BIOS mode, Windows has to have MBR partitioning. And in UEFI boot mode it has to have MBR partitioning. Ubuntu will boot from gpt with either UEFI or BIOS if correct partitions are on drive.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  7. #7

    Re: PC booting on "The environment block is too small"

    Hi @Oldfred,



    I think I misunderstood the boot parameters in my previous attempts.


    I finally tried the pci=nomsi in kernel and pci=noaer as per pictures below: (there is an issue with picture uploads on the forum as no picture uploading works. So I linked Google Drive links instead)

    Here is the Kernel menu

    And the boot parameters fixes:

    1- pci=nomsi at end of line
    2 -pci=nomsi after splash
    3- pci=nomsi before splash
    4- pci=nomsi before splash with space

    5- pci=nomsi to replace splash
    6- pci=noaer at end of line
    7- pci=noaer before splash



    But every-time I end up with a similar screen, I have then to reboot using systemctl reboot
    and when I tried journalctl -xb I had this result.


    Here is a boot repair report without reparation: http://paste.ubuntu.com/p/jdg2vSJ3zX/


    Thanks,




    --
    Souleimane Piro


  8. #8
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: PC booting on "The environment block is too small"

    That looks like you are booting, but in emergency mode.
    Does exit then give standard command line terminal?
    So then most like a graphics issue?

    Did you update UEFI/BIOS from Asus also?

    I normally suggest replacing quiet splash with boot parameters, as then you also see boot process and perhaps other errors. But my new SSD scrolls by so fast I do not see much anyway.

    Are you using the pci=nomsi nomodeset ? You probably need both.

    The pci=nomsi or pci=noaer will probably need to be made permanent in grub configuration, but nomodeset is only required until you install nVidia driver from Ubuntu repository.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  9. #9

    Re: PC booting on "The environment block is too small"

    Hi again,

    @Oldfred,


    When I press exit Ubuntu starts loading for a very short time (3 sec) and the same emergency screen reappears until I reboot.


    I can't really determine if it is a graphics issue.


    I tried to replace Quiet splash by pci=nomsi and nomodeset and all I have is this screen which stays frozen until I reboot.


    I actually always used the first kernel in the list. but when I tried the second one (recovery mode) I added pci=nomsi before nomodeset pre-entered. I obtained a menu and then Ubuntu loaded but in 800x600 screen. After rebooting I couldn't access to Grub menu even with shift+down key, only the same "block too small" screen followed by same emergency mode screen.


    I made a boot repair via live USB and acceded to recovery mode by adding pci=nomsi before nomodeset and I changed settings for Nvidia. but now always the same "block too small" and emergency mode. Without any kernel menu.


    Concerning Bios, yes I updated it to the latest version from Asus website.


    I tried however to replace Quiet splash by PCI=nomsi followed by nomodeset and I whether end up on the emergency mode screen or I get a frozen screen like here that I have to Reisub.




    here is the boot repair report http://paste.ubuntu.com/p/9JH2DzZdCB/


    Thanks,

  10. #10
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: PC booting on "The environment block is too small"

    I do not see anything in Boot-Repair's report. It looks normal.
    If rescue mode boots and you get low level graphics then it is a graphical issue.
    But with nVidia installed it should just work.

    Many UEFI laptops with hybrid graphics have settings to turn on or allow one graphical system or the other. I might try those settings.

    I found this old answer and some with newer versions said it worked.
    https://askubuntu.com/questions/1918...ey-to-continue
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

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
  •