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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-18-2005, 08:04 AM
|
#1
|
LQ Newbie
Registered: Feb 2005
Posts: 6
Rep:
|
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? 
Last edited by jtush; 02-18-2005 at 08:14 AM.
|
|
|
02-18-2005, 08:23 AM
|
#2
|
Member
Registered: Jan 2005
Distribution: fedora, redhat, gentoo, suse
Posts: 30
Rep:
|
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
|
|
|
02-18-2005, 08:28 AM
|
#3
|
Member
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666
Rep:
|
Isn't it named menu.lst? And to update it run 'update-grub'.
|
|
|
02-18-2005, 09:08 AM
|
#4
|
Member
Registered: Jan 2005
Distribution: fedora, redhat, gentoo, suse
Posts: 30
Rep:
|
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
|
|
|
02-18-2005, 11:49 AM
|
#5
|
LQ Newbie
Registered: Feb 2005
Posts: 6
Original Poster
Rep:
|
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
Last edited by jtush; 02-18-2005 at 11:51 AM.
|
|
|
02-18-2005, 12:54 PM
|
#6
|
Member
Registered: Jan 2005
Distribution: fedora, redhat, gentoo, suse
Posts: 30
Rep:
|
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
|
|
|
02-18-2005, 01:46 PM
|
#7
|
LQ Newbie
Registered: Feb 2005
Posts: 6
Original Poster
Rep:
|
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?
Last edited by jtush; 02-18-2005 at 01:58 PM.
|
|
|
02-18-2005, 03:31 PM
|
#8
|
Member
Registered: Jan 2005
Distribution: fedora, redhat, gentoo, suse
Posts: 30
Rep:
|
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)
|
|
|
02-18-2005, 04:09 PM
|
#9
|
Member
Registered: Jan 2005
Distribution: fedora, redhat, gentoo, suse
Posts: 30
Rep:
|
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>
|
|
|
02-18-2005, 04:47 PM
|
#10
|
LQ Newbie
Registered: Feb 2005
Posts: 6
Original Poster
Rep:
|
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
|
|
|
02-18-2005, 04:57 PM
|
#11
|
LQ Newbie
Registered: Feb 2005
Posts: 6
Original Poster
Rep:
|
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
|
|
|
02-18-2005, 05:21 PM
|
#12
|
LQ Newbie
Registered: Feb 2005
Posts: 6
Original Poster
Rep:
|
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 04:07 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|