LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   gentoo error at startup (https://www.linuxquestions.org/questions/linux-newbie-8/gentoo-error-at-startup-258531/)

Dr Gutiemouth 11-23-2004 05:47 PM

gentoo error at startup
 
hi everyone. im giving gentoo a try. i installed everything and configured everything and blah blah and i got to the point where i restart and boot into gentoo without th elive cd and i get an fsck.ext error...something about /dev/BOOT

and it tells me to get into root and run #e2fsck -b 8193 <device>
so i do that with the device as /dev/hda1

i checked my fstab and it looks just fine..

the error also states something about the format not being ext2...but it is.

my /root partion for some reason shows up as XFS for some reason and it should be ext3. i think that has something to with it.

any pointers or ideas on how i can correct the error and login to gentoo normally?

acid_kewpie 11-23-2004 06:05 PM

sounds like you haven't actually edited /etc/fsatb correctly. "/dev/BOOT" is a default example, which doesn't actually exist. the fact that it's in capitals is intended to imply you need to change it.

Dr Gutiemouth 11-23-2004 06:15 PM

well this is what i did..


nano -w /etc/fstab

changed it from /dev/BOOT
to
/dev/hda1

and saved it...


still the same output

then i noticed at the top there was a note saying i should edit the /mnt/gentoo/etc/fstab instead of the /etc/fstab

so i copied the fstab i just edited to the new location and i still get the same output

so i think these fstabs arent even needed..and the real one the computer is looking at is located somehwere else...any idea where that could be or if is this wrong all togehter?

killer_bunny 11-24-2004 02:20 AM

Quote:

Originally posted by Dr Gutiemouth

then i noticed at the top there was a note saying i should edit the /mnt/gentoo/etc/fstab instead of the /etc/fstab

so i copied the fstab i just edited to the new location and i still get the same output

so i think these fstabs arent even needed..and the real one the computer is looking at is located somehwere else...any idea where that could be or if is this wrong all togehter?

If i remember it correctly fstab is located in /etc/fstab and is used by Gentoo

I would suggest reinstall and paying more attention while partitioning disk and writing fstab

MasterC 11-24-2004 02:51 AM

Re: gentoo error at startup
 
Quote:

Originally posted by Dr Gutiemouth
hi everyone. im giving gentoo a try. i installed everything and configured everything and blah blah and i got to the point where i restart and boot into gentoo without th elive cd and i get an fsck.ext error...something about /dev/BOOT

and it tells me to get into root and run #e2fsck -b 8193 <device>
so i do that with the device as /dev/hda1

i checked my fstab and it looks just fine..

the error also states something about the format not being ext2...but it is.

my /root partion for some reason shows up as XFS for some reason and it should be ext3. i think that has something to with it.

any pointers or ideas on how i can correct the error and login to gentoo normally?

Can you boot in through your live CD, links to LQ and post up what you've got as your /etc/fstab which should at that point actually be /mnt/gentoo/etc/fstab

Thanks!

Cool

Dr Gutiemouth 11-24-2004 09:19 AM

well im leaving for the week for the upcoming turkey day. i'll post my fstab as soon as i get back..


Yes i can boot to the liveCD. and when i check /etc/fstab it keep changes back to /dev/BOOT and /SWAP and /ROOT even though i changed it and saved it.

ARG!

MasterC 11-25-2004 01:46 AM

So there seems to be a point of confusion, the /etc/fstab that lives on your actual HD won't dynamically get altered. Therfore, the /etc/fstab that you are likely changing is the CD's /etc/fstab, which is of no use to you. If you are not mounting your HD at /mnt/gentoo OR if you haven't installed things correctly, or if you are mounting the CD at /mnt/gentoo (which is very possible if you didn't run through the fdisk setup to ensure you are choosing the right devices) then you won't have a good time, and things will not be normal.

Cool


All times are GMT -5. The time now is 02:38 AM.