LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-05-2021, 03:59 PM   #1
donallen
Member
 
Registered: Apr 2010
Posts: 41

Rep: Reputation: 16
Any luck with current on Thinkpad X1 gen 7?


I've installed current on a Thinkpad X1 gen 7. The partition table is GPT, but the machine is set up for legacy boot, so there is no EFI partition. Arch Linux ran fine on this machine, booting with syslinux, but Slackware will not boot from the internal disk (an NVME SSD). Lilo installs but will not boot. I did make a boot stick and that works and other than the boot problem, the system seems to work, though I haven't tested it extensively due to the booting issue.

Has anyone had any luck with current on a similar machine?
 
Old 02-05-2021, 04:30 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,065

Rep: Reputation: Disabled
I'd suggest to use GRUB. As a reminder you'll need a small (2MB is more that enough) unformated partition of type BIOS Boot, if your machine has a GPT. This said, if this machine's firmware allows it I would just set it to boot in EFI mode ithb a GPT and still use GRUB. Your choice anyway :-)
 
Old 02-05-2021, 05:16 PM   #3
tramtrist
Member
 
Registered: Jul 2018
Location: Cincinnati USA
Distribution: Slackware
Posts: 549

Rep: Reputation: 343Reputation: 343Reputation: 343Reputation: 343
Grub or rEFInd are your friend
 
Old 02-05-2021, 05:46 PM   #4
donallen
Member
 
Registered: Apr 2010
Posts: 41

Original Poster
Rep: Reputation: 16
Using grub would mean repartitioning (to create the small partition grub needs) and reinstalling. I was hoping to avoid that. If not possible, though, I'll either do that, or restore Arch on this machine. Another possibility is to just live with booting from the USB key until the next release, and hope that the release solves this problem one way or another.

Thanks for the responses.
 
Old 02-05-2021, 06:23 PM   #5
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,065

Rep: Reputation: Disabled
If your first partition starts @ 1024K you can set up the BIODS Boot partition in the space before. With a simple layout that should be enough. No need to worry about the ailgnment of a partition you never access after boot up.
 
Old 02-05-2021, 09:51 PM   #6
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,797

Rep: Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436
GParted is GPT aware and capable and makes resizing partitions child's play and is easily done with LiveSlak. FWIW I'm presently running January Current on a T61P Thinkpad. It's so old UEFI wasn't even a dream yet. I have experienced PCs that supposedly support UEFI but early implementations frankly sucked. That could be fixed with a recent bios/uefi firmware update, but not all makes and models continue to produce updates. You probably should check to see if yours is as new as available.
 
Old 02-05-2021, 11:00 PM   #7
derekn13
Member
 
Registered: Sep 2012
Distribution: Slackware
Posts: 53

Rep: Reputation: 29
You should be able to use syslinux with Slackware. Maybe that's the simplest option?

My current system is an X1C8 -- I'm using EFI and elilo because I was curious to try EFI. My previous system was an X1C5. That was running Slackware 14.2 (not current) with legacy boot and syslinux. I honestly don't remember why I used syslinux instead of lilo (does lilo support GPT?). Anyway, syslinux (extlinux to be precise) worked fine for me on Slackware 14.2.
 
Old 02-06-2021, 07:57 AM   #8
donallen
Member
 
Registered: Apr 2010
Posts: 41

Original Poster
Rep: Reputation: 16
I tried syslinux and was not successful. The Slackware Documentation project document I found gives instructions for setting up syslinux on an EFI system, with an EFI partition, which I do not have. So instead, I followed the Arch Linux installation instructions for installing syslinux manually on a GPT/BIOS system. All the required files are included in the Slackware install but this didn't work for some unknown reason.
 
Old 02-06-2021, 08:55 AM   #9
donallen
Member
 
Registered: Apr 2010
Posts: 41

Original Poster
Rep: Reputation: 16
The question was asked if lilo supports GPT. It does. I am typing this on a desktop system I built with an ASUS micro-itx motherboard, Intel I5 processor and NVME SSD. The system is set up with GPT partition tables but legacy boot, no EFI. Three partitions -- root, boot, home. I used the same install process with this system as with the Thinkpad -- started with the 14.2 installation system and upgraded with slackpkg to current. Booting from the internal SSD works fine on the desktop system with lilo. Which, of course, adds to the mystery of why the same process and partitioning scheme was unsuccessful on the Thinkpad X1, which is a similar hardware setup, though of course the devil is in the details.
 
Old 02-06-2021, 01:41 PM   #10
derekn13
Member
 
Registered: Sep 2012
Distribution: Slackware
Posts: 53

Rep: Reputation: 29
Sorry I don't have more help for you. The X1C5 BIOS refused to boot a GPT partition table in legacy mode. But you're able to boot Arch, so that presumably means the X1C7 BIOS has fixed that problem.

What sort of behavior are you getting when you try to boot Slackware on the X1C7?
 
Old 02-07-2021, 04:53 AM   #11
petejc
Member
 
Registered: Apr 2019
Distribution: Slackware
Posts: 134

Rep: Reputation: Disabled
Quote:
Originally Posted by donallen View Post
I tried syslinux and was not successful. The Slackware Documentation project document I found gives instructions for setting up syslinux on an EFI system, with an EFI partition, which I do not have. So instead, I followed the Arch Linux installation instructions for installing syslinux manually on a GPT/BIOS system. All the required files are included in the Slackware install but this didn't work for some unknown reason.
I used syslinux for a while, but a kernel update, a bump in minor version and I found I could no longer boot. All I ever got was kernel panics. I had scripted much of my build and initrd creation process, so I could not think of anything that should have caused issue. I went over to elilo, no longer use initrd and things have been fine. I don't think initrd was part of the issue though I can't rule it out.

This does not help you, but it might not have been an isolated issue with yourself.
 
Old 02-07-2021, 06:10 AM   #12
donallen
Member
 
Registered: Apr 2010
Posts: 41

Original Poster
Rep: Reputation: 16
I tried installing syslinux a couple of times, and got the same result, so I don't think I fat-fingered it, though it's still a possibility.
 
Old 02-07-2021, 06:12 AM   #13
donallen
Member
 
Registered: Apr 2010
Posts: 41

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by derekn13 View Post
Sorry I don't have more help for you. The X1C5 BIOS refused to boot a GPT partition table in legacy mode. But you're able to boot Arch, so that presumably means the X1C7 BIOS has fixed that problem.

What sort of behavior are you getting when you try to boot Slackware on the X1C7?
Initial blank screen with a bit of flickering, then an attempt to boot over the network, which fails of course, then you-choose-the-device boot screen.
 
Old 02-07-2021, 07:19 AM   #14
donallen
Member
 
Registered: Apr 2010
Posts: 41

Original Poster
Rep: Reputation: 16
I should mention that the BIOS is up-to-date.

I will also mention that I bit the bullet and repartitioned, to provide the 1M partition grub requires (and set the bios_grub flag on it with parted). After redoing the 14.2 install, I installed and configured grub, per the Slackware doc. Grub said it was happy and I had a look at the config file and it looked reasonable (4 menu items -- the huge and generic kernels and the symlinks to them). That's the end of the good news. The bad news is that the system still won't boot -- same symptoms. The BIOS config boot security setting is 'legacy boot' and the startup item is 'legacy only'. I give up. I'm restoring Arch to this system. I've wasted much too much time on this. Thanks to all for your attempts to help.
 
Old 02-07-2021, 07:38 AM   #15
donallen
Member
 
Registered: Apr 2010
Posts: 41

Original Poster
Rep: Reputation: 16
One last thing, just to close the loop -- the restored Arch (with Clonezilla) boots normally with syslinux and the same BIOS settings that I could not make work with Slackware and lilo, syslinux or grub. I realize that sort of points the finger at me, but while I am certainly not infallible, I've been doing this sort of thing for a very long time and have three other systems set up the same way with Slackware current booting (with lilo) and running just fine. I have no explanation for why Slackware would not boot with three different bootloaders on this machine, but Arch boots with syslinux with the same BIOS setup.
 
  


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: Purism Launches 2nd Gen Librem Mini Linux PC with a 10th Gen Intel Core CPU LXer Syndicated Linux News 0 11-05-2020 11:03 PM
LXer: You Can Now Buy Lenovo’s ThinkPad X1 Carbon Gen 8 Laptop with Fedora Linux LXer Syndicated Linux News 0 08-31-2020 02:42 AM
LXer: Install ARCH Linux on ThinkPad X1 Carbon Gen 7 with encrypted filesystem and UEFI LXer Syndicated Linux News 0 03-06-2020 10:03 AM
3rd gen CPU in a 2nd Gen Laptop Motherboard benifits are? BW-userx Linux - Hardware 4 05-18-2016 01:56 PM

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

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