View previous topic :: View next topic |
Author |
Message |
ixjr n00b
Joined: 01 Apr 2004 Posts: 3
|
Posted: Thu Apr 01, 2004 2:40 pm Post subject: Lilo will not emerge, new install |
|
|
I've installed Gentoo a few times and never run into this problem. Following the online guide essentially straight through up to this point, emerge lilo initially fails on its last (2nd) dependency with
"Cannot automatically mount your /boot partition. Your boot partition has to be mounted rw before the installation can continue. lilo needs to install important files there.
ERROR: sys-boot/lilo-22.5.8-r1 failed.
Function mount-boot_mount_boot_partition, Line 53, Exitcode 0
Please mount your /boot partition manually!"
The lines prior if they are relevant initially said
>>> Merging sys-boot/lilo-22.5.8-r1 to /
cat: /proc/mounts: No such file or directory
cat: /proc/mounts: No such file or directory
So sure enough, its not there. I exited the chroot environment and there is a /proc/mounts at the initial from CD boot level. I copied mounts from there to /mnt/gentoo/proc/
Chrooted to /mnt/gentoo again, used cat /proc/mounts again and this time it returned everything it should - all 6 partitions properly mounted and all listed as rw. Again attempted to emerge lilo and got the exact same final error but the two cat: lines prior had disappeared (and were not replaced with any new errors).
Last thing I looked into was to was to use 'df' but it lists only my / partition as being mounted - I actually have six partitions mounted. Exited chroot and repeated df and it lists all six mounted properly as expected. I umounted and remounted /boot to no avail and back within the chroot environment it says its not mounted if I umount, but since it really is when I try to mount it again it tells me its already mounted or busy. *sigh*
Sorry for the lengthy post, any suggestions to get me by this one? Logic dictates that I need to convince the chroot environment that more than / is mounted but I don't know how.
PS. Grub won't work on this box so thats not an option. |
|
Back to top |
|
|
diastelo Guru
Joined: 23 Feb 2004 Posts: 521
|
Posted: Thu Apr 01, 2004 2:55 pm Post subject: |
|
|
Before you chroot into the hard drive, did you remember to do the following?
Code: | # mount /dev/hda3 /mnt/gentoo
# mkdir /mnt/gentoo/boot
# mount /dev/hda1 /mnt/gentoo/boot
|
and then do...
Code: | # mkdir /mnt/gentoo/proc
# mount -t proc none /mnt/gentoo/proc
|
This is from section 4.j of the Gentoo Install Doc on the website. If df doesn't see any mounted partitions, then none of those partitions are mounted. I've forgotten at least one of these steps countless times. Hope this helps _________________ "No question is so difficult to answer as that to which the answer is obvious" -- George Bernard Shaw |
|
Back to top |
|
|
ixjr n00b
Joined: 01 Apr 2004 Posts: 3
|
Posted: Thu Apr 01, 2004 3:04 pm Post subject: |
|
|
Ack!!!
I did all my mkdir and mount for various folders like /boot
I didn't do the ...
mkdir /mnt/gentoo/proc
mount -t proc none /mnt/gentoo/proc
...or at least I don't remember doing that step.
Thanks so much, thats bound to be it. |
|
Back to top |
|
|
|
|
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
|
|