View previous topic :: View next topic |
Author |
Message |
wilson81 n00b
Joined: 18 Mar 2003 Posts: 20 Location: williamsport pa
|
Posted: Sun May 04, 2003 5:01 am Post subject: multi-boot help |
|
|
alright, this is where i am. ive had gentoo installed and running as the only os on my computer for the last month or so. i decided to reinstall win2k to play some games with my wife. i knew it was going to overwrite my mbr and was ready for it. i think my bigest mistake was when i installed windows, i installed it on my second disk instead of the first disk. when in installed it made me make a small (106 meg) partition on disk one. (thats the size i made it. it only used like a meg)
i used a boot disk to reinstall grub on my mbr, and got my linux installation going again, but now i cant get grub to boot windows. here is the output from a cfdisk for each of my hard disks
/dev/hda
cfdisk 2.11y
Disk Drive: /dev/hda
Size: 81964302336 bytes, 81.9 GB
Heads: 255 Sectors per Track: 63 Cylinders: 9964
Name Flags Part Type FS Type [Label] Size (MB)
------------------------------------------------------------------------------
hda1 Primary Linux ext3 74.03
hda2 Boot Primary FAT16 [NO NAME ] 106.93
hda3 Primary Linux swap 1390.08
hda4 Primary Linux ReiserFS 80385.67
/dev/hdc
Disk Drive: /dev/hdc
Size: 10800857088 bytes, 10.8 GB
Heads: 255 Sectors per Track: 63 Cylinders: 1313
Name Flags Part Type FS Type [Label] Size (MB)
Pri/Log Free Space 8.23
hdc5 Logical Win95 FAT32 10791.57
and heres my grub.conf
default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title=GentooDev
root (hd0,0)
kernel (hd0,0)/boot/bzImage root=/dev/hda4
title=GentooGaming
root(hd0,0)
kernel (hd0,0)/boot/bz-gaming root=/dev/hda4
title=Memtest86
root (hd0,0)
kernel /boot/memtest86/memtest.bin
title=Win2k
root (hd0,2)
chainloader (hd0,2)+1
ive also tried
root (hd1,0)
chainloader (hd0,2)+1
and
root (hd1,0)
chainloader(hd1,0)
i always get an error saying something about filesystem type 82 and that it cant boot or it cant find it. ill try it again and post the error
my comp
celoron 1800mhz
192 mb ram
nvidia geforce 3 ti 500
any help would be greatly appriciated |
|
Back to top |
|
|
wilson81 n00b
Joined: 18 Mar 2003 Posts: 20 Location: williamsport pa
|
Posted: Sun May 04, 2003 5:12 am Post subject: |
|
|
heres the error
Booting win2k...
root(hd0,2) filesystem type unknown, partition type 0x82
chainloader(hd0,2)+1
error 13 invalid or undupported esecutable format
the windows 2000 partition is fat32 |
|
Back to top |
|
|
Jimbow Guru
Joined: 18 Feb 2003 Posts: 597 Location: Silver City, NM
|
Posted: Sun May 04, 2003 5:50 am Post subject: Re: multi-boot help |
|
|
wilson81 wrote: | hda2 Boot Primary FAT16 [NO NAME ] 106.93
[...]
title=Win2k
root (hd0,2)
chainloader (hd0,2)+1 |
Shouldn't that be (hd0,1) ? There may be other problems. _________________ After Perl everything else is just assembly language. |
|
Back to top |
|
|
wilson81 n00b
Joined: 18 Mar 2003 Posts: 20 Location: williamsport pa
|
Posted: Sun May 04, 2003 6:02 am Post subject: |
|
|
no, its 0,2. when i put in the partition i robbed from my 1.5 gig swap that i had set up on hda2, so the partition that windows wanted on hda became hda2 and my swap became hda3. thanks for the quick reply tho |
|
Back to top |
|
|
Jimbow Guru
Joined: 18 Feb 2003 Posts: 597 Location: Silver City, NM
|
Posted: Sun May 04, 2003 6:13 am Post subject: |
|
|
Grub numbers partitions starting at 0. So:
hda1 -> 0,0
hda2 -> 0,1
hda3 -> 0,2
etc. _________________ After Perl everything else is just assembly language. |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun May 04, 2003 2:27 pm Post subject: |
|
|
I think Jimbow is correct, you want :
Code: | title Windows XP
chainloader (hd0,1)+1 |
|
|
Back to top |
|
|
wilson81 n00b
Joined: 18 Mar 2003 Posts: 20 Location: williamsport pa
|
Posted: Sun May 04, 2003 3:17 pm Post subject: |
|
|
thanks, will try, it was late when i read your post and wasnt thinking right
ill post back results |
|
Back to top |
|
|
wilson81 n00b
Joined: 18 Mar 2003 Posts: 20 Location: williamsport pa
|
Posted: Sun May 04, 2003 3:25 pm Post subject: |
|
|
it worked, thanks for the help and sorry for the misunderstanding |
|
Back to top |
|
|
Jimbow Guru
Joined: 18 Feb 2003 Posts: 597 Location: Silver City, NM
|
Posted: Sun May 04, 2003 4:42 pm Post subject: |
|
|
I'm glad it worked. No hard feelings. We are all learning here. _________________ After Perl everything else is just assembly language. |
|
Back to top |
|
|
|