Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

dual boot not working?

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
infamousmrsatan
Apprentice
Apprentice
User avatar
Posts: 201
Joined: Thu Jan 08, 2004 12:06 pm
Location: California

dual boot not working?

  • Quote

Post by infamousmrsatan » Thu Jan 08, 2004 4:11 pm

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: Select all

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: Select all

  Booting 'Win2k'

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

J.S.
Top
infamousmrsatan
Apprentice
Apprentice
User avatar
Posts: 201
Joined: Thu Jan 08, 2004 12:06 pm
Location: California

  • Quote

Post by infamousmrsatan » Thu Jan 08, 2004 4:18 pm

another note, the windows filesystem is ntfs ... shouldnt' matter though.
Top
li1_getoo
l33t
l33t
User avatar
Posts: 661
Joined: Sun Oct 20, 2002 10:24 am
Location: Queens , NY

  • Quote

Post by li1_getoo » Thu Jan 08, 2004 4:19 pm

try

Code: Select all

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
Top
cyrillic
Watchman
Watchman
User avatar
Posts: 7311
Joined: Wed Feb 19, 2003 3:05 am
Location: Groton, Massachusetts USA

  • Quote

Post by cyrillic » Thu Jan 08, 2004 4:22 pm

To boot Windows from the second harddrive, setup your grub.conf like this.

Code: Select all

title Win2k
map (hd0) (hd1)
map (hd1) (hd0)
chainloader (hd1,0)+1 
Top
infamousmrsatan
Apprentice
Apprentice
User avatar
Posts: 201
Joined: Thu Jan 08, 2004 12:06 pm
Location: California

  • Quote

Post by infamousmrsatan » Thu Jan 08, 2004 4:35 pm

thanks! Worked like a charm :P

J.S.
Top
blippy
n00b
n00b
Posts: 42
Joined: Sun May 23, 2004 4:02 pm

same problems

  • Quote

Post by blippy » Thu Jul 15, 2004 6:33 pm

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: Select all

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: Select all

  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: Select all

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: Select all

/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
Top
bocacorazon
n00b
n00b
Posts: 31
Joined: Fri May 07, 2004 12:56 am

It works!

  • Quote

Post by bocacorazon » Sat Feb 26, 2005 3:59 pm

The code posted above solved my problem.

Code: Select all

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
Top
FluKe
n00b
n00b
User avatar
Posts: 2
Joined: Sun Jan 30, 2005 5:21 pm
Location: Cow Town

  • Quote

Post by FluKe » Tue Mar 15, 2005 5:59 am

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: Select all

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?
Top
mantheorem
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 83
Joined: Mon Mar 14, 2005 3:47 am
Location: (hd0) Boot Sector

Darth Daver's HOWTO

  • Quote

Post by mantheorem » Tue Mar 15, 2005 6:32 am

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: http://forums.gentoo.org/viewtopic.php?t=18319.
Top
Post Reply

9 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic