I've run Gentoo on my desktop for years, and have used Windows for even longer. I'm proficient with both.
I want to start dual-booting my Thinkpad to run both Gentoo and XP. (It's currently got XP Pro installed.) The problem is that I have no experience setting up a dual-boot scenario.
How exactly do I choose what OS I want? Can I make lilo sprout a "Windows" option? Or does the Windows bootloader give a Linux option?
Also, when I suspend/hibernate my laptop (as I've taken to doing most of the time), where does it save the disk image? Is this just on the existing filesystem, or is there a partition for it? Will the OSs play nicely when doing hibernate/suspend sort of stuff?
Basically, I'm just confused about the "middle" step: we've got a bootable partition editor around here that can resize NTFS, so I can make another partition for Linux. And I know how to install Linux (hopefully only on the partitions I desire ). I just have no clue how to do things like dual-boot.
You should install Windows first. If you install it last it will overwrite the MBR and wipe out LILO there. I haven't fooled with Gentoo, but most likely it will put LILO or GRUB in the MBR and recognize Windows as a choice on boot up. That's what happens with SuSE and MEPIS.
It is a good idea to resize your partitions in advance. If there is a partition formatted for linux, the installation will probably want to go there. If there isn't, you will have to say no to a default that wants to overwrite the harddrive.
It can be a good idea to put in a small FAT32 partition. You can copy files from linux to the FAT32 partition. Linux can read NTFS partitions, but cannot write to them. Linux is invisible to Windows.
If you want to put more than one linux distro into your computer, you should write the LILO or GRUB for each distro into its own root partition. Then use a third party boot manager (usually easiest) or configure GRUB of one is the distros to look for the others. The boot manager is not the same as a boot loader, so you need LILO or GRUB in the root partition to serve as boot loader. If you are only using one distro, you can usually use the default of putting GRUB or LILO to the MBR.
I don't think it's necessary to mess with boot and swap partitions during the pre-installation partitioning. As long as there is an Ext2 or Ext3 partition waiting, the installation program will usually take care of that.
Originally posted by Disgruntled I don't think it's necessary to mess with boot and swap partitions during the pre-installation partitioning. As long as there is an Ext2 or Ext3 partition waiting, the installation program will usually take care of that.
There is no installation program in Gentoo Linux. Everything is manual.