LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 11-05-2021, 12:36 PM   #1
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,200

Rep: Reputation: 1387Reputation: 1387Reputation: 1387Reputation: 1387Reputation: 1387Reputation: 1387Reputation: 1387Reputation: 1387Reputation: 1387Reputation: 1387
Question F2FS and LILO


So in a VM of course, I decided to do a dry-run of f2fs (--Current of course) - given that I am using a SSD(SATA , not NVME though) , I set all the partitions as f2fs.
Code:
/boot ~ 300MM
/     ~ 63GB
/home ~ 153GB
swap  ~ 32GB
When getting to the point of installing LILO is where I run into trouble, I select where Linux is installed and then LILO freaks out..

Click image for larger version

Name:	VirtualBox_Slackware --Current_05_11_2021_12_12_09.png
Views:	35
Size:	4.6 KB
ID:	37634 Click image for larger version

Name:	VirtualBox_Slackware --Current_05_11_2021_12_28_15.png
Views:	29
Size:	7.4 KB
ID:	37635 Click image for larger version

Name:	VirtualBox_Slackware --Current_05_11_2021_12_28_24.png
Views:	30
Size:	5.6 KB
ID:	37636 Click image for larger version

Name:	VirtualBox_Slackware --Current_05_11_2021_12_28_33.png
Views:	30
Size:	5.8 KB
ID:	37637

I know perhaps a while back a similar thread might have been created, but I don't recall nor what the work-around solution is.

Is this a limitation with lilo or f2fs , or both as they just seem to not play nice with each other? What is the suggestion on getting this to work as I would love to have my SSD just run f2fs partitions (with a swap of course).
 
Old 11-05-2021, 12:42 PM   #2
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,631

Rep: Reputation: 3516Reputation: 3516Reputation: 3516Reputation: 3516Reputation: 3516Reputation: 3516Reputation: 3516Reputation: 3516Reputation: 3516Reputation: 3516Reputation: 3516
Quote:
Originally Posted by Jeebizz View Post
So in a VM of course, I decided to do a dry-run of f2fs (--Current of course) - given that I am using a SSD(SATA , not NVME though) , I set all the partitions as f2fs.
Code:
/boot ~ 300MM
/     ~ 63GB
/home ~ 153GB
swap  ~ 32GB
When getting to the point of installing LILO is where I run into trouble, I select where Linux is installed and then LILO freaks out..


I know perhaps a while back a similar thread might have been created, but I don't recall nor what the work-around solution is.

Is this a limitation with lilo or f2fs , or both as they just seem to not play nice with each other? What is the suggestion on getting this to work as I would love to have my SSD just run f2fs partitions (with a swap of course).
IF you use F2FS as root filesystem, you should use a separate boot partition, formatted with a filesystem supported by LILO, i.e. EXT4FS.

LILO cannot work with (and have no support for) this F2FS, because on F2FS filesystem is no guarantee that a file will remain in a "fixed" position on disk.

Last edited by LuckyCyborg; 11-05-2021 at 12:55 PM.
 
2 members found this post helpful.
Old 11-05-2021, 01:04 PM   #3
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,200

Original Poster
Rep: Reputation: 1387Reputation: 1387Reputation: 1387Reputation: 1387Reputation: 1387Reputation: 1387Reputation: 1387Reputation: 1387Reputation: 1387Reputation: 1387
Quote:
Originally Posted by LuckyCyborg View Post
IF you use F2FS as root filesystem, you should use a separate boot partition, formatted with a filesystem supported by LILO, i.e. EXT4FS.

LILO cannot work with (and have no support for) this F2FS, because on F2FS filesystem is no guarantee that a file will remain in a "fixed" position on disk.
Yep, that did it. I think perhaps the installer should be amended and included F2FS , as requiring a non F2FS partition - just like how the installer always warns you that you cannot install lilo on an XFS superblock - or maybe just before Slackware 15.0 come out - just something in the documentation to give idiots like me a heads up

-edit

Basically - WARNING: If you use XFS or F2FS , make sure you have a separate /boot partition that is any other FS except for XFS or F2FS (I assume BTRFS might work too?)... Still - even though this is now solved, I wonder how GRUB would handle this - I bet GRUB just doesn't care - but I haven't worked with GRUB to know.

Last edited by Jeebizz; 11-05-2021 at 01:11 PM.
 
1 members found this post helpful.
Old 11-05-2021, 01:12 PM   #4
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,631

Rep: Reputation: 3516Reputation: 3516Reputation: 3516Reputation: 3516Reputation: 3516Reputation: 3516Reputation: 3516Reputation: 3516Reputation: 3516Reputation: 3516Reputation: 3516
Quote:
Originally Posted by Jeebizz View Post
Yep, that did it. I think perhaps the installer should be amended and included F2FS , as requiring a non F2FS partition - just like how the installer always warns you that you cannot install lilo on an XFS superblock - or maybe just efore Slackware 15.0 come out - just something in the documentation to give idiots like me a heads up

-edit

Basically - WARNING: If you use XFS or F2FS , make sure you have a separate /boot partition that is any other FS except for XFS or F2FS (I assume BTRFS might work too?)... Still - even though this is now solved, I wonder how GRUB would handle this - I bet GRUB just doesn't care - but I haven't worked with GRUB to know.
The GRUB's second stage literally reads the filesystem(s) to find the files - compared with LILO which uses absolute positions on sectors.

Last edited by LuckyCyborg; 11-05-2021 at 01:14 PM.
 
1 members found this post helpful.
Old 11-05-2021, 01:19 PM   #5
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,200

Original Poster
Rep: Reputation: 1387Reputation: 1387Reputation: 1387Reputation: 1387Reputation: 1387Reputation: 1387Reputation: 1387Reputation: 1387Reputation: 1387Reputation: 1387
Quote:
Originally Posted by LuckyCyborg View Post
The GRUB's second stage literally reads the filesystem(s) to find the files - compared with LILO which uses absolute positions on sectors.
Sounds like another case for GRUB then, would be nice if the installer added that option - I have tried to install grub (in a VM of course) but given that I screwed up somewhere, after rebooting it dumped me in a GRUB console - so yea I screwed the pooch on that one, but I will revisit GRUB at another time.
 
  


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
LXer: Redo Rescue Linux Distro Adds Support for Mounting exFAT and F2FS Filesystems LXer Syndicated Linux News 0 10-11-2020 04:51 PM
F2FS and LILO, "Fatal: hole found in map file (zero sector)" cwizardone Slackware 47 07-19-2020 10:14 AM
LXer: Linux Kernel 4.10.2 Brings Wi-Fi Improvements, Updated F2FS and EXT4 Filesytems LXer Syndicated Linux News 0 03-14-2017 12:57 AM
LXer: Samsung Introduces New Linux File-System: F2FS LXer Syndicated Linux News 0 10-05-2012 07:10 PM

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

All times are GMT -5. The time now is 03:32 PM.

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