LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-11-2024, 06:23 PM   #16
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,128
Blog Entries: 2

Rep: Reputation: 260Reputation: 260Reputation: 260

This thread mentions that for some reason, trying to install from USB flash doesn't work, but does from a USB HDD.

I've seen other websites mention to make sure the USB device is formatted with fat32.

Edit: Your BIOS might not be locked. You might need to disable additional things to unlock legacy mode.
[s]A couple other sites mention that legacy BIOS might actually be locked, and a modded BIOS would be needed to unlock it.[/s]

I have an older Lenovo Yoga that is the same Intel platform. Legacy BIOS wasn't an option on that laptop either. I did have Debian installed on it with grub2 and secure boot disabled. You might have to try "erase all secure boot settings", but that might mess with Windows.

Last edited by replica9000; 04-11-2024 at 06:38 PM.
 
Old 04-12-2024, 01:15 AM   #17
ZapAnarchy
LQ Newbie
 
Registered: Feb 2023
Posts: 14

Original Poster
Rep: Reputation: 0
funny in that linked thread, he didn't posted solution.

I was able to set lubuntu, but I always need to be vary of updates of new update, due to securedb package which breaks whole installation.

I tried erasing secure boot as well, and setting to defaults, still nothing.
 
Old 04-12-2024, 06:31 AM   #18
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,311

Rep: Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326
Quote:
Originally Posted by replica9000 View Post
I've never seen a computer have a legacy BIOS option, but have it greyed out. I wonder if something has to be disabled to enable legacy BIOS? Is secure boot disabled?
Funny you should ask that. I pulled a lot of hair back in 2013 trying to get linux up and running on Legacy mode on my new (at the time)Samsung NP350EC-A05UK laptop.

What worked was enabling the legacy mode and formatting the primary HD with fdisk, not gdisk. Don't ask me how I figured that out, but I did. Gdisk somehow enabled EFI, because you couldn't have EFI with the fdisk partition types. There's (last heard) a 2TB size limit imposed by the set of lies currently being told by fdisk. I thought things had moved on from that, but apparently not.
 
Old 04-13-2024, 01:34 PM   #19
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
On my laptoop disabling TPM also disables secure boot.

I cannot tell if you can do so but have you tried the option to restore factory default settings for secure boot?

The secure boot part of that image shows the same color as the TPM section and you were able to change that line.
 
Old 04-13-2024, 08:10 PM   #20
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,128
Blog Entries: 2

Rep: Reputation: 260Reputation: 260Reputation: 260
Quote:
Originally Posted by business_kid View Post
Funny you should ask that. I pulled a lot of hair back in 2013 trying to get linux up and running on Legacy mode on my new (at the time)Samsung NP350EC-A05UK laptop.

What worked was enabling the legacy mode and formatting the primary HD with fdisk, not gdisk. Don't ask me how I figured that out, but I did. Gdisk somehow enabled EFI, because you couldn't have EFI with the fdisk partition types. There's (last heard) a 2TB size limit imposed by the set of lies currently being told by fdisk. I thought things had moved on from that, but apparently not.
But isn't the whole point of legacy BIOS not needing to deal with EFI?

I use parted when setting up a new disk. For grub and efi, I setup a GPT table. First partition is 1mb, second partition is minimum 260mb. Any partition after that is for the OS/data.

Assuming we've booted into a live cd/usb and the target is /dev/sda on the laptop
Code:
# parted /dev/sda
(parted) unit mib
(parted) mktable gpt
(parted) mkpart bios_grub 1 2
(parted) set 1 bios_grub on
(parted) mkpart boot_grub 2 262
(parted) mkpart <name> 262 <end-size> (additional partitions)
(parted) quit
# mkfs.fat -n bios_grub -F 32 /dev/sda2
# mkdir /mnt/grub
# mount /dev/sda2 /mnt/grub
# grub-install --target=x86_64-efi --efi-directory=/mnt/grub --boot-directory=/mnt/grub/boot --recheck --debug
# grub-mkconfig -o /mnt/grub/boot/grub/grub.cfg

So far, this has worked for me for any UEFI machine, but I haven't had a machine with an InsydeH20 BIOS.
 
Old 04-14-2024, 03:40 AM   #21
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,311

Rep: Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326
I think you miss my point. I will add that this was 11 years ago.

If you had a gdisk partition table, that BIOS demanded UEFI - some extreme version.
You couldn't select and save 'legacy' on a gdisk table. But you could on fdisk.
 
Old 04-14-2024, 11:10 AM   #22
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,128
Blog Entries: 2

Rep: Reputation: 260Reputation: 260Reputation: 260
Quote:
Originally Posted by business_kid View Post
I think you miss my point. I will add that this was 11 years ago.

If you had a gdisk partition table, that BIOS demanded UEFI - some extreme version.
You couldn't select and save 'legacy' on a gdisk table. But you could on fdisk.

I never used gdisk. I was thinking it was a gtk frontend for fdisk. Looks like the g is for gpt, so gdisk was never designed to create legacy (mbr) partitions.

The Lenovo Yoga I have I bought about 10 years ago. It was the first machine that forced me to use UEFI. I didn't give me an option for legacy, not even grey out. Maybe later I'll pop in a spare SSD with a MBR table and see if anything changes.
 
Old 04-14-2024, 12:09 PM   #23
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Rep: Reputation: 255Reputation: 255Reputation: 255
Quote:
Originally Posted by ZapAnarchy View Post
I have acer es1-533, and it have UEFI problems, that it can't install newer versions of Ubuntu, something to do with EFI stuff. Neither any of RHEL works.

I can only set up Arch based distros to work, because they don't do something with EFI partition these newer do.

And also, Ubuntu/RHEL based , can't even load screen anymore even in live USB ! It just finished checksum,and when trying to boot live USB, it takes forever, I've left it 30m-1 hour, nothing, just still loading..

I don't know what to do with this PC. It's from 2017. And even AntiX, is laggy on it, it's not fast at all.

And, btw, Arch (or any install), consumes me a lot of time, so it's not easy to distro hop on this one, it's frustrating. At least 1-2 hours I need just to install, and fix that UEFI nonsense, as it won't install GRUB directly from installer, but I have to manually meddle with it.

rn, it's on windows, but I don't need this PC anymore, but it can't even handle linux either, I don't want to reinstall just because it can't handle latest update..

Ubuntu works up to 18.04 , everything newer, not
it is a good PC.

Try to use ascii devuan on it. that will be magic !!

https://mirror.leaseweb.com/devuan/d...sktop-live.iso

https://mirror.leaseweb.com/devuan/d...sktop-live.iso


image = /boot/vmlinuz-4.9.0-11-amd64
initrd = /boot/initrd.img-4.9.0-11-amd64

--
The devuan potatoe
Attached Thumbnails
Click image for larger version

Name:	poe1.jpg
Views:	1
Size:	32.0 KB
ID:	42697  

Last edited by Xeratul; 04-15-2024 at 08:27 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Potato 2.2.19 hanging on inetd Seventh Debian 2 02-12-2004 11:18 AM
x window with debian (potato) webboss Linux - Distributions 1 08-01-2002 08:22 AM
upgrading debian potato to woody koningshoed Linux - Distributions 2 06-12-2002 05:27 AM
Debian(potato) install help needed jamaso Linux - Software 2 11-07-2001 07:58 AM
gnome on potato jedi101 General 0 10-19-2001 10:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration