Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 21st July 2005, 02:13 AM
fun4stuff Offline
Registered User
 
Join Date: Jun 2005
Posts: 20
grub.conf and multiple kernels...

every few days a option appears on my grub menu all by itself... perhaps a new kernel version. the thing is, it doesnt delete the old one and in the new one, certain things do not work- like it won't mount ntfs drives. does anyone know what is going on here and perhaps how i could get it so it would automatically add ntfs support and remove the old from the grub menu?

here is my grub.conf...

title Fedora Core (2.6.12-1.1398_FC4)
root (hd0,5)
kernel /boot/vmlinuz-2.6.12-1.1398_FC4 ro root=LABEL=/ early-login quiet
initrd /boot/initrd-2.6.12-1.1398_FC4.img
title Fedora Core (2.6.12-1.1390_FC4)
root (hd0,5)
kernel /boot/vmlinuz-2.6.12-1.1390_FC4 ro root=LABEL=/ early-login quiet
initrd /boot/initrd-2.6.12-1.1390_FC4.img
title Fedora Core (2.6.12-1.1387_FC4)
root (hd0,5)
kernel /boot/vmlinuz-2.6.12-1.1387_FC4 ro root=LABEL=/ early-login quiet
initrd /boot/initrd-2.6.12-1.1387_FC4.img
title Fedora Core (2.6.11-1.1369_FC4)
root (hd0,5)
kernel /boot/vmlinuz-2.6.11-1.1369_FC4 ro root=LABEL=/ early-login quiet
#kernel /boot/vmlinuz-2.6.11-1.1369_FC4 ro root=/dev/hda6
initrd /boot/initrd-2.6.11-1.1369_FC4.img
title Windows
rootnoverify (hd0,1)
chainloader +1
Reply With Quote
  #2  
Old 21st July 2005, 03:21 AM
tashirosgt Offline
Registered User
 
Join Date: Aug 2004
Posts: 3,855
If you do automatic updates then you get new kernels. That's the only way that I know that they can appear in grub automatically. Once you get your /etc/fstab so your NFS mounts work, save a copy of it under a different name and see if it changes. If updates change it then this is news to me.
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."
Reply With Quote
  #3  
Old 21st July 2005, 03:25 AM
tashirosgt Offline
Registered User
 
Join Date: Aug 2004
Posts: 3,855
...and one thing that I recall about updates is that they can remove suid permissions on commands like smbmnt (which is used by smbmount) so a non-root user may find himself unable to mount files on remote machines.
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."
Reply With Quote
  #4  
Old 21st July 2005, 03:37 AM
Christy's Avatar
Christy Offline
Registered User
 
Join Date: Jun 2005
Location: UTM Zone 18T
Posts: 233
It's kernel updates - and the ntfs partitions won't work when the kernel is updated until you install the module for the new kernel ( http://linux-ntfs.sourceforge.net/rpm/fedora4.html )

edit: and as for cleaning up the grub menu, you need to delete entrys you don't want from /boot/grub/grub.conf - I don't know of a way to have the entries automatically updated to remove old kernels.

Last edited by Christy; 21st July 2005 at 03:40 AM.
Reply With Quote
  #5  
Old 21st July 2005, 03:57 AM
Jman Offline
Registered User
 
Join Date: Mar 2004
Location: Minnesota, USA
Age: 27
Posts: 7,909
Removing old kernels removes the grub entry. You have to specifiy the full version with the "yum remove" command. Get a list of them with
Code:
rpm -q kernel
Reply With Quote
  #6  
Old 21st July 2005, 06:03 AM
fun4stuff Offline
Registered User
 
Join Date: Jun 2005
Posts: 20
ok thanks guys. is there any way to configure automatic update so that it will automatically keep the ntfs support so that i dont have to keep adding it to fstab?
Reply With Quote
  #7  
Old 21st July 2005, 10:38 AM
mkoljack Offline
Registered User
 
Join Date: Dec 2004
Location: Chicago, IL
Age: 50
Posts: 169
You don't have to add anything to fstab, you should have a line int /etc/fstab to auto mount your ntfs partition.

The problem is you need to install the rpm which matches the newly released kernel from the ntfs project (link provided in earlier post). These rpms are usually on the site either the day of kernel release or by the next day (latest). Then boot into the new kernel and you can read your ntfs partition.

No need to do anything with fstab beyond adding the line once in /etc/fstab. Mine looks like this:

/dev/hda1 /mnt/windows ntfs ro,defaults,umask=0222 0 0

Good Luck!
__________________
Mark

Fedora Core 6/Suse 10.1
Reply With Quote
Reply

Tags
grubconf, kernels, multiple

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
grub.conf no longer gets updated when new kernels arrive GregJo Using Fedora 2 4th November 2008 04:52 PM
Multiple Kernels. leben. Installation and Live Media 5 26th August 2007 02:37 AM
Grub conf for multiple linux install aniketv Installation and Live Media 4 20th May 2006 04:52 PM
Multiple kernels showing in GRUB agi Installation and Live Media 5 13th July 2004 06:44 AM


Current GMT-time: 21:54 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat