View previous topic :: View next topic |
Author |
Message |
jwrico n00b
Joined: 07 Oct 2009 Posts: 5 Location: Noble, Oklahoma
|
Posted: Fri Oct 23, 2009 9:39 pm Post subject: Install hung at Kernel configuration |
|
|
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 |
|
Back to top |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Fri Oct 23, 2009 10:49 pm Post subject: |
|
|
If you press alt+F2 does it switch to another terminal? |
|
Back to top |
|
|
jwrico n00b
Joined: 07 Oct 2009 Posts: 5 Location: Noble, Oklahoma
|
Posted: Tue Oct 27, 2009 12:30 pm Post subject: System stops during boot |
|
|
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 |
|
|
Clad in Sky l33t
Joined: 04 May 2007 Posts: 888 Location: Germany
|
Posted: Wed Oct 28, 2009 7:56 am Post subject: |
|
|
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 |
|
|
jwrico n00b
Joined: 07 Oct 2009 Posts: 5 Location: Noble, Oklahoma
|
Posted: Wed Oct 28, 2009 12:25 pm Post subject: partitions |
|
|
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 |
|
|
mikegpitt Advocate
Joined: 22 May 2004 Posts: 3224
|
Posted: Wed Oct 28, 2009 2:55 pm Post subject: Re: partitions |
|
|
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 |
|
|
jwrico n00b
Joined: 07 Oct 2009 Posts: 5 Location: Noble, Oklahoma
|
Posted: Fri Oct 30, 2009 9:37 pm Post subject: fstab and boot |
|
|
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 |
|
|
Clad in Sky l33t
Joined: 04 May 2007 Posts: 888 Location: Germany
|
Posted: Sat Oct 31, 2009 12:27 pm Post subject: |
|
|
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
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 |
|
|
jwrico n00b
Joined: 07 Oct 2009 Posts: 5 Location: Noble, Oklahoma
|
Posted: Sat Oct 31, 2009 5:25 pm Post subject: OOPs |
|
|
I guess this is where I do a Homer Simpson, DOOOOHHHH!
I fix those mistakes.
Thanks
James |
|
Back to top |
|
|
|