Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Install hung at Kernel configuration
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
jwrico
n00b
n00b


Joined: 07 Oct 2009
Posts: 5
Location: Noble, Oklahoma

PostPosted: Fri Oct 23, 2009 9:39 pm    Post subject: Install hung at Kernel configuration Reply with quote

I am using the quick install guide, everything going well. Ran command " time emerge gentoo-sources " the connection failed and I lost the prompt to enter commands. how do I get from a blank flashing square to the livecd etc # prompt?

thanks in advance.
just trying out something new.

james rico :D
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Fri Oct 23, 2009 10:49 pm    Post subject: Reply with quote

If you press alt+F2 does it switch to another terminal?
Back to top
View user's profile Send private message
jwrico
n00b
n00b


Joined: 07 Oct 2009
Posts: 5
Location: Noble, Oklahoma

PostPosted: Tue Oct 27, 2009 12:30 pm    Post subject: System stops during boot Reply with quote

I used the guide book, understood most of what I was doing. I got to the final configuration step and rebooted the system. The grub splash screen came up I selected the Gentoo kernel and hit enter. The boot ran for 30 seconds or so and then hung up. The error is listed below.

fsck ext3 no such for or directory while trying to oepn /dev/root......superblock could not be read. *file system couldn't be fixed.
ctrl d to continue then it reboots.
you might try running e2fsck with an alternate superblock: e2fsck -b 8193 <device>

I set the boot partition up according to manual as ext2, the / partition as ext3, and the swap partion as swap. pretty sure I did thsoe correctly. Any ideas?

James R. :?:
Back to top
View user's profile Send private message
Clad in Sky
l33t
l33t


Joined: 04 May 2007
Posts: 888
Location: Germany

PostPosted: Wed Oct 28, 2009 7:56 am    Post subject: Reply with quote

Quote:

fsck ext3 no such for or directory while trying to oepn /dev/root.


Did you create a new fstab?
/dev/root does not exist. It should be something like /dev/sda3 (or whatever partition you have as your root partition).
My fstab looks like this:
Code:

/dev/sda1      /boot      ext2      noauto      1 2
/dev/sda2      none      swap      sw      0 0
/dev/sda3      /usr/portage   ext3      noatime      0 1
/dev/sda5      /      ext3      noatime      0 1
/dev/sda6      /home      ext3      noatime      0 1

the dev/BOOT, dev/ROOT etc. in the default fstab are just placeholders.
_________________
Kali Ma
Now it's autumn of the aeons
Dance with your sword
Now it's time for the harvest
Back to top
View user's profile Send private message
jwrico
n00b
n00b


Joined: 07 Oct 2009
Posts: 5
Location: Noble, Oklahoma

PostPosted: Wed Oct 28, 2009 12:25 pm    Post subject: partitions Reply with quote

Thanks for the reply,

I used nano and opened up a sample fstab, If I remember correctly I edited the sample and then saved it. I will double check that though to see it that is the problem. I am just getting into Linux, (taking a class) so my experience is limited. I do like to tinker with things and learn though, so this is going to be one of those learning experiences.

Thanks
James

PS I wont be able to work on this till probably friday so I'll post up my findings afterward.
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3224

PostPosted: Wed Oct 28, 2009 2:55 pm    Post subject: Re: partitions Reply with quote

jwrico wrote:
Thanks for the reply,

I used nano and opened up a sample fstab, If I remember correctly I edited the sample and then saved it. I will double check that though to see it that is the problem. I am just getting into Linux, (taking a class) so my experience is limited. I do like to tinker with things and learn though, so this is going to be one of those learning experiences.

Thanks
James

PS I wont be able to work on this till probably friday so I'll post up my findings afterward.
Also, post your grub.conf... the error is likely in there or in your fstab, as Clad in Sky mentioned.
Back to top
View user's profile Send private message
jwrico
n00b
n00b


Joined: 07 Oct 2009
Posts: 5
Location: Noble, Oklahoma

PostPosted: Fri Oct 30, 2009 9:37 pm    Post subject: fstab and boot Reply with quote

Here is a copy of fstab:
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/BOOT /boot ext2 noatime 1 2
/dev/ROOT / ext3 noatime 0 1
/dev/SWAP none swap sw 0 0
/dev/cdrom /mnt/cdrom auto noauto,ro 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0

I think this is correct.
I did look in the boot file and it was empty. I figure this is incorrect. Any ideas how to replace this information?

Thanks in advance.
James[/quote]
Back to top
View user's profile Send private message
Clad in Sky
l33t
l33t


Joined: 04 May 2007
Posts: 888
Location: Germany

PostPosted: Sat Oct 31, 2009 12:27 pm    Post subject: Reply with quote

Code:

/dev/BOOT /boot ext2 noatime 1 2
/dev/ROOT / ext3 noatime 0 1
/dev/SWAP none swap sw 0 0
/dev/cdrom /mnt/cdrom auto noauto,ro 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0


This is the sample fstab gentoo comes with, isn't it?

You gotta replace BOOT, ROOT, and SWAP with the actual devices those partitions are on.
I don't know, of course, which partition is which on your system, but if you run
Code:

cfdisk /dev/sda

Note that /dev/sda might be /dev/hda if you use an ide drive or /dev/sdb (sdc...) if you have more than one hdd in your computer.
and then press p you should get a list of the partitions on your drive.
SWAP is easy to detect as it should be labelled as Linux Swap/ Solaris (82)
The others likely will just be labelled Linux (83)

Assuming you followed the handbook the partition with the smallest size should be your boot partition, whose /dev/sdaX entry you'll have to replace /dev/BOOT with. Possibly it is also marked with a *. For me this is /dev/sda1 and if you followed the handbook should be /dev/sda1 for you as well.

The biggest partitions should be your home partition and root partition, but I might be wrong. The easiest way to find out would be to boot the system with a live cd and mount the partitions and see what is on them.
_________________
Kali Ma
Now it's autumn of the aeons
Dance with your sword
Now it's time for the harvest
Back to top
View user's profile Send private message
jwrico
n00b
n00b


Joined: 07 Oct 2009
Posts: 5
Location: Noble, Oklahoma

PostPosted: Sat Oct 31, 2009 5:25 pm    Post subject: OOPs Reply with quote

I guess this is where I do a Homer Simpson, DOOOOHHHH!

I fix those mistakes.

Thanks

:oops:

James
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