Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#12347 - grub2 - wrong grub.cfg ?

Attached to Project: Arch Linux
Opened by Alois Nespor (anespor) - Friday, 05 December 2008, 08:22 GMT
Last edited by Ronald van Haren (pressh) - Friday, 05 December 2008, 10:56 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ronald van Haren (pressh)
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

After installing a restarting grub2 not find boot the kernel - kernel not found.
grub.conf :

# (0) Arch Linux
menuentry "Arch Linux" {
set root=(hd0,1)
linux /vmlinuz26 root=/dev/sda1 ro
initrd /kernel26.img
}


After the change to

# (0) Arch Linux
menuentry "Arch Linux" {
set root=(hd0,1)
linux /boot/vmlinuz26 root=/dev/sda1 ro
initrd /boot/kernel26.img
}

loader grub then works without any problems

I changed the http://wiki.archlinux.org/index.php/GRUB2, and added */boot/*

Additional info:
* package version(s)

grub2-1.96-2

* config and/or log files etc.

/boot/grub.cfg


Steps to reproduce:
This task depends upon

Closed by  Ronald van Haren (pressh)
Friday, 05 December 2008, 10:56 GMT
Reason for closing:  Not a bug
Additional comments about closing:  grub.cfg needs to be modified on a per system basis by the user
Comment by Jan de Groot (JGC) - Friday, 05 December 2008, 08:45 GMT
How was this grub.cfg thing written, is it autogenerated? When your /boot is on a standalone volume, /boot/ should not be prepended. When /boot/ resides on your rootfs, you'll have to prepend /boot/ for every path.
Comment by Alois Nespor (anespor) - Friday, 05 December 2008, 09:28 GMT
I installed Grub2 (grub-install /dev/sda) and edited /boot/grub/grub.cfg. Is not autogenerated. I have /boot/ on my rootfs, not standalone volume.
Comment by Alois Nespor (anespor) - Friday, 05 December 2008, 09:29 GMT
split grub.cfg in http://wiki.archlinux.org/index.php/GRUB2 for /boot/ is on a standalone volume and /boot/ is on rootfs ?
Comment by Glenn Matthys (RedShift) - Friday, 05 December 2008, 10:05 GMT
Wait a minute, you opened a bugreport because you had to modify your grub.cfg to fit your configuration?
Comment by Ronald van Haren (pressh) - Friday, 05 December 2008, 10:10 GMT
the config is not auto generated. AFAIK that does not work, I only was able to create borked ones (if someone finds out how to auto generate a correct grub.cfg I'm happy to look into it.

Besides, the .install file clearly states that the config file needs to be changed I think?
Comment by Alois Nespor (anespor) - Friday, 05 December 2008, 10:36 GMT
@RedShift

no, i open a bugreport because I thought that this is a bug. It 's too bad?

---
Official Arch Linux Install Guide does not say anything that muss be to create a /boot partition (except the Auto-Prepare).
I assume, therefore, that many users using the /boot on rootfs.
---

@pressh

Yes, I looked at the wiki and is not written anywhere that /boot on rootfs is a need to add /boot/.
I propose to add information to the Wiki.
Comment by Ronald van Haren (pressh) - Friday, 05 December 2008, 10:40 GMT
@anespor: feel free to add it in any way you see fit, it is a public document.

Do you if I close this now?
Comment by Ronald van Haren (pressh) - Friday, 05 December 2008, 10:41 GMT
so I meant to say, do you mind if I close this now?
Comment by Glenn Matthys (RedShift) - Friday, 05 December 2008, 10:43 GMT
@anespor: No, this is not a bug. You're supposed to interpret what the wiki says, not blindly follow it.
Comment by Alois Nespor (anespor) - Friday, 05 December 2008, 10:49 GMT
sorry for you time, guys

Loading...