Re: How to create GRUB image into a file



On Mon, 24 Apr 2006 08:44:22 -0700, iforone wrote:


Douglas Mayne wrote:

<snip>

Hi Doug;
Am I not mistaken when I say you do NOT *need* a /boot *partition* --
one would just install GRUB onto the GNU/Linux partition (e.g.;
/dev/hda3). I've installed Debian, all onto 1 partition once or twice,
just because it was easier - and GRUB worked just fine for my Dual-Boot
situations.

You're right, you don't need a boot partition. But there is one caveat,
it works best if you begin loading grub from the MBR. It will be happy
just as long as it can load its files from somewhere. The location where
grub will get its files is established when grub is installed.

As I said, I did some tests which show grub works best if it installed at
the MBR (and continues loading using the partition that has been setup
(i.e. its root partition.) In some cases, as per the OP's case, when the
"stage 1" is installed on the partition (not the MBR), there can be
problems with some types of filesystems (XFS, reiserfs, jfs). ext2/ext3
always work, and in that case, that is a reason to use a boot partition
formatted ext2. But, that is also unnecessary, IMO. The whole issue can
be avoided by simply installing grub at the MBR. The OP is afraid to do
that for some reason.

--
Douglas Mayne

.



Relevant Pages

  • Re: Dual boot problem
    ... The install went smoothly but when the computer restarted it ... went straight into Windows XP and the Grub Bootloader did not appear! ... One produced the same problem) For some reason the Grub bootloader had ... install GRUB on the first track on the partition where I installed ...
    (comp.os.linux.setup)
  • Re: Help 10.3 a mess After YOU Upgrade
    ... GRUB stage1. ... The stage1 goes in boot sector of system root partition. ... sda6=/1st SUSE install ... and kernel as defined for selected menu item. ...
    (alt.os.linux.suse)
  • Re: [opensuse] Yast & Grub bootloader different.
    ... My Grub bootup menu is different than the bootloader ... that shows up on the logon screen aat boot time. ... any boot loader for that matter, can only operate on one /boot partition at ... Grub doesn't scour the all hard drives on each install ...
    (SuSE)
  • Re: Grub did not install on dual boot machine.
    ... why did you "install" Linux on a FAT16 partition. ... See below re: grub. ...
    (comp.os.linux.setup)
  • Re: GRUB, MBR and NTLDR confusion
    ... that GRUB can be loaded on to the boot partition instead of the MBR ... What you want is to install it to the MBR of /dev/hda. ...
    (Ubuntu)