LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-22-2021, 05:15 PM   #121
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled

Quote:
Originally Posted by enorbet View Post
Perhaps I wasn't specific enough, and since somebody might find some value in that, let me explain.
Let me answer to your explanations.
Quote:
MSD created the specs for ESP partitions and limited them to around 500MB.
This is wrong. the Microsoft Extensible Firmware Initiative FAT32 File System Specification Version 1.03, December 6, 2000, states:
Quote:
The maximum allowed file size on a FAT volume is 0xFFFFFFFF (4,294,967,295) bytes.
Not sure it's the last version but in https://en.wikipedia.org/wiki/Design...AT_file_system I read:
Quote:
Max. volume size
FAT12: 32 MB (256 MB for 64 KB clusters)
FAT16: 2 GB (4 GB for 64 KB clusters)
FAT32: 2 TB (16 TB for 4 KB sectors)
So let's leave it at 2TB for 512 bytes per sector which is the most common size

If I remember correctly, for Windows Microsoft advises a minimum (not maximum) size of 500M for the ESP but this relates only to its intended usage.

Quote:
Even though gdisk can make them much larger, many apps and systems simply do not recognize the expanded size, Presently I have 7-8 systems on my Main boxen with a 1.7GB ESP. No system, even Slackware, will mallow me to copy to or move into anything that would exceed some perceived limit in size.
This is most probably a limitation of the software tools you use.
Quote:
I solve this by using the same kernel on 3-4 systems. I'd rather not suffer that limitation.
Two remarks:
  • Better let the kernels and initrd where they belong: in the /boot directory. If the OS loader in the ESP can't find them elsewhere than in the ESP (hint: eLILO, I don't know for rEFInd), use another OS loader (hint: GRUB)
  • Nothing prevents you to set up several ESP. This is explicitly allowed by the UEFI specification.
Quote:
just because MS expects (or prefers) one license per box, which means only one kernel, they have forced that on everyone else.
Completely unfounded statement.
Quote:
Like I said, not good neighbors... arrogant, self-centered, dominant and manipulative to the detriment of anything not Microsoft. Can't you hear them shouting with raised sword "There can be only One!"
This may have been true ten or twenty years ago, not anymore, as they are now a challenger (of Google and Facebook, among others). Two facts:
PS sort of an irony that Microsoft protects its users against Google

Last edited by Didier Spaier; 03-23-2021 at 01:34 AM.
 
2 members found this post helpful.
Old 03-24-2021, 03:12 PM   #122
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by cwizardone View Post
Well.... unless there has been some recent changes, they don't support F2FS.
Unless I'm mistaken, this would only be an issue with lilo and only if /boot is formatted as F2FS. With elilo, the EFI partition is required to be FAT, so even if the rest of the drive is F2FS, that won't be an issue because the initrd and/or kernel will still reside on the EFI partition and they'll contain the driver needed to boot F2FS.

I imagine there probably aren't many people that use F2FS and aren't using UEFI booting...
 
1 members found this post helpful.
Old 03-24-2021, 04:09 PM   #123
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,095

Rep: Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273
Quote:
Originally Posted by bassmadrigal View Post
Unless I'm mistaken, this would only be an issue with lilo and only if /boot is formatted as F2FS. With elilo, the EFI partition is required to be FAT, so even if the rest of the drive is F2FS, that won't be an issue because the initrd and/or kernel will still reside on the EFI partition and they'll contain the driver needed to boot F2FS.

I imagine there probably aren't many people that use F2FS and aren't using UEFI booting...
These days I get up in the morning, look in the mirror and wonder, "Who is that old fart?"
I don't shave a often as I use to as I can't remember that guy's name.

I had elilo running about three years ago, but can't remember why I went back to lilo.... Vaguely,
I think it had someting to do with not being able to display my favorite boot screen bitmap. This
was also before I switched to f2fs, then grub, and then back to lilo when grub started having problems.
I've burned out on doing fresh installations, but this will give me a "project" to work on for the next day or two.

Last edited by cwizardone; 03-24-2021 at 04:15 PM.
 
Old 03-24-2021, 06:49 PM   #124
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Well grub works here, including with f2fs for /. As an aside, I don't like the idea that the file system for / be never checked if f2fs, as is the case at time of writing in rc.S for -current. I have modified it in the attached file to allow periodically check it, the periodicity being after 5 boots by default but settable in /etc/f2fs.conf.
Attached Files
File Type: txt rc.S.txt (17.3 KB, 5 views)
 
1 members found this post helpful.
Old 03-25-2021, 08:46 AM   #125
ReFracture
Member
 
Registered: Oct 2007
Posts: 209

Rep: Reputation: 222Reputation: 222Reputation: 222
Quote:
Originally Posted by cwizardone View Post
I had elilo running about three years ago, but can't remember why I went back to lilo.... Vaguely,
I think it had someting to do with not being able to display my favorite boot screen bitmap. This
was also before I switched to f2fs, then grub, and then back to lilo when grub started having problems.
I've burned out on doing fresh installations, but this will give me a "project" to work on for the next day or two.
I'm running lilo on a server I recently setup off site, not because it's any better but because I like that all I have to do is type liloconfig and accept the defaults.. forgetting to copy the new kernel in place after a kernel upgrade isn't a big deal on the machine I sit in front of, but if I forget on an off site server I'm now stuck driving over there to fix it because after rebooting there won't be any network connectivity.
 
1 members found this post helpful.
Old 03-25-2021, 10:49 AM   #126
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434
Hello Didier. Sorry for the typo re: MSD vs/ MS. I'm an old diabetic and my eyesight isn't ideal, nor apparently mu fingers I don't understand why you specifically quoted me at first and then use unspecified quotes from all over the place, but no biggie. It really doesn't apply. I attached a screenshot of the problem.

I created ESP with Gdisk. Are you implying that is less than optimum software? I only used GParted as a graphic to show the used and free doesn't add up to assigned. I don't care anymore what Fat32 specs are. It does support what I want for an ESP but it's "special use case" created by Microsoft doesn't. I'd prefer some Linux-based file system probably ext2, 3 , or 4. That BIOS/UEFI is complaint with Fat32 is still largely due to Microsoft, though I imagine IBM was in there back in the day. I doubt IBM was involved in ESP but I really don't care. I simply resent unnecessary limitations that don't need to be there making ESP Fat32 any different from regular Fat32. What is the gain in that?

Incidentally, it is no longer an issue since I tried creating a 500MB ESP with Gdisk and it works as expected and is certainly of sufficient siZe for most needs. I commonly create or allow the creation of multiple ESPs but prefer to condense into one. It just makes editing more efficient and I like rEFInd. I still don't like Grub and probably never will.
Regards.
 
Old 03-25-2021, 04:13 PM   #127
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Hello enorbet,

For your information I attach to this post part of the text of the chapter 13.3 File System Format that describes the file system format of the ESP, extracted from the UEFI Specification Version 2.9 (March 2021).

Other than that, we don't have to agree on everything, so let's go back to this thread's topic (assuming that it has one, which is doubtful).

Just a last remark: using UEFI you don't only use a file system format from Microsoft, the PE-COFF format of the UEFI executable is also specified initially by Microsoft as you can see in the UEFI specification
Attached Files
File Type: txt UEFI_Spec_2_9_2021_03_18.txt (8.3 KB, 7 views)
 
1 members found this post helpful.
Old 03-26-2021, 02:06 PM   #128
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434
Thanks for the links, Didier.
 
  


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
Can't get rid of error message in dpkg or apt-get rtruswell Linux - Newbie 3 08-25-2011 07:05 PM
How do I get FF4 and get rid of Chromium? Lubuntu 10.10 justinp526 Linux - Newbie 16 06-01-2011 03:46 PM
Gotta get rid of Mandrake but what should I get? sofasurfer Linux - Distributions 6 04-26-2006 11:44 AM
How can I get rid of dpkg apt-get errors? jon_k Linux - Software 2 03-25-2005 01:25 PM
Trouble with Apt-Get/Synaptic on RH9 wanting to get rid of stuff I need rberry88 Red Hat 4 11-05-2003 03:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:40 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