Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Grub and scsi
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
lampshade
n00b
n00b


Joined: 12 Aug 2002
Posts: 9

PostPosted: Tue Aug 13, 2002 9:58 pm    Post subject: Grub and scsi Reply with quote

I'm curious of what do i set as
grub> root (
what would go there i tried doing (hd0,0) but it keeps saying there is a ntfs partition there

How do i work it so it doesn't hose my windows partiton on the same disk?
Thanks
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Tue Aug 13, 2002 10:02 pm    Post subject: Reply with quote

How your hard drives are set up would be helpful. What drive (HD and CD etc.) on what channel/id (IDE/SCSI)? What partitions are on the drives?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
lampshade
n00b
n00b


Joined: 12 Aug 2002
Posts: 9

PostPosted: Tue Aug 13, 2002 10:12 pm    Post subject: Reply with quote

/dev/sda1 =win(ntfs)
/dev/sda2=boot
/dev/sda3=swap
/dev/sda4=root

dev/hda= 60 gigs of ramdom junk(ntfs)
/dev/hdb=2gigs of random junk
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Tue Aug 13, 2002 10:19 pm    Post subject: Reply with quote

Have you looked at the GRUB manual and GRUB FAQ? There are links to them in https://forums.gentoo.org/faq.php#9.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
lampshade
n00b
n00b


Joined: 12 Aug 2002
Posts: 9

PostPosted: Tue Aug 13, 2002 10:51 pm    Post subject: Reply with quote

well i read that and it still isn't working
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Tue Aug 13, 2002 11:04 pm    Post subject: Reply with quote

root(hdx,y) should point to your /boot partition. I'm not sure if IDE or SCSI takes precendence (probably whichever is on the motherboard). Since your /boot partition is /dev/sda2, I'd think the root command should either be:
Code:
root(hd2,1)
or
Code:
root(hd1,1)
root(hd0,0) would refer to the first partition on either /dev/hda or /dev/sda
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Tue Aug 13, 2002 11:24 pm    Post subject: Reply with quote

kanuslupus wrote:
I'm not sure if IDE or SCSI takes precendence (probably whichever is on the motherboard)

This was a topic I was hoping was going to get picked up from the GRUB manual:
Quote:
Normally, any IDE drive number is less than any SCSI drive number, although that is not true if you change the boot sequence by swapping IDE and SCSI drives in your BIOS.

_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
water
Guru
Guru


Joined: 19 Jun 2002
Posts: 387
Location: Zierikzee, The Netherlands

PostPosted: Wed Aug 14, 2002 6:30 am    Post subject: Reply with quote

If (hd0,0) keeps saying there is a ntfs partition, then it should simply be (hd0,1).

First disk = 0
First partition = 0 = /dev/sda1 =win(ntfs)
So: second partiton = 1 = /dev/sda2 =boot
_________________
Groeten uit Holland
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Wed Aug 14, 2002 6:33 am    Post subject: Reply with quote

water wrote:
If (hd0,0) keeps saying there is a ntfs partition, then it should simply be (hd0,1).

First disk = 0
First partition = 0 = /dev/sda1 =win(ntfs)
So: second partiton = 1 = /dev/sda2 =boot
Except he has 2 ntfs partitions. /dev/sda1 and /dev/hda
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
water
Guru
Guru


Joined: 19 Jun 2002
Posts: 387
Location: Zierikzee, The Netherlands

PostPosted: Wed Aug 14, 2002 6:42 am    Post subject: Reply with quote

kanuslupus wrote:
water wrote:
If (hd0,0) keeps saying there is a ntfs partition, then it should simply be (hd0,1).

First disk = 0
First partition = 0 = /dev/sda1 =win(ntfs)
So: second partiton = 1 = /dev/sda2 =boot
Except he has 2 ntfs partitions. /dev/sda1 and /dev/hda


Check, i was reading little bit to fast :? .
_________________
Groeten uit Holland
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