You are not logged in.

#1 2012-01-01 16:14:32

battlepanic
Member
Registered: 2009-08-22
Posts: 76

[SOLVED] vmlinuz-linux kernel image location in GRUB

I noticed that with a recent Arch Linux install, the fille /etc/boot/grub/menu.lst is referenced as being /vmlinuz-linux and NOT /boot/vmlinuz-linux, where it actually resides.  How can this be?  The relevant portion of menu.lst is as follows.

# (0) Arch Linux
title  Arch Linux
root   (hd0,0)
kernel /vmlinuz-linux root=/dev/disk/by-uuid/84dc2709-3903-4ca6-93d7-8d01e4c09f88 ro
initrd /initramfs-linux.img

As a test, I tried making a similar change to an older Arch install on another machine.  In that case the kernel image cannot be found when it as specified as being in the root directory.

Last edited by battlepanic (2012-01-02 19:32:00)

Offline

#2 2012-01-01 16:17:53

irrlicht
Member
Registered: 2010-12-06
Posts: 107

Re: [SOLVED] vmlinuz-linux kernel image location in GRUB

symbolic link i guess.


Everything less than immortality is a complete waste of time!

Offline

#3 2012-01-01 17:05:14

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: [SOLVED] vmlinuz-linux kernel image location in GRUB

/boot is on its own partition and thus omitted from the abs path

From my system:

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux, with Linux ck' --class archlinux --class gnu-linux --class gnu --class os {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt
	insmod ext2
	set root='(hd0,gpt5)'
	search --no-floppy --fs-uuid --set=root 1fc3ed64-0a1e-4e26-860c-6e63da3a35ea
	echo	'Loading Linux ck ...'
	linux	/vmlinuz-linux-ck root=UUID=abc80b35-4c7c-22a1-ba3c-22ec02aefb52 ro  quiet
	echo	'Loading initial ramdisk ...'
	initrd	/initramfs-linux-ck.img
}

Last edited by graysky (2012-01-01 17:06:32)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#4 2012-01-02 19:31:47

battlepanic
Member
Registered: 2009-08-22
Posts: 76

Re: [SOLVED] vmlinuz-linux kernel image location in GRUB

graysky wrote:

/boot is on its own partition and thus omitted from the abs path

This probably explains it.  I can confirm that the more recent installation uses a separate boot partition.

Offline

Board footer

Powered by FluxBB