Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
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.
Hi guys ,
Recently i m using Fedora 8 , but i want to reinstall my system not from Fedora 8 DVD , but Directly from hard disk, and i dont want to use DVD to boot my sytem.
For this purpose i create a ISO image of my Fedora 8 DVD to the destination folder /root/Sulphur.iso
and mount this iso image and copy the vmlinuz and initrd.img file to the destinatin folder /fedora/
after dont this two step i modify my grub.conf file with the following options
title Fedora8 ISO
root (hd0,2)
kernel /fedora/vmlinuz
initrd /fedora/initrd.img
and ther reboot my sytem , and choose the Fedora8 ISO
but it show me the error .
Kernel /fedora/vmlinuz
Error 15:file not found
i dont know what wrong i did with my configuration.
To be fair on us not knowing if you have get everything right it would be useful if you show us the output of
Code:
mkdir /mnt/sda3
mount /dev/sda3 /mnt/sda3
ls /mnt/sda3/fedora
The listing of /boot/grub/menu.lst that is doing the booting would be helpful too.
It is possible that the vmlinuz is just a symbolic link to the kernal in /boot. In any case you need to tell the kernel where to find itself with the parameter "root=/dev/sda3" and the read-only parameter "ro" in the kernel statement.
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,2)
# kernel /vmlinuz-version ro root=/dev/FirstVolGroup00/FirstLogVol00
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=15
splashimage=(hd0,2)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.26.8-57.fc8)
root (hd0,2)
kernel /vmlinuz-2.6.26.8-57.fc8 ro root=/dev/FirstVolGroup00/FirstLogVol00 rhgb quiet
initrd /initrd-2.6.26.8-57.fc8.img
title Fedora8 ISO
root (hd0,2)
kernel /fedora/vmlinuz
initrd /fedora/initrd.img
"/etc/grub.conf" 31L, 960C
If you want Grub to assist you then put a # in front of these two statements temporary and lengthen the time you can play with the Grub screen (marked red below).
When you see the screen press "c" key to drop into a Grub Prompt.
You then tell Grub the root partition and type part of the kernel name like this
Code:
root (hd0,2)
kernel /fedora/vmlin
do not press return but hit the tab key. This causes to go inside /fedora directory to find all files that matches "vmlin". You will be given a list of files. You then type the rest of the file name.
You can do the same for the initrd statement.
Type this line to give green light to fire up the Linux
Code:
boot
But like I said you need to tell the kernel where to find the root. Grub only load the kernel and the "root=" parameter must be present otherwise the kernel will not find the system files. You existing Fedora boots to "FirstVolGroup00/FirstLogVol00" which is the LVM in /dev/sda9.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.