Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Dual booting Linux with Windows
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
Baron
n00b
n00b


Joined: 03 Oct 2003
Posts: 3

PostPosted: Fri Oct 03, 2003 11:48 pm    Post subject: Dual booting Linux with Windows Reply with quote

Ok, I had win XP setup on 1 of 3 partitions, I then installed mandrake 9.1 on partition 2 and then another install of XP on partition 3.

When i installed XP, then linux...it was fine as the linux boot loader would let me select windows or linux. When i put the other install of XP on there it got rid of the linux boot menu and just loaded the windows one, so I cant' boot into linux any more.

What would be the best/easiest way to get either of these menus to show linux and windows? Mind you I don't know a ton about linux yet, and am still learning it.
Back to top
View user's profile Send private message
gwydion
Apprentice
Apprentice


Joined: 26 Nov 2002
Posts: 151
Location: Michigan, USA

PostPosted: Sat Oct 04, 2003 12:02 am    Post subject: Reply with quote

basically, the easiest would be to install xp:xp:linux

The reasoning behind this comes from how windows[insert version here] handles the boot loader/process/files/whatever on install. Whenever you install windows, it assumes two things: one, the MBR *must* be updated; two, the only operating systems that should be available after it's done installing are MS operating systems. Therefore, because of this hijacking process, one would normally install any and all MS systems first, then linux. In your particular instance, you can go from this point of having both windows installs recognized and just re-install linux.

Disclaimer: yes, I know I'm somewhat vague, and I know there's more to it, exceptions, yada yada yada... but this is the basic general breakdown funky groove thing. so there. :D
_________________
Linux User #223670
Back to top
View user's profile Send private message
Baron
n00b
n00b


Joined: 03 Oct 2003
Posts: 3

PostPosted: Sat Oct 04, 2003 12:39 am    Post subject: Reply with quote

Well I always change OSes around and such...so having one permanent setup wouldnt work as i'd keep changing it.

Any way to have the windoze boot.ini point to the linux OS?
Back to top
View user's profile Send private message
stonent
Veteran
Veteran


Joined: 07 Aug 2003
Posts: 1139
Location: Texas

PostPosted: Sat Oct 04, 2003 3:07 am    Post subject: Reply with quote

I launch windows from Grub:
Code:

# Boot automatically after 30 secs.
timeout 30

# By default, boot the first entry.
default 1
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
title  GNU/Linux
root (hd0,0)
kernel (hd0,1)/kernel-2.4.20-gentoo-r6 vga=792 root=/dev/hda6
initrd (hd0,1)/initrd-2.4.20-gentoo-r6

title Linux AC sources
root (hd0,0)
kernel (hd0,1)/kernel-2.4.22-ac1 vga=792 root=/dev/hda6
initrd (hd0,1)/initrd-2.4.22-ac1
title Linux test
root (hd0,0)
kernel (hd0,1)/vmlinuz-2.6.0-test5-mm1 vga=792
title Windows Server SBS 2003
        rootnoverify (hd0,0)
        chainloader +1

_________________
Inspiron 4100 & Sun UltraAXe
Portage on Solaris|Dell Laptop Hacks
The way you feel about organized religion is the same way I feel about organized socialism.
Back to top
View user's profile Send private message
Baron
n00b
n00b


Joined: 03 Oct 2003
Posts: 3

PostPosted: Sat Oct 04, 2003 3:20 am    Post subject: Reply with quote

stonent wrote:
I launch windows from Grub:
Code:

# Boot automatically after 30 secs.
timeout 30

# By default, boot the first entry.
default 1
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
title  GNU/Linux
root (hd0,0)
kernel (hd0,1)/kernel-2.4.20-gentoo-r6 vga=792 root=/dev/hda6
initrd (hd0,1)/initrd-2.4.20-gentoo-r6

title Linux AC sources
root (hd0,0)
kernel (hd0,1)/kernel-2.4.22-ac1 vga=792 root=/dev/hda6
initrd (hd0,1)/initrd-2.4.22-ac1
title Linux test
root (hd0,0)
kernel (hd0,1)/vmlinuz-2.6.0-test5-mm1 vga=792
title Windows Server SBS 2003
        rootnoverify (hd0,0)
        chainloader +1


I wish I new where that went or how to use it...

I don't really feel like reinstalling linux again :\
Back to top
View user's profile Send private message
jsc1959
n00b
n00b


Joined: 17 Sep 2003
Posts: 74
Location: Los Angeles, CA

PostPosted: Sat Oct 04, 2003 4:50 am    Post subject: Reply with quote

Boot off of the Disk 1 for Mandrake , at the boot prompt type "rescue" and press enter. This will bring up the rescue portion of Mandrake. The first option is to reinstall Lilo if that is what you were booting with before. Just do that and you should have you boot options back. Hope this helps.
Back to top
View user's profile Send private message
slarti`
Retired Dev
Retired Dev


Joined: 20 Sep 2003
Posts: 376
Location: UK

PostPosted: Sat Oct 04, 2003 7:02 am    Post subject: Reply with quote

Essentially windows has it's own bootloader that is installed in the MBR every time you install Windows [bloat number], overwriting LiLo/GRUB. If you are constantly switching OSes around, your best bet is to make a LiLo/GRUB bootfloppy, and set your BIOS to boot from A: first. This way, when you have the bootfloppy in, you get your bootloader prompt, and can choose whatever OS you want, as long as the bootloader is configured to it.

The configuration file for Grub is /boot/grub/grub.conf

The configuration file for LiLo is /etc/lilo.conf (remember to /sbin/lilo after making any changes)

8)
_________________
Gentoo/AMD64, shell-tools, net-mail, vim, recruiters
IRC: slarti @ irc.freenode.net
Devspace
Back to top
View user's profile Send private message
plate
Bodhisattva
Bodhisattva


Joined: 25 Jul 2002
Posts: 1663
Location: Berlin

PostPosted: Sat Oct 04, 2003 10:39 am    Post subject: Reply with quote

Check the documentation and the FAQ sections of this forum before you post anything regarding one of the most frequent problems here. Besides, debugging Mandrake setups has no business in Installing Gentoo...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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