Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dual booting
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
someguy
Guru
Guru


Joined: 10 Jul 2003
Posts: 433
Location: (-_-) .::OH_WELL::. (-_-)

PostPosted: Fri Aug 01, 2003 4:44 am    Post subject: dual booting Reply with quote

what would be the grub entry for booting winxp off /dev/hdb ? xp is the only thing on that disk and its there for vmware but just incase i ever need to get into that inferior os well any help mucho appreciated :P
_________________
print pack"C*",split/\D+/,`echo "16iII*o\U@{$/=$z;[(pop,pop,unpack"H*",<>
)]}\EsMsKsN0[lN*1lK[d2%Sa2/d0<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<J]dsJxp"|dc`
while [ 1 ] ; do echo "*" | telnet ip.of.print.er 9100 ; done
Back to top
View user's profile Send private message
devon
l33t
l33t


Joined: 23 Jun 2003
Posts: 943

PostPosted: Fri Aug 01, 2003 5:03 am    Post subject: Reply with quote

I have Windows2000 on a seperate disk, so I don't think the grub.conf should be too different for XP... Try this:
Code:
title=WindowsXP
root (hd1,0)
chainloader +1
Back to top
View user's profile Send private message
someguy
Guru
Guru


Joined: 10 Jul 2003
Posts: 433
Location: (-_-) .::OH_WELL::. (-_-)

PostPosted: Fri Aug 01, 2003 5:19 am    Post subject: cruddy Reply with quote

root (hd1,0)
chainloader+1
filesystem type unknown partition type 0x7
error 27 unrecognized command

hmm
_________________
print pack"C*",split/\D+/,`echo "16iII*o\U@{$/=$z;[(pop,pop,unpack"H*",<>
)]}\EsMsKsN0[lN*1lK[d2%Sa2/d0<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<J]dsJxp"|dc`
while [ 1 ] ; do echo "*" | telnet ip.of.print.er 9100 ; done
Back to top
View user's profile Send private message
someguy
Guru
Guru


Joined: 10 Jul 2003
Posts: 433
Location: (-_-) .::OH_WELL::. (-_-)

PostPosted: Fri Aug 01, 2003 7:06 am    Post subject: Reply with quote

errr chainloader +1 its still not booting :cry:
_________________
print pack"C*",split/\D+/,`echo "16iII*o\U@{$/=$z;[(pop,pop,unpack"H*",<>
)]}\EsMsKsN0[lN*1lK[d2%Sa2/d0<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<J]dsJxp"|dc`
while [ 1 ] ; do echo "*" | telnet ip.of.print.er 9100 ; done
Back to top
View user's profile Send private message
someguy
Guru
Guru


Joined: 10 Jul 2003
Posts: 433
Location: (-_-) .::OH_WELL::. (-_-)

PostPosted: Sat Aug 02, 2003 6:34 am    Post subject: Reply with quote

i really wish i could get some help i installed 2k on that disk a few minutes ago and i still cant boot it lemme post my grub.conf default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=Gentoo
root (hd0,0)
kernel (hd0,0)/boot/bzImage root=/dev/hda3 hdc=ide-scsi mem=nopentium pci=noacpi
title=Palladium
rootnoverify (hd1,0)
makeactive
chainloader (hd1,0)+1
_________________
print pack"C*",split/\D+/,`echo "16iII*o\U@{$/=$z;[(pop,pop,unpack"H*",<>
)]}\EsMsKsN0[lN*1lK[d2%Sa2/d0<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<J]dsJxp"|dc`
while [ 1 ] ; do echo "*" | telnet ip.of.print.er 9100 ; done
Back to top
View user's profile Send private message
krjoseph
n00b
n00b


Joined: 08 Feb 2003
Posts: 23
Location: Nashville, Tennessee, USA

PostPosted: Sat Aug 02, 2003 7:21 am    Post subject: ntldr Reply with quote

I haven't messed aroud with booting NT/W2K/XP in ages, but I have a theory for you. I have dual booted a machine in the old days with Win98 on hda1 and NT4 on hda2. I may be wrong here, but these memories are a few years old.

Good news is I don't think your problem is grub.

I think NT/2K/XP wants its boot loader on what it thinks should always be c:\, your hda1 Actually M$ classified these as boot partition and system partition, although usually on the same partition. Now pay attention, this is totally stupid, but thats M$ for you. The BOOT partition is where the SYSTEM files are, c:\winnt (NT & 2K) or c:\windows (XP). The SYSTEM partition is where the boot files are, the hardware specific files used in the initial boot. I am not making this crap up. The BOOT partition can be anywhere, but the SYSTEM partition is usually on the first partition of the first hard drive, c: to windows. The system partition has to be on an active partition. About the only thing the generally needs to be in the SYSTEM partition is ntldr, boot.ini (text file tells ntldr where BOOT partition is), ntdetect.com,

2 possible fixes.
1. Make hdb1 an active partition and hope Grub can kickstart ntldr.
2. Move your partitions around and give windows a little space in hda1. But if your gentoo install is there you have bigger problems

I once set up a box with Win98 (for games), Win2kPro(for the office), Win2K Server(for generall hacking), and RedHat linux (for fun) on one big hard drive. My rule of thumb is alway put the most fussy OS first. This used to be 95/98/Me, then NT/2K/XP, then Linux.

Good luck
Back to top
View user's profile Send private message
someguy
Guru
Guru


Joined: 10 Jul 2003
Posts: 433
Location: (-_-) .::OH_WELL::. (-_-)

PostPosted: Sat Aug 02, 2003 9:03 am    Post subject: Reply with quote

gentoo is on hda
_________________
print pack"C*",split/\D+/,`echo "16iII*o\U@{$/=$z;[(pop,pop,unpack"H*",<>
)]}\EsMsKsN0[lN*1lK[d2%Sa2/d0<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<J]dsJxp"|dc`
while [ 1 ] ; do echo "*" | telnet ip.of.print.er 9100 ; done
Back to top
View user's profile Send private message
krjoseph
n00b
n00b


Joined: 08 Feb 2003
Posts: 23
Location: Nashville, Tennessee, USA

PostPosted: Sun Aug 03, 2003 3:23 am    Post subject: A rock and a hard place Reply with quote

Yeah, you would hose Gentoo if you slide it down to hda2. But it is damn hard to boot a Windows OS if you can't give it the first partition on the IDE0-master channel. I guess that's how you build an OS when you assume yours is the only one in the world.

Another solution might be to get one of those physical switches that change the master/slave settings, but that cost money and is kind of kludgy.
Back to top
View user's profile Send private message
jasonm
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2003
Posts: 90
Location: Calgary, Canada... Eh!

PostPosted: Sun Aug 03, 2003 3:50 am    Post subject: Reply with quote

Hi someguy,

Try this trick for dual-booting from Darth_Daver. I have Win XP on a second disk and this woks perfectly.

Good luck.


jasonm
_________________
Registered User # 323863
There is nothing new under the sun . . .

"Open source takes the bullshit out of software."
[small]~ Charles Ferguson on TechnologyReview.com[/small]
Back to top
View user's profile Send private message
krjoseph
n00b
n00b


Joined: 08 Feb 2003
Posts: 23
Location: Nashville, Tennessee, USA

PostPosted: Sun Aug 03, 2003 3:59 am    Post subject: Grub rocks! Reply with quote

Thanks jasonm.

I really needed to know that, I had no idea GRUB could do that kind of trickery. Will file that away in tips to remember.
Back to top
View user's profile Send private message
someguy
Guru
Guru


Joined: 10 Jul 2003
Posts: 433
Location: (-_-) .::OH_WELL::. (-_-)

PostPosted: Mon Aug 04, 2003 9:35 pm    Post subject: Reply with quote

thanks guy
_________________
print pack"C*",split/\D+/,`echo "16iII*o\U@{$/=$z;[(pop,pop,unpack"H*",<>
)]}\EsMsKsN0[lN*1lK[d2%Sa2/d0<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<J]dsJxp"|dc`
while [ 1 ] ; do echo "*" | telnet ip.of.print.er 9100 ; done
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum