Re: Grub boot-loading HAMMER

2009-07-22 Thread Simon 'corecode' Schubert

rektide wrote:

After these install procedures, I tried using grub to load the slice.
I tried chainloader'ing it, as well as specifying a kernel
/boot/loader.  The first gave me an Error 13: invalid or unsupported
execution format and the second an Error 17: unable to mount
partition error.

Does anyone have suggestions for getting Grub to dual-boot a HAMMER
DragonflyBSD?  If this is hopeless, what can I do to place the
absolute minimum amount of code on a bootable non-HAMMER area, and the
dominant part of DBSD in Hammer?


Hopeless.  You'll at least need a /boot UFS partition.  Also you'll 
probably have to modify grub to read DragonFly disklabels (although I 
have a setup here booting with grub, so I don't know how I managed that 
:).  Oh yes, you'd need a disklabel32, not a disklabel64 to have the 
slightest chance of making grub work.


Or try a /boot in ext2, then also grub should be able to read it :D

Alternatively you could try using a chainloader in grub.

cheers
  simon

--
  3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /\
  rock the past  +++  space for low CHF NOW!1  +++ Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \


Grub boot-loading HAMMER

2009-07-21 Thread rektide
Hello,

I'm trying to use Grub to dual boot into DragonflyBSD running on a
HAMMER slice.  The install wouldnt let me install boot blocks onto
ad0s3 where my HAMMER lives, so I logged in as root from the LiveCD
and boot0cfg -B ad0s3'd: I'm not sure if this was necessary or
advisable.  I'm also not sure if this utility is what the installer
would have used to install boot blocks, or whether Dragonfly has a
different utility.  The installer also didnt change the FS type of the
partition: its still listed as FAT16, even though it was formatted
over.

After these install procedures, I tried using grub to load the slice.
I tried chainloader'ing it, as well as specifying a kernel
/boot/loader.  The first gave me an Error 13: invalid or unsupported
execution format and the second an Error 17: unable to mount
partition error.

Does anyone have suggestions for getting Grub to dual-boot a HAMMER
DragonflyBSD?  If this is hopeless, what can I do to place the
absolute minimum amount of code on a bootable non-HAMMER area, and the
dominant part of DBSD in Hammer?

I'll be on IRC.  Ping rektide.  Or respond here.  Thank you for your time.


GRUB

2006-06-16 Thread elekktretterr
Ive got a fresh installation of DragonFly, and seeing the grub supports
FFS in stage1, I wanted to install it. Another reason why I installed it
was because Ive got Windows on another disk and I sometimes need to use
it. When I try to install grub by running the command grub, and get to the
grub shell, I do root (hd0,tab which should bring up the list of FFS
partitions on the disk but instead it says Error 21: Selected disk does
not exist.

Does anyone get the same? Im running DragonFly 1.4.4. This works fine in
FreeBSD.

Any idea people?



Re: GRUB

2006-06-16 Thread walt
[EMAIL PROTECTED] wrote:
 Ive got a fresh installation of DragonFly, and seeing the grub supports
 FFS in stage1, I wanted to install it. Another reason why I installed it
 was because Ive got Windows on another disk and I sometimes need to use
 it. When I try to install grub by running the command grub, and get to the
 grub shell, I do root (hd0,tab which should bring up the list of FFS
 partitions on the disk but instead it says Error 21: Selected disk does
 not exist.
 
 Does anyone get the same? Im running DragonFly 1.4.4. This works fine in
 FreeBSD.

I see that the pkgsrc grub has not been patched for DragonFly yet,
so if you compiled grub on your DragonFly machine it won't work
properly.

I use grub to boot DF, but I installed grub from FreeBSD or linux.
I usually install grub on a floppy disk and use that to install
grub on the hard disk.