Re: grub on FreeBSD

2006-05-30 Thread Christian Laursen
Nikolas Britton [EMAIL PROTECTED] writes:

 IIRC grub can't see UFS2, only UFS. I belive there is a work around
 though. google for it

GRUB has been able to read UFS2 filesystems for a long time.

That doesn't help Ask with his particular problem though.

-- 
Christian Laursen
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: grub on FreeBSD

2006-05-30 Thread Luke Dean



On Mon, 29 May 2006, Ask Bj?rn Hansen wrote:


Hi,

I am trying to use grub instead of the usual boot0 thing on a Compact Flash 
card I use in Soekris and PC Engines WRAP systems.  I installed grub from 
ports/sysutils/grub and put the package on my nanobsd system on the CF card.


Booting on a Soekris box and running grub, I get this:

grub root (hd0,1)
Filesystem type unknown, partition type 0xa5

grub root (hd0,1,a)
Filesystem type unknown, partition type 0xa5

It seems like it can't read the ufs filesystem?   Any ideas?


Did you copy the stage1, stage2, and ufs2_stage1_5 files
to /boot/grub on the CF card?
As I understand it, grub needs these files to understand UFS2.
Just a guess.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

grub on FreeBSD

2006-05-29 Thread Ask Bjørn Hansen

Hi,

I am trying to use grub instead of the usual boot0 thing on a Compact  
Flash card I use in Soekris and PC Engines WRAP systems.  I installed  
grub from ports/sysutils/grub and put the package on my nanobsd  
system on the CF card.


Booting on a Soekris box and running grub, I get this:

grub root (hd0,1)
Filesystem type unknown, partition type 0xa5

grub root (hd0,1,a)
Filesystem type unknown, partition type 0xa5

It seems like it can't read the ufs filesystem?   Any ideas?


 - ask

--
http://www.askbjoernhansen.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: grub on FreeBSD

2006-05-29 Thread Nikolas Britton

On 5/29/06, Ask Bjørn Hansen [EMAIL PROTECTED] wrote:

Hi,

I am trying to use grub instead of the usual boot0 thing on a Compact
Flash card I use in Soekris and PC Engines WRAP systems.  I installed
grub from ports/sysutils/grub and put the package on my nanobsd
system on the CF card.

Booting on a Soekris box and running grub, I get this:

grub root (hd0,1)
Filesystem type unknown, partition type 0xa5

grub root (hd0,1,a)
Filesystem type unknown, partition type 0xa5

It seems like it can't read the ufs filesystem?   Any ideas?




IIRC grub can't see UFS2, only UFS. I belive there is a work around
though. google for it


--
BSD Podcasts @:
http://bsdtalk.blogspot.com/
http://freebsdforall.blogspot.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Install GRUB for FreeBSD

2005-09-18 Thread John Do
Anyone know how to install GRUB for FreeBSD when you
can't boot to it?

I am totally lost now guys with the booting.

FreeBSD bootloader has me so frustrated

Linux GRUB is simple and intuitive to use and BSD
loader has me lost after weeks :(

I even installed GRUB into MBR and the BSD bootloader
won't go away! :(

Someone please tell me what the best way to install
grub is

I guess you need it in the MBR but where will the
menu.lst be stored?

Please help thx






__ 
Find your next car at http://autos.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Install GRUB for FreeBSD

2005-09-18 Thread jonas
hi!

On Sun, 18 Sep 2005 12:08:08 -0400 (EDT)
John Do [EMAIL PROTECTED] wrote:

 Anyone know how to install GRUB for FreeBSD when you
 can't boot to it?

you need at least one bootable operating system. try a livecd if youre
system doesnt boot at all.

 I even installed GRUB into MBR and the BSD bootloader
 won't go away! :(

make sure you install it to the correct disk!

 
 Someone please tell me what the best way to install
 grub is
 
 I guess you need it in the MBR but where will the
 menu.lst be stored?

AFAIK grub has problems with reading ufs (please correct me if i'm
wrong! maybe it's just because my grub version is a bit old ;) ).
you can get around this by putting the grub config on a partition grub
can read (like ext2fs or fat32) and then just chainload the freebsd
loader installed into the freebsd partition. of course this is not the
best solution but it works for me :)

greets,
jonas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Install GRUB for FreeBSD

2005-09-18 Thread Gary W. Swearingen
John Do [EMAIL PROTECTED] writes:

 Linux GRUB is simple and intuitive to use and BSD
 loader has me lost after weeks :(

I know both enough to say that BSD's is way more intuitive
and much simpler to configure and install.

 I even installed GRUB into MBR and the BSD bootloader
 won't go away! :(

I've made mine go away several times.  Note that you
shouldn't need to get rid of the MBR on the second disk,
with Grub on the first.  I don't know if Grub can be made
to boot the second disk's MBR, or not.  Probably.

 Someone please tell me what the best way to install
 grub is

 I guess you need it in the MBR but where will the
 menu.lst be stored?

It starts out on a floppy file system.  Then you either
just boot off the floppy, or you install it to the hard disk MBR,
other first-track sectors, and maybe your OS's root FS.  I don't
recall if you need a menu.lst or not.  That is, I don't know if
Grub can be installed only to the first track, or needs the
menu.lst in an FS; it seems like a bad requirement, if so.

You might search the Internet for a pre-build Grub floppy.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Install GRUB for FreeBSD

2005-09-18 Thread Micah



jonas wrote:

AFAIK grub has problems with reading ufs (please correct me if i'm
wrong! maybe it's just because my grub version is a bit old ;) ).
you can get around this by putting the grub config on a partition grub
can read (like ext2fs or fat32) and then just chainload the freebsd
loader installed into the freebsd partition. of course this is not the
best solution but it works for me :)

greets,
jonas


I use grub installed on a ufs filesystem and it has absolutely no 
problems reading config files, stages, or splash screens from it.


Later,
Micah
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Install GRUB for FreeBSD

2005-09-18 Thread Micah



Gary W. Swearingen wrote:

It starts out on a floppy file system.  Then you either
just boot off the floppy, or you install it to the hard disk MBR,
other first-track sectors, and maybe your OS's root FS.  I don't
recall if you need a menu.lst or not.  That is, I don't know if
Grub can be installed only to the first track, or needs the
menu.lst in an FS; it seems like a bad requirement, if so.



In order for grub to work as a menu, it requires a stage 2 loader that 
resides somewhere on your hardrive outside of the MBR.  It's my 
understanding that grub was too big to fit just in the MBR and that 
necessitated this arrangement.  If you don't mind manually typing in 
commands such as root(hdx,x,x) and kernel /boot/loader then you don't 
need grub installed anywhere other than the MBR.  Though the ufs stage 
1.5 might cause problems with freebsd in that regard. I haven't tried 
grub without /some/ aspect of it installed to a freebsd partition.


Later,
Micah
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Install GRUB for FreeBSD

2005-09-18 Thread Gary W. Swearingen
Micah [EMAIL PROTECTED] writes:

 In order for grub to work as a menu, it requires a stage 2 loader
 that resides somewhere on your hardrive outside of the MBR.  It's my
 understanding that grub was too big to fit just in the MBR and that
 necessitated this arrangement.  If you don't mind manually typing in

Yeah, but I definitely remember that Grub installs stuff on other
sectors of the first track, probably staring with the second sector.
So it should be able to store the menu stuff there too, but I don't
know if it actual can (I also had it using the menu file in
/boot/boot/grub, I think it was for some odd reason).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Grub and FreeBSD

2004-11-04 Thread Briggaman, Jason
Hello,

I'm trying to get Grub running on 5.3-rc2 but I keep getting Error 29: Disk write 
error. I'm trying to install it directly to the MBR. I can't use the floppy method 
because there is one. I can use the FreeBSD loader but I'd like to use grub. This is 
the only OS on the laptop.  If anyone has any suggestions I'd appreciate it.

My fstab looks like this...

bash-2.05b$ cat /etc/fstab
# DeviceMountpoint  FStype  Options DumpPass#
/dev/ad0s1b noneswapsw  0   0
/dev/ad0s1a /   ufs rw  1   1
/dev/ad0s1e /tmpufs rw  2   2
/dev/ad0s1f /usrufs rw  2   2
/dev/ad0s1d /varufs rw  2   2
/dev/cd0/cdrom  cd9660  ro,noauto   0   0

This is the contents of /boot/grub...

bash-2.05b$ ls /boot/grub/
device.mapfat_stage1_5  iso9660_stage1_5  menu.lst  
reiserfs_stage1_5 stage2vstafs_stage1_5
e2fs_stage1_5 ffs_stage1_5  jfs_stage1_5  minix_stage1_5stage1 
   ufs2_stage1_5 xfs_stage1_5
bash-2.05b$

This is what I entered in the Grub CLI..

bash-2.05b$ grub
grub

GNU GRUB  version 0.95  (640K lower / 3072K upper memory)

 [ Minimal BASH-like line editing is supported.  For the first word, TAB
   lists possible command completions.  Anywhere else TAB lists the possible
   completions of a device/filename. ]

grub root (hd0,0,
 Possible partitions are:
   Partition num: 0, [BSD sub-partitions immediately follow]
 BSD Partition num: 'a',  Filesystem type is ufs2, partition type 0xa5
 BSD Partition num: 'b',  Filesystem type unknown, partition type 0xa5
 BSD Partition num: 'd',  Filesystem type is ufs2, partition type 0xa5
 BSD Partition num: 'e',  Filesystem type is ufs2, partition type 0xa5
 BSD Partition num: 'f',  Filesystem type is ufs2, partition type 0xa5

grub root (hd0,0,a)
 Filesystem type is ufs2, partition type 0xa5

grub setup (hd0)
 Checking if /boot/grub/stage1 exists... yes
 Checking if /boot/grub/stage2 exists... yes
 Checking if /boot/grub/ufs2_stage1_5 exists... yes
 Running embed /boot/grub/ufs2_stage1_5 (hd0)... failed (this is not fatal)
 Running embed /boot/grub/ufs2_stage1_5 (hd0,0,a)... failed (this is not fatal)
 Running install /boot/grub/stage1 (hd0) /boot/grub/stage2 p /boot/grub/menu.lst ... 
failed

Error 29: Disk write error

grub quit

This e-mail message, including any attachment(s), is intended only for the use of the 
individual or entity to which it is addressed and may contain information that is 
privileged and/or confidential.

Lightship Telecom / www.lightship.com

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Grub and FreeBSD

2004-11-04 Thread Dan Nelson
In the last episode (Nov 04), Briggaman, Jason said:
 I'm trying to get Grub running on 5.3-rc2 but I keep getting Error
 29: Disk write error. I'm trying to install it directly to the MBR. I
 can't use the floppy method because there is one. I can use the
 FreeBSD loader but I'd like to use grub. This is the only OS on the
 laptop.  If anyone has any suggestions I'd appreciate it.

I always make a grub boot disk, then install onto the hard drive from
that.  I don't trust the userland grub CLI to get my devicenames right.

But if you have only one OS, there's no need for grub at all..

-- 
Dan Nelson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Trouble installing grub on FreeBSD 5.1

2003-09-15 Thread Stephen Hoover
I'm trying to setup FreeBSD 5.1 on my Dell C640, dual booting with Windows
2000.

I cannot get grub to install. When I run grub-install, it churns for a few
seconds and comes back with:

/boot/grub/stage1 not read correctly.

I have verified all of the files are in /boot/grub and made sure / was UFS1,
NOT UFS2. (Tried both ways actually.)

It installs fine on FreeBSD 4.8 without changing anything else about the
drive arrangement. On 4.8 I have to change /boot/grub/devices.map to
/dev/rad0. This does not seem to work for 5.1.

Any help appreciated.

Stephen Hoover
Dallas, Texas

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


grub and FreeBSD

2003-08-07 Thread Christoph Kukulies
I was trying to do a grub-install /dev/ad0 but only
get

/dev/ad0 does not have any corresponding BIOS drive


--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]