PDA

View Full Version : Boot error after Ubuntu installation



mdob
April 1st, 2017, 02:23 PM
Hello,
I decided to replace Windows with Ubuntu on my Lenovo ideapad 100S laptop and for the past couple of hours I keep trying to resolve issues, but they keep coming. I was hoping that someone here might be able to help me.
I found a similar topic here:
https://ubuntuforums.org/showthread.php?t=1252323
but the solution doesn't seem to be working for me.

A bit of a background, the laptop is equipped with eMMC 32GB, there is only one partition and I'm not trying to have both Windows and Ubuntu installed, as I mentioned before I am trying to get rid of Windows and install Ubuntu. I managed to create bootable USB using rufus, and after many many issues I managed to do two things:
1. Forced the laptop to boot using that USB (I've done that by moving the USB to the first place on the priority booting list - everything else stayed the same)
2. Change the UEFI BIOS to Legacy BIOS (not sure if this was needed, I was checking many things and someone, somewhere mentioned that it might help, so I did that)

After that I chose an option to replace Windows with Ubuntu, the installation went smoothly and I thought the struggle is over, but after the system restarted, I went back to the installation screen. My first idea was that something was not installed properly, hence I decided to run the installation again, but it didn't change anything.
The next thing I've done was removing the USB stick and then turning the laptop back on. When I do that, the laptop opens a boot menu, with two options:
1. Windows Boot Manager
2. eMMC Disk: SanDisk iNAND 32GB
At this point it doesn't matter which one I pick, because the result is the same - after a few seconds of having the screen black it returns back to the same boot menu. I am unable to skip that menu, or check any settings here, I can just pick one or the other and press enter.
It became clear to me that the USB stick has to be plugged in, so I've done that and went to BIOS settings yet again. I was trying to find a way to either change the priority list back to the way it was or to somehow just boot the laptop using the hard drive instead of the USB. I chose the option "Boot from first hard disk", but the result is the error message: "Booting from local disc... Boot error".

The last thing I've done was following the instruction provided in the topic I posted above, where the user presence1960 suggests to run the boot info script and then install grub and follow the list of the steps:



Do this:

1. Boot your computer up with Ubuntu CD
2. Open a terminal window or switch to a tty.
3. Type sudo grub. Should get text of which last line is grub>
4. Type "find /boot/grub/stage1". You'll get a response like "(hd1,1)".
Use whatever your computer spits out for the following lines.
5. Type "root (hd1,1)", or whatever your hard disk + boot partition
numbers are for Ubuntu.
6. Type "setup (hd1)", to install GRUB to MBR, or "setup (hd0,1)" or
whatever your hard disk + partition # is, to install GRUB to a
partition.
7. Quit grub by typing "quit".
8. Reboot and remove the bootable CD.

In # 6 use setup (hd1)

Reboot and go into BIOS. Set the 500 Gb disk to boot first in hard disk boot order. save the change and continue booting

I get stuck on step 4, because grub outputs "no such file" error message. To sum up, I honestly have no idea what else I could try, so I would really appreciate any hints. If there is anything I can still check, please let me know.

Not sure if this is helpful, but here is the output from the boot info script:



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

=> Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sda.

sda1: __________________________________________________ ________________________

File system: vfat
Boot sector type: SYSLINUX 6.03
Boot sector info: Syslinux looks at sector 16392 of /dev/sda1 for its
second stage. The integrity check of Syslinux failed.
No errors found in the Boot Parameter Block.
Operating System:
Boot files: /boot/grub/grub.cfg /syslinux.cfg
/efi/BOOT/grubx64.efi /ldlinux.sys

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

Drive: sda __________________________________________________ ___________________
Disk /dev/sda: 3.6 GiB, 3868430336 (tel:(386)%20843-0336) bytes, 7555528 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sda1 * 2,048 7,555,527 7,553,480 c W95 FAT32 (LBA)


"blkid" output: __________________________________________________ ______________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/mmcblk0
/dev/mmcblk0p1 9c785595-d5fb-4b9f-96d4-70f988936b02 ext4
/dev/mmcblk0p5 2650d3a2-cd91-441f-8d26-3f5aaa1c44f4 swap
/dev/sda1 7A93-3379 vfat UBUNTU 16_0

================================ Mount points: =================================

Device Mount_Point Type Options

/dev/loop0 /rofs squashfs (ro,noatime)
/dev/mmcblk0p1 /media/ubuntu/9c785595-d5fb-4b9f-96d4-70f988936b02 ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udi sks2)
/dev/sda1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,ioc harset=iso8859-1,shortname=mixed,errors=remount-ro)


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

--------------------------------------------------------------------------------

if loadfont /boot/grub/font.pf2 ; then
set gfxmode=auto
insmod efi_gop
insmod efi_uga
insmod gfxterm
terminal_output gfxterm
fi

set menu_color_normal=white/black
set menu_color_highlight=black/light-gray

menuentry "Try Ubuntu without installing" {
set gfxpayload=keep
linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
initrd /casper/initrd.lz
}
menuentry "Install Ubuntu" {
set gfxpayload=keep
linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash ---
initrd /casper/initrd.lz
}
menuentry "OEM install (for manufacturers)" {
set gfxpayload=keep
linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash oem-config/enable=true ---
initrd /casper/initrd.lz
}
menuentry "Check disc for defects" {
set gfxpayload=keep
linux /casper/vmlinuz.efi boot=casper integrity-check quiet splash ---
initrd /casper/initrd.lz
}
--------------------------------------------------------------------------------

============================== sda1/syslinux.cfg: ==============================

--------------------------------------------------------------------------------
DEFAULT loadconfig

LABEL loadconfig
CONFIG /isolinux/isolinux.cfg
APPEND /isolinux/
--------------------------------------------------------------------------------

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

GiB - GB File Fragment(s)


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

GiB - GB File Fragment(s)


========= Devices which don't seem to have a corresponding hard drive: =========

no block devices found

=============================== StdErr Messages: ===============================

cat: /tmp/BootInfo-T4vbuVnc/Tmp_Log: No such file or directory
cat: /tmp/BootInfo-T4vbuVnc/Tmp_Log: No such file or directory

Thank you for reading and your assistance!

ajgreeny
April 1st, 2017, 04:39 PM
That thread you linked to above was from 2009 and the version of grub used then was very different from the one used now so it is not surprising that it did not help you.

I do think you may, however, have more luck using UEFI and allowing the machine to install with the defaults, rather than trying to make your own partitions using "Something Else" in the installation procedure.
See http://ubuntuforums.org/showthread.php?t=2147295 and https://help.ubuntu.com/community/UEFI for more info on UEFI installations.

I do not use and have little knowledge of SSD disks which is what I assume your eMMC Disk: SanDisk iNAND 32GB is, but there are some known problems with certain SSD NVMe types that can usually be overcome, so a search for NVMe installation problems in the forum may give you some better clues.

oldfred
April 1st, 2017, 06:36 PM
I think your Ideapad is one of the crippled designs using 32 bit UEFI and class 3 UEFI which means no BIOS boot.
That choice was made to make a Windows only system as then Linux did not have 32 bit UEFI. And they wanted it like Apple to be proprietary.

But Linux now has a 32 bit UEFI.
LENOVO Ideapad 100 Laptop 16.04 Dual Boot
https://ubuntuforums.org/showthread.php?t=2336544
LENOVO Ideapad 100S Laptop 32 bit UEFI bootia32.efi
https://ubuntuforums.org/showthread.php?t=2350606

Lenovo 110s My Experience Installing and Using Linux on my Lenovo 110s UEFI settings better support than 100
https://ubuntuforums.org/showthread.php?t=2350394