[arch-general] Grub2 config file needs to be tweaked with last official ISO
Hello. I've done today an install of archlinux in a virtualbox session. When I installed grub2 using pacstrap /mnt grub2-bios, I noticed that generated grub.cfg is not usable easily. As a workaround, I installed syslinux, and after first boot, I tweaked grub.cfg file. First, I removed "/boot" from both kernel and initramfs lines. After that, I copied the correct UUID from /etc/fstab file. I used my real box grub2 config file to fix this issue. Any idea to get a directly working grub.cfg file ? Thanks. -- Frederic Bezies fredbezies@gmail.com
On 22.07.2012 13:40, fredbezies wrote:
Hello.
I've done today an install of archlinux in a virtualbox session.
When I installed grub2 using pacstrap /mnt grub2-bios, I noticed that generated grub.cfg is not usable easily.
As a workaround, I installed syslinux, and after first boot, I tweaked grub.cfg file.
First, I removed "/boot" from both kernel and initramfs lines.
After that, I copied the correct UUID from /etc/fstab file. I used my real box grub2 config file to fix this issue.
Any idea to get a directly working grub.cfg file ?
grub-mkconfig -o /boot/grub/grub.cfg ps. any special reason that you have a separate /boot partition? -- дамјан
2012/7/22 Damjan <gdamjan@gmail.com>:
On 22.07.2012 13:40, fredbezies wrote:
Hello.
I've done today an install of archlinux in a virtualbox session.
When I installed grub2 using pacstrap /mnt grub2-bios, I noticed that generated grub.cfg is not usable easily.
As a workaround, I installed syslinux, and after first boot, I tweaked grub.cfg file.
First, I removed "/boot" from both kernel and initramfs lines.
After that, I copied the correct UUID from /etc/fstab file. I used my real box grub2 config file to fix this issue.
Any idea to get a directly working grub.cfg file ?
grub-mkconfig -o /boot/grub/grub.cfg
Will try it... As I installed grub2 on my real computer within archboot install process :)
ps. any special reason that you have a separate /boot partition?
Old habit ? :)
-- дамјан
-- Frederic Bezies fredbezies@gmail.com
Am 22.07.2012 13:50, schrieb Damjan:
ps. any special reason that you have a separate /boot partition?
/boot is still mentioned in the beginner's guide on https://wiki.archlinux.org/index.php/Beginners%27_Guide#Selecting_a_partitio... Maybe it should be removed there ? Kind regards, Nelson.
Am Sun, 22 Jul 2012 14:34:12 +0200 schrieb Nelson Marambio <nelsonmarambio@gmx.de>:
Am 22.07.2012 13:50, schrieb Damjan:
ps. any special reason that you have a separate /boot partition?
/boot is still mentioned in the beginner's guide on https://wiki.archlinux.org/index.php/Beginners%27_Guide#Selecting_a_partitio...
Maybe it should be removed there ?
No, a separate /boot partition is still necessary if the whole harddisk is encrypted with dm-crypt/LUKS. I haven't heard yet that grub2 is able to unlock LUKS containers. And if not kept mounted, it can also make the system a bit more secure for really paranoid people. Btw., if I recall correctly somewhere in the grub2 docs or Wiki I read something that in some cases (BIOS/MBR or something like that) a separate /boot partition is necessary. Heiko
Am 22.07.2012 14:50, schrieb Heiko Baums:
Am Sun, 22 Jul 2012 14:34:12 +0200 schrieb Nelson Marambio <nelsonmarambio@gmx.de>:
Am 22.07.2012 13:50, schrieb Damjan:
ps. any special reason that you have a separate /boot partition?
/boot is still mentioned in the beginner's guide on https://wiki.archlinux.org/index.php/Beginners%27_Guide#Selecting_a_partitio...
Maybe it should be removed there ?
No, a separate /boot partition is still necessary if the whole harddisk is encrypted with dm-crypt/LUKS. I haven't heard yet that grub2 is able to unlock LUKS containers.
And if not kept mounted, it can also make the system a bit more secure for really paranoid people. Btw., if I recall correctly somewhere in the grub2 docs or Wiki I read something that in some cases (BIOS/MBR or something like that) a separate /boot partition is necessary.
Heiko
I see, thanks a lot ! :)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 07/22/12 05:50, Heiko Baums wrote:
Btw., if I recall correctly somewhere in the grub2 docs or Wiki I read something that in some cases (BIOS/MBR or something like that) a separate /boot partition is necessary.
If I'm understanding correctly, this hasn't been true of any system manufactured in quite some time. As of the late 1990s into very early 2000s, as disk sizes got larger they expanded beyond the reach of the PC BIOS. And so the initial segment of code to be loaded had to be within a certain range--I don't even remember what that range was, it's been so long. - -- David Benfell benfell@parts-unknown.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJQDHqcAAoJELT202JKF+xpUrsP/20KJOUIpZx4alkJfu0ar/JN he8ts8gU2hZxxIKxVHYLzf4EaBIfzSTfZ1EbE38O0J3gPv4RQZMyntDszAvpctsH 1dOmDAkR8BtncaLREiZ4QcnMY9XMiFad2xZ2/WMQg8gJIHJcdtXEIxhR0wroWEyd BTKWaaliqZKljboXsMJZ10zJo0tVkiH5eDG9KS8VF0kh5p+9FwB/NNGd6Cyb8Z3V xQJN+2PGihM2kRUN1/+0Oi9X3sY3NFJ46qvL6ZThHWop417D13il2VsEsGjS56P4 4bQbeZY/Dlz4ZUufJ33IjodE2c7lBffTeczVLViIGz+cwLfdN1HJptNPJpbpRpaJ mmptDbVrdjfqDi6Ex5/hiK4mhYi2+4hGAz/MFKmpY+4wgqapdlWfMKYx0B+xvkHa TL2ilFSYYYKqSHNuFPaEXtV2GhxM4a3VgUMrbFXv4hGsgg8ZKWu7WpKU8TaPp/8I lREFx8UQZ5Dc85bE/9I1zxIPfqj23B2kJ+y9ycTtQ1Wpi+iFFaUATJJVsFvph7X4 tno3uVjBYQrIgVf5tUiPu1f8vmeo0JVqA4SV1KmFJ12cdm4C1/phbPgLE9Px88Fe BdF1PBqyZNsO9BhuitTppuSvNeEwCCHFg3NxcngYNmJ4e4K2258tD9rPO7DYirMc CUGjZ+Gui9XOPimgJ7B2 =nsH3 -----END PGP SIGNATURE-----
On 22 Jul 2012 12:49, "Damjan" <gdamjan@gmail.com> wrote:
ps. any special reason that you have a separate /boot partition?
I think it was a requirement for when using btrfs.
-- дамјан
participants (6)
-
Damjan
-
David Benfell
-
fredbezies
-
Heiko Baums
-
Leonidas Spyropoulos
-
Nelson Marambio