LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   After having a successful installation of Debian Buster, Lenovo computer refuses to boot into Debian Buster 10.2 (https://www.linuxquestions.org/questions/debian-26/after-having-a-successful-installation-of-debian-buster-lenovo-computer-refuses-to-boot-into-debian-buster-10-2-a-4175666346/)

PicardDefendingData 12-21-2019 11:42 AM

After having a successful installation of Debian Buster, Lenovo computer refuses to boot into Debian Buster 10.2
 
I am trying to boot into Debian Buster installing with Debian 10.2 XFCE DVD live with non-free firmware on Lenovo Laptop. I have burned the iso image to the USB stick. I disabled windows hard drive as it's kind of buggy. I downloaded the iso image from the following website:

https://cdimage.debian.org/cdimage/u...64/iso-hybrid/

After the installation has completed, it says on the monitor everything has completed successfully. Now remove the removable media which is the USB stick and boot into your new system.

But the computer doesn't boot into newly installed Debian Buster. The computer just restarts continuously.

I have installed Grub into the MBR (Master Boot Record of Seagate's USB expansion drive) when the installation process asked me to install the GRUB in the MBR or not.

The Lenovo laptop is setup with the setup UEFI interface as UEFI and BIOS both, with BIOS first load.


Shouldn't the computer load the MBR's Grub as I have pointed the boot order (first by pressing continuously F2 and changing Boot Priority and then Boot Option by pressing F12) to the Seagate USB expansion drive? I used guided unused Partitioning Scheme.

I have no /var/log/messages or dmesg | tail because the laptop won't boot into Debian Buster at all.

I managed to use Debian Xfce 10.2 Live Non-Free Firmwares USB Stick. More information is given below:


user@debian:~$ sudo fdisk -l
Disk /dev/sda: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Disk model: INTEL SSDSCKKF25
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: gpt
Disk identifier: C88E769C-28A4-4F5B-9BF2-C20843BF3120

Device Start End Sectors Size Type
/dev/sda1 2048 534527 532480 260M EFI System
/dev/sda2 534528 567295 32768 16M Microsoft reserved
/dev/sda3 567296 498069503 497502208 237.2G Microsoft basic data
/dev/sda4 498069504 500117503 2048000 1000M Windows recovery environment


Disk /dev/sdb: 931.5 GiB, 1000204885504 bytes, 1953525167 sectors
Disk model: Expansion
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: F4086DD7-3948-44C9-A568-3983799F9420

Device Start End Sectors Size Type
/dev/sdb1 2048 4095 2048 1M BIOS boot
/dev/sdb2 4096 58597375 58593280 28G Linux filesystem
/dev/sdb3 58597376 65458175 6860800 3.3G Linux swap
/dev/sdb4 65458176 1083490303 1018032128 485.4G Linux filesystem
/dev/sdb5 1083490304 1953523711 870033408 414.9G Microsoft basic data


Disk /dev/sdc: 28.8 GiB, 30943995904 bytes, 60437492 sectors
Disk model: DataTraveler 3.0
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
Disk identifier: 0x2bfbca39

Device Boot Start End Sectors Size Id Type
/dev/sdc1 * 2048 60437491 60435444 28.8G c W95 FAT32 (LBA)


Disk /dev/loop0: 2.3 GiB, 2510594048 bytes, 4903504 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


user@debian:~$
cat fstab


# /etc/fstab: static file system information.
#
# Use 'blkid' 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>
# / was on /dev/sdb2 during installation
UUID=673a0bbc-3b77-4f7a-bd24-8fbe85112fef / ext4 errors=remount-ro 0 1
# /home was on /dev/sdb4 during installation
UUID=fdd6143f-b410-473c-acca-779b7a0783d4 /home ext4 defaults 0 2
# swap was on /dev/sdb3 during installation
UUID=0185056f-3fee-4269-b59c-7188410d7133 none swap sw 0 0

gparted screenshot is given below:


https://imgur.com/a/y5ZYZCf

hazel 12-21-2019 11:56 AM

If you installed GRUB into the MBR, it won't boot with UEFI in native mode. Either you must go into your UEFI interface and switch to legacy mode (it may be called compatibility support mode or csm on your machine), or you must install GRUB onto the EFI system partition. You should be able to do that from the live install disk.

PicardDefendingData 12-21-2019 12:15 PM

Quote:

Originally Posted by hazel (Post 6070142)
If you installed GRUB into the MBR, it won't boot with UEFI in native mode. Either you must go into your UEFI interface and switch to legacy mode (it may be called compatibility support mode or csm on your machine), or you must install GRUB onto the EFI system partition. You should be able to do that from the live install disk.

I selected Legacy mode with csm support. Still the computer won't boot.

yancek 12-21-2019 12:37 PM

Generally, you can set the boot options by pressing a key or keys on boot to change drives to boot from as you mentioned above after enabling Legacy/CSM. You should also have an option to change that setting in the BIOS firmware to make it permanent. Grub in Legacy/CSM won't boot an EFI windows so since you installed incorrectly, you will need to do this every time you want to switch from Debian to windows and the reverse. Or you could install Debian EFI.

PicardDefendingData 12-21-2019 07:51 PM

Quote:

Originally Posted by yancek (Post 6070163)
Generally, you can set the boot options by pressing a key or keys on boot to change drives to boot from as you mentioned above after enabling Legacy/CSM. You should also have an option to change that setting in the BIOS firmware to make it permanent. Grub in Legacy/CSM won't boot an EFI windows so since you installed incorrectly, you will need to do this every time you want to switch from Debian to windows and the reverse. Or you could install Debian EFI.

Thank you everybody. I have a buggy and flaky SSD drive that was causing all the problems. After replacing it everything is a breeze. Thanks everyone.


All times are GMT -5. The time now is 06:26 PM.