Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Need help with GRUB
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Shadowplane676
n00b
n00b


Joined: 08 Apr 2005
Posts: 34
Location: Windsor Locks, CT

PostPosted: Sun Apr 17, 2005 1:52 am    Post subject: Need help with GRUB Reply with quote

i am trying to do a dual boot system on the raid 0 array 1, so far, i have windows on a 15gb raid 0 and / on another 15gb partition. my question is how do i convince grub to work and install on the correct device (which is that anyways?)

so far i can mount /dev/md0 (the / directory) and chroot no problem, i have already compiled my kernel and await only a working boodloader that will work with the RAID and a dualboot option. so far i have been unable to uncover anything that will work for my system (that im aware of or could understand/find. some help would be much appreciated, thanks.

hardware is:
DFI Lanparty SLI 939 mainboard
AMD 64 3500
2 GB kingston DDR400
GF 6600GT Video card
2 74gb Raptors (RAID 0 array 1)
2 160gb WD (RAID 0 array 2)
1 400gb seagate (standalone)
_________________
Trust me.....I do this ALL the time :-D
Back to top
View user's profile Send private message
Gherald
Veteran
Veteran


Joined: 23 Aug 2004
Posts: 1399
Location: CLUAConsole

PostPosted: Sun Apr 17, 2005 1:54 am    Post subject: Reply with quote

/boot must be on a non-raid (or at least raid 1) partition... I recommend around 100mb. This is where grub and your kernel images will go.

For the kernel's command line, do root=/dev/md0
Back to top
View user's profile Send private message
Shadowplane676
n00b
n00b


Joined: 08 Apr 2005
Posts: 34
Location: Windsor Locks, CT

PostPosted: Sun Apr 17, 2005 4:00 pm    Post subject: Reply with quote

so, a 100mb nonraid partition would work, but then how would i set up the booting? i.e. how do i set up the MBR that windows uses already with grub for the dual boot? on the first drive /dev/sda? i tried that and it doesn't work, won't recognize it. i have a raid 1 array of 2 50mb partitions, but it doesn't initialize when i do raidstart -a.

(raid array 1 consists of sda and sdb)
_________________
Trust me.....I do this ALL the time :-D
Back to top
View user's profile Send private message
Gherald
Veteran
Veteran


Joined: 23 Aug 2004
Posts: 1399
Location: CLUAConsole

PostPosted: Sun Apr 17, 2005 10:46 pm    Post subject: Reply with quote

Shadowplane676 wrote:
so, a 100mb nonraid partition would work, but then how would i set up the booting? i.e. how do i set up the MBR that windows uses already with grub for the dual boot? on the first drive /dev/sda? i tried that and it doesn't work, won't recognize it. i have a raid 1 array of 2 50mb partitions, but it doesn't initialize when i do raidstart -a.

(raid array 1 consists of sda and sdb)

I don't quite follow what you're trying to do... post fdisk -ls
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Sun Apr 17, 2005 11:13 pm    Post subject: Reply with quote

Shadowplane676 wrote:
so, a 100mb nonraid partition would work, but then how would i set up the booting? i.e. how do i set up the MBR that windows uses already with grub for the dual boot? on the first drive /dev/sda? i tried that and it doesn't work, won't recognize it. i have a raid 1 array of 2 50mb partitions, but it doesn't initialize when i do raidstart -a.

(raid array 1 consists of sda and sdb)


Understanding your setup is confusing.

a) Linux software raid uses partitions, so your last line above is wrong.
b) GRUB will replace the Windows bootloader. It will boot Windows also.
c) Is the Windows raid partitions using Windows software dynamic disks?

Posting what Gherald asked for will greatly help.
Back to top
View user's profile Send private message
Shadowplane676
n00b
n00b


Joined: 08 Apr 2005
Posts: 34
Location: Windsor Locks, CT

PostPosted: Tue Apr 19, 2005 6:57 pm    Post subject: Reply with quote

ok my drives are as follows

/dev/sda : raid 0 array 1 - 15gb windoze, 15gb linux, / directory mounts off of livecd as /dev/md0 using raidstart
/dev/sdb : raid 0 array 1 - ""
/dev/sdc : raid 0 array 2 - 160gb storage array
/dev/sdd : raid 0 array 2 - ""
/dev/sde : standaolone

has everything compiled and ready to go save for a bootloader. not sure how to configure grubt o dual boot windoze and gentoo.
_________________
Trust me.....I do this ALL the time :-D
Back to top
View user's profile Send private message
jdgill0
Veteran
Veteran


Joined: 25 Mar 2003
Posts: 1366
Location: Lexington, Ky -- USA

PostPosted: Tue Apr 19, 2005 8:14 pm    Post subject: Reply with quote

Shadowplane676 wrote:
... not sure how to configure grubt o dual boot windoze and gentoo.


Use something like the following:
Code:
title WinXP Pro
    map (hd0) (hd1)
    map (hd1) (hd0)
    rootnoverify (hd1,0)
    makeactive
    chainloader +1


You can omit the map lines if you have Windows on the first primary drive, i.e. hda -- in which case you would change rootnoverify (hd1,0) to rootnoverify (hd0,0), assuming Windows is on the first partition of course.
_________________
Vim has excellent syntax highlighting for configuration files: emerge gentoo-syntax
Learn how to use Vim: vimtutor
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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