[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cannot boot after distro upgrade



	Hi.

On Sun, Sep 01, 2019 at 05:01:39PM +0200, Miroslav Skoric wrote:
> On 8/31/19 3:48 PM, Reco wrote:
> 
> > On Sat, Aug 31, 2019 at 03:41:12PM +0200, Miroslav Skoric wrote:
> > > On 8/31/19 3:26 PM, Reco wrote:
> > > 
> > > > 
> > > > Boot with init=/bin/bash kernel commandline parameter, remount root
> > > > filesystem read-write, fix your /etc/fstab (systemd is picky about
> > > > filesystems it's not able to mount, and no, "noauto" won't fix it),
> > > > reboot once more.
> > > 
> > > Sorry for my ignorance, but where to put that "init=/bin/bash"? Here I have LILO and it starts booting properly.
> > 
> > http://tldp.org/HOWTO/LILO-2.html , chapter 2.3.
> > 
> 
> Ok Reco, I managed to crawl through this a little bit (I am an old person), so when I reached prompt, did that:
> 
...
> root@(none):/# mount -a
> [ 1024.810706] EXT3-fs (dm-6): error: couldn't mount because of unsupported optional features (8000)

This. Everything else is secondary.
8000 (it's in hex) means EXT4_FEATURE_INCOMPAT_INLINE_DATA (had to
search kernel source for this), which is "inline_data" ext4-only
feature.

So, either the superblock of this filesystem is damaged, or you're
trying to mount ext4 filesystem as ext3 (won't going to work).

So, let's do something easy and non-destructive first (I assume that
/tmp does not contain anything useful):

tune2fs -l /dev/localhost/tmp

fsck.ext3 -f -n /dev/localhost/tmp

fsck.ext4 -f -n /dev/localhost/tmp

fsck.ext3 -b 8193 -f -n /dev/localhost/tmp

fsck.ext4 -b 8193 -f -n /dev/localhost/tmp

And, for the good measure,

uname -a

Reco


Reply to: