View previous topic :: View next topic |
Author |
Message |
idiotprogrammer Apprentice
Joined: 29 Jul 2002 Posts: 179 Location: Texas
|
Posted: Tue Aug 06, 2002 3:42 am Post subject: grub, the disappearing xfs /boot and error 15 |
|
|
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 |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Tue Aug 06, 2002 3:45 am Post subject: |
|
|
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. _________________ I don't believe in witty sigs. |
|
Back to top |
|
|
idiotprogrammer Apprentice
Joined: 29 Jul 2002 Posts: 179 Location: Texas
|
Posted: Tue Aug 06, 2002 5:26 am Post subject: thanks and... |
|
|
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 |
|
|
idiotprogrammer Apprentice
Joined: 29 Jul 2002 Posts: 179 Location: Texas
|
Posted: Tue Aug 06, 2002 7:19 am Post subject: for future reference |
|
|
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 |
|
|
|
|
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
|
|