LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-23-2004, 06:47 PM   #1
Dr Gutiemouth
Member
 
Registered: Oct 2004
Location: ohio
Distribution: Whitebox, Gentoo, XP,
Posts: 57

Rep: Reputation: 15
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?
 
Old 11-23-2004, 07:05 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
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.
 
Old 11-23-2004, 07:15 PM   #3
Dr Gutiemouth
Member
 
Registered: Oct 2004
Location: ohio
Distribution: Whitebox, Gentoo, XP,
Posts: 57

Original Poster
Rep: Reputation: 15
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?
 
Old 11-24-2004, 03:20 AM   #4
killer_bunny
Member
 
Registered: Oct 2003
Location: Croatia
Distribution: RedHat 9, Slack
Posts: 106

Rep: Reputation: 15
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

Last edited by killer_bunny; 11-24-2004 at 03:21 AM.
 
Old 11-24-2004, 03:51 AM   #5
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
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
 
Old 11-24-2004, 10:19 AM   #6
Dr Gutiemouth
Member
 
Registered: Oct 2004
Location: ohio
Distribution: Whitebox, Gentoo, XP,
Posts: 57

Original Poster
Rep: Reputation: 15
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!
 
Old 11-25-2004, 02:46 AM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
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
 
  


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
My Redhat Linux 9 machine won't startup but gives a startup error" njugs79 Linux - Newbie 2 03-23-2005 01:50 AM
pkg-config error with emerge -aD gnome-python on Gentoo 2.6.9-gentoo-r6 ghrellin Linux - Software 2 12-22-2004 07:37 PM
Make Gentoo startup look like LiveCD CPUguy387 Linux - General 16 08-26-2004 08:43 AM
ALSA Startup error, MPlayer startup error, Sid andymadigan Debian 4 08-03-2004 05:15 PM
New Gentoo install (insmod error; gnome startup) joe_stevensen Linux - Software 2 09-12-2003 12:33 PM


All times are GMT -5. The time now is 08:27 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration