Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Configuring Grub - unable to mount sda3
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
revof11
n00b
n00b


Joined: 25 Apr 2006
Posts: 33
Location: Mountain Top, PA

PostPosted: Sun Apr 15, 2007 11:52 pm    Post subject: Configuring Grub - unable to mount sda3 Reply with quote

I followed the base instructions up to Configuring Your System and proceeded on to the Grub configuration portion of the doc.

Since I have Serial-ATA drives, everything in the docs that had "hdax" i used "sdax" for. Including in my fstab file.

The problem is that using the following configuration in grub.conf results in errors:

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

title=Gentoo Linux 2.6.19-r5
root (hd0,0)
kernel /boot/kernel-genkernel-x86_64-2.6.19-gentoo-r5 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda3 udev noapic no_timer_check
initrd /boot/initramfs-genkernel-86_64-2.6.19-gentoo-r5


The error I get is as follows:
Code:
>> Activating mdev
>> Determining root device...
!! Block device /dev/sda3 is not a valid root device...
!! The root block device is unspecified or not detected.
  Please specify a device to boot, or "shell" for a shell
boot() ::


What am I doing wrong here?
If I go to the default shell provided by Gentoo at this point all I see is hda and hda, but no sda or sdb.

I tried booting using hda and hda3, but that yielded no results either.
_________________
Regards
~ Joe
-------------------------------------------------------
Quidquid latine dictum sit altum viditur
Back to top
View user's profile Send private message
mianka
n00b
n00b


Joined: 30 Mar 2004
Posts: 64
Location: Leuven Belgium

PostPosted: Mon Apr 16, 2007 12:04 am    Post subject: No sata Reply with quote

You have to turn on scsi and sata in your (gen)kernel config
Back to top
View user's profile Send private message
revof11
n00b
n00b


Joined: 25 Apr 2006
Posts: 33
Location: Mountain Top, PA

PostPosted: Mon Apr 16, 2007 12:08 am    Post subject: Reply with quote

SO just run:
genkernel --menuconfig --udev all
In there, make sure that SD and SG are turned on

Then add doscsi after my real_root.

Is that it?
_________________
Regards
~ Joe
-------------------------------------------------------
Quidquid latine dictum sit altum viditur
Back to top
View user's profile Send private message
revof11
n00b
n00b


Joined: 25 Apr 2006
Posts: 33
Location: Mountain Top, PA

PostPosted: Mon Apr 16, 2007 12:24 am    Post subject: Reply with quote

OK... so here's what i've turned on:

Code:
Device Drivers --->
          SCSI device support --->
                  <M> RAID Transport Class
                  <*> SCSI device support
                  [*] legacy /proc/scsi/ support
                  --- SCSI support type (disk, tape, CD-ROM)
                  <*> SCSI disk support
                  <M> SCSI tape support
                  <M> SCSI OnStream SC-x0 tape support
                  <*> SCSI CDROM support
                  [*]      Enable vendor-specific extensions (for SCSI CDROM)
                  <M> SCSI generic support
                  <M> SCSI media changer support

Device Drivers --->
          Serial ATA (prod) and Parallel ATA (experimental) drivers --->
                   <M> ATA device support
                   <M> Generic ATA support

_________________
Regards
~ Joe
-------------------------------------------------------
Quidquid latine dictum sit altum viditur
Back to top
View user's profile Send private message
revof11
n00b
n00b


Joined: 25 Apr 2006
Posts: 33
Location: Mountain Top, PA

PostPosted: Mon Apr 16, 2007 12:46 am    Post subject: Reply with quote

Running that kernel config did not work.
I will try just turning on support for all the different SATA data...
_________________
Regards
~ Joe
-------------------------------------------------------
Quidquid latine dictum sit altum viditur
Back to top
View user's profile Send private message
revof11
n00b
n00b


Joined: 25 Apr 2006
Posts: 33
Location: Mountain Top, PA

PostPosted: Mon Apr 16, 2007 1:22 am    Post subject: Reply with quote

Compiling with absolutely everything in the SATA environment worked.
Just need to fix my "netmount was not started" error and i should be all good...
_________________
Regards
~ Joe
-------------------------------------------------------
Quidquid latine dictum sit altum viditur
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