View previous topic :: View next topic |
Author |
Message |
chris_andrew Apprentice
Joined: 19 Sep 2004 Posts: 291 Location: Wiltshire, UK
|
Posted: Sun Nov 01, 2009 10:06 pm Post subject: New install boots but then stalls as wrong / defined. |
|
|
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 |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Sun Nov 01, 2009 10:14 pm Post subject: |
|
|
chris_andrew,
Your file is at /boot/grub/grub.conf if /boot looks empty, is because Gentoo does not mout it by default.
Try 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 |
|
|
glamoroushacker n00b
Joined: 28 Dec 2008 Posts: 16 Location: United States of America
|
Posted: Sun Nov 01, 2009 10:16 pm Post subject: |
|
|
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 |
|
|
chris_andrew Apprentice
Joined: 19 Sep 2004 Posts: 291 Location: Wiltshire, UK
|
Posted: Sun Nov 01, 2009 10:28 pm Post subject: |
|
|
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
The rest is empty! _________________ http://www.whylinuxisbetter.net/ |
|
Back to top |
|
|
glamoroushacker n00b
Joined: 28 Dec 2008 Posts: 16 Location: United States of America
|
Posted: Sun Nov 01, 2009 10:37 pm Post subject: |
|
|
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 |
|
|
Aoliv n00b
Joined: 13 Apr 2009 Posts: 9
|
Posted: Mon Nov 02, 2009 8:00 am Post subject: |
|
|
If you went up to genkernel (Item 7) you didn't install grub yet (Item 10)
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 |
|
|
chris_andrew Apprentice
Joined: 19 Sep 2004 Posts: 291 Location: Wiltshire, UK
|
Posted: Mon Nov 02, 2009 10:58 am Post subject: |
|
|
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 |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Mon Nov 02, 2009 6:42 pm Post subject: |
|
|
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 |
|
|
|