View previous topic :: View next topic |
Author |
Message |
Ethernal Tux's lil' helper
Joined: 06 Nov 2002 Posts: 106 Location: Stockholm, Sweden
|
Posted: Tue Nov 12, 2002 8:10 am Post subject: Grub + Winnt |
|
|
I have gentoo on hda and windows nt on hdb, only thing it says is that partition is not recognized, unknown. It worked fine under lilo.
I've tried stuff like:
boot (hd1,4)
rootnoverify
chainloder +1
Any idea? _________________ Hmm.. Of course, these are MY opinions - likely to be just as flawed as anyone else's. Um, really, I guess you should assume everyone's speaking out of some external influence. Believe in whatever makes sense to you. |
|
Back to top |
|
|
dtun3Z n00b
Joined: 30 Apr 2002 Posts: 63
|
Posted: Tue Nov 12, 2002 9:43 am Post subject: |
|
|
Try something like this maybe?
title=Windows 2000 Pro <-- Change this
root (hd0,0) <-- and this!
makeactive
chainloader +1
boot _________________ Best regards
Christer Gundersen / dizzy tun3Z
http://dtz.cjb.net |
|
Back to top |
|
|
meteor n00b
Joined: 30 Oct 2002 Posts: 54 Location: Old School Europe
|
Posted: Tue Nov 12, 2002 10:03 am Post subject: |
|
|
Try posting your /boot/grub/menu.lst
Here is mine:
Code: |
default 0
color white/black
timeout 10
splashimage=(hd1,0)/boot/grub/tickle.xpm.gz
title=Gentoo Linux
root (hd1,0)
kernel /boot/bzImage root=/dev/hdb3
# Below needed only for people who dual-boot
title=WindowsXP
root (hd0,0)
makeactive
chainloader +1
|
I have winXP on hda and Gentoo on hdb. I'm not entirely sure if you'd need to change any configuration for NT, but I think you can use the same options as I'm using for XP. So basicly your menu.lst should look like:
Code: |
default 0
color white/black
timeout 10
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title=Gentoo
root (hd0,0)
kernel /boot/bzImage root=/dev/hda3
# Below needed only for people who dual-boot
title=NT
root (hd1,0)
makeactive
chainloader +1
|
This is assuming that your root partition is at hda3 and that your boot partition is at hda1. |
|
Back to top |
|
|
Ethernal Tux's lil' helper
Joined: 06 Nov 2002 Posts: 106 Location: Stockholm, Sweden
|
Posted: Tue Nov 12, 2002 2:09 pm Post subject: |
|
|
Well guys, I tried all your tips, but regardless it always stops at the root command.
It still says something like "partition type unkown" (sorry, not at that computer now so I don't have the exact error message).
In fdisk it recognises hdb and prints out the partition table as usual. _________________ Hmm.. Of course, these are MY opinions - likely to be just as flawed as anyone else's. Um, really, I guess you should assume everyone's speaking out of some external influence. Believe in whatever makes sense to you. |
|
Back to top |
|
|
meteor n00b
Joined: 30 Oct 2002 Posts: 54 Location: Old School Europe
|
Posted: Tue Nov 12, 2002 2:28 pm Post subject: |
|
|
Which partition on your hda is your boot partition? Could you post your partition table? Anyways I'd suggest that you try:
Code: |
root (hd0,0)
setup (hd0)
|
This is assuming that hda1 is your boot partition which should contain /boot/grub. The root command tells grub where the grub files are located and the setup tells grub where to setup camp - in this case it'll be on the MBR. Its possible to specify setup different to the boot sector of a different partition. Other than that info grub is pretty detailed. |
|
Back to top |
|
|
Ethernal Tux's lil' helper
Joined: 06 Nov 2002 Posts: 106 Location: Stockholm, Sweden
|
Posted: Tue Nov 12, 2002 2:37 pm Post subject: |
|
|
yes yes, I'm aware of that, but why would I need to set up a new MBR the windows nt disk? It's on /dev/hdb
Shouldn't I be using the windows ntloader instead of a linux master boot record?
Booting gentoo on /dev/hda is no problem what so ever.
It seems more like grub cant read the partition, but lilo could? Beats me really. _________________ Hmm.. Of course, these are MY opinions - likely to be just as flawed as anyone else's. Um, really, I guess you should assume everyone's speaking out of some external influence. Believe in whatever makes sense to you. |
|
Back to top |
|
|
meteor n00b
Joined: 30 Oct 2002 Posts: 54 Location: Old School Europe
|
Posted: Wed Nov 13, 2002 11:04 am Post subject: |
|
|
Maybe I'm missing something here and I have no experience with NT, but as far as I know all you need is to install grub on the MBR of your Gentoo drive and make sure it is the first drive in your boot sequence. Then when booting it should enter grub where you should be able to choose either Gentoo or NT, if you choose NT it should then continue by loading the NTloader. I would definately like to see how your /boot/grub/menu.lst looks. |
|
Back to top |
|
|
Ethernal Tux's lil' helper
Joined: 06 Nov 2002 Posts: 106 Location: Stockholm, Sweden
|
Posted: Wed Nov 13, 2002 11:12 am Post subject: |
|
|
default 0
timeout 5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title=Linux
root (hd0,0)
kernel /boot/bzImage root=/dev/hda3
# Below needed only for people who dual-boot
title=Windows NT
root (hd1,5)
chainloader +1
I've tried things like rootnoverify and boot as well,
regardless if which root (hd1,x) it always says unknown partition type.
And as I said earlier, lilo had no trouble with booting it _________________ Hmm.. Of course, these are MY opinions - likely to be just as flawed as anyone else's. Um, really, I guess you should assume everyone's speaking out of some external influence. Believe in whatever makes sense to you. |
|
Back to top |
|
|
meteor n00b
Joined: 30 Oct 2002 Posts: 54 Location: Old School Europe
|
Posted: Wed Nov 13, 2002 11:35 am Post subject: |
|
|
Quote: |
title=Windows NT
root (hd1,5)
chainloader +1
|
ok, that doesn't look right to me. root(hd1, 5) should be pointing to the partition of hd1 where your NTloader i.e. I would probably have it say root(hd1, 0). I assume you've tried that, so a couple of other things you could try are:
Code: |
title = WindowsNT
rootnoverify (hd1,0)
chainloader +1
|
or
Code: |
title = WindowsNT
root (hd1,0)
makeactive
chainloader +1
|
If none of this works, then I'm fresh out of suggestions. |
|
Back to top |
|
|
Ethernal Tux's lil' helper
Joined: 06 Nov 2002 Posts: 106 Location: Stockholm, Sweden
|
Posted: Wed Nov 13, 2002 12:36 pm Post subject: |
|
|
right, I haven't tried makeactive though, but if this doesn't work, I'll just give up, thanks alot for your help _________________ Hmm.. Of course, these are MY opinions - likely to be just as flawed as anyone else's. Um, really, I guess you should assume everyone's speaking out of some external influence. Believe in whatever makes sense to you. |
|
Back to top |
|
|
He4D n00b
Joined: 12 Jul 2002 Posts: 26
|
Posted: Wed Nov 13, 2002 3:04 pm Post subject: |
|
|
doesnt work for me too |
|
Back to top |
|
|
Ethernal Tux's lil' helper
Joined: 06 Nov 2002 Posts: 106 Location: Stockholm, Sweden
|
Posted: Wed Nov 13, 2002 3:09 pm Post subject: |
|
|
post your menu.lst and tell us your partition table and someone might see the problem _________________ Hmm.. Of course, these are MY opinions - likely to be just as flawed as anyone else's. Um, really, I guess you should assume everyone's speaking out of some external influence. Believe in whatever makes sense to you. |
|
Back to top |
|
|
He4D n00b
Joined: 12 Jul 2002 Posts: 26
|
Posted: Wed Nov 13, 2002 3:43 pm Post subject: |
|
|
Mkay..
Code: |
default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title=Gentoo
root (hd0,0)
kernel /boot/bzImage root=/dev/hda6
title=WindowsNT
root (hd1,0)
chainloader +1
|
So thats it.. On my First HD i have installed Gentoo and Grub in the MBR
(Master)
On the second HD i have 3 NTFS Partitions and installed Windows 2k on it
(Secondary)
So.. i hope someone can help me |
|
Back to top |
|
|
Ethernal Tux's lil' helper
Joined: 06 Nov 2002 Posts: 106 Location: Stockholm, Sweden
|
Posted: Wed Nov 13, 2002 4:12 pm Post subject: |
|
|
what error does grub show when you try to boot windows ? _________________ Hmm.. Of course, these are MY opinions - likely to be just as flawed as anyone else's. Um, really, I guess you should assume everyone's speaking out of some external influence. Believe in whatever makes sense to you. |
|
Back to top |
|
|
He4D n00b
Joined: 12 Jul 2002 Posts: 26
|
Posted: Wed Nov 13, 2002 4:19 pm Post subject: |
|
|
unknown partition type |
|
Back to top |
|
|
dangerweasel n00b
Joined: 15 Aug 2002 Posts: 47 Location: Outer Rim
|
Posted: Wed Nov 13, 2002 5:14 pm Post subject: |
|
|
Ethereal, you have never mentioned how many partitions you have on the second HD or what partition NT is insatalled on. From your Grub entry, it appears NT is installed on the 6th partition on that disk. Is this correct? It doesn't look right. |
|
Back to top |
|
|
ckwall Apprentice
Joined: 31 May 2002 Posts: 163
|
Posted: Thu Nov 14, 2002 3:47 am Post subject: |
|
|
I think that I may have mine set up like yours, however I did not read very closely. Here is my grub.conf incase this helps. Try the mapping at the bottom. this is the trick to make the windows on the second hard drive act like it is on the first. Windows is like a woman, it thinks that it is the only thing that exists. So let grub make it feel that way.
default 0
timeout 30
splashimage=(hd0,1)/boot/grub/penguins.xpm.gz
title=Slackware Linux
root (hd0,1)
kernel /boot/vmlinuz root=/dev/hda2 hdc=ide-scsi
title=Windows 2000
root (hd1,0)
chainloader +1
map (hd0) (hd1)
map (hd1) (hd0) |
|
Back to top |
|
|
He4D n00b
Joined: 12 Jul 2002 Posts: 26
|
Posted: Thu Nov 14, 2002 3:16 pm Post subject: |
|
|
worx fine.. thx!! |
|
Back to top |
|
|
asem n00b
Joined: 07 Apr 2004 Posts: 5
|
Posted: Tue Sep 05, 2006 4:54 pm Post subject: Dual boot ntloader, grub doesn't show up,the computer reboot |
|
|
Hello gentoos,
I have win xp and linux gentoo install on the same disk (on a laptop).
The MBR is fulled by the ntloader so the computer start on Boot.ini, propose windows XP and gentoo like this :
Code: |
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP" /noexecute=optin /fastdetect
C:/bootsect.lnx="Gentoo"
|
bootsect.lnx is made with this command:
Code: |
dd if=/dev/hda6 of=/mnt/winpart/bootsect.lnx bs=512 count=1
|
where /dev/hda6 is my linux boot partition with grub install on.
I can give you what is inside my grub.conf file later. The problem occured before grub loads apparently or during.
After choosing "Gentoo" at the os choose menu the screen get black...some time passes...and the computer reboot :/
I've been looking in many web pages...forums, guides..
Does someone know what it could be?
thx |
|
Back to top |
|
|
|