LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   "/boot/grub/grub.conf: No such file or directory" (https://www.linuxquestions.org/questions/linux-newbie-8/boot-grub-grub-conf-no-such-file-or-directory-817900/)

Pale 07-03-2010 08:17 PM

"/boot/grub/grub.conf: No such file or directory"
 
I just recently installed a kernel, everything works fine after reboot except. When I use nano -w /boot/grub/grub.conf I get /boot/grub/grub.conf: No such file or directory

Is there something i have to do after installing a new kernel in Gentoo Linux.

I can't access my /boot all that appears there is a symlink to /boot :(

How can i see my kernels located in /boot.

They have to be there, I can still reboot.

Any help is appreciated.

Pale 07-03-2010 10:10 PM

/etc/fstab
Code:

/dev/sda1              /boot          ext2            noauto,noatime          1 2
/dev/sda3              /              ext3            noatime                0 1
/dev/sda2              none            swap            sw                      0 0

/dev/cdrom              /mnt/cdrom      auto            noauto,ro              0 0

proc                    /proc          proc            defaults                0 0
shm                    /dev/shm        tmpfs          nodev,nosuid,noexec    0 0

Apparently noauto means it will not mount itself.

So I need to mount my boot partition by: mount /dev/sda1 /boot

David the H. 07-04-2010 12:43 AM

auto (the one in the options part of the line) means that the mount will be executed during system start-up, or whenever "mount -a" is run. It's meant for those devices that are supposed to be automatically mounted, such as the main system drives. And of course "noauto" has the opposite effect; telling the system to never mount the device automatically. auto is generally the default setting. See the mount man page.

When it comes to removable media, mount naturally only works if there's actually a mountable disk in the drive, so the only real effect noauto has is to prevent an already-inserted disk from being mounted during start-up.

Incedentally, mount and fstab are not really designed with removable media in mind. Most linux distributions and/or desktop environments have separate automounting systems for those. There's also pmount, which is a mount-like command designed specifically for mounting removable media like cds and usb sticks.

syg00 07-04-2010 03:02 AM

I thought the need to mount /boot used to be covered in the gentoo doco if you chose those mount options.
Some used to consider it a "security" (by obscurity) benefit ...


All times are GMT -5. The time now is 02:06 AM.