LinuxQuestions.org
Help answer threads with 0 replies.
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 06-24-2018, 07:29 AM   #16
laprjns
Member
 
Registered: Oct 2005
Location: Connecticut USA
Distribution: SalixOS
Posts: 206

Rep: Reputation: 108Reputation: 108

Quote:
Originally Posted by AlleyTrotter View Post
Was it a UEFI system and boot?
Yes and yes.


Code:
chooser=simple
delay=1
timeout=1
#
image=vmlinuz
        label=vmlinuz
        read-only
        append="root=/dev/sda12 vga=normal ro"
 
Old 06-24-2018, 08:00 AM   #17
AlleyTrotter
Member
 
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-15.0
Posts: 783

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Quote:
Originally Posted by laprjns View Post
Yes and yes.
bare metal ? not a VM?
 
Old 06-24-2018, 08:12 AM   #18
laprjns
Member
 
Registered: Oct 2005
Location: Connecticut USA
Distribution: SalixOS
Posts: 206

Rep: Reputation: 108Reputation: 108
Bare metal, a Asus laptop. I am now in the process of testing on another system, bare metal, using the same install usb stick.
 
Old 06-24-2018, 08:21 AM   #19
AlleyTrotter
Member
 
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-15.0
Posts: 783

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
@laprjns many thanks for your efforts anxious to hear about the second system. I'm at a loss never had a problem installing Slackware except when the huge kernel got too huge.

Don't know if this is a help but
the efishell does not see the file system ie
fs0: / fs1: /fsn: etc only lists the file systems on dev/sdb dev/nvme0n1
it does not list a filesystem for /dev/sda

I thought dropping into the efishell might enable a boot

perhaps I should try to zero /dev/sda before starting the install.

Thanks
AlleyTrotter

Last edited by AlleyTrotter; 06-24-2018 at 08:28 AM.
 
Old 06-24-2018, 09:01 AM   #20
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,446
Blog Entries: 7

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
Wed Jun 13 05:43:00 UTC 2018 and Newer Current bare metal install?

Are you sure sda isn't meant to be nvme0n1?
 
Old 06-24-2018, 09:28 AM   #21
laprjns
Member
 
Registered: Oct 2005
Location: Connecticut USA
Distribution: SalixOS
Posts: 206

Rep: Reputation: 108Reputation: 108
Works on my second system, a desktop tower with a MSI motherboard. Definitely bare metal, it doesn't have a cover on the case . So you installed the EFI partition on sda, not on/nvme0n1?

Last edited by laprjns; 06-24-2018 at 09:38 AM.
 
Old 06-24-2018, 09:30 AM   #22
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Code:
Fri Jun 15 04:12:46 UTC 2018 a/efibootmgr-16-x86_64-2.txz:  Rebuilt.
a/efivar-35-x86_64-1.txz:  Upgraded.
  Switch to efivar-35, since 36 seems to have problems. Thanks to _RDS_.
Update efivars and efiboomgr.

You can do that from the installer of a Slackware64-current ISO, more recent than this update.

Then, still from he installer, have the / of your installed system mounted as /mnt, bind mount /dev /sys and /proc to /mnt/dev, /mnt/sys and /mnt/proc, chroot /mnt, mount <your EFI partition> /boot/efi, then run elilo.

If that doesn't work, post the output of this command that you can type from an installer:
Code:
lsblk -l -o name,type,parttype,uuid,fstype|grep part

Last edited by Didier Spaier; 06-24-2018 at 09:35 AM.
 
Old 06-24-2018, 09:32 AM   #23
AlleyTrotter
Member
 
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-15.0
Posts: 783

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
It is definitely /dev/sda
The nvme is a completely separate install with its own efi partition same as /dev/sdb they each have their own efi partition and function independently of each other
There is no communication between them.

Code:
root@NVMe:/home/john# blkid
/dev/nvme0n1p1: SEC_TYPE="msdos" UUID="60DA-63BE" TYPE="vfat" PARTLABEL="EFI System" PARTUUID="4cd291fc-919e-486b-ab81-47a23f8e7d6d"
/dev/nvme0n1p2: UUID="332997c8-ec32-4f51-b934-5e19af018f06" TYPE="ext4" PARTLABEL="Linux filesystem" PARTUUID="269b5888-0d3a-4828-bdd0-0e1bbe41ea67"
/dev/nvme0n1p3: UUID="b9cf8e6c-4715-405c-8324-6ea8559a0eef" TYPE="ext4" PARTLABEL="Linux filesystem" PARTUUID="a89d5274-8f56-40c5-9811-0c39475a7b4b"
/dev/sdb1: UUID="B009-5963" TYPE="vfat" PARTLABEL="efiB" PARTUUID="e6b0afe1-a503-4b75-84b8-abe21d3df645"
/dev/sdb2: UUID="3ea5f8ca-6f32-43aa-9a67-5a432349038e" TYPE="ext4" PARTLABEL="rescue" PARTUUID="88950910-24b9-41d8-9a9a-4a16e69f602f"
/dev/sdb3: UUID="8f9ea94a-4756-4b4c-9431-853ac23160d5" TYPE="ext4" PARTLABEL="slack32" PARTUUID="720453f0-43b5-4bd1-99d6-043bb8bef8ff"
/dev/sdb4: UUID="58c2a789-42d4-49db-a2cd-3b291c77d1c5" TYPE="ext4" PARTLABEL="build" PARTUUID="ed57330b-f13c-45b3-96c3-612bff6cd61b"
/dev/sdb5: UUID="737b341e-3301-4902-b049-1f06ff0c7e59" TYPE="ext4" PARTLABEL="lfs" PARTUUID="bfef187f-91d6-45b7-9f7d-afe393eda532"
/dev/sdb6: UUID="7ef3160d-0780-473d-91cb-ccf0b1737e72" TYPE="ext4" PARTLABEL="vm" PARTUUID="33271126-919a-425b-aaa3-49fe84dacc09"
/dev/sdb7: UUID="884253b6-1c4a-4708-8099-4b3fa8f5ba90" TYPE="ext4" PARTLABEL="other" PARTUUID="4bf3d4bb-9f5a-493f-b911-8c659422e8c8"
/dev/sdb8: UUID="3079731c-9e2e-497d-af2e-e07bd21dbc2b" TYPE="ext4" PARTLABEL="current" PARTUUID="97f7fb71-9e46-4d00-950c-f43e031186ba"
/dev/sdb9: UUID="f3612a73-914c-465b-bc9b-687b52a83e9e" TYPE="ext4" PARTLABEL="iso" PARTUUID="4da87023-38ab-4c13-9963-e75d58a8d15e"
/dev/sdb10: UUID="eafd7bed-0e8e-4f7f-ae96-b8c164e9920f" TYPE="swap" PARTLABEL="swap" PARTUUID="30cf44dd-7020-4a44-a146-9719f1ebe21a"
/dev/sda2: UUID="cc15bd2f-4079-44a5-a197-8cae84479694" TYPE="ext4" PARTUUID="0d8ab700-f88c-994e-aeab-7c130588391e"
/dev/sr0: UUID="2018-06-23-08-22-00-43" LABEL="Slackware-current DVD" TYPE="iso9660"
/dev/sdd1: UUID="42759adc-2756-4f8f-a033-d093cd7f2195" TYPE="ext4" PARTLABEL="Toshiba" PARTUUID="25475122-abc2-48a2-bd19-6e5984ed6cc3"
/dev/sde: UUID="f45d9b60-f9cf-40b2-b7f2-4a7f05106de4" TYPE="ext4"
/dev/nvme0n1: PTUUID="3e52c9f1-013b-45f7-a144-98dc02499a25" PTTYPE="gpt"
/dev/sda1: PARTUUID="be334b20-c276-b740-8314-4042bc21ad28"

Last edited by AlleyTrotter; 06-24-2018 at 09:37 AM.
 
Old 06-24-2018, 09:44 AM   #24
laprjns
Member
 
Registered: Oct 2005
Location: Connecticut USA
Distribution: SalixOS
Posts: 206

Rep: Reputation: 108Reputation: 108
Code:
/dev/nvme0n1p1: SEC_TYPE="msdos" UUID="60DA-63BE" TYPE="vfat" PARTLABEL="EFI System" PARTUUID="4cd291fc-919e-486b-ab81-47a23f8e7d6d"

/dev/sda1: PARTUUID="be334b20-c276-b740-8314-4042bc21ad28"
Looks like your EFI partition is on the nvme device, not on sda

Last edited by laprjns; 06-24-2018 at 09:50 AM.
 
Old 06-24-2018, 11:53 AM   #25
AlleyTrotter
Member
 
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-15.0
Posts: 783

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Quote:
Originally Posted by laprjns View Post
Code:
/dev/nvme0n1p1: SEC_TYPE="msdos" UUID="60DA-63BE" TYPE="vfat" PARTLABEL="EFI System" PARTUUID="4cd291fc-919e-486b-ab81-47a23f8e7d6d"

/dev/sda1: PARTUUID="be334b20-c276-b740-8314-4042bc21ad28"
Looks like your EFI partition is on the nvme device, not on sda
no look closer there is an efi partition on
/dev/sda1 no label
/dev/sdb1 efiB label
/dev/nvme0n1p1 efi partion label

the one on sda is not recognized the label you are refering to is created during gdisk
 
Old 06-24-2018, 12:41 PM   #26
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
@AlleyTrotter: care to give the output of this command, as requested in my previous post?
Code:
lsblk -l -o name,type,parttype,uuid,fstype|grep part
The value we will find in the parttype field will tell with certainty which partitions are EFI System Partitions, as the UEFI specification states these values both in case of dos and gpt partition labels. blkid does not provide this information so its output is pointless in this case.

Last edited by Didier Spaier; 06-24-2018 at 12:43 PM.
 
1 members found this post helpful.
Old 06-24-2018, 01:19 PM   #27
AlleyTrotter
Member
 
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-15.0
Posts: 783

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Quote:
perhaps I should try to zero /dev/sda before starting the install.
WINNER WINNER CHICKEN DINNER!!!!!

zeroing the 1G of /dev/sda then proceeded with the install was the trick for my system.

Selecting Slackware entry from the UEFI menu (for me press F11)boots a new efi partition on /dev/sda1 with elilo.efi, elilo.conf and vmlinuz which now boots Slackware64-Current on /dev/sda2

my other efi partitions (sdb nvme0n1) are intact and still bootable from the UEFI menu.

Many Thanks for all the suggestions I forget which one made me think of zeroing, but that was the trick

Thanks To All
AlleyTrotter
 
Old 06-24-2018, 02:24 PM   #28
laprjns
Member
 
Registered: Oct 2005
Location: Connecticut USA
Distribution: SalixOS
Posts: 206

Rep: Reputation: 108Reputation: 108
[QUOTE=AlleyTrotter;5871413]
zeroing the 1G of /dev/sda then proceeded with the install was the trick for my system./QUOTE]

It's good that you got it fixed but it would have been nice to understand root cause. I was starting to suspect that you had the wrong file system on the sda1 something along the lines of a problem that I had due to a "lingering" file system after a repartitioning. See here
https://www.linuxquestions.org/quest...7/#post5810474

Writing zero to the first 1G of space would have cleared any lingering file system in that space. Do you think that is what happened?

Last edited by laprjns; 06-28-2018 at 06:24 PM.
 
1 members found this post helpful.
Old 06-24-2018, 02:36 PM   #29
AlleyTrotter
Member
 
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-15.0
Posts: 783

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Quote:
Writing zero to the fist 1G of space would have cleared any lingering file system in that space. Do you think that is what happened?
Yes I believe when selecting 'g' create a new gpt with fdisk it does not clear out everything.
I believe this because the installer merely add the efi partition to fstab, after zeroing it first, installer asked if it should format the efi partition then added it to fstab.
This was the only difference I noticed during the install.

Cheers
AlleyTrotter
 
  


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
[SOLVED] Slackware64-current (Mon Jun 18 06:19:23 UTC 2018) installer Kernel panic Skaendo Slackware 11 06-19-2018 03:20 PM
slackware-current breakage of MTP after [Wed May 23 04:42:29 UTC 2018] update lord_ Slackware 6 06-13-2018 05:34 AM
[SOLVED] slackware current Gimp Mon May 14 19:48:52 UTC 2018 Drakeo Slackware 3 05-15-2018 06:44 PM
Dual boot OS X and Slackware64-current (Thu Jun 27 23:56:34 UTC 2013) with elilo? janucaria Slackware 2 07-03-2013 07:56 AM

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

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