Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo 2004.2 with SATA
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
Cyberdevil
n00b
n00b


Joined: 03 Aug 2004
Posts: 5

PostPosted: Tue Aug 03, 2004 5:35 am    Post subject: Gentoo 2004.2 with SATA Reply with quote

My Configuration :

-- SATA #1 --

sda1 : NTFS
sda2 : EXT2 /boot
sda3 : Linux Swap
sda4 : ReiserFS /

-- SATA #2 --

sdb1 : NTFS

Problem : After 2 weeks of stuggle with Gentoo i gave up untill i saw that there was a new release named 2004.2 and that one of the changed stuff was SATA

After 7 hours work i found it what was wrong with my grub thx to texas1emt but know im having the same problem that i was having with lilo and that is :

Cannot open root device "sda4" or 08:03
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 08:03

As far as i know is sda4 the / -> root partition. Sow someone who can tell me whats wrong.

I'm getting this error with Kernel-2.4.26-gentoo-r6 and kernel-2.6.7-gentoo-r11 which are the last releases.

I will give it another try tomorrow because its now 7:32 AM and i havent slept yet.

Plz help me with this one :cry:

BTW : With Gentoo 2004.1 where my SATA HDs /dev/hde en hdg and with 2004.2 they are /dev/sda and /dev/sdb
/hde and /hdg gives the same error but not 08:00 but unknow device.
Back to top
View user's profile Send private message
kiksen
Guru
Guru


Joined: 24 Jun 2002
Posts: 401
Location: Denmark

PostPosted: Tue Aug 03, 2004 12:38 pm    Post subject: Grub problem Reply with quote

Hi

And you are sure you have reiserfs compiled in your kernel (not as a module)?
Back to top
View user's profile Send private message
c0balt
Guru
Guru


Joined: 04 Jul 2004
Posts: 441
Location: Germany

PostPosted: Tue Aug 03, 2004 12:50 pm    Post subject: Reply with quote

Quote:

Cannot open root device "sda4" or 08:03
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 08:03

As far as i know is sda4 the / -> root partition. Sow someone who can tell me whats wrong.


yes, / = root partition
ive been struggling with grub to make it boot from my SATA hd, but this really seems like youve either havent compiled in Filesystem support for the fs of the root partition, or compiled it as a module.

could you post your grub.conf?
Back to top
View user's profile Send private message
Cyberdevil
n00b
n00b


Joined: 03 Aug 2004
Posts: 5

PostPosted: Tue Aug 03, 2004 2:16 pm    Post subject: Reply with quote

-- /boot/grub/grub.conf --

default 0
timeout 30
splashimage=(hd0,1)grub/splash.xpm.gz

title=Gentoo Linux 2.6.7-r11
root (hd0,1)
kernel /kernel-2.4.26-gentoo-r6 root=/dev/sda4 vga=795

title=Gentoo Linux 2.6.7-r11
root (hd0,1)
kernel /kernel-2.6.7-gentoo-r11 root=/dev/sda4 vga=795

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

-- Kernels --

ReiserFS Support is ON
Ext3 support ON
Second extended fs support
Virtual memory file system support ON
/proc file support ON
/dev file support ON

SCSI support ON
Serial ATA (SATA) support ON
Intel PIIX/ICH SATA support ON
Promise SATA support ON

And none of them is a module.

The problem i have had with Grub is that grub names my SATA #1 and SATA #2 as hd0 and hd1 and my IDE as hd2

And on liveCD it is first IDE hd0 and than my SATAS

So with a little messing with grub ive got that working. But the problem is still that Cannot open root device.

What i'm doing now is compiling my kernel with NTFS support. Maybe it wouldnt say Cannot open root device but maybe Root device isnt linux partition. At least thats what i hope. And maybe my SATA root isnt /dev/sda4 on linux boot but /dev/hda4 ?

Hope someone had this problem and knows what to do about it :cry:
Back to top
View user's profile Send private message
Cyberdevil
n00b
n00b


Joined: 03 Aug 2004
Posts: 5

PostPosted: Tue Aug 03, 2004 2:34 pm    Post subject: Reply with quote

WTF this is strange...

Now it boots :-o (the kernel-2.4.26-gentoo-r6)

The kernel-2.6.7 gives the same error :-s

BTW : why doesnt vga=795 doesnt work because of my large boot font :-s
Back to top
View user's profile Send private message
c0balt
Guru
Guru


Joined: 04 Jul 2004
Posts: 441
Location: Germany

PostPosted: Tue Aug 03, 2004 6:17 pm    Post subject: Reply with quote

this really sounds strange..

Quote:

Promise SATA support ON


why that? try deactivating it.


and, i didnt know 2.4 kernels had sata support, or is that added by gentoo patches?[/quote]
Back to top
View user's profile Send private message
Cyberdevil
n00b
n00b


Joined: 03 Aug 2004
Posts: 5

PostPosted: Wed Aug 04, 2004 12:49 am    Post subject: Reply with quote

c0balt wrote:
this really sounds strange..

Quote:

Promise SATA support ON


why that? try deactivating it.


and, i didnt know 2.4 kernels had sata support, or is that added by gentoo patches?
[/quote]

Promise SATA support ON because i have Promise SATA raid controller onboard.

Btw : SATA support is in the 2.4.26 kernel ;-)
Back to top
View user's profile Send private message
c0balt
Guru
Guru


Joined: 04 Jul 2004
Posts: 441
Location: Germany

PostPosted: Wed Aug 04, 2004 8:50 am    Post subject: Reply with quote

Quote:

Intel PIIX/ICH SATA support ON


what mainboard dou you have?
ive got a ASUS p4p800d, activating both, intel and promise seems a bit strange to me, but plz correct me if im wrong ;)
Back to top
View user's profile Send private message
Slowhand
n00b
n00b


Joined: 09 Sep 2003
Posts: 41
Location: St. Charles, IL

PostPosted: Wed Aug 04, 2004 8:46 pm    Post subject: Reply with quote

Hope I can help. I just got VIA SATA running with kernel 2.6.7 and grub. I had to tell grub that the drive was root=/dev/hde3 in my case. The kernel is finding the drive as hde. It is finding my cdrom drives on the IDE chain hda thru hdd and the SATA drive as hde. I thought it should have been sda too. That's what fdisk finds the SATA as.
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