Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New install boots but then stalls as wrong / defined.
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
chris_andrew
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 291
Location: Wiltshire, UK

PostPosted: Sun Nov 01, 2009 10:06 pm    Post subject: New install boots but then stalls as wrong / defined. Reply with quote

Hi, all.

I did an install and went for the genkernel option, as I wanted to power-down the PC before going away.

Now that I boot to finish the install instructions, I get the message:
Code:

Filesystem mounted at /dev/hda1 does not appear to be a valid /


I screwed something up, but not sure which file. When I manually enter /dev/hda2 at the prompt, it boots properly.

I remember when I did the install I was unsure of this bit and naturally assumed that I should point to the /boot (hda1). I was obviously wrong and needed to point at / (hda2). I've looked around in GRUB, but can't find my original file to alter. Can anyone help me out, here?

Cheers,

Chris.
_________________
http://www.whylinuxisbetter.net/
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Sun Nov 01, 2009 10:14 pm    Post subject: Reply with quote

chris_andrew,

Your file is at /boot/grub/grub.conf if /boot looks empty, is because Gentoo does not mout it by default.
Try
Code:
mount /boot
and look again
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
glamoroushacker
n00b
n00b


Joined: 28 Dec 2008
Posts: 16
Location: United States of America

PostPosted: Sun Nov 01, 2009 10:16 pm    Post subject: Reply with quote

You need to change the /boot/grub/grub.conf file and instead of real_root=/dev/hda1, change it to real_root=/dev/hda2. The real_root is the root (/) of the file system, not the /boot directory. It doesn't need the /boot (/dev/hda1) directory (device) because grub already loads the kernel.
_________________
One person shits their pants and everyone has to wears diapers.
- Unknown
Back to top
View user's profile Send private message
chris_andrew
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 291
Location: Wiltshire, UK

PostPosted: Sun Nov 01, 2009 10:28 pm    Post subject: Reply with quote

glamoroushacker wrote:
You need to change the /boot/grub/grub.conf file and instead of real_root=/dev/hda1, change it to real_root=/dev/hda2. The real_root is the root (/) of the file system, not the /boot directory. It doesn't need the /boot (/dev/hda1) directory (device) because grub already loads the kernel.


/boot is mounted, but when I do an ls -al, all I see is

Code:
.
..


The rest is empty!
_________________
http://www.whylinuxisbetter.net/
Back to top
View user's profile Send private message
glamoroushacker
n00b
n00b


Joined: 28 Dec 2008
Posts: 16
Location: United States of America

PostPosted: Sun Nov 01, 2009 10:37 pm    Post subject: Reply with quote

try unmounting /boot and see if there is anything in the directory. It sounds like you installed the files prior to mount the device.
_________________
One person shits their pants and everyone has to wears diapers.
- Unknown
Back to top
View user's profile Send private message
Aoliv
n00b
n00b


Joined: 13 Apr 2009
Posts: 9

PostPosted: Mon Nov 02, 2009 8:00 am    Post subject: Reply with quote

If you went up to genkernel (Item 7) you didn't install grub yet (Item 10) :D

Re-start from the beginer. there are some steps that you don't need to do, but others you must. You don't need to "Preparing the Disks", but you need to proper enter in chroot enviroment, etc.
Back to top
View user's profile Send private message
chris_andrew
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 291
Location: Wiltshire, UK

PostPosted: Mon Nov 02, 2009 10:58 am    Post subject: Reply with quote

Hi,

I emerge'd grub and configured it incorrectly. When I boot, I also get the splash screen. Hopefully I should just need to fix grub, somehow.

Chris.
_________________
http://www.whylinuxisbetter.net/
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Mon Nov 02, 2009 6:42 pm    Post subject: Reply with quote

chris_andrew,

Correct. Inside the chroot, grub.conf is in /boot/grub

The question is, do you have a real boot partition or is /boot a directory on your root partition?
You need to look in /boot both with and without /boot being mouted.

grub.conf is in one of those places as you are using it.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
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