Slackware - Installation This forum is for the discussion of installation issues with Slackware. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-11-2018, 08:54 PM
|
#1
|
Member
Registered: Jun 2018
Posts: 37
Rep: 
|
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:
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...
|
|
|
07-12-2018, 03:20 PM
|
#2
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,408
Rep: 
|
Quote:
Originally Posted by Jeff-G
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:
|
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.
|
07-13-2018, 06:04 PM
|
#3
|
Member
Registered: Jun 2018
Posts: 37
Original Poster
Rep: 
|
Quote:
Originally Posted by Didier Spaier
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.
|
|
|
07-13-2018, 06:24 PM
|
#4
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,408
Rep: 
|
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.
|
|
|
All times are GMT -5. The time now is 10:23 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|