LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 07-03-2010, 09:17 PM   #1
Pale
LQ Newbie
 
Registered: Sep 2009
Distribution: Sabayon
Posts: 15

Rep: Reputation: 0
"/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.

Last edited by Pale; 07-03-2010 at 10:51 PM.
 
Old 07-03-2010, 11:10 PM   #2
Pale
LQ Newbie
 
Registered: Sep 2009
Distribution: Sabayon
Posts: 15

Original Poster
Rep: Reputation: 0
/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
 
Old 07-04-2010, 01:43 AM   #3
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950
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.

Last edited by David the H.; 07-04-2010 at 01:51 AM. Reason: clarifications
 
Old 07-04-2010, 04:02 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,500

Rep: Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077
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 ...
 
  


Reply

Tags
boot, kernel, rt, symlink


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gentoo... grub problems... "/boot/grub/stage1" exists... no halo14 Gentoo 5 02-06-2011 05:50 PM
Grub Checking if "/boot/grub/stage1" exists... no (but it does) ??? taylorkh Linux - General 5 08-01-2008 06:17 PM
what to do if you delete "title" from the grub.conf file? Pravab Linux - Kernel 3 05-11-2006 10:59 AM
GRUB dual boot problem: Boot "other" (windows) just restarts GRUB! stevod333 Linux - Software 13 04-06-2006 06:26 AM
the "default" ( as we have in grub.conf ) option of lilo.conf ??? b0nd Linux - Newbie 4 09-14-2005 06:51 AM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration