Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dual boot not working?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
infamousmrsatan
Apprentice
Apprentice


Joined: 08 Jan 2004
Posts: 201
Location: California

PostPosted: Thu Jan 08, 2004 4:11 pm    Post subject: dual boot not working? Reply with quote

I'm having a problem getting my windows partition to boot up using grub.

the windows and linux partitions are on two seperate physical hard drives.

here's what my grub.conf file looks like:

Code:

default 0
timeout 30
splashimage=(hd0,0)/grub/splash.xpm.gz

title=Gentoo Linux
root (hd0,0)
kernel (hd0,0)/kernel-2.4.20 root=/dev/hda3

title=Win2k
root (hd1,0)
chainloader +1


When I try to boot windows I get the following:

Code:

  Booting 'Win2k'

root (hd1,0)
 Filesystem type unknown, partition type 0x7
chainloader +1


any ideas??

J.S.
Back to top
View user's profile Send private message
infamousmrsatan
Apprentice
Apprentice


Joined: 08 Jan 2004
Posts: 201
Location: California

PostPosted: Thu Jan 08, 2004 4:18 pm    Post subject: Reply with quote

another note, the windows filesystem is ntfs ... shouldnt' matter though.
Back to top
View user's profile Send private message
li1_getoo
l33t
l33t


Joined: 20 Oct 2002
Posts: 661
Location: Queens , NY

PostPosted: Thu Jan 08, 2004 4:19 pm    Post subject: Reply with quote

try
Code:
chainloader (hd1,0)+1
also from what i know windows always likes to be first , so u might wanna try to swap the hard drives and make windows hd0 also edit ur lilo.conf or grub.conf
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7301
Location: Groton, Massachusetts USA

PostPosted: Thu Jan 08, 2004 4:22 pm    Post subject: Reply with quote

To boot Windows from the second harddrive, setup your grub.conf like this.
Code:
title Win2k
map (hd0) (hd1)
map (hd1) (hd0)
chainloader (hd1,0)+1
Back to top
View user's profile Send private message
infamousmrsatan
Apprentice
Apprentice


Joined: 08 Jan 2004
Posts: 201
Location: California

PostPosted: Thu Jan 08, 2004 4:35 pm    Post subject: Reply with quote

thanks! Worked like a charm :P

J.S.
Back to top
View user's profile Send private message
blippy
n00b
n00b


Joined: 23 May 2004
Posts: 42

PostPosted: Thu Jul 15, 2004 6:33 pm    Post subject: same problems Reply with quote

I'm having a couple of problems. First, lets deal with the windows part.

Disk Partitions
hda1 = windows c drive
hdb1 = windows drive
hdb2 = gentoo boot
hdb3 = gentoo swap
hdb4 = gentoo root

My grub.conf looks like this, and I used genkernel also.

Code:

default 1
timeout 20
splashimage=(hd1,1)/grub/splash.xpm.gz

title=Gentoo Linux 2.6
root (hd1,1)
kernel /kernel-2.6.5-gentoo-r1 root=/dev/ram0 init=/linuxrc ramdisk=8192 (not really sure what this means) real_root=/dev/hdb4 vga=795
initrd /initrd-2.6.5-gentoo-r1

title=Windows XP
root (hd0,0)
chainloader (hd0,0)+1


I've tried to have rootnoverify (hd0,0) for the second line as well as just have chainloader +1 but like many other people, grub just seems to just keep coming back. I get the same error as the first poster

Code:
  Booting 'Win2k'

root (hd0,0)
 Filesystem type unknown, partition type 0x7
chainloader (hd0,0)+1


The second problem has to deal with gentoo booting up, first grub will execute linux and it'll start to boot up.

then, i get a section that looks like this, and it repeats over and over

Code:

INIT: cannot execute "/sbin/agetty"
INIT: cannot execute "/sbin/agetty"
INIT: cannot execute "/sbin/agetty"
INIT: cannot execute "/sbin/agetty"
INIT: cannot execute "/sbin/agetty"
INIT: cannot execute "/sbin/agetty"
........ you get the picture.........

INIT: Id "c1" respawning too fast: disabling for 5 minutes
INIT: Id "c2" respawning too fast: disabling for 5 minutes
INIT: Id "c3" respawning too fast: disabling for 5 minutes
INIT: Id "c4" respawning too fast: disabling for 5 minutes
INIT: cannot execute "/sbin/agetty"
INIT: Id "c5" respawning too fast: disabling for 5 minutes
INIT: cannot execute "/sbin/agetty"
INIT: cannot execute "/sbin/agetty"
INIT: Id "c6" respawning too fast: disabling for 5 minutes
INIT: no more processes left in this runlevel
_


and then the system just hangs. This is right after installation, and i think it's because at first i started to compile the kernel myself, and then i went back and chose to use genkernel (i hadn't yet instlaled the kernel, just compiled myself). if anyone has any ideas, please let me know and thanks for your time =)

I'll also fost my fstab just incase there's a problem in there that's causing everything

Code:

/dev/hdb2                  /boot               ext2   defaults,user    1 2
/dev/hdb3                  none                swap  sw                  0 0
/dev/hdb4                  /                     ext3   noatime,user    0 1
/dev/cdroms/cdrom0  /mnt/cdrom      auto   noauto,user     0 0
/dev/cdroms/cdrom1  /mnt/cdrom1    auto  noauto,user      0 0
/dev/fd0                    /mnt/flonoppy   auto   noauto            0 0
/dev/hda1                 /mnt/windowsc  auto  noatime,user    0 0
/dev/hda2                 /mnt/windowsd  auto  noatime,user    0 0
/dev/hdb1                 /mnt/windowsf   auto  noatime,user    0 0
/dev/hde1                 /mnt/windowse  auto  noatime,user    0 0

none                        /proc/bus/usb    usbfs defaults           0 0
none                       /proc                  proc  defaults           0 0
none                        /dev/shm          tmpfs defaults           0 0



once agains, thanks for your help and time
Back to top
View user's profile Send private message
bocacorazon
n00b
n00b


Joined: 07 May 2004
Posts: 31

PostPosted: Sat Feb 26, 2005 3:59 pm    Post subject: It works! Reply with quote

The code posted above solved my problem.

Code:

title Win2k
map (hd0) (hd1)
map (hd1) (hd0)
chainloader (hd1,0)+1



I have two SCSI drives, one (sda) with several Linux partitions and the other(sdb) with Windows 2000.
I could not get Windows to work until I implemented the mapping

Thanks
Back to top
View user's profile Send private message
FluKe
n00b
n00b


Joined: 30 Jan 2005
Posts: 2
Location: Cow Town

PostPosted: Tue Mar 15, 2005 5:59 am    Post subject: Reply with quote

This thread helpt me out with my grub config, I was stuck having problems with booting to windows on my seperate sata harddrive. I think I narrowed down the problem to have my grub to include makeactive like this

Code:
title windows xp
map (hd0) (hd1)
map (hd1) (hd0)
makeactive
chainloader (hd1,0)+1


As soon as I took out the makeactive it worked fine. Does anyone have an explaination as to why it worked?
Back to top
View user's profile Send private message
mantheorem
Tux's lil' helper
Tux's lil' helper


Joined: 14 Mar 2005
Posts: 83
Location: (hd0) Boot Sector

PostPosted: Tue Mar 15, 2005 6:32 am    Post subject: Darth Daver's HOWTO Reply with quote

Anyone with further questions on this subject would really benefit on reading Darth Daver's explanation on how to dual boot using two physically seperate hard drives. The stuff above using MAP is part of his howto. The location of the how to is:[url] https://forums.gentoo.org/viewtopic.php?t=18319[/url].
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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