Unix Technical Forum

Grub

This is a discussion on Grub within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> Hmm, I have not been paying attention to my system in a while ... I just noticed that I ...


Go Back   Unix Technical Forum > Unix Operating Systems > Gentoo Linux Support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-21-2008, 11:06 AM
Dennis
 
Posts: n/a
Default Grub

Hmm, I have not been paying attention to my system in a while ... I just
noticed that I no longer have a /boot/grub directory.

I cannot even find a grub.conf on the system.

What happened ?? and how does my system still bootup ???



--
Living on Earth may be expensive,
but it includes an annual free trip around the sun.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-21-2008, 11:06 AM
Kenton Groombridge
 
Posts: n/a
Default Re: Grub

Dennis wrote:
> Hmm, I have not been paying attention to my system in a while ... I just
> noticed that I no longer have a /boot/grub directory.
>
> I cannot even find a grub.conf on the system.
>
> What happened ?? and how does my system still bootup ???
>
>
>

It is possible that the /boot partition is not automatically mounted at
boot. Check your /etc/fstab.

Ken
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-21-2008, 11:06 AM
Peter J. de Vrijer
 
Posts: n/a
Default Re: Grub

Kenton Groombridge wrote:

> Dennis wrote:
>> Hmm, I have not been paying attention to my system in a while ... I just
>> noticed that I no longer have a /boot/grub directory.
>>
>> I cannot even find a grub.conf on the system.
>>
>> What happened ?? and how does my system still bootup ???
>>
>>
>>

> It is possible that the /boot partition is not automatically mounted at
> boot. Check your /etc/fstab.

That is even the safe and recommended way to do it. So you can not
accidently remove your kernel to boot with or grub.conf etc.
Or corrupt the boot partition when your system crashes for some reason.

It is read at boot time by grub from the boot partition and
this partition is indeed not mounted. But your
boot dir is still in the root and is empty. When you want to change
kernel to boot from, you first mount the boot partition on /boot then
add the new kernel, change grub.conf accordingly and then you can
reboot with the new kernel.

Peter.

--
| Peter J. de Vrijer e-mail: pdevrijer_nospam_@home.nl
| zendamateurs: pa5dv_nospam_@amsat.org
|
| And perhaps the horse will learn to sing!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-21-2008, 11:06 AM
Dennis
 
Posts: n/a
Default Re: Grub

Thanks ... I accidentally had noauto set in fstab.

Hmmm, why is it that I can still see files in my /boot directory ??? even
though it was not mounted ??


Kenton Groombridge wrote:

> Dennis wrote:
>> Hmm, I have not been paying attention to my system in a while ... I just
>> noticed that I no longer have a /boot/grub directory.
>>
>> I cannot even find a grub.conf on the system.
>>
>> What happened ?? and how does my system still bootup ???
>>
>>
>>

> It is possible that the /boot partition is not automatically mounted at
> boot. Check your /etc/fstab.
>
> Ken


--
Living on Earth may be expensive,
but it includes an annual free trip around the sun.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-21-2008, 11:06 AM
Darren Davison
 
Posts: n/a
Default Re: Grub

On 2006-02-13, Dennis <dennis@oyamaphotography.com> wrote:
> Thanks ... I accidentally had noauto set in fstab.


as already mentioned, that's a "good thing (TM)"


> Hmmm, why is it that I can still see files in my /boot directory ??? even
> though it was not mounted ??


because if you don't mount a disk partition there, then /boot is just
another directory hanging off your root partition. You can place any
files you like there. When you mount /boot, those files will be hidden
by the ones on the mounted partition.

--
darren@ public key
davisononline.org 0xDD356B0D
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-21-2008, 11:06 AM
Dennis
 
Posts: n/a
Default Re: Grub

Thanks, I was fooled into thinking that the partion was mounted because most
of the files were displayed.
Little did I know that they were copied into the unmounted /boot directory.



Darren Davison wrote:

> On 2006-02-13, Dennis <dennis@oyamaphotography.com> wrote:
>> Thanks ... I accidentally had noauto set in fstab.

>
> as already mentioned, that's a "good thing (TM)"
>
>
>> Hmmm, why is it that I can still see files in my /boot directory ??? even
>> though it was not mounted ??

>
> because if you don't mount a disk partition there, then /boot is just
> another directory hanging off your root partition. You can place any
> files you like there. When you mount /boot, those files will be hidden
> by the ones on the mounted partition.
>


--
Living on Earth may be expensive,
but it includes an annual free trip around the sun.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-21-2008, 11:06 AM
Anton Ertl
 
Posts: n/a
Default Re: Grub

Dennis <dennis@oyamaphotography.com> writes:
>I cannot even find a grub.conf on the system.


This can happen even if you have the boot partition mounted. Grub
actually looks up its configuration in a file called menu.lst. Some
systems have a link from grub.conf to menu.lst, but that's not
universal.

- anton
--
M. Anton Ertl Some things have to be seen to be believed
anton@mips.complang.tuwien.ac.at Most things have to be believed to be seen
http://www.complang.tuwien.ac.at/anton/home.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:22 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com