Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cant Boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
Herus
n00b
n00b


Joined: 29 Apr 2005
Posts: 19

PostPosted: Fri Apr 29, 2005 5:29 pm    Post subject: cant Boot Reply with quote

Ok This is the error i get

* Checking root filesystem...fsck: fsck.xfs: not found
fsck: Error 2 while executing fsck.xfs for /dev/ROOT

few lines of ok

fsck.ext2: No such file or directory while trying to open /dev/BOOT
/dev/BOOT:
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:

* Fsck could not correct all errors, manual repair needed
[ !! ]

Give root password for maintenance
(or type Control-D for normal startup):


I tried typing in my root password, but my keyboard doesnt log anykeys...
crtl+d doesnt work either

its cordless logitech mx duo...

This is my first time at installing linux so go easy on me :P
i cant actually get into gentoo at all to check my fstab or anything...
Thanks

Herus
Back to top
View user's profile Send private message
kirchner
n00b
n00b


Joined: 19 Nov 2004
Posts: 70
Location: Detroit, MI

PostPosted: Fri Apr 29, 2005 5:37 pm    Post subject: Reply with quote

I'm assuming you've completed the install and this is your first boot from the harddisk. If so, it sounds like your /etc/fstab is wrong. To make changes, you'll have to boot from the LiveCD. If you mount your root partition to /mnt/gentoo, you should be able to read (and write to) the file /mnt/gentoo/etc/fstab. If you post that, this problem will be easier to diagnose.

In addition, it would help to know what your partition layout is and what filesystems you have on each partition. I'm guessing that if you are new to gentoo, you are not using xfs. Seeing that your system is attempting to mount the devices /dev/BOOT and /dev/ROOT, it looks like you didn't edit the /etc/fstab properly. Read this to help configure this file.
Back to top
View user's profile Send private message
obsidianblackhawk
Apprentice
Apprentice


Joined: 28 Mar 2005
Posts: 237
Location: Sac Town USA

PostPosted: Fri Apr 29, 2005 5:38 pm    Post subject: Re: cant Boot Reply with quote

Herus wrote:
fsck.ext2: No such file or directory while trying to open /dev/BOOT
/dev/BOOT:
This error means you skipped the part of setting up your fstab file

Code:
# nano -w /etc/fstab
Back to top
View user's profile Send private message
Herus
n00b
n00b


Joined: 29 Apr 2005
Posts: 19

PostPosted: Fri Apr 29, 2005 5:52 pm    Post subject: Reply with quote

/dev/BOOT /boot ext2 noauto, noatime 1 1
/dev/ROOT / xfs noatime 0 0
/dev/SWAP none swap sw 0 0
cdrom
floppy in here

im using just reiserfs as a 9gb and 1gb for swap...
its what a mate told me to do =\


Herus
Back to top
View user's profile Send private message
Herus
n00b
n00b


Joined: 29 Apr 2005
Posts: 19

PostPosted: Fri Apr 29, 2005 5:56 pm    Post subject: Reply with quote

and you right i didnt change it
i didnt realise that it wasnt a proper fstab file... next time ill read a bit more...

Herus
Back to top
View user's profile Send private message
kirchner
n00b
n00b


Joined: 19 Nov 2004
Posts: 70
Location: Detroit, MI

PostPosted: Fri Apr 29, 2005 5:58 pm    Post subject: Reply with quote

Yeah, you need to read the handbook and fix up that /etc/fstab. I can't know for sure without more information, but /dev/BOOT should probably be /dev/hda1 (assuming IDE harddisk), etc. You really should read chapter 8 of the install handbook linked above.

EDIT/NOTE: I posted this before I read your most recent post, I wasn't trying to be condescending and repetitive :)


Last edited by kirchner on Fri Apr 29, 2005 5:58 pm; edited 1 time in total
Back to top
View user's profile Send private message
obsidianblackhawk
Apprentice
Apprentice


Joined: 28 Mar 2005
Posts: 237
Location: Sac Town USA

PostPosted: Fri Apr 29, 2005 5:58 pm    Post subject: Reply with quote

Herus wrote:
/dev/BOOT /boot ext2 noauto, noatime 1 1
/dev/ROOT / xfs noatime 0 0
/dev/SWAP none swap sw 0 0
cdrom
floppy in here

im using just reiserfs as a 9gb and 1gb for swap...
its what a mate told me to do =\


Herus


this should say something like

/dev/hda1 /boot reiserfs noauto, notime 1 1
/dev/hda3 / reiserfs noatime 0 0
/dev/hda2 none swap sw 0 0

granted this also depends on where you have gentoo installed. If you have it installed on the only drive in the computer and followed the guides partition guide then that should be what your fstab should look like.
Back to top
View user's profile Send private message
kirchner
n00b
n00b


Joined: 19 Nov 2004
Posts: 70
Location: Detroit, MI

PostPosted: Fri Apr 29, 2005 6:00 pm    Post subject: Reply with quote

And unless you have a good reason, reiserfs makes a poor filesystem for /boot. I did the same thing and regretted it.
Back to top
View user's profile Send private message
Herus
n00b
n00b


Joined: 29 Apr 2005
Posts: 19

PostPosted: Fri Apr 29, 2005 6:03 pm    Post subject: Reply with quote

its running on a primary partition hda3 with the swap space at hda4
hda1 is my windows partition
hda2 doesnt exist =\
forgive me for not making much sense... its 3:30 in the morning lol... i just want it done:roll:

Herus
Back to top
View user's profile Send private message
kirchner
n00b
n00b


Joined: 19 Nov 2004
Posts: 70
Location: Detroit, MI

PostPosted: Fri Apr 29, 2005 6:07 pm    Post subject: Reply with quote

So, you don't have a seperate partition for /boot? Can you paste a copy of your partition table?
Code:
# fdisk /dev/hda

Then type "p" to print the table and "q" to quit. DO NOT type "w". This will overwrite all the progress you've made over night!
Back to top
View user's profile Send private message
Herus
n00b
n00b


Joined: 29 Apr 2005
Posts: 19

PostPosted: Fri Apr 29, 2005 6:12 pm    Post subject: Reply with quote

/dev/hda1 * 1 2610 lotsablocks 7 ntfs
/dev/hda2 3886 14593 " f w95 extd
/dev/hda3 2611 3704 " 83 linux
/dev/hda4 3705 3885 " 82 swap
/dev/hda5 3886 14593 " 7 ntfs

no seperate for /boot
was told i didnt need one

Herus
Back to top
View user's profile Send private message
kirchner
n00b
n00b


Joined: 19 Nov 2004
Posts: 70
Location: Detroit, MI

PostPosted: Fri Apr 29, 2005 6:17 pm    Post subject: Reply with quote

Technically, you don't need one. I'm not sure of the negative consequences for not having one, but I've always been told to have one. I guess that makes us both conformists :)

In your /etc/fstab, you should comment out the /dev/BOOT line. /dev/ROOT should be changed to /dev/hda3. /dev/SWAP should be changed to /dev/hda4. Also, on the /dev/hda3 (previously /dev/ROOT) line, xfs should be changed to reiserfs.
Back to top
View user's profile Send private message
Herus
n00b
n00b


Joined: 29 Apr 2005
Posts: 19

PostPosted: Fri Apr 29, 2005 6:22 pm    Post subject: Reply with quote

it worked!

but now i cant login

comes up herus login:
i enter root
and password

authentication failure, user unknown

i enter Herus
password

Failure


oh noes... :cry:
Back to top
View user's profile Send private message
obsidianblackhawk
Apprentice
Apprentice


Joined: 28 Mar 2005
Posts: 237
Location: Sac Town USA

PostPosted: Fri Apr 29, 2005 6:27 pm    Post subject: Reply with quote

Herus wrote:
it worked!

but now i cant login

comes up herus login:
i enter root
and password

authentication failure, user unknown

i enter Herus
password

Failure


oh noes... :cry:
did you change your password while you were in the chrooted environment, BEFORE you rebooted

edit: have you tried logging in as root?


Last edited by obsidianblackhawk on Fri Apr 29, 2005 6:28 pm; edited 1 time in total
Back to top
View user's profile Send private message
Herus
n00b
n00b


Joined: 29 Apr 2005
Posts: 19

PostPosted: Fri Apr 29, 2005 6:28 pm    Post subject: Reply with quote

yes
root is mentioned in there
Back to top
View user's profile Send private message
kirchner
n00b
n00b


Joined: 19 Nov 2004
Posts: 70
Location: Detroit, MI

PostPosted: Fri Apr 29, 2005 6:29 pm    Post subject: Reply with quote

Okay, that's not an impossible situation :) If you are using GRUB, when you get to the GRUB screen hit "e" for edit on whichever line boots gentoo. Then, select the "kernel" line and hit "e" for edit again. At the end of this line, put "1" and hit "b" for boot. This will do a mininal boot and automatically log you in as root. Type "passwd" to set the root password. After all this, do a reboot and see if you can log in as root.
Back to top
View user's profile Send private message
obsidianblackhawk
Apprentice
Apprentice


Joined: 28 Mar 2005
Posts: 237
Location: Sac Town USA

PostPosted: Fri Apr 29, 2005 6:29 pm    Post subject: Reply with quote

Herus wrote:
yes
root is mentioned in there

If i were you i would boot back to the live cd, and re-chroot into your install environment, and and reset you users and passwords. Note: user names are lowercase.:wink:
Back to top
View user's profile Send private message
Herus
n00b
n00b


Joined: 29 Apr 2005
Posts: 19

PostPosted: Fri Apr 29, 2005 6:31 pm    Post subject: Reply with quote

okey dokey

next time remind me not to start this late at night lol

and to write down my password :)

Herus
Back to top
View user's profile Send private message
obsidianblackhawk
Apprentice
Apprentice


Joined: 28 Mar 2005
Posts: 237
Location: Sac Town USA

PostPosted: Fri Apr 29, 2005 6:32 pm    Post subject: Reply with quote

Herus wrote:
okey dokey

next time remind me not to start this late at night lol

and to write down my password :)

Herus
we all learn at some point.
Back to top
View user's profile Send private message
Herus
n00b
n00b


Joined: 29 Apr 2005
Posts: 19

PostPosted: Fri Apr 29, 2005 6:43 pm    Post subject: Reply with quote

Quote:
Okay, that's not an impossible situation :) If you are using GRUB, when you get to the GRUB screen hit "e" for edit on whichever line boots gentoo. Then, select the "kernel" line and hit "e" for edit again. At the end of this line, put "1" and hit "b" for boot. This will do a mininal boot and automatically log you in as root. Type "passwd" to set the root password. After all this, do a reboot and see if you can log in as root.


lol didnt even see that
and just to make things hard
im not using grub lol

Herus
Back to top
View user's profile Send private message
Herus
n00b
n00b


Joined: 29 Apr 2005
Posts: 19

PostPosted: Fri Apr 29, 2005 6:55 pm    Post subject: Reply with quote

Quote:
If i were you i would boot back to the live cd, and re-chroot into your install environment, and and reset you users and passwords. Note: user names are lowercase.


Yay im in...
hmm a command prompt...
need me a gui
but i think ill do that in the morning
any suggestions on what to use???
imma nub :oops:

thanks got your help guys

Night!

Herus
Back to top
View user's profile Send private message
obsidianblackhawk
Apprentice
Apprentice


Joined: 28 Mar 2005
Posts: 237
Location: Sac Town USA

PostPosted: Fri Apr 29, 2005 7:21 pm    Post subject: Reply with quote

Herus wrote:
Quote:
If i were you i would boot back to the live cd, and re-chroot into your install environment, and and reset you users and passwords. Note: user names are lowercase.


Yay im in...
hmm a command prompt...
need me a gui
but i think ill do that in the morning
any suggestions on what to use???
imma nub :oops:

thanks got your help guys

Night!

Herus
well the first thing your gonna need is to
Code:
emerge xorg-x11
and then decide what wm you want. I.E KDE, or Gnome[/code]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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