[Techtalk] grub/boot image problems
Marize Pommot-Maia
marize at pommot.net
Thu Jul 15 17:08:34 EST 2004
In my case, when I figured out that I had forgotten to mount '/boot', I did
1) make sure '/boot' is not mounted
# umount /boot
2) check what is left in the "ghost" '/boot' and delete all
3) mount '/boot' and copy images, edit grub, etc.
If you'd rather have '/boot' mounted at boot time, edit '/etc/fstab' and
delete 'noauto'. As for being a good policy or not, it's a matter of
taste.
HTH,
------------------------------------------------------------------------
Marize Pommot-Maia
marize at pommot.net
Katie Bechtold wrote:
> On Thu, Jul 15, 2004 at 03:48:11PM -0400, Marize Pommot-Maia wrote:
>
>>I once forgot that '/boot' is not mounted all the time. One must mount
>>it before modifying anything in that partition. Could this be the case?
>
>
> Yes, that seems to be the source of my confusion!
>
>
>>># cat /etc/mtab
>>>/dev/hda3 / reiserfs rw,noatime 0 0
>>>none /proc proc rw 0 0
>>>none /dev devfs rw 0 0
>>>none /dev/shm tmpfs rw 0 0
>>>none /proc/bus/usb usbfs rw 0 0
>
>
> Well, *now* I get this:
> # cat /etc/mtab
> /dev/hda3 / reiserfs rw,noatime 0 0
> none /proc proc rw 0 0
> none /dev devfs rw 0 0
> none /dev/shm tmpfs rw 0 0
> none /proc/bus/usb usbfs rw 0 0
> /dev/hda1 /boot ext2 rw,noatime 0 0
>
> So the /boot partition -- the *real* one -- is now mounted, and it
> has all the appropriate kernel images and grub config files. I swear
> I didn't change anything between those two times. How did the /boot
> partition get mounted?
>
> Should I delete the "fake" /boot/ directory on /dev/hda3?
>
> How might I ensure in the future that the /boot partition is always
> mounted (assuming that's a good policy)? My /etc/fstab already has
> the following entry:
> /dev/hda1 /boot ext2 noauto,noatime 1 1
>
More information about the Techtalk
mailing list