You are not logged in.

#1 2013-02-21 14:24:31

smsware
Member
From: Szczecin, Poland
Registered: 2012-08-14
Posts: 149
Website

Problem with multibooting

I have two Arch systems installed, one is 64-bit and the other - 32-bit. I've installed GRUB2 on my main (64-bit) system and run grub-mkconfig with os-prober also installed. Grub made menu entry for my 32-bit Arch but it's not working as it prompts that the /boot/vmlinuz-linux can't be found. Well, it may be like that because Grub runs AFTER mounting the partitions, right? So 32-bit /boot is mounted on /opt/arch32/boot:

device                          fs_type      label         mount point           
---------------------------------------------------------------------------------
/dev/sda1                       vfat                        /boot/efi
/dev/sda2                       ext4                       /boot
/dev/sda3                       ext4                       /opt/arch32/boot
/dev/sda4                       ext4                       /
/dev/sda5                       ext4                       /opt/arch32
/dev/sda6                       ext4                       /home
/dev/sda7                       ext4                       /opt/arch32/home
/dev/sda8                       swap                      <swap>

Fstab is the opposite on 32-bit system (to have easy access from one system to another).

So, well... do I really have to install second Grub on 32-bit boot and care another menu (UEFI menu) or is there some other solution?

Edit: I wanted to chainload but I can't install grub-efi- on i686 and I need another partition to install grub-bios...

Last edited by smsware (2013-02-21 16:15:25)

Offline

#2 2013-02-21 21:19:22

smsware
Member
From: Szczecin, Poland
Registered: 2012-08-14
Posts: 149
Website

Re: Problem with multibooting

I've added "BIOS boot partition" and installed grub on my 32-bit OS but when I wanted to chainload from 64-bit grub-efi to 32-bit grub-bios, it prompted "Invalid EFI file"... is there really no way to have 32- and 64-bit systems on one PC? -_-'

Offline

#3 2013-02-22 00:49:21

David Batson
Member
Registered: 2011-10-13
Posts: 640

Re: Problem with multibooting

Sounds a little similar to what I read here: http://forums.fedoraforum.org/showthread.php?t=289010

Offline

#4 2013-02-22 01:21:18

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Problem with multibooting

You could always simply use bios booting instead of uefi.


Edit: I think that you can actually use a the x86_64 kernel with an i686 userland.

Last edited by WonderWoofy (2013-02-22 01:23:39)

Offline

#5 2013-02-22 02:25:41

srs5694
Member
From: Woonsocket, RI
Registered: 2012-11-06
Posts: 719
Website

Re: Problem with multibooting

First, EFI boot loaders -- that is, files with .efi extensions -- are architecture-dependent, and you can't run a 32-bit EFI boot loader if your EFI is 64-bit. Thus, you cannot chainload a 32-bit version of GRUB from a 64-bit version of GRUB. Don't even bother with that approach.

Second, I have heard of people who boot 32-bit kernels from the 64-bit version of GRUB in EFI mode. I've never tried this myself (I have no need to do this), so I can't offer any tips. AFAIK, though, nothing special is required. Thus, I suspect that your problem with the "can't be found" error has nothing to do with the architecture. It's probably a matter of creating a suitable configuration. It's not really clear from your description if you're getting this error when you run grub-mkconfig, when you try to select the kernel from a GRUB menu, or at some other time. If you're getting this error when you try to select the kernel in the GRUB menu, then I recommend you run the Boot Info Script and post the RESULTS.txt file that it generates, either between code tags or as a URL. This will give us a lot of detailed information that will be helpful in diagnosing your problem.

Third, as WonderWoofy says, using BIOS mode or running a 32-bit userland on a 64-bit kernel are both options; however, I don't think either would solve your underlying problem, unless you made ancillary changes in making such a switch and it was the ancillary changes that actually solved the problem.

Last edited by srs5694 (2013-02-22 02:25:52)

Offline

Board footer

Powered by FluxBB