LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation
User Name
Password
Fedora - Installation This forum is for the discussion of installation issues with Fedora.

Notices


Reply
  Search this Thread
Old 03-22-2005, 11:29 AM   #1
jc materi
LQ Newbie
 
Registered: Aug 2004
Location: Saskatoon, SK, Canada
Distribution: fedora 4
Posts: 25

Rep: Reputation: 15
HOW-TO:Installing (or upgrading) fedora without a CDROM


Here is a convenient way to install fedora without a cdrom. In my case I have a defective cdrom so I have been required to do this procedure a couple of times because I consider a network install a bit of a hassle (fussing with network drivers, etc). It might also be of interest to those who cannot boot from their cdroms. It also saves on having to burn CDs.

This procedure assumes you have some OS installed with a linux readable partition you can download the iso files to. For example, you currently have fedora2 installed and you want to upgrade to fedora3 and you have a partition available (in my case /dev/hda6).

<Note>
This partition will not be included in fstab after the installation (or upgrade) is complete. You must add it later. When the new system is installed add a line to fstab.

/dev/hda6 /storage ext3 defaults 1 2

(You would replace /dev/hda6 with whatever your partition is and /storage with whatever you want to call it in your file system.)

</Note>

After downloading the disk images (iso files) mount the first disk image

mount -r -o loop -t iso9660 /storage/FC3-i386-disc1.iso /mnt/iso
(if you do not have /mnt/iso you can mkdir iso or use /mnt/cdrom)

cd /mnt/iso
cd isolinux

cp initrd.img /boot/initrd.fedora-install.img
cp vmlinuz /boot/vmlinuz-fedora-install

Now you must edit grub.conf. The best way to proceed and not make any mistakes is to copy/paste the grub entry for the default kernel and change the initrd entry to initrd.fedora-install.img and do the same with vmlinuz (change to vmlinuz-fedora-install). Then change the title for the new entry to something like fedora-install. When you reboot you should select that entry as your boot option.

You new grub entry would be something like:

title fedora-install
root (hda,2)
kernel /boot/vmlinuz-fedora-install root=LABEL=/ <more stuff>
initrd /boot/initrd.fedora-install.img

<Note>
Make a boot disk in case something goes wrong!!! You at least want to be able to reboot your system in case you make a mistake editing grub.conf !!!!! And do not include the exact string "<more stuff>" in your grub.conf script. That represents additional stuff particular to your system. If you copy/paste one of the other entries, namely the default, and simply make the changes mentioned above you should be OK.

The above procedure should also work with lilo (though I have not tried it).
Your lilo.conf entry would be something like:

image=/boot/vmlinuz-fedora-install
label="fedora-install"
root=/dev/hda2
initrd=/boot/initrd.fedora-install.img
append="acpi=ht resume=/dev/hda2 splash=silent"
read-only

If you copy/paste one of the other entries, namely the default, and simply make the changes mentioned above you should be OK.

If you use lilo do not forget to run '/sbin/lilo -v' after editing lilo.conf.
</Note>

Make note of the location you have stored the disk images.

Now reboot.

Select fedora-install as the boot option. Select Hard Drive as the installtion source. Now select the partition. In my case that is /dev/hda6. If you have stored them in a sub-directory, you will have to name that directory. For example, if they are stored in FC3-disks in partition /dev/hda6 you would select /dev/hda6 and then specify FC3-disks as the directory (not /dev/hda6/FC3-disks).

The rest of the installation should proceed as normal. Enjoy! Buy yourself a beer with the money you have saved not having to burn CDs.

Last edited by jc materi; 03-24-2005 at 03:07 PM.
 
Old 03-24-2005, 01:05 AM   #2
Engmar
Member
 
Registered: Oct 2003
Location: The Forest
Distribution: Ubuntu, LFS, DSL
Posts: 127

Rep: Reputation: 16
Nice solution. I always like to necessity fueling ingenuity You might want to edit your subject line and add HOWTO: or something similar. I thought someone was requesting a howto at first.
 
Old 04-01-2005, 12:25 PM   #3
Trin
LQ Newbie
 
Registered: Mar 2004
Location: TexAs
Distribution: LFS / Fed 4
Posts: 13

Rep: Reputation: 0
linux for lumberjacks

damn wish I would have read your thread before I installed mine would have saved me lots of time, only thing I came with to install was going to a friends house with the HDD and installing it there and bringing it back home to my own PC.
A "How To" thats tells u the whole how to do it, thanks for the tip

I just love penguins
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
installing RH or Fedora w/o CDROM redrobin77 Linux - Laptop and Netbook 2 10-24-2005 04:14 AM
Installing (or upgrading) fedora without a CDROM jc materi Fedora 1 03-28-2005 02:15 PM
fedora locked my cdrom while installing rpms hq4ever Linux - Newbie 1 07-13-2004 11:10 AM
cdrom problem after upgrading to 2.6.3 doralsoral Linux - Hardware 1 03-28-2004 10:04 AM
Installing Fedora With a PCMCIA CDROM danielsj Fedora - Installation 13 03-25-2004 05:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation

All times are GMT -5. The time now is 08:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration