RE: [gentoo-user] grub help (hda1=winxp, hda3=linux)

2003-03-07 Thread Gwendolyn van der Linden
> I just finished rebuilding my machine and I repartitioned
> my box so that
> it looks like:
>
> /dev/hda1 = windows xp (ntfs)
> /dev/hda2 = linux swap
> /dev/hda3 = gentoo (ext3)
>
> no, I don't have a separate /boot partition.  Anyway, I followed the
> installation instructions (excellent btw!) and I'm having problems
> getting grub to install on my MBR.  In the grub prompt,
> when I type in
> "root(hd0,0)" it would come back with something like
> "unrecognized file
> type".  After that it's pretty obvious that the
> "setup(hd0,0)" wasn't
> going to work.

I don't think the message "unrecognized file type" is such a show
stopper.  It still can start that partition with the chainloader.  I
had GRUB installed on the MBR, so GRUB booted first, and when
selecting my NT partition it would start the NT boot loader, that
would in turn boot the selected NT configuration.

Not sure if this is much help, but who knows.

Gwendolyn.


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] grub help (hda1=winxp, hda3=linux)

2003-03-06 Thread Ajay Sharma
On Fri, 7 Mar 2003, Gary Davis wrote:

> I have almost exactly the same setup.  What you do is follow the grub
> configure in the Installation Instructions and simply put (hd0,2)
> wherever it lists (hd0,0).  Everything else should remain the same,
> including setup (hd0) which puts grub in the MBR.

Arg, now you've got me thinking again...  when I run grub and type in
"root (hd0,2)", it responds with "unrecognized file system".  Then if I 
type in "setup (hd0)" after that it says something like "can't mount 
filesystem".  I tried it in all kinds of configurations and the only 
thing that worked was:

root (hd0,2)
setup (hd0,2)

Maybe it can't write to the bootloader since the Windows XP one is 
already there?  The last time I installed my sistem, I installed 
gentoo/grub first, then Windows XP second.   

later,
ajay


Satyajot (Ajay) Sharma 
[EMAIL PROTECTED]



--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] grub help (hda1=winxp, hda3=linux)

2003-03-06 Thread Ajay Sharma

Just so I can wrap up this thread for the archives...   

I got it working with Kevin's method (well, his description of someone
else's method).  I know I had it working before with just grub but for
the life of me I can't remember what I did.  Anyway, thanks for all your
help!

later,
ajay

On Thu, 6 Mar 2003, Kevin J. Anderson wrote:

> You could also install grub into your root partition, use dd to copy the
> first 512k out into a file, transfer that file to your xp c:\ root, and then
> use XP's boot.ini to give you the option to boot linux instead of xp.  This
> is the way I have always done dual boots w/ nt/2k/xp and I find it to be
> much less "dangerous" esp since windows seems to like the situtation much
> better.
> 
> I think setup (hd0,2)  root (hd0,2) would be the grub commands (please
> correct me if I am wrong)
> 
> then you can use this command in linux dd if=/dev/hda3 of=/bootsect.lnx
> bs=512 count=1
> transfer that file somehow over to your c:\ (floppy, ftp it somewhere else,
> bring it back down, etc)
> add c:\Bootsect.lnx="Gentoo Linux" to your boot.ini
> 
> google for "boot.ini dd linux dual boot" for more info on the subject, as my
> explanation is very cut and dry.
> 
> kev
> 
> 
> 
> ->-Original Message-
> ->From: Jeremy Workman [mailto:[EMAIL PROTECTED]
> ->Sent: Thursday, March 06, 2003 12:14 PM
> ->To: [EMAIL PROTECTED]
> ->Subject: Re: [gentoo-user] grub help (hda1=winxp, hda3=linux)
> ->
> ->
> ->I notice you said you tried "setup (hd0,0)". That would be the first
> ->partition on the first hard drive (/dev/hda1). To install Grub into the
> ->master boot record the command would be "setup (hd0)".
> ->
> ->Hope this helps.
> ->
> ->
> ->On Thu, 2003-03-06 at 13:04, Ajay Sharma wrote:
> ->> hey everyone,
> ->>
> ->> I just finished rebuilding my machine and I repartitioned my
> ->box so that
> ->> it looks like:
> ->>
> ->> /dev/hda1 = windows xp (ntfs)
> ->> /dev/hda2 = linux swap
> ->> /dev/hda3 = gentoo (ext3)
> ->>
> ->> no, I don't have a separate /boot partition.  Anyway, I followed the
> ->> installation instructions (excellent btw!) and I'm having problems
> ->> getting grub to install on my MBR.  In the grub prompt, when I type in
> ->> "root(hd0,0)" it would come back with something like "unrecognized file
> ->> type".  After that it's pretty obvious that the "setup(hd0,0)" wasn't
> ->> going to work.  I then ran root(hd0,2) and that went over fine but now
> ->> when I boot up it goes right into windows xp and not the grub boot
> ->> loader because it's not installed on the MBR.
> ->>
> ->> I'd appreciate any help.
> ->>
> ->> Thanks,
> ->> Ajay
> ->>
> ->> 
> ->> Satyajot (Ajay) Sharma
> ->> [EMAIL PROTECTED]
> ->> 
> ->>
> ->>
> ->> --
> ->> [EMAIL PROTECTED] mailing list
> ->>
> ->>
> ->
> ->
> ->--
> ->[EMAIL PROTECTED] mailing list
> ->
> 
> 
> --
> [EMAIL PROTECTED] mailing list
> 


Satyajot (Ajay) Sharma 
[EMAIL PROTECTED]



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] grub help (hda1=winxp, hda3=linux)

2003-03-06 Thread brett holcomb
There is an excellent tutorial by D Robbins on grub. 
Someone posted the URL a day or so ago but I'm not at a 
machine where I can get to it but it is recommended 
reading.

On Thu, 6 Mar 2003 12:36:21 -0500
 "Kevin J. Anderson" <[EMAIL PROTECTED]> wrote:
You could also install grub into your root partition, use 
dd to copy the
first 512k out into a file, transfer that file to your xp 
c:\ root, and then
use XP's boot.ini to give you the option to boot linux 
instead of xp.  This
is the way I have always done dual boots w/ nt/2k/xp and 
I find it to be
much less "dangerous" esp since windows seems to like the 
situtation much
better.

I think setup (hd0,2)  root (hd0,2) would be the grub 
commands (please
correct me if I am wrong)

then you can use this command in linux dd if=/dev/hda3 
of=/bootsect.lnx
bs=512 count=1
transfer that file somehow over to your c:\ (floppy, ftp 
it somewhere else,
bring it back down, etc)
add c:\Bootsect.lnx="Gentoo Linux" to your boot.ini

google for "boot.ini dd linux dual boot" for more info on 
the subject, as my
explanation is very cut and dry.

kev



->-Original Message-
->From: Jeremy Workman [mailto:[EMAIL PROTECTED]
->Sent: Thursday, March 06, 2003 12:14 PM
->To: [EMAIL PROTECTED]
->Subject: Re: [gentoo-user] grub help (hda1=winxp, 
hda3=linux)
->
->
->I notice you said you tried "setup (hd0,0)". That would 
be the first
->partition on the first hard drive (/dev/hda1). To 
install Grub into the
->master boot record the command would be "setup (hd0)".
->
->Hope this helps.
->
->
->On Thu, 2003-03-06 at 13:04, Ajay Sharma wrote:
->> hey everyone,
->>
->> I just finished rebuilding my machine and I 
repartitioned my
->box so that
->> it looks like:
->>
->> /dev/hda1 = windows xp (ntfs)
->> /dev/hda2 = linux swap
->> /dev/hda3 = gentoo (ext3)
->>
->> no, I don't have a separate /boot partition.  Anyway, 
I followed the
->> installation instructions (excellent btw!) and I'm 
having problems
->> getting grub to install on my MBR.  In the grub 
prompt, when I type in
->> "root(hd0,0)" it would come back with something like 
"unrecognized file
->> type".  After that it's pretty obvious that the 
"setup(hd0,0)" wasn't
->> going to work.  I then ran root(hd0,2) and that went 
over fine but now
->> when I boot up it goes right into windows xp and not 
the grub boot
->> loader because it's not installed on the MBR.
->>
->> I'd appreciate any help.
->>
->> Thanks,
->> Ajay
->>
->> 

->> Satyajot (Ajay) Sharma
->> [EMAIL PROTECTED]
->> 

->>
->>
->> --
->> [EMAIL PROTECTED] mailing list
->>
->>
->
->
->--
->[EMAIL PROTECTED] mailing list
->

--
[EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list


RE: [gentoo-user] grub help (hda1=winxp, hda3=linux)

2003-03-06 Thread Kevin J. Anderson
You could also install grub into your root partition, use dd to copy the
first 512k out into a file, transfer that file to your xp c:\ root, and then
use XP's boot.ini to give you the option to boot linux instead of xp.  This
is the way I have always done dual boots w/ nt/2k/xp and I find it to be
much less "dangerous" esp since windows seems to like the situtation much
better.

I think setup (hd0,2)  root (hd0,2) would be the grub commands (please
correct me if I am wrong)

then you can use this command in linux dd if=/dev/hda3 of=/bootsect.lnx
bs=512 count=1
transfer that file somehow over to your c:\ (floppy, ftp it somewhere else,
bring it back down, etc)
add c:\Bootsect.lnx="Gentoo Linux" to your boot.ini

google for "boot.ini dd linux dual boot" for more info on the subject, as my
explanation is very cut and dry.

kev



->-Original Message-
->From: Jeremy Workman [mailto:[EMAIL PROTECTED]
->Sent: Thursday, March 06, 2003 12:14 PM
->To: [EMAIL PROTECTED]
->Subject: Re: [gentoo-user] grub help (hda1=winxp, hda3=linux)
->
->
->I notice you said you tried "setup (hd0,0)". That would be the first
->partition on the first hard drive (/dev/hda1). To install Grub into the
->master boot record the command would be "setup (hd0)".
->
->Hope this helps.
->
->
->On Thu, 2003-03-06 at 13:04, Ajay Sharma wrote:
->> hey everyone,
->>
->> I just finished rebuilding my machine and I repartitioned my
->box so that
->> it looks like:
->>
->> /dev/hda1 = windows xp (ntfs)
->> /dev/hda2 = linux swap
->> /dev/hda3 = gentoo (ext3)
->>
->> no, I don't have a separate /boot partition.  Anyway, I followed the
->> installation instructions (excellent btw!) and I'm having problems
->> getting grub to install on my MBR.  In the grub prompt, when I type in
->> "root(hd0,0)" it would come back with something like "unrecognized file
->> type".  After that it's pretty obvious that the "setup(hd0,0)" wasn't
->> going to work.  I then ran root(hd0,2) and that went over fine but now
->> when I boot up it goes right into windows xp and not the grub boot
->> loader because it's not installed on the MBR.
->>
->> I'd appreciate any help.
->>
->> Thanks,
->> Ajay
->>
->> 
->> Satyajot (Ajay) Sharma
->> [EMAIL PROTECTED]
->> 
->>
->>
->> --
->> [EMAIL PROTECTED] mailing list
->>
->>
->
->
->--
->[EMAIL PROTECTED] mailing list
->


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] grub help (hda1=winxp, hda3=linux)

2003-03-06 Thread Jeremy Workman
I notice you said you tried "setup (hd0,0)". That would be the first
partition on the first hard drive (/dev/hda1). To install Grub into the
master boot record the command would be "setup (hd0)".

Hope this helps.


On Thu, 2003-03-06 at 13:04, Ajay Sharma wrote:
> hey everyone,
> 
> I just finished rebuilding my machine and I repartitioned my box so that 
> it looks like:
> 
> /dev/hda1 = windows xp (ntfs)
> /dev/hda2 = linux swap
> /dev/hda3 = gentoo (ext3)
> 
> no, I don't have a separate /boot partition.  Anyway, I followed the
> installation instructions (excellent btw!) and I'm having problems 
> getting grub to install on my MBR.  In the grub prompt, when I type in 
> "root(hd0,0)" it would come back with something like "unrecognized file 
> type".  After that it's pretty obvious that the "setup(hd0,0)" wasn't 
> going to work.  I then ran root(hd0,2) and that went over fine but now 
> when I boot up it goes right into windows xp and not the grub boot 
> loader because it's not installed on the MBR.
> 
> I'd appreciate any help.
> 
> Thanks,
> Ajay
> 
> 
> Satyajot (Ajay) Sharma 
> [EMAIL PROTECTED]
> 
> 
> 
> --
> [EMAIL PROTECTED] mailing list
> 
> 


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] grub help (hda1=winxp, hda3=linux)

2003-03-06 Thread Ing. Bernardo Lopez
If you like to try a nice (dangerous? i dont know, to me works fine with w98)

from dos's fdisk:

fdisk /mbr

This clear the mbr and then you go to grub and try again.

Good luck

On Thursday 06 March 2003 18:04, Ajay Sharma wrote:
> hey everyone,
>
> I just finished rebuilding my machine and I repartitioned my box so that
> it looks like:
>
> /dev/hda1 = windows xp (ntfs)
> /dev/hda2 = linux swap
> /dev/hda3 = gentoo (ext3)
>
> no, I don't have a separate /boot partition.  Anyway, I followed the
> installation instructions (excellent btw!) and I'm having problems
> getting grub to install on my MBR.  In the grub prompt, when I type in
> "root(hd0,0)" it would come back with something like "unrecognized file
> type".  After that it's pretty obvious that the "setup(hd0,0)" wasn't
> going to work.  I then ran root(hd0,2) and that went over fine but now
> when I boot up it goes right into windows xp and not the grub boot
> loader because it's not installed on the MBR.
>
> I'd appreciate any help.
>
> Thanks,
> Ajay
>
> 
> Satyajot (Ajay) Sharma
> [EMAIL PROTECTED]
> 


--
[EMAIL PROTECTED] mailing list