LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-29-2020, 04:17 PM   #1
MozillaUser3172
LQ Newbie
 
Registered: Mar 2020
Posts: 23

Rep: Reputation: Disabled
Major LILO bug in Slackware64 current


I downloaded and burned Slackware64 current to disc. I then tried to install on a laptop that had worked just fine with Linux before.
This time however LILO complains that a newly wiped SSD, which has only 1 partition, is somehow not "linear" and refuses to install to its MBR. This is an old system without EFI.
Has anyone else seen this? Unless I'm somehow "not holding it right", I think Patrick may have to downgrade LILO.
 
Old 03-29-2020, 04:23 PM   #2
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
LILO hasn't been touched since Apr 2018 (which was due to the mass rebuild of the whole system and didn't have any changes). The previous rebuild and almost all of the rebuilds before that have been to add features to liloconfig.

Can you post the actual error and we can try and figure out what is the issue?
 
Old 03-29-2020, 05:49 PM   #3
MozillaUser3172
LQ Newbie
 
Registered: Mar 2020
Posts: 23

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
Can you post the actual error and we can try and figure out what is the issue?
Hi,
Here's the sequence of events.

1. I wiped my Crucial M4 SSD by doing dd if=/dev/zero of=/dev/sdb

2. I put this SSD into a ~2008 laptop which already had another Crucial M4 SSD in it (a smaller one).

3. I booted slackware64-current, ran fdisk, set up one partition, and then set it up as a LUKS partition. All very standard stuff.

4. Ran setup, everything installed, got to the point where LILO install happens and it ran.

5. It said Fatal error: only linear boot device supported.

6. I recalled that the SSD had a DOS label, so I thought maybe filling the drive with all 0's had put it in some legacy mode that fdisk and LILO don't like, so I rebooted, repartitioned with a GPT label and repeated the process-- same result.

Last edited by MozillaUser3172; 03-29-2020 at 05:51 PM.
 
Old 03-29-2020, 05:54 PM   #4
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Quote:
Originally Posted by MozillaUser3172 View Post
Has anyone else seen this? Unless I'm somehow "not holding it right", I think Patrick may have to downgrade LILO.
I did a clean install of Slackware64-current yesterday with a newer -current ISO. I had no issues with LILO.
 
Old 03-29-2020, 06:12 PM   #5
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,496

Rep: Reputation: 8443Reputation: 8443Reputation: 8443Reputation: 8443Reputation: 8443Reputation: 8443Reputation: 8443Reputation: 8443Reputation: 8443Reputation: 8443Reputation: 8443
Quote:
Originally Posted by MozillaUser3172 View Post
3. I booted slackware64-current, ran fdisk, set up one partition, and then set it up as a LUKS partition. All very standard stuff.
You'll need an unencrypted /boot if you're using LUKS.
 
3 members found this post helpful.
Old 03-30-2020, 06:35 AM   #6
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,055

Rep: Reputation: Disabled
Quote:
Originally Posted by volkerdi View Post
You'll need an unencrypted /boot if you're using LUKS.
Until the Slackware installer switches to using GRUB by default.
https://wiki.archlinux.org/index.php...ncrypted_/boot
https://wiki.archlinux.org/index.php...rtition_(GRUB)

PS Argon2 support from cryptsetup will eventually not make its way in GRUB 2.06, but at least the PBKDF2 key derival function is already supported in pre-2.06. So there will be a full support of LUKS1 and a partial support of LUKS2 in this version.

Last edited by Didier Spaier; 03-30-2020 at 06:47 AM. Reason: PS added.
 
Old 03-30-2020, 10:14 PM   #7
MozillaUser3172
LQ Newbie
 
Registered: Mar 2020
Posts: 23

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by volkerdi View Post
You'll need an unencrypted /boot if you're using LUKS.
Ah yes, I did skip that step, thanks.

I wonder though if the LILO developers realize what a misleading error message they're producing. It caused me to look for the wrong thing in the wrong place, and not to reflect on whether I left out a step.
 
Old 03-30-2020, 10:20 PM   #8
MozillaUser3172
LQ Newbie
 
Registered: Mar 2020
Posts: 23

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Didier Spaier View Post
Until the Slackware installer switches to using GRUB by default.
https://wiki.archlinux.org/index.php...ncrypted_/boot
Having an unencrypted boot partition is risky. Any organization whose operatives can get physical access to your computer can in theory replace your kernel with a special kernel that contains spyware.
 
Old 03-30-2020, 11:40 PM   #9
gus3
Member
 
Registered: Jun 2014
Distribution: Slackware
Posts: 489

Rep: Reputation: Disabled
Quote:
Originally Posted by MozillaUser3172 View Post
Having an unencrypted boot partition is risky. Any organization whose operatives can get physical access to your computer can in theory replace your kernel with a special kernel that contains spyware.
Yeah. It's up to you, to make sure they can't do that.

After that, let's hope you have a system that's still usable.
 
Old 03-31-2020, 01:45 AM   #10
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,055

Rep: Reputation: Disabled
Quote:
Originally Posted by MozillaUser3172 View Post
Having an unencrypted boot partition is risky. Any organization whose operatives can get physical access to your computer can in theory replace your kernel with a special kernel that contains spyware.
Yes, but the linked to article proposes a way to use an encrypted boot partition.
 
Old 03-31-2020, 03:23 AM   #11
Thom1b
Member
 
Registered: Mar 2010
Location: France
Distribution: Slackware
Posts: 484

Rep: Reputation: 336Reputation: 336Reputation: 336Reputation: 336
Hi,

Quote:
Originally Posted by MozillaUser3172 View Post
Having an unencrypted boot partition is risky. Any organization whose operatives can get physical access to your computer can in theory replace your kernel with a special kernel that contains spyware.
You're right. In my case, after installing/upgrading kernel and generate initrd.gz, I keep a checksum (sha256sum) of these files on another computer. When I had to restart my computer I can check integrity.
Unless I forgot something, I'll see if something wrong.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Brightness function keys not working on Slackware64 & Slackware64 current Andersen Slackware 7 01-15-2018 04:27 AM
upgrading slackware64 13.1 multilib to slackware64 -current multilib Cultist Slackware 4 03-12-2011 09:04 AM
[SOLVED] [Xorg-1.7.5 in Slackware64 -current] still no workie.. Xorg bug? GrapefruiTgirl Slackware 94 07-28-2010 08:23 AM
slackware64-current glibc resolver bug? fancylad Slackware 8 01-31-2010 04:47 PM
Updating from Slackware64-current to Slackware64 13. glore2002 Slackware 4 08-28-2009 06:50 PM

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

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