Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
grub, the disappearing xfs /boot and error 15
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
idiotprogrammer
Apprentice
Apprentice


Joined: 29 Jul 2002
Posts: 179
Location: Texas

PostPosted: Tue Aug 06, 2002 3:42 am    Post subject: grub, the disappearing xfs /boot and error 15 Reply with quote

Hi, I've been trying to install gentoo. i am having strange problems with /boot and grub.

hda has two different partitions of windows. it owns the mbr.
hdb has gentoo. /dev/hdb1 has /boot

when /boot is unmounted, i still see the files on the fs. and when I mount /boot (and the command line says that the mount was successful), the files in the /boot directory disappear. Then when I umount the /boot partition, everything appears again!

fstab says this
/dev/hdb1 /boot xfs noauto,noatime 1 2

I know the instructions say that for /boot should be ext2. i forgot. I made it xfs.
when i run grub and do these two commands

root (hd1, 0) and setup (hd1,0)

it will say checking for stage 1 file, but it will be unable to find. (with error code 15)

I feel pretty sure that when it tries to mount /boot, it is not seeing anything, just like what I find when I do it on a command line.

What is happening here? And how do I correct it?

Robert Nagle www.idiotprogrammer.com
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Tue Aug 06, 2002 3:45 am    Post subject: Reply with quote

Okay, here's what the deal is. /boot isn't mounted automatically, and when it's not mounted, it appears just like any other directory; i.e. you can copy files to and from as you like. But, they don't end up in your /boot parition, the end up in your root partition under the boot directory. Try this:

Code:
# cd
# mkdir boot-tmp
# mv /boot/* boot-tmp/
# touch /boot/I_AM_UNMOUNTED
# mount /boot
# mv boot-tmp/* /boot/
# rmdir boot-tmp


That will get all your files onto your real /boot partition, as well as placing an empty file ("I_AM_UNMOUNTED") into your boot directory to warn you of your impending silliness. :D
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
idiotprogrammer
Apprentice
Apprentice


Joined: 29 Jul 2002
Posts: 179
Location: Texas

PostPosted: Tue Aug 06, 2002 5:26 am    Post subject: thanks and... Reply with quote

Besides helping me with my problem, I learned a few things I didn't know about mounting. Thanks! Really, linux classes should make students install gentoo as a learning activity. It's very educational! rj
Back to top
View user's profile Send private message
idiotprogrammer
Apprentice
Apprentice


Joined: 29 Jul 2002
Posts: 179
Location: Texas

PostPosted: Tue Aug 06, 2002 7:19 am    Post subject: for future reference Reply with quote

if anyone has a similiar problem, let me mention that i had trouble remounting it after doing what delta407 said. I had to run xfs_repair and that did the trick. Everything ok. rj
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