Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Howdy folks, Ive switched from RH8 to gentoo 1.4. I have it set up with 3 partitions:
/dev/hda1 1 3 24866 83 linux
/dev/hda2 4 66 586047 82 linux
/dev/hda3 67 1891 14659312+ 83 linux
when booting, these are the errors i get in order.
"fsck: fsck.xfs not found
fsck: error 2 while executing fsck.xfs for /dev/ROOT
fsck.ext2: no such file or directory while trying to open /dev/BOOT
/dev/BOOT:
The SuperBlock could not be read or does not desctribe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (abd bit a swao ir ufs ir something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 (dev) {bieng the example they gave me}
fsck could not correct all errors, manual repair needed. "
i bet you know where this is going now
so needless to say im experiencing some problems.
1. I cannot su to root with any user (when i log in with the root passwd it tells me login failed, but i can log in as root with the root passwd)
2. the ethernet card doesnt see the router, and has assigned itself a 192.168.0.2 address (the address it should have is 192.168.1.102)
how i got into this sticky situation is while installing mozilla-firefox it told me there where several config files that needed to be taken care of, and i shoould run etc-update. I ran that, and it gave me several options. And the one i chose was to keep the new configuration, and trash the old. The programs ran fine, but when i closed my aterm window that was running as su, i noticed i couldnt su in a new aterm window. then i rebooted, and it displayed the messages you see above. I have deducted it has written over config files that I need, and my question is, how can i either:
a. revert back to the old config
b. find, and replace the files i need.
i tried to run fsck like it said, but im a newbie, and dont really know what to type in. so if some kind person could somewhat walk me through what i need to do, that would be great.
also, if anyone would like to AIM me a message about this, talib0007 is my screen name (and just to clear it up its not taliban, its talib qwuali the rapper)
I don't really know what the problem is, but it is odd that you have a dev/BOOT and dev/ROOT. When you install gentoo, these are the default partition names in /etc/fstab, and you're supposed to change them to /dev/hda1 and /dev/hda3 in your case (I assume based on your partition table).
When you do etc-update instead of letting it replace new config files you should check the differences and merge them as necessary, unless you know what you're doing.
As for 'su' you need to add the users to the "wheel" group, this is the default behaviour in Gentoo.
for the network you need to edit /etc/conf.d/net and use dhcp
ok i changed fstab so that dev/boot, dev/root, where the correct devices. The change to conf.d/net also fixed the dhcp problem. but i dont have a gui interface for adding/changing groups so i need some help with adding my user to the wheel group.
OK, to answer your question about all this, After installing, when you do the etc-update, if you try to auto-emerge everything, and then just hit yes, to all the prompts, it will reset your /etc/fstab, remove your users from groups, reset your /etc/conf.d/net, and a few other things, I haven't yet found. The fixes above are what I did to fix the problem. and to add the users to the proper groups, (going by the default settings the directions tell you to add them to) :
usermod -G users,wheel,audio username
for me, I'm still looking for a way to fix the errors I get during bootup:
fsck: fsck.xfs: not found
fsck: Error 2 while executing fsck.xfs for /dev/hda3
everything on the computer appears to be working fine, I just don't like seeing errors in my bootup.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.