LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 08-09-2004, 12:03 AM   #1
black hole sun
Member
 
Registered: Jul 2004
Distribution: Slackware Current
Posts: 127

Rep: Reputation: 15
Dual booting WindowsXP and Gentoo - HOW???


Hey there. I am trying to configure my /etc/fstab file but I have no idea what to put for windows information. All the other partitions are taken care of...except I don't know what to put for <MOUNT POINT>, <TYPE>,<OPTS>, and <DUMP/PASS> for the windows line. This partition is /dev/hda2, as FDISK reports. Thanks for any help!
 
Old 08-09-2004, 12:11 AM   #2
black hole sun
Member
 
Registered: Jul 2004
Distribution: Slackware Current
Posts: 127

Original Poster
Rep: Reputation: 15
Oh how stupid of me. Didn't realize this was an off-topic forum. Can a mod please move this? Sorry.
 
Old 08-09-2004, 12:14 AM   #3
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
you'd probably want something like:
Code:
/dev/hdax            /mnt/<wherever>        vfat        defaults          0     0
where hdax is the windows partition, <wherever> is the directory where you're mounting it, and vfat is either vfat or ntfs.

but you understand that has nothing to do with booting XP?
 
Old 08-09-2004, 07:58 AM   #4
black hole sun
Member
 
Registered: Jul 2004
Distribution: Slackware Current
Posts: 127

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by synaptical
you'd probably want something like:
Code:
/dev/hdax            /mnt/<wherever>        vfat        defaults          0     0
where hdax is the windows partition, <wherever> is the directory where you're mounting it, and vfat is either vfat or ntfs.

but you understand that has nothing to do with booting XP?
I was under the assumption that grub would somehow be using some of the information in this file? First time Gentoo user, bear with me

EDIT: Wait, is all adding Windows to this file going to do is add Windows to the /mnt folder so I can read it from Linux?

Last edited by black hole sun; 08-09-2004 at 08:14 AM.
 
Old 08-09-2004, 09:55 AM   #5
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
you need to add your windows information to grub. adding it to fstab will only mount it when you boot gentoo so you can read it from linux, as you surmised. i wasn't sure what you were asking, so i thought i'd start with that.

i use lilo, but i think the lines to add to grub are as easy as:

title=Windows
rootnoverify (hd0,0)
chainloader +1

where hd0 is your first master IDE drive and 0 is the first partition (change the values accordingly). or search google for other examples.
 
Old 08-09-2004, 01:45 PM   #6
black hole sun
Member
 
Registered: Jul 2004
Distribution: Slackware Current
Posts: 127

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by synaptical
you need to add your windows information to grub. adding it to fstab will only mount it when you boot gentoo so you can read it from linux, as you surmised. i wasn't sure what you were asking, so i thought i'd start with that.

i use lilo, but i think the lines to add to grub are as easy as:

title=Windows
rootnoverify (hd0,0)
chainloader +1

where hd0 is your first master IDE drive and 0 is the first partition (change the values accordingly). or search google for other examples.
Thanks for clearing that up. Now I'm off to write a Gentoo boot loader...oh boy, wish me luck
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual booting slackware and gentoo. landfill Linux - General 8 02-23-2005 05:00 PM
decent dual booting tutorial for a windowsXP/linux machine dr_zayus69 Linux - General 5 01-26-2005 08:28 AM
Dual booting W95,98,2000,XP,Gentoo bluedevlx Linux - Newbie 6 10-07-2004 07:14 AM
Dual booting Gentoo and XP using grub GoatKing Linux - Software 7 01-26-2004 02:42 AM
Dual Booting Redhat 8.0 and WindowsXP Paul Lumagbas Linux - Newbie 3 03-11-2003 11:41 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 06:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration