Re: Grub problem

2004-02-02 Thread Joe Lewis
Errors on the root will still occur.  Grub does that.  With BSD, you can 
set the menu option such as :

root (hd0,2)
chainloader +1
And it will load the MBR from the BSD partition, which will load the 
loader, which will load the kernel  (the best way, really).

Joe

Robert Storey wrote:

Use the chainloader command to start FBSD, like this:

  root (hd0,2,a)
  chainloader +1
  boot
best regards,
Robert
On Mon, 02 Feb 2004 01:42:02 -0300
Roy Fokker [EMAIL PROTECTED] wrote:

  Hi, i have installed in my computer FBSD 5.1, and RH9. The thing
  is, when i try to get GRUB to boot FBSD, i get the following error
  message: root (hd0,2,a) Filesystem type unknown, partition type
  0xa5 Then, in the GRUB-shell, i get this from auto-completion.
  Partition num: 2, [BSD sub-partitions immediately follow] BSD
  Partition num:'a', Filesystem type unknown, partition type 0xa5 BSD
  Partition num:'b', Filesystem type unknown, partition type 0xa5 BSD
  Partition num:'d', Filesystem type unknown, partition type 0xa5 BSD
  Partition num:'e', Filesystem type unknown, partition type 0xa5 BSD
  Partition num:'f', Filesystem type unknown, partition type 0xa5 And
  i'm guessing that it is because of this, it then grub kernel
  /boot/loader ro root=/dev/hda3 Error 17: Cannot mount selected
  partition This is an extract of my grub.conf. I looked for info
  about this, and found no other reference. title FreeBSD 5.1 Release
  root (hd0,2,a) kernel/boot/loader ro root=/dev/hda3 I will
  appreciate any input. Thanks. Alejandro, from BA, Argentina.
_
  Nuevo MSN Messenger [1]Una forma rápida y divertida de enviar
  mensajes
References

  1. http://g.msn.com/8HMBESAR/2728??PS=
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Grub problem

2004-02-01 Thread Roy Fokker

   Hi, i have installed in my computer FBSD 5.1, and RH9. The thing is,
   when i try to get GRUB to boot FBSD, i get the following error
   message: root (hd0,2,a) Filesystem type unknown, partition type 0xa5
   Then, in the GRUB-shell, i get this from auto-completion. Partition
   num: 2, [BSD sub-partitions immediately follow] BSD Partition num:
   'a', Filesystem type unknown, partition type 0xa5 BSD Partition num:
   'b', Filesystem type unknown, partition type 0xa5 BSD Partition num:
   'd', Filesystem type unknown, partition type 0xa5 BSD Partition num:
   'e', Filesystem type unknown, partition type 0xa5 BSD Partition num:
   'f', Filesystem type unknown, partition type 0xa5 And i'm guessing
   that it is because of this, it then grub kernel /boot/loader ro
   root=/dev/hda3 Error 17: Cannot mount selected partition This is an
   extract of my grub.conf. I looked for info about this, and found no
   other reference. title FreeBSD 5.1 Release root (hd0,2,a) kernel
   /boot/loader ro root=/dev/hda3 I will appreciate any input. Thanks.
   Alejandro, from BA, Argentina.
 _

   Nuevo MSN Messenger [1]Una forma rápida y divertida de enviar mensajes

References

   1. http://g.msn.com/8HMBESAR/2728??PS=
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Grub problem

2004-02-01 Thread Robert Storey
Use the chainloader command to start FBSD, like this:

  root (hd0,2,a)
  chainloader +1
  boot

best regards,
Robert

On Mon, 02 Feb 2004 01:42:02 -0300
Roy Fokker [EMAIL PROTECTED] wrote:

 
Hi, i have installed in my computer FBSD 5.1, and RH9. The thing
is, when i try to get GRUB to boot FBSD, i get the following error
message: root (hd0,2,a) Filesystem type unknown, partition type
0xa5 Then, in the GRUB-shell, i get this from auto-completion.
Partition num: 2, [BSD sub-partitions immediately follow] BSD
Partition num:'a', Filesystem type unknown, partition type 0xa5 BSD
Partition num:'b', Filesystem type unknown, partition type 0xa5 BSD
Partition num:'d', Filesystem type unknown, partition type 0xa5 BSD
Partition num:'e', Filesystem type unknown, partition type 0xa5 BSD
Partition num:'f', Filesystem type unknown, partition type 0xa5 And
i'm guessing that it is because of this, it then grub kernel
/boot/loader ro root=/dev/hda3 Error 17: Cannot mount selected
partition This is an extract of my grub.conf. I looked for info
about this, and found no other reference. title FreeBSD 5.1 Release
root (hd0,2,a) kernel/boot/loader ro root=/dev/hda3 I will
appreciate any input. Thanks. Alejandro, from BA, Argentina.
  _
 
Nuevo MSN Messenger [1]Una forma rápida y divertida de enviar
mensajes
 
 References
 
1. http://g.msn.com/8HMBESAR/2728??PS=
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 4.7 + WinXP + GRUB problem

2002-12-16 Thread Aron Silverton
I attempted to set up a notebook with a single drive to dual-boot and 
now I am having a problem booting into XP.  Here's the story:

I split a notebook's hard drive in half (10GB each half) and installed 
XP (NTFS) on the first parition.  I installed FreeBSD 4.7-Release on the 
second half.  I was originally unable to boot FreeBSD, but this was 
because I did not select a boot manager during the install phase.  I 
went back into /stand/sysintall and installed the FreeBSD boot loader. 
Upon a reboot, I was presented with the

F1 ??
F2 FreeBSD

menu and was able to boot either OS without any problems.  Yeah.  I 
thought that it would be fun to try GRUB, so I did the following:

1.  Built the GRUB port
2.  Made the directory /boot/grub and moved the stage1, stage2, and 
*stage1_5 files there from /usr/local/share/grub/i386-freebsd
3.  I created a menu.lst file under /boot/grub with the following in it:
(only relevant sections shown)

title FreeBSD
	root (hd0,1,a)
	kernel /boot/loader
title WinXP
	root (hd0,0)
	makeactive
	chainloader +1

4.  I created a GRUB boot floppy per the instructions in the manual, 
rebooted, and performed the following steps:

grub find /boot/grub/stage1
 (hd0,1,a)
grub root (hd0,1,a)
 Filesystem type is ffs, partition type 0xa5
grub setup (hd0,0)
 Checking if /boot/grub/stage1 exists... yes
 Checking if /boot/grub/stage2 exists... yes
 Checking if /boot/grub/ffs_stage1_5 exists... yes
 Running embed /boot/grub/ffs_stage1_5 (hd0,0)... failed (this is not 
fatal)
 Running embed /boot/grub/ffs_stage1_5 (hd0,1,a)... failed (this is 
not fatal)
 Running install /boot/grub/stage1 (hd0,0) /boot/grub/stage2 p 
/boot/grub/menu.lst ... Succeeded
 Done.
grub reboot

I wasn't sure what to think of the warnings, so I proceeded.  After the 
reboot, I got the same F1, F2 menu that I started with.

5.  I used my XP CD to repair the MBR thinking that it was the problem. 
 I ran fixmbr and rebooted.

Upon the reboot, I got the GRUB menu.  Selecting the FreeBSD option 
worked fine, but selecting WinXP returned me to the menu.  I was able to 
see a very quick error message saying, Filesystem type unknown, 
partition type 0x7 before the menu was redrawn.

6.  I rebooted using the GRUB boot floppy, and repeated step 4.  This 
time, I substituted setup(hd0) for (hd0,0).  Does that make a difference?

I got the same behavior as before - FreeBSD boots, XP does not.  I tried 
writing a new MBR once again, issuing commands from the GRUB prompt, 
changing root to rootnoverify in the WinXP commands.  No good.

Any suggestions as to where I went wrong and how I can get my WinXP 
install back or is it too late for me?  If it is too late, should I be 
able to reinstall XP on the first partition and maintain my FreeBSD 
install on the second?

Thanks,

Aron


--
Aron J. Silverton
Senior Staff Research Engineer
Motorola Laboratories, Networks and Infrastructure Research
Motorola, Inc.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: FreeBSD 4.7 + WinXP + GRUB problem

2002-12-16 Thread Scott Robbins
On Tue, Dec 17, 2002 at 12:35:53AM -0600, Aron Silverton wrote:
 
 title FreeBSD
   root (hd0,1,a)
   kernel /boot/loader
 title WinXP
   root (hd0,0)


Change that to rootnoverify and see if it helps


 
 6.  I rebooted using the GRUB boot floppy, and repeated step 4.  This 
 time, I substituted setup(hd0) for (hd0,0).  Does that make a difference?

hd0 is usually what is used.
 
 
 Any suggestions as to where I went wrong and how I can get my WinXP 
 install back or is it too late for me?  If it is too late, should I be 
 able to reinstall XP on the first partition and maintain my FreeBSD 
 install on the second?

Shouldn't be too late.

I have a page on Grub that might or might not be of use, as it's dated,
at

http://home.nyc.rr.com/computertaijutsu/grub.html

HTH

-- 

Scott Robbins

PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 D575 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

(In response to being asked to fight a troll) 
Spike: I would, but I'm paralyzed with not caring very much. 




msg12331/pgp0.pgp
Description: PGP signature