kernel 2.6.10-1.766
I am new to linux and having some issues with my kernel update. I ran up2date
and was told I have a new kernel(2.6.10-1.766). However when I boot it does not show this kernel in grub, also my grub.conf file in /etc is missing . Has anyone had this issue before and if so how do I fix it?:cry: |
your grub.conf file is located at /boot/grub/grub.conf
Check the kernel you are running by doing a bash$ uname -r if you want to boot a different kernel in your /boot directory, then edit the grub.conf file... mine looks like this (just for reference): # #Sample boot menu configuration file # # Boot automatically after 30 secs. timeout 10 # By default, boot the first entry. default 1 # Fallback to the second entry. fallback 0 title 2.6.9 root (hd0,0) kernel /boot/vmlinuz-2.6.9 root=/dev/hda5 title 2.6.10 root (hd0,0) kernel /boot/vmlinuz-2.6.10 root=/dev/hda5 ## if you need any more help just reply to this |
Isn't it named menu.lst? And to update it run 'update-grub'.
|
yes ... but there usually is a symlink. i know there is one with feodra core 3...which that kernel is for
lrwxrwxrwx 1 root root 9 Nov 29 15:37 menu.lst -> grub.conf |
thanks , I looked for grub in /boot . There is no grub directory my /boot directory lloks like this
config-2.6.10-1.760_FC3 System.map-2.6.10-1.760_FC3 config-2.6.10-1.766_FC3 System.map-2.6.10-1.766_FC3 initrd-2.6.10-1.760_FC3.img vmlinuz-2.6.10-1.760_FC3 initrd-2.6.10-1.766_FC3.img vmlinuz-2.6.10-1.766_FC3 when I search for grub it shows it in /sbin/grub /etc/grub.conf /usr/share/grub /usr/share/man/man8/grub.8.gz but the link in /etc/grub.conf is no good what exactly do I need to do sorry, I'm extremely new at this I checked my kernel I'm running 2.6.9-1.667 |
odd... i thought fedora 3 setup grub by default...
just to make sure its installed.... bash$ rpm -q grub then try running: bash$ /sbin/grub-install /dev/hda where /dev/hda is your boot drive.... i'm not too framililar with this script.... i usally do it manually... i think this should install grub and put /boot/grub.conf into place. if it doesn't work let me know i'll talk you through the 'manual' way.... --eddie |
I tried this is what i got
]# rpm -q grub grub-0.95-3 ]# /sbin/grub-install /dev/hda Probing devices to guess BIOS drives. This may take a long time. /dev/mapper/VolGroup00-LogVol00 does not have any corresponding BIOS drive. any ideas? |
weird... thats usually the error you get when you try to install grub on a software managed RAID 1...
i am a little confused.... i have 2 questions: how did you install fedora? what are you booting from...?/ how do you boot? please show me the results from bash$ fdisk -l (thats lower case L) |
just for reference.... this is how to do it by hand....might want to give that a shot
bash$ sudo grub --no-floppy GNU GRUB version 0.94 (640K lower / 3072K upper memory) [ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ] grub> device (hd0) /dev/hda grub> root (hd0,0) Filesystem type is reiserfs, partition type 0x83 grub> setup (hd0) Checking if "/boot/grub/stage1" exists... yes Checking if "/boot/grub/stage2" exists... yes Checking if "/boot/grub/reiserfs_stage1_5" exists... yes Running "embed /boot/grub/reiserfs_stage1_5 (hd0)"... 26 sectors are embedded. succeeded Running "install /boot/grub/stage1 (hd0) (hd0)1+26 p (hd0,0)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded Done. grub> |
I installed from disk everything seemed to work fine from that .
here are the results from fdisk -l ( I used lower case L) ]$ fdisk -l bash: fdisk: command not found |
I just tried to do it manually and this is what I got
as user ]$ sudo grub --no-floppy jtush is not in the sudoers file. This incident will be reported. as root # sudo grub --no-floppy sudo: grub: command not found the disk I used to install were provided by my office several other people have used them only one other person had this issue I Installed a work station with most packages except for KDFCE and Games |
I got it to run using /sbin/grub
now I have a grub dir in /boot but I have no grub.conf do I need to write one and if so how do I do it? my grub directory looks like this in boot device.map iso9660_stage1_5 stage1 xfs_stage1_5 e2fs_stage1_5 jfs_stage1_5 stage2 fat_stage1_5 minix_stage1_5 ufs2_stage1_5 ffs_stage1_5 reiserfs_stage1_5 vstafs_stage1_5 |
All times are GMT -5. The time now is 08:36 PM. |