Can't boot Gentoo after install.

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Can't boot Gentoo after install.

Michael Manley
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

After installing Gentoo and rebooting, yaboot will say the following message

/ht@0,f2000000/pci@5/k2-sata-root@c/k2-sata@1/disk@0:4, /vmlinux: No such file or directory

Thing is, the /boot partition (sda4) HAS a vmlinux file, does exist, and is a proper filesystem (ext2) that should be readable by yaboot.

- ------------------------------------------------------------------------------------------------------
The partitions mounted
/dev/sda5 on /mnt/gentoo type jfs (rw)
/dev/sda4 on /mnt/gentoo/boot type ext2 (rw)
- ------------------------------------------------------------------------------------------------------
The yaboot.conf file
## yaboot.conf generated by yabootconfig 1.0.8
##
## run: "man yaboot.conf" for details. Do not make changes until you have!!
##
## For a dual-boot menu, add one or more of:
## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ

boot=/dev/sda2
device=/ht@0,f2000000/pci@7/k2-sata-root@c/k2-sata@0/disk@0:
partition=4
root=/dev/sda5
timeout=30
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot

image=/vmlinux
label=Linux
append="init=/usr/lib/systemd/systemd"
read-only
- ------------------------------------------------------------------------------------------------------

Why is this?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQEcBAEBAgAGBQJSbfA2AAoJEBhhDPWsvgsp/IcIAJGMm1GL+X2J+rPUR1oDI4gg
RmKTwPMEVHqoeTmixfeoaEz3wW4T4Q05wOSedVDANNhLD5bARpOZPSJn/9r7uQSS
6T1PbtiK8Kmp7X9Iu/h3r+Km04cnpaDJR5gAbrxpt4/Z0H1ea3EA6CvK5Z0z/HUH
bgtO26bFlVYqh9/Yu22ugTJDbLwK6+Y7zXaW9TE7zc8twt8dZSNITKw5lk2vbljy
h/QzrwPdnp2EFpPYfptyXrR314H0G2wGBnhgu/y/sSEvuKvjxHJklc6OwOWNAdJS
N+jXpfbahEJIRsG0lp/2qRdPG/pJ8r8JjmEs3MUZUFyEOj+Kz2plfzWAS8Y2GSA=
=n5tS
-----END PGP SIGNATURE-----

Reply | Threaded
Open this post in threaded view
|

Re: Can't boot Gentoo after install.

Klaus Müller-2
Michael Manley wrote:
> /ht@0,f2000000/pci@5/k2-sata-root@c/k2-sata@1/disk@0:4, /vmlinux: No such
> file or directory
>
> Thing is, the /boot partition (sda4) HAS a vmlinux file, does exist, and is
> a proper filesystem (ext2) that should be readable by yaboot.

This error message is obviously wrong and hides the real error.
Reinstall yaboot with debug output activated and try again.

mk

Reply | Threaded
Open this post in threaded view
|

Re: Can't boot Gentoo after install.

Michael Manley
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

It seems the fix was to just downgrade e2fsprogs down to 1.42.1 then it booted Gentoo
perfectly. Seems to be a bug with Yaboot with newer e2fsprogs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQEcBAEBAgAGBQJSfARvAAoJEBhhDPWsvgspPewIAMV9YToKOBDmAJnWdeD6o4wU
mx4OiZcxJWeVHu1577ofbGcJ1bH7LwdNJBISlsALHdJUyIQWredB4KI70Gx9JTCG
1JX8f83RQPL30PFUm81RObTS4FNRyga0vekkDD9zA6KvOX89Vl0WytIspy1xZdSJ
YZXRw7966KBpSOzaxrlAxOmo0gefzBnapuboWZjFhEThC1CP5iF3+rBJbU7mP1uO
R2OJA3oTif3CVexFWWt2SS4YN9pejXOlxfV0rPYEKF4BaaYojlh1TMY1O11e3iLr
KFVcbJmLfPaybXTd2lt/tb7TJ+go1wh9ulzcrTzXv0OVY0O5SCjvcLSP8EQbyfQ=
=sqcI
-----END PGP SIGNATURE-----



On Fri, Nov 1, 2013 at 3:16 PM, Klaus Müller <[hidden email]> wrote:
Michael Manley wrote:
> /ht@0,f2000000/pci@5/k2-sata-root@c/k2-sata@1/disk@0:4, /vmlinux: No such
> file or directory
>
> Thing is, the /boot partition (sda4) HAS a vmlinux file, does exist, and is
> a proper filesystem (ext2) that should be readable by yaboot.

This error message is obviously wrong and hides the real error.
Reinstall yaboot with debug output activated and try again.

mk