Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
corruption on boot?
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
chiefgenius
n00b
n00b


Joined: 28 Jan 2004
Posts: 11

PostPosted: Wed Jan 28, 2004 9:21 pm    Post subject: corruption on boot? Reply with quote

ok, so ive been trying to install gentoo about 5 times now, and i thought i finally got to doing it right. Im running a plain old x86 version and I used the gs-sources kernel and the live cds with GRP and i used genkernel. so everything was going ok, and then, when i got to the step right before rebooting, i did

umount /mnt/gentoo/boot /mnt/gentoo/proc /mnt/gentoo/

and it says that they dont exist. and since ive installed it 4 others times to this point, and its never said this to me before, i know that has to be a problem. i dont understand why it would do that. any, so i reboot, and interestingly enough, it finally works for the first time. I used grub, but the splash screen doesnt show, and it automatically starts booting. as its booting, the screen is all corrupt, but after going through a few things and saying ok to them, it eventually corrects itself. then, it cant bring up eth0, even though the livecd could. so then i figure, well, maybe ill try installing the packages form the second cd, so i do

mount /mnt/cdrom
but it says mount point does not exist.

i followed everything in the handbook to the t, this was honestly the 5th time going through it, every other time its failed to boot. is there away to salvage this install? or should i start over. i dont know what happened that it said it cant unmount those directories. if theres other information you need to help, im quite fimiliar now with each part, and i can tell you exactly what i used.

ok, thanks for any help
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Wed Jan 28, 2004 9:30 pm    Post subject: Reply with quote

chiefgenius,
Quote:
umount /mnt/gentoo/boot /mnt/gentoo/proc /mnt/gentoo/
will fail if you forget to type
Code:
 exit
to leave the chroot enviroment before you issue this command.

Starting at the very top level, /mnt/gentoo is where you gentoo filestem is mounted while its in the making. The chroot command changes /mnt/gentoo into / (the root of the filesystem tree).

Providing your luck is in and rebooting with the filesystems are still mounted, no harm done.

Fix the breakages before you go any further. I need the error messages to help there. Fixing eth0 will be easy.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Oyarsa
n00b
n00b


Joined: 01 Jul 2002
Posts: 73
Location: Mars

PostPosted: Wed Jan 28, 2004 9:38 pm    Post subject: Reply with quote

Quote:
to the step right before rebooting, i did

umount /mnt/gentoo/boot /mnt/gentoo/proc /mnt/gentoo/

and it says that they dont exist. and since ive installed it 4 others times to this point, and

exit
cd ~
umount /mnt/gentoo/proc
umount /mnt/gentoo/boot
umount /mnt/gentoo
shutdown -r now
Quote:
mount /mnt/cdrom
but it says mount point does not exist.

Make sure your cdrom is setup in /etc/fstab.
_________________
Dew knot trussed yore spell chequer two fined awl ewer miss steaks.
Back to top
View user's profile Send private message
chiefgenius
n00b
n00b


Joined: 28 Jan 2004
Posts: 11

PostPosted: Wed Jan 28, 2004 10:12 pm    Post subject: Reply with quote

ah yes, i forgot to type exit. dang, guess thats what happens when you do the same thing over and over again and think you remember it.

ok, so i dont really understand how i should fix it.

when i reboot, it takes me to the login screen.

the errors for eth0 while starting up are:

SIOCSIIADDR No such device
eth0: unknown interface no such device
SIOCSIFBRADDR No such device
eth0: unknown interface no such device
SCIOCSIFNETMASK
failed to bring up eth0
netsetup not started

ok, so at the login screen, i still try to mount the cdrom, but nothing happens
i login as my user
then i do su -
and i say
/mnt/cdrom
and it says
mount: mount point /mnt/cdrom does not exist

so is there anything i can do? or should i go give it another go
Back to top
View user's profile Send private message
chiefgenius
n00b
n00b


Joined: 28 Jan 2004
Posts: 11

PostPosted: Wed Jan 28, 2004 10:23 pm    Post subject: Reply with quote

the only thing i could think of to try was to boot with the cd again, then try the exit, but that doesnt work, so i dont know what to do, think its a lost cause and i have to reinstall it?
Back to top
View user's profile Send private message
Oyarsa
n00b
n00b


Joined: 01 Jul 2002
Posts: 73
Location: Mars

PostPosted: Wed Jan 28, 2004 10:43 pm    Post subject: Reply with quote

Are you typing something like:
Code:
mount /dev/cdrom /mnt/cdrom

_________________
Dew knot trussed yore spell chequer two fined awl ewer miss steaks.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Wed Jan 28, 2004 10:51 pm    Post subject: Reply with quote

chiefgenius,

Your partitions, filesystems and everything except your kerenl is probably OK.

Heres how to recover.
Boot from the liveCD, skip the bit about partitioning and makinging filesystems.

Mount your filesystems on /mnt/gentoo, just like install time then follow the instructions for getting into the chroot environment.

When you have goy this far, you are running your gentoo system on the liveCD kernel. you have to fix the kerenl to make the system stand alone.

If your system comes up without booting from the liveCD, check if /mnt/cdrom actually exists. if not
Code:
mkdir /mnt/cdrom
will fix it.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
chiefgenius
n00b
n00b


Joined: 28 Jan 2004
Posts: 11

PostPosted: Wed Jan 28, 2004 11:36 pm    Post subject: Reply with quote

ok, i dont understand what you mean by fixing my kernel.

are you saying i:

do mount /dev/hda3 /mnt/gentoo
mkdir /mnt/gentoo/boot
mount /dev/hda1 /mnt/gentoo/boot
and so on for proc

then skip the installing gentoo installation files

and go to chrooting, and do everything again from there?
Back to top
View user's profile Send private message
chiefgenius
n00b
n00b


Joined: 28 Jan 2004
Posts: 11

PostPosted: Thu Jan 29, 2004 12:02 am    Post subject: Reply with quote

ok, well, i did what you said, i mounted the file systems, then i chrooted into them, then i created the /mnt/cdrom, and now the cdrom works fine. The sytem boots fine, except for two things. i used grub, and before, when i installed it other times, it would bring up a splashscreen and let me choose to boot into gentoo. now, it doesnt come up, it just waits with a little blinking _ . and then, i hit enter, and it starts booting, however, all the text is corrupt, and i cant see anything, but eventually that fixes itself. so i guess unless that is from a serious problem or indicates a serious problem i dont care. but the other problem is that it says my eth0 device does not exist. where can i go to configure it? and is there a reason why it didnt get transferred or detected correctly? could it have been using the GRP version of genkernel? ok, again, tahnks for any help
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Fri Jan 30, 2004 3:47 pm    Post subject: Reply with quote

chiefgenius,

Your missing splash screen is probably something to do with your grub set up and the content of /boot.

Boot from the hard drive then do
Code:
mount /boot
ls -al /boot

and post the listing.
Now do
Code:
less /boot/grub/grub.conf

and post the content of your grub.conf.

When all is well you get the grub menu over your splash screen at startup.

Your eth0 device not exisiting is probably because you have not built the driver for the kernel or not loaded it. You haven't said which network card you have or which module the LiveCD uses for your network card.

If you have lspci, then
Code:
lspci
will tell you what your card is,
Otherwise boot the liveCD and have a look at the module list with lsmod.
Try modprobe <module_name> when you know the name of the module.
You will have to add it to /etc/modules.autoload when you know it.
If the right module is not built (or included in the kernel), you will need to reconfigure your kernel and rebuild it.

If you can't work out which is you network module post the output of lsmod after booting with the liveCD.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
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