Re: [arch-general] grub2 + luks + keyfile

2012-08-21 Thread Adrian Pop
Seems I forgot to add the usb hook.  It works now.  Thank you for replying and 
directing my attention towards mkinitcpio.


Re: [arch-general] grub2 + luks + keyfile

2012-08-20 Thread Matthew Monaco
On 08/20/2012 04:47 PM, Adrian Pop wrote:
 Hello,
 
 I'm trying to configure grub2 to read a keyfile from a usb flash drive
 in order to decrypt the root partition.  The grub2 wiki page specifies
 that in order to decrypt the root partition, the following should be
 added in /etc/default/grub:
 

Just to be clear, it's the mkinitcpio encrypt hook that's reading the keyfile,
grub2 seems to be configure just fine (so far).

   GRUB_CMDLINE_LINUX=cryptdevice=/dev/sda2:root
 
 
 Also an earlier version of the luks wiki page, that was intended for
 grub-legacy, mentioned that to decrypt the root partition using a
 keyfile, the following kernel parameter has to be added:
 
   cryptkey=/dev/disk/by-uuid/uuid:vfat:/keyfile
 
 
 So I've attempted to add both of these parameters in /etc/default/grub:
 
   GRUB_CMDLINE_LINUX=cryptdevice=/dev/sda2:root
   cryptkey=/dev/disk/by-uuid/3848-EFD5:vfat:/keyfile
 
 
 I've also added the encrypt hook and vfat module in
 /etc/mkinitcpio.conf.
 

I don't remember if these are exempt from autodetect. You can try

lsinitcpio /boot/initramfs-linux.img | grep fat

to verify that it's on there. I think there's also a fat module which is
needed by vfat, I don't know if mkinitcpio pulls in module deps as well.

You can also try the fallback image.

 This is displayed while booting up:
 
   :: running early hook [udev]
   :: running hook [udev]
   :: Triggering uevents...
   :: running hook [encrypt]
   Waiting 10 seconds for device /dev/disk/by-uuid/3848-EFD5 ...
   Keyfile could not be opened. Reverting to passphrase.
 

I know that message kind of looks like the device is not found, but it's likely
a problem with mounting the filesystem.

 
 The usb flash drive is formated with mkfs.vfat and contains just the
 keyfile.  I would greatly appreciate any advice.
 


Re: [arch-general] Grub2 config file needs to be tweaked with last official ISO

2012-07-22 Thread Damjan

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?


--
дамјан


Re: [arch-general] Grub2 config file needs to be tweaked with last official ISO

2012-07-22 Thread fredbezies
2012/7/22 Damjan gdam...@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
fredbez...@gmail.com


Re: [arch-general] Grub2 config file needs to be tweaked with last official ISO

2012-07-22 Thread Nelson Marambio

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_partitioning_scheme


Maybe it should be removed there ?

Kind regards,
Nelson.


Re: [arch-general] Grub2 config file needs to be tweaked with last official ISO

2012-07-22 Thread Heiko Baums
Am Sun, 22 Jul 2012 14:34:12 +0200
schrieb Nelson Marambio nelsonmaram...@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_partitioning_scheme
 
 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


Re: [arch-general] Grub2 config file needs to be tweaked with last official ISO

2012-07-22 Thread Nelson Marambio

Am 22.07.2012 14:50, schrieb Heiko Baums:

Am Sun, 22 Jul 2012 14:34:12 +0200
schrieb Nelson Marambio nelsonmaram...@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_partitioning_scheme

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 ! :)


Re: [arch-general] Grub2 config file needs to be tweaked with last official ISO

2012-07-22 Thread Leonidas Spyropoulos
On 22 Jul 2012 12:49, Damjan gdam...@gmail.com wrote:

 ps.
 any special reason that you have a separate /boot partition?

I think it was a requirement for when using btrfs.


 --
 дамјан


Re: [arch-general] Grub2 config file needs to be tweaked with last official ISO

2012-07-22 Thread David Benfell
-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
benf...@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-


Re: [arch-general] Grub2

2012-03-28 Thread Don deJuan

On 03/28/2012 12:42 AM, Ronny Karrestad wrote:

På Tue, 27 Mar 2012 23:43:36 -, skrev Don deJuan
donjuans...@gmail.com:


On 03/26/2012 03:08 AM, Paul Gideon Dann wrote:

On Monday 26 Mar 2012 02:18:53 Saurav Modak wrote:

Have you tried manually adding it in grub.cfg BTW?


Editing grub.cfg is a naughty thing to do with Grub2 :p The correct
thing
to do would be to add the fallback to /etc/grub.d/41_custom. However,
Grub
previously automatically detected the fallback correctly. I'm
wondering why
it doesn't now.

Paul


After a kernel panic on boot after todays kernel update (unrelated)
while doing things to get back up and running I just realized this as
well. I do not have a fallback image for either of the 2 kernels I run
for arch.


I think after a grub2 upgrade first you have to install new grub to MBR
and then update grub config.



I had no issue installing grub2, I only noticed it was missing the 
fallback image when I needed it as both my kernel and arch paniced on 
boot so was going to try one of those. I ran grub-mkconfig after the 
install and it does not find them. I just tried running os-prober and 
grub-mkconfig again a couple hours ago with still not luck so just added 
them in myself. Also the stated kernel panic and grub2 install did not 
happen at the same time I only noticed it was missing due to the panic, 
grub2 was done each time it came from the repo's that day.


Re: [arch-general] Grub2

2012-03-28 Thread Kirill Churin
On Wed, Mar 28, 2012 at 12:51 PM, Don deJuan donjuans...@gmail.com wrote:
 On 03/28/2012 12:42 AM, Ronny Karrestad wrote:
 I had no issue installing grub2, I only noticed it was missing the fallback
 image when I needed it as both my kernel and arch paniced on boot so was
 going to try one of those. I ran grub-mkconfig after the install and it does
 not find them. I just tried running os-prober and grub-mkconfig again a
 couple hours ago with still not luck so just added them in myself. Also the
 stated kernel panic and grub2 install did not happen at the same time I only
 noticed it was missing due to the panic, grub2 was done each time it came
 from the repo's that day.

Can you show us output of following commands:

ls /boot
grub-mkconfig -o /boot/grub/grub.cfg

-- 
Kirill Churin
Jabber: reflex...@reflexing.ru


Re: [arch-general] Grub2

2012-03-28 Thread Don deJuan

On 03/28/2012 12:00 AM, Kirill Churin wrote:

On Wed, Mar 28, 2012 at 12:51 PM, Don deJuandonjuans...@gmail.com  wrote:

On 03/28/2012 12:42 AM, Ronny Karrestad wrote:
I had no issue installing grub2, I only noticed it was missing the fallback
image when I needed it as both my kernel and arch paniced on boot so was
going to try one of those. I ran grub-mkconfig after the install and it does
not find them. I just tried running os-prober and grub-mkconfig again a
couple hours ago with still not luck so just added them in myself. Also the
stated kernel panic and grub2 install did not happen at the same time I only
noticed it was missing due to the panic, grub2 was done each time it came
from the repo's that day.


Can you show us output of following commands:

ls /boot
grub-mkconfig -o /boot/grub/grub.cfg



ls /boot
grub lost+found
initramfs-linux-fallback.img memtest86+
initramfs-linux.img  root
initramfs-linux-qosmio-fallback.img  vmlinuz-linux
initramfs-linux-qosmio.img   vmlinuz-linux-qosmio

Generating grub.cfg ...
Found linux image: /boot/vmlinuz-linux-qosmio
grep: /etc/os-release: No such file or directory
Found initrd image: /boot/initramfs-linux-qosmio.img
grep: /etc/os-release: No such file or directory
grep: /etc/os-release: No such file or directory
Found linux image: /boot/vmlinuz-linux
grep: /etc/os-release: No such file or directory
Found initrd image: /boot/initramfs-linux.img
grep: /etc/os-release: No such file or directory
grep: /etc/os-release: No such file or directory
grep: /etc/os-release: No such file or directory
Found memtest86+ image: /boot/memtest86+/memtest.bin
  No volume groups found
Found Windows 7 (loader) on /dev/sda1


I did not notice the grep output the other times, I think I saw 
something on the boards about that.


Re: [arch-general] Grub2

2012-03-28 Thread Kirill Churin
On Wed, Mar 28, 2012 at 1:30 PM, Don deJuan donjuans...@gmail.com wrote:
 ls /boot
 grub                                 lost+found
 initramfs-linux-fallback.img         memtest86+
 initramfs-linux.img                  root
 initramfs-linux-qosmio-fallback.img  vmlinuz-linux
 initramfs-linux-qosmio.img           vmlinuz-linux-qosmio

 Generating grub.cfg ...
 Found linux image: /boot/vmlinuz-linux-qosmio
 grep: /etc/os-release: No such file or directory
 Found initrd image: /boot/initramfs-linux-qosmio.img
 grep: /etc/os-release: No such file or directory
 grep: /etc/os-release: No such file or directory
 Found linux image: /boot/vmlinuz-linux
 grep: /etc/os-release: No such file or directory
 Found initrd image: /boot/initramfs-linux.img
 grep: /etc/os-release: No such file or directory
 grep: /etc/os-release: No such file or directory
 grep: /etc/os-release: No such file or directory
 Found memtest86+ image: /boot/memtest86+/memtest.bin
  No volume groups found
 Found Windows 7 (loader) on /dev/sda1


 I did not notice the grep output the other times, I think I saw something on
 the boards about that.

Obviously, there are no fallback kernels, so grub-mkconfig doesn't find it.

-- 
Kirill Churin
Jabber: reflex...@reflexing.ru


Re: [arch-general] Grub2

2012-03-28 Thread Don deJuan

On 03/28/2012 12:49 AM, Kirill Churin wrote:

On Wed, Mar 28, 2012 at 1:30 PM, Don deJuandonjuans...@gmail.com  wrote:

ls /boot
grub lost+found
initramfs-linux-fallback.img memtest86+
initramfs-linux.img  root
initramfs-linux-qosmio-fallback.img  vmlinuz-linux
initramfs-linux-qosmio.img   vmlinuz-linux-qosmio

Generating grub.cfg ...
Found linux image: /boot/vmlinuz-linux-qosmio
grep: /etc/os-release: No such file or directory
Found initrd image: /boot/initramfs-linux-qosmio.img
grep: /etc/os-release: No such file or directory
grep: /etc/os-release: No such file or directory
Found linux image: /boot/vmlinuz-linux
grep: /etc/os-release: No such file or directory
Found initrd image: /boot/initramfs-linux.img
grep: /etc/os-release: No such file or directory
grep: /etc/os-release: No such file or directory
grep: /etc/os-release: No such file or directory
Found memtest86+ image: /boot/memtest86+/memtest.bin
  No volume groups found
Found Windows 7 (loader) on /dev/sda1


I did not notice the grep output the other times, I think I saw something on
the boards about that.


Obviously, there are no fallback kernels, so grub-mkconfig doesn't find it.



ok well not obvious to me as they were there and working before grub2's 
most recent 2 updates that came through. Now no longer, sorry if its 
just noise


Re: [arch-general] Grub2

2012-03-28 Thread Kirill Churin
On Wed, Mar 28, 2012 at 1:52 PM, Don deJuan donjuans...@gmail.com wrote:
 ok well not obvious to me as they were there and working before grub2's most
 recent 2 updates that came through. Now no longer, sorry if its just noise

You can try to regenerate them:
mkinitcpio -p linux
mkinitcpio -p linux-qosmio
grub-mkconfig -o /boot/grub/grub.cfg


-- 
Kirill Churin
Jabber: reflex...@reflexing.ru


Re: [arch-general] Grub2

2012-03-28 Thread Don deJuan

On 03/28/2012 01:00 AM, Kirill Churin wrote:

On Wed, Mar 28, 2012 at 1:52 PM, Don deJuandonjuans...@gmail.com  wrote:

ok well not obvious to me as they were there and working before grub2's most
recent 2 updates that came through. Now no longer, sorry if its just noise


You can try to regenerate them:
mkinitcpio -p linux
mkinitcpio -p linux-qosmio
grub-mkconfig -o /boot/grub/grub.cfg


i did a link to /etc/arch-release and solved the grep message. I ran 
mkinitcpio again like you said and still the same in boot. Neither the 
arch kernel or mine is generating the fallback vmlinuz. Maybe it is a 
different problem in relation to today's I think it was mkinitcpio 
update. Guess mines is unrelated to OP.


Re: [arch-general] Grub2

2012-03-28 Thread Keshav P R
On Wed, Mar 28, 2012 at 13:34, Don deJuan donjuans...@gmail.com wrote:
 On 03/28/2012 01:00 AM, Kirill Churin wrote:

 On Wed, Mar 28, 2012 at 1:52 PM, Don deJuandonjuans...@gmail.com  wrote:

 ok well not obvious to me as they were there and working before grub2's
 most
 recent 2 updates that came through. Now no longer, sorry if its just
 noise


 You can try to regenerate them:
 mkinitcpio -p linux
 mkinitcpio -p linux-qosmio
 grub-mkconfig -o /boot/grub/grub.cfg


 i did a link to /etc/arch-release and solved the grep message. I ran
 mkinitcpio again like you said and still the same in boot. Neither the arch
 kernel or mine is generating the fallback vmlinuz. Maybe it is a different
 problem in relation to today's I think it was mkinitcpio update. Guess mines
 is unrelated to OP.

https://bugs.archlinux.org/task/29037?getfile=8444

- Keshav


Re: [arch-general] Grub2

2012-03-28 Thread Paul Gideon Dann
On Wednesday 28 Mar 2012 13:49:15 Kirill Churin wrote:
 Obviously, there are no fallback kernels, so grub-mkconfig doesn't find it.

There never were any fallback kernels.  The term fallback has always 
referred to the initramfs image, yet it used to detect them.

Paul


Re: [arch-general] Grub2

2012-03-28 Thread Paul Gideon Dann
On Wednesday 28 Mar 2012 13:45:46 Keshav P R wrote:
 https://bugs.archlinux.org/task/29037?getfile=8444
 
 - Keshav

This looks like exactly what is needed; thank you.

Paul


Re: [arch-general] Grub2

2012-03-27 Thread Don deJuan

On 03/26/2012 03:08 AM, Paul Gideon Dann wrote:

On Monday 26 Mar 2012 02:18:53 Saurav Modak wrote:

Have you tried manually adding it in grub.cfg BTW?


Editing grub.cfg is a naughty thing to do with Grub2 :p  The correct thing
to do would be to add the fallback to /etc/grub.d/41_custom.  However, Grub
previously automatically detected the fallback correctly.  I'm wondering why
it doesn't now.

Paul


After a kernel panic on boot after todays kernel update (unrelated) 
while doing things to get back up and running I just realized this as 
well. I do not have a fallback image for either of the 2 kernels I run 
for arch.


Re: [arch-general] Grub2

2012-03-27 Thread Josh Silard
I'm on a fully updated system and I ran grub-mkconfig and I still have an
option for the fallback kernel.

Josh
On Mar 27, 2012 7:44 PM, Don deJuan donjuans...@gmail.com wrote:

 On 03/26/2012 03:08 AM, Paul Gideon Dann wrote:

 On Monday 26 Mar 2012 02:18:53 Saurav Modak wrote:

 Have you tried manually adding it in grub.cfg BTW?


 Editing grub.cfg is a naughty thing to do with Grub2 :p  The correct
 thing
 to do would be to add the fallback to /etc/grub.d/41_custom.  However,
 Grub
 previously automatically detected the fallback correctly.  I'm wondering
 why
 it doesn't now.

 Paul


 After a kernel panic on boot after todays kernel update (unrelated) while
 doing things to get back up and running I just realized this as well. I do
 not have a fallback image for either of the 2 kernels I run for arch.



Re: [arch-general] Grub2

2012-03-26 Thread Paul Gideon Dann
On Monday 26 Mar 2012 02:18:53 Saurav Modak wrote:
 Have you tried manually adding it in grub.cfg BTW?

Editing grub.cfg is a naughty thing to do with Grub2 :p  The correct thing 
to do would be to add the fallback to /etc/grub.d/41_custom.  However, Grub 
previously automatically detected the fallback correctly.  I'm wondering why 
it doesn't now.

Paul


Re: [arch-general] Grub2

2012-03-25 Thread Saurav Modak
Have you tried manually adding it in grub.cfg BTW?

On 3/25/12, Paul Gideon Dann pdgid...@gmail.com wrote:
 With the latest Grub2 (grub2-efi-x86_64 1:2.00beta2-2), it seems that grub-
 mkconfig is not picking up my fallback initramfs any more, so there's no
 fallback option in the boot menu.  Has anyone else experienced this?  Is
 there
 a way of fixing it?

 Thanks,
 Paul



Re: [arch-general] grub2 efi image files

2012-03-13 Thread Keshav P R
On Tue, Mar 13, 2012 at 19:10, Carsten Mattner
carstenmatt...@googlemail.com wrote:
 Hi,

 I could swear that some time back some version of archboot media
 gave me the choice to select grub2-efi-32-bit.

 Was this dropped?


Yes it was removed wrt booting the iso from 32-bit EFI. But the setup
script still supports installing grub2-efi-i386 if you can download
the package.


 I've been trying to install arch only (single boot) on a EFI-32 mac.
 Due to not being able to convinve (bless) rEFIt without having OS X
 installed to not come up with a delay of = 20seconds, I wanted to
 use EFI.


Can you try https://aur.archlinux.org/packages.php?ID=54847 ?

 The mac has onboard intel i915 graphics which I know to work
 out of the box. Would this give me any issues like the nvidia guys
 with using EFI?


No idea. Non-Mac UEFI user here (with ATI card).

 What is the exact issue I have to be careful about to not brick the
 firmware with EFI? I know I shouldn't use efitbootmgr on mac efi.
 What else is dangerous?

 Thanks,

 Carsten

Regards.

Keshav


Re: [arch-general] grub2 efi image files

2012-03-13 Thread Carsten Mattner
On Tue, Mar 13, 2012 at 3:05 PM, Keshav P R the.ridikulus@gmail.com wrote:
 On Tue, Mar 13, 2012 at 19:10, Carsten Mattner
 carstenmatt...@googlemail.com wrote:
 Hi,

 I could swear that some time back some version of archboot media
 gave me the choice to select grub2-efi-32-bit.

 Was this dropped?


 Yes it was removed wrt booting the iso from 32-bit EFI. But the setup

Do I have to chroot to the installed partition and install it
from extras?

Why not keep it on the medium?

 script still supports installing grub2-efi-i386 if you can download
 the package.

What is the support, if it's removed? I don't understand that.

 I've been trying to install arch only (single boot) on a EFI-32 mac.
 Due to not being able to convinve (bless) rEFIt without having OS X
 installed to not come up with a delay of = 20seconds, I wanted to
 use EFI.


 Can you try https://aur.archlinux.org/packages.php?ID=54847 ?

I can use Apple's bless command, but will try that if Apple's doesn't
work. Don't want to risk bricking the firmware.


Re: [arch-general] grub2 efi image files

2012-03-13 Thread Keshav P R
On Tue, Mar 13, 2012 at 22:24, Carsten Mattner
carstenmatt...@googlemail.com wrote:
 On Tue, Mar 13, 2012 at 3:05 PM, Keshav P R the.ridikulus@gmail.com 
 wrote:
 On Tue, Mar 13, 2012 at 19:10, Carsten Mattner
 carstenmatt...@googlemail.com wrote:
 Hi,

 I could swear that some time back some version of archboot media
 gave me the choice to select grub2-efi-32-bit.

 Was this dropped?


 Yes it was removed wrt booting the iso from 32-bit EFI. But the setup

 Do I have to chroot to the installed partition and install it
 from extras?


No. You just have to be connected to net while installing because
Archboot will pull the package from the repos and install it for you
automatically.

 Why not keep it on the medium?


It is not present in the iso because very few systems have 32-bit EFI.
Thats also the reason why 32-bit EFI booting support was removed from
the iso, so reduce space.

 script still supports installing grub2-efi-i386 if you can download
 the package.

 What is the support, if it's removed? I don't understand that.


The installer script (/arch/setup) supports grub2-efi-i386
installation. But the iso itself will not boot in EFI mode in 32-bit
EFI, and the package is not present in the iso (so you need to be
connected to net)

 I've been trying to install arch only (single boot) on a EFI-32 mac.
 Due to not being able to convinve (bless) rEFIt without having OS X
 installed to not come up with a delay of = 20seconds, I wanted to
 use EFI.


 Can you try https://aur.archlinux.org/packages.php?ID=54847 ?

 I can use Apple's bless command, but will try that if Apple's doesn't
 work. Don't want to risk bricking the firmware.

efibootmgr (and efivars module) may brick the firmware, but i don't
think bless or mactel-boot will corrupt it since they modify only at a
filesystem level.

Regards.

Keshav


Re: [arch-general] grub2 efi image files

2012-03-13 Thread Carsten Mattner
On Tue, Mar 13, 2012 at 6:16 PM, Keshav P R the.ridikulus@gmail.com wrote:
 On Tue, Mar 13, 2012 at 22:24, Carsten Mattner
 carstenmatt...@googlemail.com wrote:
 On Tue, Mar 13, 2012 at 3:05 PM, Keshav P R the.ridikulus@gmail.com 
 wrote:
 On Tue, Mar 13, 2012 at 19:10, Carsten Mattner
 carstenmatt...@googlemail.com wrote:
 Hi,

 I could swear that some time back some version of archboot media
 gave me the choice to select grub2-efi-32-bit.

 Was this dropped?


 Yes it was removed wrt booting the iso from 32-bit EFI. But the setup

 Do I have to chroot to the installed partition and install it
 from extras?


 No. You just have to be connected to net while installing because
 Archboot will pull the package from the repos and install it for you
 automatically.

 Why not keep it on the medium?


 It is not present in the iso because very few systems have 32-bit EFI.
 Thats also the reason why 32-bit EFI booting support was removed from
 the iso, so reduce space.

 script still supports installing grub2-efi-i386 if you can download
 the package.

 What is the support, if it's removed? I don't understand that.


 The installer script (/arch/setup) supports grub2-efi-i386
 installation. But the iso itself will not boot in EFI mode in 32-bit
 EFI, and the package is not present in the iso (so you need to be
 connected to net)

OK, so what do I have to use grub2-efi?
Try to enable extras (if I can) and install it and then it will
magically show up in the bootloader step?

 I've been trying to install arch only (single boot) on a EFI-32 mac.
 Due to not being able to convinve (bless) rEFIt without having OS X
 installed to not come up with a delay of = 20seconds, I wanted to
 use EFI.


 Can you try https://aur.archlinux.org/packages.php?ID=54847 ?

 I can use Apple's bless command, but will try that if Apple's doesn't
 work. Don't want to risk bricking the firmware.

 efibootmgr (and efivars module) may brick the firmware, but i don't
 think bless or mactel-boot will corrupt it since they modify only at a
 filesystem level.

 Regards.

 Keshav


Re: [arch-general] grub2 and xfs seems not to work :(

2010-03-06 Thread Dieter Plaetinck
On Fri, 5 Mar 2010 22:12:10 +0100
Tobias Powalowski t.p...@gmx.de wrote:

 Am Freitag 05 März 2010 schrieb Tobias Powalowski:
  Hi guys, i'm just trying to get grub2 support in archboot's setup.
  
  Now i have found an irritating thing it seems it doesn't like xfs
  and the ususal xfs_freeze hack from grub1 is not working anymore.
  
  Does anyone already use grub2 with xfs and
  if yes how did you solve this issue.
  Many thanks for input on this weird issue.
  
  greeings
  tpowa
 hrm ok found trivial fix, freeze and then unfreeze it again right
 after it. well let's hack on.
 sorry for the blurb.
 
 greetings
 tpowa

you should switch to AIF :)
we have that fix for already a looong time B-)

Dieter


Re: [arch-general] grub2 and xfs seems not to work :(

2010-03-06 Thread Dieter Plaetinck
On Sat, 6 Mar 2010 14:43:34 +0100
Tobias Powalowski t.p...@gmx.de wrote:

 Am Freitag 05 März 2010 schrieb Dieter Plaetinck:
  On Fri, 5 Mar 2010 22:12:10 +0100
  
  Tobias Powalowski t.p...@gmx.de wrote:
   Am Freitag 05 März 2010 schrieb Tobias Powalowski:
Hi guys, i'm just trying to get grub2 support in archboot's
setup.

Now i have found an irritating thing it seems it doesn't like
xfs and the ususal xfs_freeze hack from grub1 is not working
anymore.

Does anyone already use grub2 with xfs and
if yes how did you solve this issue.
Many thanks for input on this weird issue.

greeings
tpowa
   
   hrm ok found trivial fix, freeze and then unfreeze it again right
   after it. well let's hack on.
   sorry for the blurb.
   
   greetings
   tpowa
  
  you should switch to AIF :)
  we have that fix for already a looong time B-)
  
  Dieter
 aif supports grub2?
 

no, sorry i misread :|

Dieter


Re: [arch-general] grub2 and the ISOs (Was: Re: [arch-dev-public] grub with ext4 support)

2008-12-29 Thread Gerhard Brauer
Am Mon, 29 Dec 2008 17:17:35 +0100
schrieb Thomas Bächler tho...@archlinux.org:

 This is interesting: On many BIOSes, grub 0.x is unable to find the
 CD drive and thus many people want us to use isolinux.

Personally i prefer isolinux as a better solution for ISO bootloader,
but grub's advantage is the grub shell...

  From what you write here, it seems that you can access the CD drive 
 through another than the BIOS boot device method. It doesn't matter
 that access is slow, it only matters that we are able to load the
 kernel and initramfs on a greater number of machines. IMO, this is
 worth looking into.

You get these ata0, ata0,1, ata1 devices when adding the ata module to
grub2 image. But the problem is: No one could say on which bus the
users cdrom is (ata1, ata3,...). So the boot ends always in a grub2
shell instead showing the menu. User then must set it per Hand, like:
set root=ata1
linux /boot/vmlinuz26
initrd /boot/kernel26.img
boot

And I've tested this ata method only on VMs. I'm not sure if on real
machines the cdrom is realy detected as ata device (it wasn't detected
as normal device cd0, cd1 on real hardware if using the biosdisk
module). And i realy don't know why, on virtualbox,qemu it work's.

If one would test - the way to make a grub2 bootloader image for
mkisofs is:
grub-makeimage -o mycore.img list_of_modules
cat /boot/grub/cdboot.img mycore.img  myboot.img
myboot.img could now used as mkisofs parameter (-b) like we does it
with grub-legacy in mkarchiso.

Grub2 modular design (and the available modules) have a great potential
IMHO (not only that one could make it terrible blinking and colored,
splash shit). But there is a lack on documentation IMHO

Gerhard