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 > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 07-11-2018, 08:54 PM   #1
Jeff-G
Member
 
Registered: Jun 2018
Posts: 37

Rep: Reputation: Disabled
Install issues - elilo install 64-14.2-current huge


Installer seemed, to me, to have changed my own boot partition /sda1's format from fat32 to fat16 during the target phase. I had used 'mkfs.msdos 32 -f' after reading of fat issues and links. In looking into my partitions, I noticed elilo put 3 directories into my EFI partition:

Quote:
?*.keep
?grub
?efi
all links and all inaccessible and no boot, of course. parted showed /sda1 to be fat16. I reformatted it to fat32 and was able to correct tree structure and get elilo installed, at which point elilo.conf was created:

Quote:
chooser=simple
delay=1
timeout=1
#
image=vmlinuz
label=vmlinuz
read-only
append="root=/dev/initramfs vga=normal ro"
Produced kernel panics until I changed that root to /dev/sda3 and it works.

better lucky than smart?

In case it helps anyone...
 
Old 07-12-2018, 03:20 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,056

Rep: Reputation: Disabled
Quote:
Originally Posted by Jeff-G View Post
Installer seemed, to me, to have changed my own boot partition /sda1's format from fat32 to fat16 during the target phase.
No, it didn't. I just double checked and the command in the installer is exactly:
Code:
mkfs.vfat -F 32 -s 2 ${PREFERRED_EFI_PARTITION} 1> /dev/null 2> /dev/null
I wonder what you have done ???

I suspect that the partition was just already formatted in FAT16. In case the installer finds an EFI partition already formatted, it doesn't reformat it. Else, it tells the user that it found a not yet formatted FAT partition and asks if it should format it

Quote:
I noticed elilo put 3 directories into my EFI partition:
Code:
?*.keep
?grub
?efi
Again, no. Either you looked into /boot instead of in /boo/efi or (and more probably) these files remain from a previous installation, as the installer certainly doesn't write at least the two first ones in the EFI partition.

Quote:
all links and all inaccessible and no boot, of course. parted showed /sda1 to be fat16.
This seems to confirm my assumption: this remains from a previous installation.

Quote:
In case it helps anyone...
Maybe, as it provides an advice to all: wipe previous file system and files from an existing EFI partition that you are going to use for installing Slackware before running the installer.

Last edited by Didier Spaier; 07-12-2018 at 05:15 PM.
 
1 members found this post helpful.
Old 07-13-2018, 06:04 PM   #3
Jeff-G
Member
 
Registered: Jun 2018
Posts: 37

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Didier Spaier View Post
No, it didn't. I just double checked and the command in the installer is exactly:
Code:
mkfs.vfat -F 32 -s 2 ${PREFERRED_EFI_PARTITION} 1> /dev/null 2> /dev/null
I wonder what you have done ???
Good question - and sorry for the late reply and thanks for replying - this exercise has been an ordeal - I just have to learn to stop from making those leaps of intuition which aren't anyway close to the reality. This mkfs thing has me baffled but thats nothing new. I used mkfs.msdos, not .vfat. I had several rejects in this stage since I knew it needed to be fat32 (or thought I did). My using 8304 - Linux x86-64 root seemed fine to me as well.

Quote:
I suspect that the partition was just already formatted in FAT16. In case the installer finds an EFI partition already formatted, it doesn't reformat it. Else, it tells the user that it found a not yet formatted FAT partition and asks if it should format it
Not my recollection but I did 4 installs before getting anywhere - I was changing my notes faster than I change my socks. But the installer DID redo what I had done 3 times with boot and swap, once with the file system.


Quote:
Again, no. Either you looked into /boot instead of in /boo/efi or (and more probably) these files remain from a previous installation, as the installer certainly doesn't write at least the two first ones in the EFI partition.
You're correct, it was /boot and I wasted a week chasing this tail.

Quote:
This seems to confirm my assumption: this remains from a previous installation.
Don't think so - after install #2, I 'dd-zero'd' the drive and by then was aware of the fs error, making sure I had fat32.

Quote:
Maybe, as it provides an advice to all: wipe previous file system and files from an existing EFI partition that you are going to use for installing Slackware before running the installer.
Now you tell me...
Thanks for showing me the error of my ways, Didier.
 
Old 07-13-2018, 06:24 PM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,056

Rep: Reputation: Disabled
Just for your information:
Code:
didier[~]$ ls -l /sbin/mkfs*
-rwxr-xr-x 1 root root   9904 déc.  11  2015 /sbin/mkfs
-rwxr-xr-x 1 root root  25216 déc.  11  2015 /sbin/mkfs.bfs
-rwxr-xr-x 1 root root 331712 mai   20  2016 /sbin/mkfs.btrfs
-rwxr-xr-x 1 root root  32200 déc.  11  2015 /sbin/mkfs.cramfs
lrwxrwxrwx 1 root root      6 sept. 14  2016 /sbin/mkfs.ext2 -> mke2fs
lrwxrwxrwx 1 root root      6 sept. 14  2016 /sbin/mkfs.ext3 -> mke2fs
lrwxrwxrwx 1 root root      6 sept. 14  2016 /sbin/mkfs.ext4 -> mke2fs
lrwxrwxrwx 1 root root      6 sept. 14  2016 /sbin/mkfs.ext4dev -> mke2fs
-rwxr-xr-x 1 root root  28016 août  15  2015 /sbin/mkfs.fat
lrwxrwxrwx 1 root root      8 août   2  2016 /sbin/mkfs.jfs -> jfs_mkfs
-rwxr-xr-x 1 root root  70848 déc.  11  2015 /sbin/mkfs.minix
lrwxrwxrwx 1 root root      8 août   2  2016 /sbin/mkfs.msdos -> mkfs.fat
lrwxrwxrwx 1 root root     12 août   2  2016 /sbin/mkfs.ntfs -> /sbin/mkntfs
lrwxrwxrwx 1 root root     10 août   2  2016 /sbin/mkfs.reiserfs -> mkreiserfs
lrwxrwxrwx 1 root root      8 août   2  2016 /sbin/mkfs.vfat -> mkfs.fat
-rwxr-xr-x 1 root root 359496 déc.  15  2015 /sbin/mkfs.xfs
So writing mkfs.fat, mkfs.vfat or mkfs.msdos has exactly the same effect

Furthermore you don't have to worry about the -F option as "man mkfs.fat" says:
Code:
       -F FAT-SIZE
           Specifies the type of file allocation tables used (12, 16 or 32 bit).  If nothing is  specified,
           mkfs.fat  will  automatically  select  between  12,  16 and 32 bit, whatever fits better for the
           filesystem size.

Last edited by Didier Spaier; 07-13-2018 at 06:26 PM.
 
  


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] elilo does not boot 4.14.0-huge (size >8MB) zerouno Slackware 22 11-22-2017 05:31 AM
[SOLVED] [-CURRENT] NVME elilo install failed Freaksta Slackware - Installation 3 06-18-2017 03:08 PM
[SOLVED] how to install elilo after installing windows 7? rubankumars Slackware 1 08-21-2014 12:57 AM
14.1 Install on a Thinkpad W530.... where is elilo; fdisk and cgdisk discrepancies bimboleum Slackware - Installation 2 12-20-2013 04:45 AM

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

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