SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Just stop playing with this CSM - leave everything as default excluding the Secure Boot.
LiveSlak can work under Secure Boot, BUT the installed Slackware itself will NOT work - even today it has no support for Secure Boot.
Please consider that for Windows 10 this Secure Boot is a security feature which Microsoft strongly recommends to use and for Windows 11 it's mandatory.
You should decide IF it's acceptable for you to put the Windows security at risk for the sake of Slackware, OR you will chose another Linux distribution capable to tag along on Secure Boot mode - practically any other major Linux distribution can do this trick, i.e. that Fedora which you tagged this thread.
I tell you those things solely for you to make an informed choice.
I was having odd issues with my USB because it was formatted, reformated, taken out of the port randomly and effected by ethcher, fedora media writer, Rufus, windows drive editor and UNetbootin but just now I created a bootable USB in Rufus w/ Ubuntu live .iso,Rufus formatted the USB stick to FAT32 as is custom, then I reset the BIOS to defaults, disabled secure boot and enabled Legacy. I restarted the PC, clicked esc. Then entered the boot menu and I still don't see an option for booting into the USB.
Disable secure-boot, disable csm/legacy boot. What is the name of the slackware iso you are using?
I disabled Secure boot and disabled legacy but didn't find an option for the csm settings. I still don't see the option to boot into my USB. I'm now using a fedoralive .iso USB because I just want to get the USB to boot in general.
I will install VirtualBox in the Windows 10, then to create a small VM, with a hard drive of 10GB and using the LiveSlak ISO as boot media in that VM. Once booted in that WM, I will create a EXT4FS partition on whole hard drive, to use as storage, then I will download again (within VM) the ISO to that storage partition mounted on /mnt/tmp or similar. Finally, at this stage I can create a LiveSlak USB dongle as I like - after all I can associate an USB device with a VM.
BTW, the fact that you tagged also this thread as "fedora" makes me to believe that you are still undecided what path you will follow? Fedora or Slackware? So, again I will strongly recommend you to use virtual machines to play with both of these Linux distributions at your hearth content - they are vastly different anyway, so what we discuss in this thread probably would not be so useful also on handling Fedora.
I think I am stupid(I hope) or the company prior that put a bit defender lock/freeze on my PC is smarter than us and they also could edotied the BIOS/CMOS to not allow USB boot or/and to initial the bit defender block/freeze:
I called them and the IT help desk sad they only serve in-network machines. I am on my own.
What is CSM? Is it that same thing as legacy boot?
My problem ATM isn't creating the USB dongle I think. So I ask can I use the VM method to install the OS on the computer and have it result in a duel boot situation IRL? If not then the USB option is useless to me. None the less I will try to use your dd method to I install Slackware live on my USB but it appears that not even fedora is booting up via USB.
How many drives does this system have? With the boot from file option, did you go down into each one to find a grubx64.efi or bootx64.efi file to boot?
Last edited by colorpurple21859; 05-23-2023 at 12:18 PM.
Disable secure boot and if option available: turn off TPM.
Anyway it was done so you should be able to install linux on your box without much trouble.
I reset factory settings, disabled secure boy, clears secure boot keys which disables it too and enabled Legacy Boot and I don't see the option to boot into USB via boot menu.
How many drives does this system have? With the boot from file option, did you go down into each one to find a grubx64.efi or bootx64.efi file to boot?
Windows has 3 partitions. When I click on the second one it freezes. When I click on the third one it freezes. IDk how long I should wait. When I click on the first one of boot from files I get file map: EFI or System volume information, in efi I get boot -> bootx64.efi or Microsoft -> boot or recovery option. Recovery leads to .. and Microsoft to several of files.
I never had a problem like this also the left USB port does not work and I heard that you need the left USB port to boot into the USB.
I think I may have a work around once I work out the details, but it goes something like this:
open cmd in administrative mode, use diskpart to assign letter to efi partition, exit dispart, This should allow access to the efi partition from cmd so you can create a EFI/fedora or slackware directory and copy the efi boot files from the usb. Power off, plug in the usb, select boot from file and navigate to the linux boot files place on the efi partition of the hard drive.
Last edited by colorpurple21859; 05-23-2023 at 02:12 PM.
diskpart
list vol
sel vol <number of efi partition>
assign letter S
exit
mkdir S:\EFI\usbfedora
copy ?:\EFI\BOOT\* S:\EFI\usbfedora\
exit cmd
reboot with the usb plugged in and use the bios "boot from file" menu to navigate to efi\usbfedora\grubx64.efi
Notes:
"list vol" is for determing the vol number of the efi partition it will be one that isn't assigned a letter
assign a different letter if S is already used
The ? will be the drive letter of the fedora iso/usb
Last edited by colorpurple21859; 05-24-2023 at 05:17 AM.
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,024
Rep:
Quote:
Originally Posted by naarter
I reset factory settings, disabled secure boy, clears secure boot keys which disables it too and enabled Legacy Boot and I don't see the option to boot into USB via boot menu.
Pretty simple, this is how you boot Elitebook 840 G3 from usb key:
1) first insert Slackware bootable USB key into USB slot
2) while USB key is plugged in reboot/boot and enter BIOS
3) now you will see USB key as bootable device
A lot of notebooks will show only devices that are attached, otherwise you will not see them.
I think I may have a work around once I work out the details, but it goes something like this:
open cmd in administrative mode, use diskpart to assign letter to efi partition, exit dispart, This should allow access to the efi partition from cmd so you can create a EFI/fedora or slackware directory and copy the efi boot files from the usb. Power off, plug in the usb, select boot from file and navigate to the linux boot files place on the efi partition of the hard drive.
I opened disk part gui and it doesn't allow me to edit/preform actions on the windows efi partition and then I opened cmd as admin and put in diskpart and did the following:
Code:
"In order to assign a letter to the EFI partition on Windows 10 using Command Prompt (CMD), you'll first need to open CMD in admin mode. Here are the steps:
1. Open Command Prompt with administrative privileges: Click on the Start button, type `cmd`, then right-click on "Command Prompt" and select "Run as administrator."
2. After opening the command prompt, you'll be using `diskpart`, a command-line utility provided by Windows for disk partitioning. Enter `diskpart` and hit `Enter`.
3. To list all disks available, type `list disk` and press `Enter`. You should see a list of all your active disks.
4. Identify the disk that contains the EFI partition (usually Disk 0). To select the disk, type `select disk 0` (replace 0 with the actual disk number) and hit `Enter`.
5. Now type `list partition` and hit `Enter` to display all partitions on the selected disk.
6. Identify the EFI partition (usually around 100 MB). To select the partition, type `select partition 1` (replace 1 with the actual partition number) and press `Enter`.
7. Now, assign a letter to the EFI partition. To do so, type `assign letter=Z:` (replace Z with your preferred letter that is not in use) and press `Enter`. This assigns the letter Z to the EFI partition.
After these steps, you should now have an assigned letter to your EFI partition. Be cautious when using the DiskPart utility as incorrect usage can lead to data loss.
**Note:** The EFI partition is a special partition that contains important boot files for your system. Changing, deleting, or modifying files within this partition could prevent your computer from booting. Unless you have a specific reason for doing so, it's best not to make changes to this partition."
IT WORKED. How do I "create a EFI/fedora or slackware directory and copy the efi boot files from the usb. "? This is risky stuff and I don't want to break my PC. I followed your second post/cmd advice abiuf copying the two efis from usb to windows efi. What do I do next?
Last edited by naarter; 05-24-2023 at 11:12 AM.
Reason: Correct update
diskpart
list vol
sel vol <number of efi partition>
assign letter S
exit
mkdir S:\EFI\usbfedora
copy ?:\EFI\BOOT\* S:\EFI\usbfedora\
exit cmd
reboot with the usb plugged in and use the bios "boot from file" menu to navigate to efi\usbfedora\grubx64.efi
Notes:
"list vol" is for determing the vol number of the efi partition it will be one that isn't assigned a letter
assign a different letter if S is already used
The ? will be the drive letter of the fedora iso/usb
I have 3 options in usbubuntu with two leading to failed boot and the grub leading to grub loading and error.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.