Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Lilo will not emerge, new install
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
ixjr
n00b
n00b


Joined: 01 Apr 2004
Posts: 3

PostPosted: Thu Apr 01, 2004 2:40 pm    Post subject: Lilo will not emerge, new install Reply with quote

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
View user's profile Send private message
diastelo
Guru
Guru


Joined: 23 Feb 2004
Posts: 521

PostPosted: Thu Apr 01, 2004 2:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
ixjr
n00b
n00b


Joined: 01 Apr 2004
Posts: 3

PostPosted: Thu Apr 01, 2004 3:04 pm    Post subject: Reply with quote

Ack!!! :D

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
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