[SOLVED] mkfs.ext4 issue? Slackware64 with Fri May 20 updates
SlackwareThis Forum is for the discussion of Slackware Linux.
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.
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.
mkfs.ext4 issue? Slackware64 with Fri May 20 updates
Not sure what went wrong here, I've set up a new test partition using gdisk then ran mkfs.ext4 as usual, done this successfully dozens of times in the past.
Code:
mkfs.ext4 -L test /dev/sda11
I reboot. I'm using Grub2 so I go into the grub console to verify
Code:
ls (hd0,gpt11)
Partion hd0,11: No known filesystem detected - Partition start at ...
Re-tried with an old test partition on sda8, ran mkfs.ext4 on it, rebooted, went into the Grub2 console and got the same result, "No known filesystem".
Then I try again using the Slackware ISO install media, run setup, pick and format a partition etc then reboot into Grub2, same result, newer ext4 partitions are not recognizable. I give this another shot by rebooting into my work partition and trying ntfs this time:
Code:
mkfs.ntfs -f -L testing /dev/sda11
Another reboot, go into Grub2 console and this time Grub2 can see the partition and the filesystem on it
Code:
ls (hd0,gpt11)
Partition hd0,11: Filesystem type ntfs - Label 'testing', UUID...
A couple more tries, using mkfs.ext2 and ext3, no issues, test partitions are visible in Grub2. Also, existing older ext4 partitions are recognizable in Grub2.
Any ideas?
mkfs.ext4 issue? Slackware64 with Fri May 20 updates
Editing the mk2fs.conf with default 64-bit to 0 was enough for me : backed up the files on boot part, format the part, restore the files and the grub boots :-)
Wed May 25 04:20:09 UTC 2016
...
a/e2fsprogs-1.43-x86_64-2.txz: Rebuilt.
Do not use 64-bit by default on ext4, since some bootloaders cannot handle
it yet. But use "auto_64-bit_support = 1", which will enable 64-bit if the
number of blocks for the file system requires the feature to be enabled.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.