Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot automatically mount your /boot partition
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
lmellen
Tux's lil' helper
Tux's lil' helper


Joined: 15 Mar 2004
Posts: 95
Location: Fairport, NY

PostPosted: Sat May 08, 2004 2:25 am    Post subject: Cannot automatically mount your /boot partition Reply with quote

:roll: I finally had gentoo up and running, decided I didn't like the way it was installed, wanted to try a few different things, formatted the HD- started to reinstall-and now I'm getting this error from emerge -k grub:

Cannot automatically mount your boot partition
Your boot partition has to be mounted rw before the installation
Can continue, grub needs to install important files there

Error: sys-boot/grub-0.94-r1 failed
Function mount-boot_mount_boot_partition, Line53, Exitcode 0
Please mount your /boot partition manually

Failed preinst: 1

ls -l /boot gives me:

May 6 16:43 boot ->
May 6 18:07 initrd-2.6.5-gentoo-r1
May 6 17:52 kernel-2.6.5-gentoo-r1
May 6 16:26 lost+found

I used ext2 for boot and reiserfs for root. The only thing I compiled in the kernel was reiserfs filesystem help and the ati video card stuff as modules.
I used genkernel
Like I said, I had the system up before. It seems like this just started? Am I leaving something out? I did uncomment the floppy in fstab, that would'nt cause any problems, would it? I could use some help. Thank you-Larry. Also, I thought I did something wrong the first time, but this is the third reinstall attempt. I get the same error everytime.
Back to top
View user's profile Send private message
daveb
Tux's lil' helper
Tux's lil' helper


Joined: 20 Nov 2003
Posts: 137
Location: In front of my computer, duh!

PostPosted: Sat May 08, 2004 2:33 am    Post subject: Reply with quote

Make sure you
Code:
mount /boot

first.
_________________
WARNING: Not reading the Gentoo Handbook can be hazardous to your computer!
Back to top
View user's profile Send private message
lmellen
Tux's lil' helper
Tux's lil' helper


Joined: 15 Mar 2004
Posts: 95
Location: Fairport, NY

PostPosted: Sat May 08, 2004 2:42 am    Post subject: Reply with quote

daveb-- if I type mount /boot, hit enter, I get:

mount: /dev/hda1 already mounted or /boot busy
mount: according to mtab, /dev/hda1 is already mounted on /boot
Back to top
View user's profile Send private message
daveb
Tux's lil' helper
Tux's lil' helper


Joined: 20 Nov 2003
Posts: 137
Location: In front of my computer, duh!

PostPosted: Sat May 08, 2004 2:55 am    Post subject: Reply with quote

Hmmm, well it sounds like /boot is mounted. I found someone with a similar-sounding problem in this thread. See if that helps.
_________________
WARNING: Not reading the Gentoo Handbook can be hazardous to your computer!
Back to top
View user's profile Send private message
BCC
n00b
n00b


Joined: 28 Apr 2004
Posts: 51

PostPosted: Sat May 08, 2004 11:25 am    Post subject: Reply with quote

Hi,

Maybe your /boot partition is mounted "read-only" ?
In such a case, you could try :
Code:
mount -o remount -o rw /boot


Hope this helps
Back to top
View user's profile Send private message
thorne
Apprentice
Apprentice


Joined: 19 Sep 2002
Posts: 177

PostPosted: Tue May 11, 2004 9:25 pm    Post subject: Reply with quote

Hi, the solution for me was to unmount boot. When you emerge grub, the script automatically mounts boot. Perhaps there is an error in the script where it checks to see if /boot is already mounted?
_________________
Stupid bug, you go squish now!
-Homer Simpson

Registered linux user #287718
Back to top
View user's profile Send private message
pingvinen
n00b
n00b


Joined: 29 Dec 2003
Posts: 49
Location: Viby J. / Århus - Denmark

PostPosted: Mon May 31, 2004 5:28 pm    Post subject: i did Reply with quote

I exited the chroot env. and remounted the boot
and the grub worked :)

thanks
_________________
I love Gentoo because of this user-community! Thanks to everyone contributing thier time!
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