Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
**NEWBIE** After Installing, boot fails {SOLVED}
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
jmu1
n00b
n00b


Joined: 22 Mar 2005
Posts: 7

PostPosted: Tue Mar 22, 2005 1:12 am    Post subject: **NEWBIE** After Installing, boot fails {SOLVED} Reply with quote

Hello All,
I'm new to Gentoo/LINUX but I'm anxious to get my system up and running.

After I finish the installation and boot my PC with no LiveCD, the boot process gets to the point where it says the following and fails

>>Determining Root Device
>> Block device /dev/sda3 is not a valid root device
>> The root block dvece is unspecified or not detected. Please specify a devie to boot, or "shell"

I have found a few posts on the forum that refernce similar issues to mine, but I haven't found one that is exactly like mine or one I can follow. Any help is greatly appreciated!

Please note:
I have a Dell PowerEdge SC420
Two 40G SATA HDs running Raid1
USB
Internal Floopy
CDROM
512MB RAM[/code]


Last edited by jmu1 on Wed Mar 23, 2005 1:31 am; edited 1 time in total
Back to top
View user's profile Send private message
kenthepostman
Apprentice
Apprentice


Joined: 02 Jul 2004
Posts: 245
Location: Stanford, CA

PostPosted: Tue Mar 22, 2005 1:28 am    Post subject: Reply with quote

You should post your grub.conf file. With that you should be able to get some help.
Back to top
View user's profile Send private message
dwblas
Guru
Guru


Joined: 14 Jul 2003
Posts: 525
Location: Southern California (No jokes please)

PostPosted: Tue Mar 22, 2005 1:50 am    Post subject: Reply with quote

Or /etc/lilo.conf if you are using lilo. Also, check to see that /dev/sda3 is mounted to / in your /etc/fstab file. One more thing would be to post your boot and root parititions that you used for the install.
Back to top
View user's profile Send private message
jmu1
n00b
n00b


Joined: 22 Mar 2005
Posts: 7

PostPosted: Tue Mar 22, 2005 1:51 am    Post subject: grub.conf Reply with quote

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

title=Gentoo Linux 2.4.28-r8
root (hd0,0)
kernel /kernel-2.4.28-gentoo-r8 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda3
initrd /initrd-2.4.28-gentoo-r8
Back to top
View user's profile Send private message
jmu1
n00b
n00b


Joined: 22 Mar 2005
Posts: 7

PostPosted: Tue Mar 22, 2005 1:52 am    Post subject: fstab Reply with quote

# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14 2003/10/13 20:03:38 azarah Exp $
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.

# <fs> <mountpoint> <type> <opts> <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda1 /boot ext2 defaults,noatime 1 2
/dev/sda3 / ext3 noatime 0 1
/dev/sda2 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,user 0 0
/dev/fd0 /mnt/floppy auto noauto,user 0 0

# For USB
none /proc/bus/usb usbfs defaults 0 0

# NOTE: The next line is critical for boot!
none /proc proc defaults 0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:

none /dev/shm tmpfs nodev,nosuid,noexec 0 0
Back to top
View user's profile Send private message
jmu1
n00b
n00b


Joined: 22 Mar 2005
Posts: 7

PostPosted: Tue Mar 22, 2005 1:54 am    Post subject: fdisk Reply with quote

Disk /dev/sda: 40.0 GB, 40000000000 bytes
15 heads, 23 sectors/track, 226449 cylinders
Units = cylinders of 345 * 512 = 176640 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 182 31383+ 83 Linux
/dev/sda2 183 3082 500250 82 Linux swap
/dev/sda3 3083 226449 38530807+ 83 Linux
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Tue Mar 22, 2005 3:34 am    Post subject: Re: **NEWBIE** After Installing, boot fails Reply with quote

jmu1 wrote:
>>Determining Root Device
>> Block device /dev/sda3 is not a valid root device
...
Please note:
Two 40G SATA HDs running Raid1

If you can figure out what driver the LiveCD is using for your RAID controller, then select this driver when you compile your own kernel. That should fix the problem you are having.

ps. If you don't know what driver to use, post the output of
Code:
# lspci
# lsmod
Back to top
View user's profile Send private message
kenthepostman
Apprentice
Apprentice


Joined: 02 Jul 2004
Posts: 245
Location: Stanford, CA

PostPosted: Tue Mar 22, 2005 3:37 am    Post subject: Reply with quote

I'm not sure what's wrong. But I'm curious about something. What's the difference between root and real root? Perhaps the problem comes from there. Everything else seems fine to me.
Back to top
View user's profile Send private message
linux_weenie
Guru
Guru


Joined: 25 Jun 2003
Posts: 365

PostPosted: Tue Mar 22, 2005 4:05 am    Post subject: Reply with quote

I noticed you are using an initial ramdisk (sort of). What does your linuxrc file look like? Are you trying to load the raid modules from there and then remount the hard disk?

-Will
_________________
There are only 10 types of people in the world. Those who understand binary and those who don't.
Back to top
View user's profile Send private message
jmu1
n00b
n00b


Joined: 22 Mar 2005
Posts: 7

PostPosted: Tue Mar 22, 2005 8:04 pm    Post subject: LSPCI/LSMOD Reply with quote

livecd root # lspci
0000:00:00.0 Host bridge: Intel Corp.: Unknown device 2588 (rev 04)
0000:00:01.0 PCI bridge: Intel Corp.: Unknown device 2589 (rev 04)
0000:00:02.0 VGA compatible controller: Intel Corp.: Unknown device 258a (rev 04)
0000:00:1c.0 PCI bridge: Intel Corp.: Unknown device 2660 (rev 03)
0000:00:1c.1 PCI bridge: Intel Corp.: Unknown device 2662 (rev 03)
0000:00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB PCI Bridge (rev d3)
0000:00:1f.0 ISA bridge: Intel Corp.: Unknown device 2640 (rev 03)
0000:00:1f.1 IDE interface: Intel Corp.: Unknown device 266f (rev 03)
0000:00:1f.2 IDE interface: Intel Corp.: Unknown device 2652 (rev 03)
0000:00:1f.3 SMBus: Intel Corp.: Unknown device 266a (rev 03)
0000:02:00.0 Ethernet controller: Broadcom Corporation: Unknown device 1677 (rev 01)

livecd root # lsmod
Module Size Used by
ipv6 182560 12
ata_piix 5540 2
libata 25316 1 ata_piix
evdev 6464 0
tg3 65860 0
parport_pc 27072 0
parport 22728 1 parport_pc
sbp2 16744 0
ohci1394 24836 0
ieee1394 62008 2 sbp2,ohci1394
ohci_hcd 15044 0
uhci_hcd 23152 0
usb_storage 46208 0
ehci_hcd 21028 0
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Tue Mar 22, 2005 9:39 pm    Post subject: Re: LSPCI/LSMOD Reply with quote

jmu1 wrote:
livecd root # lspci
0000:00:1f.2 IDE interface: Intel Corp.: Unknown device 2652 (rev 03)

livecd root # lsmod
Module Size Used by
ata_piix 5540 2
libata 25316 1 ata_piix

This is an Intel ICH6 SATA controller. These are the kernel options you want to enable.
Code:
Device Drivers  --->
  SCSI device support  --->
    <*>   SCSI disk support
    SCSI low-level drivers  --->
      [*] Serial ATA (SATA) support
      <*>   Intel PIIX/ICH SATA support

BTW, this is not a RAID controller. In order to use RAID1, you should disable RAID in the BIOS, and follow one of the guides for setting up Linux Software RAID in the kernel.

This thread is a little old, but it should give you some ideas :
How to do a gentoo install on a software RAID
Back to top
View user's profile Send private message
Qu4rk
n00b
n00b


Joined: 22 Mar 2005
Posts: 74

PostPosted: Tue Mar 22, 2005 10:48 pm    Post subject: Re: **NEWBIE** After Installing, boot fails Reply with quote

jmu1 wrote:


>>Determining Root Device
>> Block device /dev/sda3 is not a valid root device
>> The root block dvece is unspecified or not detected. Please specify a devie to boot, or "shell"
[/code]


Hey this is my first post, so I hope I can be of use to you. I've been a scavenger for a couple of years, but I thought I'd help out. I had this exact same problem. I has to do with your kernel config.

Boot the LiveCD, mount your fs's & do a chroot. Then do make menuconfig. Then, check to see if you have SATA support as a M. It should look just like cyrillic's post. It must be part of your kernel & not a module. Unless you've done a make clean, then it should take about 2 minutes to recompile.
Back to top
View user's profile Send private message
jmu1
n00b
n00b


Joined: 22 Mar 2005
Posts: 7

PostPosted: Wed Mar 23, 2005 12:22 am    Post subject: IT WORKS Reply with quote

Hey Everyone, thanks for the help. I was able to boot thanks to the suggestion from cyrillic and Qu4rk.

I really appreciate the help. As I noted before I am new so be looking for more messages from me!

Thanks!
Back to top
View user's profile Send private message
Frodg
l33t
l33t


Joined: 11 Feb 2004
Posts: 761

PostPosted: Wed Mar 23, 2005 12:30 am    Post subject: Reply with quote

OK.. Now that it is solved please put [SOLVED} in the title -so idiots like me don't keep reading it :)
_________________
Aerosolo ergo sum - I spray therefore I am

Gentoo - Registered Linux User # 361400
Back to top
View user's profile Send private message
jmu1
n00b
n00b


Joined: 22 Mar 2005
Posts: 7

PostPosted: Wed Mar 23, 2005 1:31 am    Post subject: {SOLVED} Reply with quote

{SOLVED}
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