Re: switching between amd64 + i386
On Thu, 25 Nov 2010 09:48:18 -0600, Hugo Vanwoerkom wrote:
> Camaleón wrote:
>> You can install two GRUBs (inside the first sector of each boot
>> partition) and mark the default one with the bootable flag.
>>
>> I prefer avoiding installing GRUB in the MBR and let each installation
>> has its own GRUB code, that way there are less chances for problems and
>> if one GRUB gets flawed, you have the other one to boot from.
>>
>>
> Aha! I now install GRUB in the MBR. So you say it is better to install
> each grub in its own partition? But when you boot up, which GRUB
> displays the menu?
The one you have selected/marked with the bootable flag:
stt008:~# LANG=en_US fdisk -l
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 1 262 2104483+ 82 Linux swap / Solaris
/dev/sda2 263 15405 121636147+ 83 Linux
/dev/sda3 * 15406 30401 120455370 83 Linux
("sda3" is my Debian partition, "sda2" holds my "old" openSUSE partition)
> Say I install squeeze amd64 in partition sdb3 does the installer offer
> me a choice to install grub within the partition?
IIRC, when installing (using the expert installer) at partitioning stage
you can mark (toggle on/off) the bootable partition. Or you can tweak it
aftwerwards, using "cfdisk".
Greetings,
--
Camaleón
Reply to: