LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   InvisGreenMan's Avatar Rank: Member Joined: Jan 2004 Location: South Dakota Status Invi (https://www.linuxquestions.org/questions/linux-newbie-8/invisgreenmans-avatar-rank-member-joined-jan-2004-location-south-dakota-status-invi-308867/)

InvisGreenMan 04-02-2005 02:05 AM

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!

comprookie2000 04-02-2005 07:01 PM

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.

InvisGreenMan 04-02-2005 08:04 PM

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()::

InvisGreenMan 04-02-2005 08:09 PM

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

InvisGreenMan 04-02-2005 08:32 PM

BTW, I used genkernel.

InvisGreenMan 04-02-2005 08:49 PM

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. . .

comprookie2000 04-02-2005 08:52 PM

Did you emerge udev
Code:

emerge search udev

InvisGreenMan 04-02-2005 09:18 PM

no...I should probably do that... hah ;)

See, that's how bug of a newb I am.

InvisGreenMan 04-02-2005 09:31 PM

emerge udev

Did it...didn't work!

InvisGreenMan 04-02-2005 09:31 PM

Should I unemerge it?

How would I unemerge?

uemerge udev?

comprookie2000 04-02-2005 10:10 PM

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.

InvisGreenMan 04-02-2005 10:35 PM

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!

InvisGreenMan 04-03-2005 01:30 AM

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 :)

comprookie2000 04-03-2005 05:59 AM

Another job well done.

InvisGreenMan 04-03-2005 01:25 PM

:)

Really, thanks again guys.


All times are GMT -5. The time now is 09:30 PM.