View previous topic :: View next topic |
Author |
Message |
cybrjackle Apprentice
Joined: 09 Jan 2003 Posts: 248 Location: USA
|
Posted: Thu Jan 09, 2003 7:45 pm Post subject: Help, GRUB install with Windows XP |
|
|
I'm installing Gentoo 1.4_rc2 and don't know much about grub. Here's my setup, if someone could please help explain to me how my grub.conf should be I would really appreciate it. Would lilo be better?
/dev/hda1 = Windows xp
/dev/hda3 = Extended
/dev/hda5 = /boot
/dev/hda6 = swap
/dev/hda7 = /
Also, I have a TV card, do I need to do anything with the kernel or anything to see it or will Gentoo pick it up? This might be for a different topic, but I thought I could ask.
Thank you in advance. |
|
Back to top |
|
|
garo Bodhisattva
Joined: 15 Jul 2002 Posts: 860 Location: Edegem,BELGIUM
|
Posted: Thu Jan 09, 2003 8:03 pm Post subject: |
|
|
Code: | default 0 # sets default to gentoo
timeout 30 #after 30 seconds start the default (gentoo)
splashimage=(hd0,4)/boot/grub/splash.xpm.gz #place a image on the background of grub
title=Gentoo Linux #place gentoo in the boot menu
root (hd0,4) # boot from hda5
kernel /boot/bzImage root=/dev/hda7 hdc=ide-scsi #locate the kernel and rootpartition
#if you don't have a cd writer delete "hdc=ide-scsi"
title=Microsoft Winblows XP #place the xp-shit :-) in the menu
root=(hd0,0) #boot from xp partition
chainloader +1 #necessary for xp
|
_________________ My favorite links this month:
- Surf Random
- Web-based SSH
- Stop Spam |
|
Back to top |
|
|
cybrjackle Apprentice
Joined: 09 Jan 2003 Posts: 248 Location: USA
|
Posted: Thu Jan 09, 2003 8:12 pm Post subject: |
|
|
What about the first part of GRUB?
grub> root (hd0,0)
grub> setup (hd0)
grub> quit
Will that stay the same |
|
Back to top |
|
|
garo Bodhisattva
Joined: 15 Jul 2002 Posts: 860 Location: Edegem,BELGIUM
|
Posted: Thu Jan 09, 2003 8:14 pm Post subject: |
|
|
Quote: | Also, I have a TV card, do I need to do anything with the kernel or anything to see it or will Gentoo pick it up? This might be for a different topic, but I thought I could ask. |
indeed, you have to make 2 different topics, but what the heck:
in your kernelconfig check the following:
Code: | > CONFIG_I2C=y
> CONFIG_I2C_ALGOBIT=y
> CONFIG_I2C_PROC=y
> CONFIG_VIDEO_DEV=y
> CONFIG_VIDEO_PROC_FS=y
|
also choose your tv card, if you are not sure the following works on most tv cards:
Code: | > CONFIG_VIDEO_BT848=y |
Sorry, for the bad answer on your tv card question, but i don't have much time right now...
I will probably explain this better tomorrow _________________ My favorite links this month:
- Surf Random
- Web-based SSH
- Stop Spam |
|
Back to top |
|
|
cybrjackle Apprentice
Joined: 09 Jan 2003 Posts: 248 Location: USA
|
Posted: Thu Jan 09, 2003 8:41 pm Post subject: |
|
|
Thank you,
It's a ATI TV Wonder VE. Hope it works.
I assume the first part of GRUB is ok, it's just the MBR |
|
Back to top |
|
|
garo Bodhisattva
Joined: 15 Jul 2002 Posts: 860 Location: Edegem,BELGIUM
|
Posted: Thu Jan 09, 2003 9:05 pm Post subject: |
|
|
Quote: | What about the first part of GRUB? |
Code: | grub> root (hd0,4)
grub> setup (hd0)
grub> quit
|
_________________ My favorite links this month:
- Surf Random
- Web-based SSH
- Stop Spam |
|
Back to top |
|
|
lost_packet n00b
Joined: 29 Dec 2002 Posts: 19
|
Posted: Mon Jan 13, 2003 1:24 am Post subject: |
|
|
what if it was:
/dev/hda1 - XP
/dev/hdg3 - extended
/dev/hdg5 - boot
/dev/hdg6 - swap
/dev/hdg7 - /
would it be
grub> root (hd7,4)
grub> setup (hd0) |
|
Back to top |
|
|
cyfred Retired Dev
Joined: 23 Aug 2002 Posts: 596
|
Posted: Mon Jan 13, 2003 2:18 am Post subject: |
|
|
Quote: | what if it was:
/dev/hda1 - XP
/dev/hdg3 - extended
/dev/hdg5 - boot
/dev/hdg6 - swap
/dev/hdg7 - /
would it be
grub> root (hd7,4)
grub> setup (hd0) |
No... let me think
OK hda1 means (hd0,0) (one less that the letter and one less than the partition number)
SO yours would be
Code: | root (6,4)
setup (hd0) |
Provided you want grub installed in the MBR of hda |
|
Back to top |
|
|
|