LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 04-02-2005, 03:05 AM   #1
InvisGreenMan
LQ Newbie
 
Registered: Dec 2004
Distribution: Gentoo
Posts: 12

Rep: Reputation: 0
Boot issue [SOLVED]


I have everything set up like the default in the gentoo 2005.0 install handbook. I did a stage3 install of gentoo on my pentium III system.

The partition table is something like this:
hda1* 83 ext2 /boot
hda2 82 swap
hda3 83 ext3 /

The error that I got on my very first startup after I entered GRUB is as follows:

>>Mounting filesystems
mount: Mounting devfs on /dev failed: No such device
Error opening file: ".devfsd" No such file or directory
>>Determining root device. . .
>>The root block device is unspecified or not detected.
Please specify a device to boot, or "shell" for a shell. . .
boot()::

I really have no idea what to do. I have never done this before, so please be patient.

Thanks!

Last edited by InvisGreenMan; 04-03-2005 at 02:25 PM.
 
Old 04-02-2005, 08:01 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
You will need to chroot again and post your /boot/grub/grub.conf
did you use genkernel or manually configure your kernel?
Hang in there it is very fixable,it is one of the first learning experiences of gentoo.
One time I forgot to set a root password so when I booted up and went to log in I hit myself in the jaw went I realized what I had done.You can use this guide;
http://www.gentoo.org/doc/en/gentoo-...ickinstall.xml
Activate the swap partition) # swapon /dev/hdax
(Mount the root partition) # mount /dev/hdax /mnt/gentoo
(Create the boot mountpoint) # mkdir /mnt/gentoo/boot
(Mount the boot partition) # mount /dev/hdax /mnt/gentoo/boot
(Go to the mountpoint) # cd /mnt/gentoo
(Extract a stage tarball...) # tar -xvjpf /mnt/cdrom/stages/stage<your stage>.tar.bz2
(or download the latest tarball...)
# links http://www.gentoo.org/main/en/mirrors.xml
( ... and extract) # tar -xvjpf stage<your stage>.tar.bz2
(Optional: unpack a portage tree)# tar -xvjf /mnt/cdrom/snapshots/portage-*.tar.bz2 \
-C /mnt/gentoo/usr
(Optional: copy over distfiles) # cd /mnt/gentoo/usr/portage; mkdir distfiles;
# cp /mnt/cdrom/distfiles/* distfiles/
(Select a mirror) # mirrorselect -a -s4 -o | grep 'GENTOO_MIRRORS=' \
>> /mnt/gentoo/etc/make.conf
(Copy over nameserver information)
# cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
(Mount the proc filesystem) # mount -t proc none /mnt/gentoo/proc
(Chroot into the new environment)# chroot /mnt/gentoo /bin/bash
(Load the necessary variables) # env-update; source /etc/profile
(Network-only, non-GRP: update Portage)
# emerge --sync

Just do the mount and chroot stuff,you just need to get in there.
I could have edited it but I'm tired.

Last edited by comprookie2000; 04-02-2005 at 08:03 PM.
 
Old 04-02-2005, 09:04 PM   #3
InvisGreenMan
LQ Newbie
 
Registered: Dec 2004
Distribution: Gentoo
Posts: 12

Original Poster
Rep: Reputation: 0
Ok, I added udev to the end the of the kernel /[Stuff here] udev line and it still says this:


>>Mounting filesystems
>>Activating udev. . .
>>Determining root device. . .
>>The root block device is unspecified or not detected.
Please specify a device to boot, or "shell" for a shell. . .
boot()::
 
Old 04-02-2005, 09:09 PM   #4
InvisGreenMan
LQ Newbie
 
Registered: Dec 2004
Distribution: Gentoo
Posts: 12

Original Poster
Rep: Reputation: 0
My /boot/grub/grub.conf looks like this, if it helps:

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

title=Gentoo Linux 2.6.11-r3
root (hd0,0)
kernel /kernel-2.6.11-gentoo-r3 root=/dev/ram0 init=/linuxrc ramdisk=8192 udev
real_root=/dev/hda3
initrd /initrd-2.6.11-gentoo-r3
 
Old 04-02-2005, 09:32 PM   #5
InvisGreenMan
LQ Newbie
 
Registered: Dec 2004
Distribution: Gentoo
Posts: 12

Original Poster
Rep: Reputation: 0
BTW, I used genkernel.
 
Old 04-02-2005, 09:49 PM   #6
InvisGreenMan
LQ Newbie
 
Registered: Dec 2004
Distribution: Gentoo
Posts: 12

Original Poster
Rep: Reputation: 0
This is my /etc/fstab:

# Info. . .
# Info. . .
# Info. . . etc. . .

/dev/hda1 /boot ext2 defaults,noatime 1 2
/dev/hda2 none swap sw 0 0
/dev/hda3 / ext3 noatime 0 1

none /proc proc defaults= 0 0
none /dev/shm tmpfs nodev,nosuid,noexec 0 0

/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,user 0 0
/dev/fd0 /mnt/floppy auto noauto

# Info. . .
# Info. . .
# Info. . . etc. . .
 
Old 04-02-2005, 09:52 PM   #7
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
Did you emerge udev
Code:
emerge search udev
 
Old 04-02-2005, 10:18 PM   #8
InvisGreenMan
LQ Newbie
 
Registered: Dec 2004
Distribution: Gentoo
Posts: 12

Original Poster
Rep: Reputation: 0
no...I should probably do that... hah

See, that's how bug of a newb I am.
 
Old 04-02-2005, 10:31 PM   #9
InvisGreenMan
LQ Newbie
 
Registered: Dec 2004
Distribution: Gentoo
Posts: 12

Original Poster
Rep: Reputation: 0
emerge udev

Did it...didn't work!
 
Old 04-02-2005, 10:31 PM   #10
InvisGreenMan
LQ Newbie
 
Registered: Dec 2004
Distribution: Gentoo
Posts: 12

Original Poster
Rep: Reputation: 0
Should I unemerge it?

How would I unemerge?

uemerge udev?
 
Old 04-02-2005, 11:10 PM   #11
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
http://www.gentoo.org/doc/en/udev-guide.xml
Try to manually configure the kernel,just follow the handbook and the udev guide.
Its not that hard and it works better than genkernel for me.You may be able to use my .config What are your system specs.
 
Old 04-02-2005, 11:35 PM   #12
InvisGreenMan
LQ Newbie
 
Registered: Dec 2004
Distribution: Gentoo
Posts: 12

Original Poster
Rep: Reputation: 0
Ok, so where do I start again?

I have done all the guide says, if I reconfigure my kernel manually do I start at the kernel part in the guide and do the other stuff again, or do I just simply do the kernel now that I have udev installed.

Eek! This is confusing.

System -

PIII 866MHz 133FSB
265 ECC PC133 RAM
ASUS CUV4X
nvidia geforce2 mx 200
Western Digital 40Gb PATA

Thanks a bunch!
 
Old 04-03-2005, 03:30 AM   #13
InvisGreenMan
LQ Newbie
 
Registered: Dec 2004
Distribution: Gentoo
Posts: 12

Original Poster
Rep: Reputation: 0
I got it....

kernel /kernel-2.6.11-gentoo-r3 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 udev

had to be one line!

Here is the answer winner
 
Old 04-03-2005, 06:59 AM   #14
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
Another job well done.
 
Old 04-03-2005, 02:25 PM   #15
InvisGreenMan
LQ Newbie
 
Registered: Dec 2004
Distribution: Gentoo
Posts: 12

Original Poster
Rep: Reputation: 0


Really, thanks again guys.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LQ member progress status from member to senior member............. emailssent LQ Suggestions & Feedback 3 10-11-2004 02:31 PM
DVD -/+ R Indentifier Registered: Jan 2004 Location: Distribution: Slackware 9.1 sethgeekx86 Linux - Software 1 06-29-2004 07:40 PM
bare.i bareacpi.i of 30-JAN-2004 kiko Slackware 3 02-06-2004 11:53 PM
LQ security report - Jan 27th 2004 Capt_Caveman Linux - Security 2 01-30-2004 10:29 PM
LQ security report - Jan 05th 2004 unSpawn Linux - Security 5 01-05-2004 07:52 PM


All times are GMT -5. The time now is 12:47 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration