You are not logged in.

#26 2013-09-17 12:52:14

pks
Member
From: Germany
Registered: 2012-07-20
Posts: 110

Re: [SOLVED] Kernel without initrd: can't boot

nierro wrote:

My god it worked!!!

LABEL uksm-noin
	MENU LABEL Arch Linux
	LINUX ../vmlinuz-linux-uksm
	APPEND  rw root=/dev/sda1

Leaving only "rw" and "root=" in APPEND, worked. So there must be something there that prevent it from booting...now debugging smile

EDIT: the problem is caused by "rootflags", but i don't understand why. Any idea?

Phew, finally. By rootflags you mean rootfstype?

Offline

#27 2013-09-17 12:54:19

nierro
Member
From: Milan, Italy
Registered: 2011-09-02
Posts: 849

Re: [SOLVED] Kernel without initrd: can't boot

Nope, i mean

LABEL uksm
	MENU LABEL Arch Linux
	LINUX ../vmlinuz-linux-uksm
	APPEND  rw root=/dev/sda1 quiet logo.nologo loglevel=1 fastboot acpi_backlight=vendor ipv6.disable=1 i915.lvds_downclock=1 pcie_aspm=force i915.i915_enable_ppgtt=1 i915.i915_enable_rc6=3 raid=noautodetect nmi_watchdog=0 libahci.ignore_sss=1
#rootflags=noatime,nobarrier,data=writeback,nobh,commit=600

The rootflags= option really should only be needed on systems that do not use an
initrd...

https://bugzilla.redhat.com/show_bug.cgi?id=151961 (yes it is from 2005, but it was the only i found)
So?

Last edited by nierro (2013-09-17 13:00:07)

Offline

#28 2013-09-17 13:00:41

pks
Member
From: Germany
Registered: 2012-07-20
Posts: 110

Re: [SOLVED] Kernel without initrd: can't boot

Huh? You didn't mention those rootflags before. I guess you'll have some unsupported options in there. You could try to remount your file system while booted into it with those rootflags and the kernel might spit out an error.

Offline

#29 2013-09-17 13:02:42

nierro
Member
From: Milan, Italy
Registered: 2011-09-02
Posts: 849

Re: [SOLVED] Kernel without initrd: can't boot

I posted all my syslinux config, but code tag cut it probably, sorry.
Btw i'll try!

Offline

#30 2013-09-17 13:04:45

nierro
Member
From: Milan, Italy
Registered: 2011-09-02
Posts: 849

Re: [SOLVED] Kernel without initrd: can't boot

And see what dmesg says:

EXT4-fs (sda1): Cannot change data mode on remount

In fact, without data=writeback, it works.
But...why?

EDIT: by the way "rootflags=" (without data=writeback") again gives me kernel panic...

Last edited by nierro (2013-09-17 13:17:55)

Offline

#31 2013-09-17 13:19:43

pks
Member
From: Germany
Registered: 2012-07-20
Posts: 110

Re: [SOLVED] Kernel without initrd: can't boot

You could try to mount your partition as "ro" and create an fstab entry with your desired flags. This way I think it should work.

Offline

#32 2013-09-17 13:21:23

nierro
Member
From: Milan, Italy
Registered: 2011-09-02
Posts: 849

Re: [SOLVED] Kernel without initrd: can't boot

But I'll probably stick with kernel default mount options wink

Hey really thank you, man! You helped me a lot! At least not to get crazy big_smile
I'll close this topic, thanks!

Offline

Board footer

Powered by FluxBB