[SOLVED] Toshiba C55 Laptop not booting after install
Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Making this statement is not helpful. This help file has options, ypou need to telll us exactly what track you took. There are 2 paths, one for mbr drives with BIOS and a different one for GTP and UEFI. Which apth did you take?
Quote:
chroot /mnt
chroot: failed to run command ‘/bin/bash’: No such file or directory
bash-5.1#
This indicates you have not mounted any directorys on /mnt. This only applies to chroot command on a mbr system. If this is a UEFI and GPT setup, I don't see any mnt commands to do.
The link you posted is during slackware installation configuration, before rebooting the first time. There is one of two ways to fix from the slackware installer.
1. Manually mount the partitions, mount —bind /dev /proc /sys /run to the same directories on the mounted root partition. Chroot then run grub-install or eliloconfig
Or
2. Start setup select partitions in target but do not format, skip software installation and go straight to configuration. Skip the items you don’t want to reconfigure. Before exiting out configuration open a second terminal, chroot /mnt and run grub-install. A formatted fat32 efi partition mounted on/boot/efi is needed for efi mode
No. This is a listing of fstab. After the kernel gets control, these partitions will be mounted. Without a bootloader installed and configured, this fstab is not used.
chroot is used to mount to fix non-bootable systems. You have to boot from a different medium, in this case the install medium. Have a look at post #5.
The default boot loader is elilo for a UEFI system. The help file you pointed out is to install GRUB2 during install. Grub2 comes with slackware and one way is to follow the instructions in that help file. That will install grub2.
How did you get that listing? Was it from a command prompt while the installer was in control?
How did you get that listing? Was it from a command prompt while the installer was in control?
After I installed Slackware 15 I rebooted but no boot device was available. I then rebooted from the install DVD and gained access that way using one of the kernel options
Have you copied a kernel to /boot/efi/EFI/Slackware ?
If you copied the generic kernel, did you copy the initrd.gz file to the above mentioned directory?
If these files are essential for an install why on earth are they not installed during the Slackware install process?
It seems impossibly complicated to me for something that lilo did in a minute or less.
Hmmm. Let me give you a listing of what a working /boot/efi/EFI/Slackware/ directory has to contain. Here is one from my laptop.
Quote:
/boot/efi/EFI/Slackware# ls -l
total 30157
-rwxr-xr-x 1 root root 342 Mar 23 08:14 elilo.conf*
-rwxr-xr-x 1 root root 239734 Aug 5 2022 elilo.efi*
-rwxr-xr-x 1 root root 2170 Oct 8 2019 general.msg*
-rwxr-xr-x 1 root root 10362424 Mar 23 08:12 initrd-6121.gz*
-rwxr-xr-x 1 root root 2170 Oct 8 2019 params.msg*
-rwxr-xr-x 1 root root 2246 Nov 16 2020 textmenu-message.msg*
-rwxr-xr-x 1 root root 8156384 Mar 23 08:12 vmlinuz-generic-6.1.21*
-rwxr-xr-x 1 root root 12112672 Mar 23 08:13 vmlinuz-huge-6.1.21*
This is from a current install. You are using 15.0. That is recommended for any new user to Slackware. You can see I copied both generic and huge kernls to this directory. I generated an initrd using the command generator at /usr/share/mkinitrd/mkinitrd_command_generator.sh. This .sh file creates a list of a command to create a working initrd.gz file. This is stored in /boot. I copied it along with the kernels I want to use.
You also edit the elilo.conf file. Here is mine.
Quote:
cat elilo.conf
cat: elilo.conf: No such file or directory
root@swifty:/usr/share/mkinitrd# cd /boot/efi/EFI/Slackware/
root@swifty:/boot/efi/EFI/Slackware# cat elilo.conf
chooser=textmenu
default=Generic
delay=50
timeout=50
prompt
message=textmenu-message.msg
#
image=vmlinuz-generic-6.1.21
label=Generic
initrd=initrd-6121.gz
read-only
append="root=/dev/sda3 vga=normal ro"
This file is read by the boot loader, elilo.efi. This file is also in the /boot directory. If you look in /boot, the file is called elilo-x86_64.efi. On the cp command, you rename it to elilo.efi.
This may seem cumbersome, there are some scripts the install instructions tell you to run. They do simplify it, I choose not to use them, and prefer the names of the kernel to be there as they are in the boot directroy. Either can work.
You should read through the install instructions if you prefer to use the scripts.
Quote:
If these files are essential for an install why on earth are they not installed during the Slackware install process?
The installer has no idea if you are installing a 32 bit or 64 bit system. Different things are done for the bitness to be correct. In boot you will see this file elilo-ia32.efi for 32 bit systems. It is not used on 64 bit systems. Lots of possibilities, one installer.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.