Re: [gentoo-user] Re: Installing Gentoo: Grub, alternate GNU/Linux system on another partition

2011-12-06 Thread Sebastian Beßler
On 05.12.2011 22:58, Grant Edwards wrote:

 Grub can chainload any bootloader that's visible to BIOS. At minimum,
 that means you could have grub on /dev/sda

I have a setting with three bootloaders chained. First Grub2 who boots
Gentoo or the Windows XP bootloader. The Windows Bootloader has to
option to start Windows XP or a second Grub2 that loads a Xubuntu
installed with wubi inside of a 30GB file on the ntfs drive C:.

I am more then happy when I get the ok to kill Windows and Xubuntu,
because that chain is very creepy ;-)

Greetings

Sebastian



[gentoo-user] Re: Installing Gentoo: Grub, alternate GNU/Linux system on another partition

2011-12-05 Thread Grant Edwards
On 2011-12-05, Michael Mol mike...@gmail.com wrote:

 You can only have one primary bootloader, either grub from Gentoo or
 grub2 from Mint, it cannot be both. But it looks like that's what you
 do have. Seeing as you intend to drop Mint eventually, you must
 uninstall grub2 and all it's files from Mint.

 Not *exactly* true.

It is for the usual definition of primary bootloader as the one that
is loaded and run by the BIOS.

 Grub can chainload any bootloader that's visible to BIOS. At minimum,
 that means you could have grub on /dev/sda

(primary bootloader)

 chainload grub on /dev/sdb

(secondary bootloader).

 I'm uncertain if it means you could chainload a bootloader stored in
 the first 512 bytes of /dev/sda8, but I suspect so.

You're right, you can.  Though to get grub2 to install on a partition
like /dev/sda8 instead of in the MBR you have to use the --force
option or you'll get some incomprehensable error message when you try
to do the 'setup' command.

-- 
Grant Edwards   grant.b.edwardsYow! !  The land of the
  at   rising SONY!!
  gmail.com




Re: [gentoo-user] Re: Installing Gentoo: Grub, alternate GNU/Linux system on another partition

2011-12-05 Thread Mick
On Monday 05 Dec 2011 21:58:44 Grant Edwards wrote:
 On 2011-12-05, Michael Mol mike...@gmail.com wrote:
  You can only have one primary bootloader, either grub from Gentoo or
  grub2 from Mint, it cannot be both. But it looks like that's what you
  do have. Seeing as you intend to drop Mint eventually, you must
  uninstall grub2 and all it's files from Mint.
  
  Not *exactly* true.
 
 It is for the usual definition of primary bootloader as the one that
 is loaded and run by the BIOS.
 
  Grub can chainload any bootloader that's visible to BIOS. At minimum,
  that means you could have grub on /dev/sda
 
 (primary bootloader)
 
  chainload grub on /dev/sdb
 
 (secondary bootloader).
 
  I'm uncertain if it means you could chainload a bootloader stored in
  the first 512 bytes of /dev/sda8, but I suspect so.
 
 You're right, you can.  Though to get grub2 to install on a partition
 like /dev/sda8 instead of in the MBR you have to use the --force
 option or you'll get some incomprehensable error message when you try
 to do the 'setup' command.

Last time I installed Ubuntu on a machine that had a different primary 
OS/bootloader I chose for it to be installed on the Ubuntu partition and there 
was not problem with it.  It was GRUB2

Then I chainloaded it from the primary bootloader.

The OS can do the same, but this means that he can either:

a) Install Gentoo's GRUB to the MBR and chainload from Gentoo's grub.conf 
Mint's /dev/sda8 boot loader (assuming that he has installed the Mint 
bootloader to /dev/sda8 instead of the MBR);  or

b) Install Gentoo's GRUB in Gentoo's partition, or some other partition (e.g. 
a boot partition specific to Gentoo) and chainload this from Mint's GRUB2.

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Re: Installing Gentoo: Grub, alternate GNU/Linux system on another partition

2011-12-05 Thread Grant Edwards
On 2011-12-05, Mick michaelkintz...@gmail.com wrote:
 On Monday 05 Dec 2011 21:58:44 Grant Edwards wrote:
 On 2011-12-05, Michael Mol mike...@gmail.com wrote:
  You can only have one primary bootloader, either grub from Gentoo or
  grub2 from Mint, it cannot be both. But it looks like that's what you
  do have. Seeing as you intend to drop Mint eventually, you must
  uninstall grub2 and all it's files from Mint.
  
  Not *exactly* true.
 
 It is for the usual definition of primary bootloader as the one that
 is loaded and run by the BIOS.
 
  Grub can chainload any bootloader that's visible to BIOS. At minimum,
  that means you could have grub on /dev/sda
 
 (primary bootloader)
 
  chainload grub on /dev/sdb
 
 (secondary bootloader).
 
  I'm uncertain if it means you could chainload a bootloader stored in
  the first 512 bytes of /dev/sda8, but I suspect so.
 
 You're right, you can.  Though to get grub2 to install on a partition
 like /dev/sda8 instead of in the MBR you have to use the --force
 option or you'll get some incomprehensable error message when you try
 to do the 'setup' command.

 Last time I installed Ubuntu on a machine that had a different primary 
 OS/bootloader I chose for it to be installed on the Ubuntu partition and 
 there 
 was not problem with it.  It was GRUB2

I tried that a couple weeks ago with several different versions of
Ubuntu and it didn't work with any of them.  The installer was
perfectly happy letting my chose a partition as a destination, and
there were no error messages or warnings, but it just didn't work
after it was installed.

I had to boot the Ubuntu live CD and then install grub2 in the Ubuntu
partition by hand using the --force option.

-- 
Grant Edwards   grant.b.edwardsYow! Am I accompanied by a
  at   PARENT or GUARDIAN?
  gmail.com




Re: [gentoo-user] Re: Installing Gentoo: Grub, alternate GNU/Linux system on another partition

2011-12-05 Thread Mick
On Monday 05 Dec 2011 23:33:12 Grant Edwards wrote:
 On 2011-12-05, Mick michaelkintz...@gmail.com wrote:
  On Monday 05 Dec 2011 21:58:44 Grant Edwards wrote:
  On 2011-12-05, Michael Mol mike...@gmail.com wrote:
   You can only have one primary bootloader, either grub from Gentoo or
   grub2 from Mint, it cannot be both. But it looks like that's what you
   do have. Seeing as you intend to drop Mint eventually, you must
   uninstall grub2 and all it's files from Mint.
   
   Not *exactly* true.
  
  It is for the usual definition of primary bootloader as the one that
  is loaded and run by the BIOS.
  
   Grub can chainload any bootloader that's visible to BIOS. At minimum,
   that means you could have grub on /dev/sda
  
  (primary bootloader)
  
   chainload grub on /dev/sdb
  
  (secondary bootloader).
  
   I'm uncertain if it means you could chainload a bootloader stored in
   the first 512 bytes of /dev/sda8, but I suspect so.
  
  You're right, you can.  Though to get grub2 to install on a partition
  like /dev/sda8 instead of in the MBR you have to use the --force
  option or you'll get some incomprehensable error message when you try
  to do the 'setup' command.
  
  Last time I installed Ubuntu on a machine that had a different primary
  OS/bootloader I chose for it to be installed on the Ubuntu partition and
  there was not problem with it.  It was GRUB2
 
 I tried that a couple weeks ago with several different versions of
 Ubuntu and it didn't work with any of them.  The installer was
 perfectly happy letting my chose a partition as a destination, and
 there were no error messages or warnings, but it just didn't work
 after it was installed.
 
 I had to boot the Ubuntu live CD and then install grub2 in the Ubuntu
 partition by hand using the --force option.

Hmm ... maybe they changed their scripts?  It's been some time (more than a 
year? ) since I tried it.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.