see also the outputs in the top post
they show that i'm running 2.6.29.4-167.fc11.i586 |
Quote:
cd to that directory as given below: Code:
cd grub Code:
ls -l Have a look at the steps I have shown below: Code:
-bash-2.05b# pwd The same file (linked) is found in the directory /etc also as given below: Code:
-bash-2.05b# pwd About booting from a USB drive, I cannot help you because I have never tried it. But yes, the USB drive must be bootable and you have to configure your BIOS to change first priority from your hard disk or floppy disk or whatever it may be to USB Drive. |
Quote:
# cd grub Notice that the file grub.conf, that you believe doesn't exist, is listed. Make a copy for safekeeping: # cp grub.conf grub.backup Now edit the configuration: # kwrite grub.conf Add a menu entry to the menu list to allow booting from the kernel you want. For example, you might have an existing menu entry like this (copied from my grub.conf): title Fedora (2.6.30.5-43.fc11.i686.PAE) root (hd0,0) kernel /boot/vmlinuz-2.6.30.5-43.fc11.i686.PAE ro root=UUID=d07e202b-d783-4d15-a303-93c15ff4c17f rhgb quiet initrd /boot/initrd-2.6.30.5-43.fc11.i686.PAE.img Make a copy of your version of this text block, add it to the menu list below the original entry, and give it a different title. Change the kernel specifier numbers to correspond to the kernel you want to add to the menu by reading the numbers located in the /boot file list. Save the edited grub.conf file and boot from the USB stick. |
Do you have a /boot/grub/menu.lst file. That is the one to modify.
|
OP says he has no menu.lst.how can that happen? i havnt tried usb booting(so ignorant)
Quote:
|
You will need to provide more information about your installation. Why do you use a usb to boot? Is it a boot disk that simply contains the MBR used to continue booting from another partition? How did you produce this boot disk? Did you follow a howto?
Print out "cat /proc/cmdline". That will show where the partition containing the kernel is. Post the output of "sudo /sbin/fdisk -l" which shows your partitions. Post the output of "cat /etc/fstab". The boot directory may be in it's own partition. Post the output of "ls /boot" and "ls /". I've seen installations where the kernel and grub files are in the root (/) directory. normally, the /boot/grub directory will contain these files: Code:
/boot/grub d post the results. We need a starting point before we even know where the relevant files are located. This stanza should look like: Code:
title openSUSE 11.1 - 2.6.27.29-0.1 (default) |
Quote:
i couldn't format the hd because i have many important files on it so i've got some outputs: Quote:
Quote:
Quote:
|
give us the output of
Code:
df -h |
Quote:
Quote:
|
i found a folder called boot in /mnt/live/efi
this folder contains Quote:
the contents of the 3 files abobe are: Quote:
|
where is your new kernel image?i cant find any in your /boot other than vmlinuz0.
|
Quote:
i searched for it can u give me a way to uninstall the old kernel |
uninstalling old kernel without installing the new one?? which kernel will you use to boot then?actually you dont need to uninstall old kernel for the new one to work.. the only thing to be done is, compile the new kernel, install it, make an initrd for that kernel image and add a new entry in the grub by editing menu.lst..
btw what steps did you follow to install a kernel? |
Quote:
it automatically installed kernel-2.6.30.5-43.fc11.i586 and an nvidia driver compatible with kernel-2.6.30.5-43.fc11.i586 so because my fedora is still running on the old kernel, my nvidia isnt working correctly. is there a way to install a kmod-nvidia package which is compatible with 2.6.29.4-167.fc11.i586? |
i am totally ignorant about usb booting and i am assuming that it is similar to that of a normal linux. since there was no one replying to you, i am just trying to help you. i dont know anything about the nvdia drivers..maybe try fdisk -l as a root..
please give the output of Code:
su - |
All times are GMT -5. The time now is 08:00 PM. |