LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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
 
LinkBack Search this Thread
Old 01-20-2004, 12:22 AM   #1
hecresper
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & FreeBSD
Posts: 169

Rep: Reputation: 30
Installing Fedora from ISO image...


...stored in a USB hard drive.

Is it possible?

Hi,

I have been trying to get Fedora installed on my laptop. During my first attempt, I found out my CD-Drive is busted.

I have a USB Hard Drive with the Fedora ISO images in it. I would like to be able to boot from a floppy disk, mount the ISO image, and start the install process after that. Then just unmount the first ISO image and mount the next ISO when it asks for the next CD. I'm hoping this is possible.

Thanks,
Hector
 
Old 01-20-2004, 12:30 AM   #2
Buchan
LQ Newbie
 
Registered: Sep 2002
Distribution: Redhat/Fedora
Posts: 15

Rep: Reputation: 0
Nope ... that won't work as far as I know. You need the actual files to be able to do the install
 
Old 01-20-2004, 02:11 AM   #3
hecresper
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & FreeBSD
Posts: 169

Original Poster
Rep: Reputation: 30
Found it!

1. Using raw write, copy the bootdisk.img file to a floppy
2. Hook up the USB hard drive to the laptop
3. With the floppy in the drive, power on the laptop
4. After booting, the USB hard drive should've been recognized
5. Choose Hard Drive as the installation source
6. Choose the /dev/ dir that corresponds to the USB hard drive

Example the /dev/ dir for my USB hard drive came up as /dev/sda1.

That's it! From then on, it's just like installing from the CD.

The bootdisk.img file is in the images folder of the Fedora Core 1 First CD.

Rawrite For Windows is in the dosutils of the Fedora Core 1 First CD.

Or you could download those files from an FTP mirror site.

Enjoy!
 
Old 01-20-2004, 03:02 PM   #4
hecresper
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & FreeBSD
Posts: 169

Original Poster
Rep: Reputation: 30
Needless to say, this is going to save me or someone else a bunch of blank CDs!
 
Old 03-11-2004, 12:38 AM   #5
mparaz
LQ Newbie
 
Registered: Mar 2004
Location: Metro Manila, Philippines
Distribution: Fedora Core 1, 2T1
Posts: 1

Rep: Reputation: 0
I got that working as well. Any idea how to skip the floppy and boot off the USB Hard Disk directly? Perhaps GRUB could boot the installers?

It would be nice to carry around a small portable USB HD for carrying around installation ISOs.
 
Old 07-13-2009, 03:12 PM   #6
neo7
LQ Newbie
 
Registered: Jul 2009
Posts: 3

Rep: Reputation: 0
Lightbulb

Use Case

1. When you don't have CD / DVD drive on your system.
2. You have Fedora DVD but your system has only a CD Drive.
3. You don't want to waste time and resources in burning iso on optical media.

Pre-requisites

1. You have a Fedora DVD iso or rescue cd iso.
2. You have a Linux installation on your system.
3. You have a partition (FAT32, ext2, ext3) which you will not format while installing the new OS.

How to proceed

Let us assume you want to install Fedora 9 on your system and you have a Linux distro already installed on your system. You have downloaded the Fedora DVD iso (Fedora-11-DVD-i386.iso). And you have a FAT32/ext2/ext3 partition /isoimage/ which you will not format during installation.

Step 1 : Move the Fedora DVD iso to /isoimage/ directory.

[root@tomcat neo7]# mv Fedora-11-DVD-i386.iso /isoimage/ [Enter]

Step 2 : Mount Fedora DVD iso on /mnt/

[root@tomcat neo7]# mount /isoimage/Fedora-11-DVD-i386.iso /mnt/ -ro loop [Enter] (do as root)

Step 3 : Copy the initrd.img and vmlinuz to /boot/ partition

[root@tomcat neo7]# cd /mnt/isolinux/ [Enter]
[root@saini isolinux]# cp initrd.img vmlinuz /boot/ [Enter] (do as root)

Step 4 : Create grub entry for booting into Fedora 11

Add these lines at the end of your /boot/grub/grub.conf file.

title Fedora 11 (New installation)
kernel /vmlinuz
initrd /initrd.img

Step 5 : Note the device having Fedora DVD iso

[root@tomcat neo7]# df -h [Enter]
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 15G 9.5G 4.1G 70% /
/dev/sda4 119G 105G 15G 94% /isoimage
/dev/sda5 5.6G 1.1G 3.4G 26% /home
/dev/sda1 99M 12M 82M 13% /boot

In this case /dev/sda8 contains Fedora DVD iso. Note this down as you need it later.

Step 6 : Reboot

Reboot your system and boot into the Fedora 9 (New installation) grub entry.

Step 7 : Install from hard disk

While in installation wizard, select "Hard drive" as installation method and choose /dev/sda8 as it contains the Fedora DVD iso.
Follow the installation instructions as you get them.
 
Old 07-28-2009, 07:08 PM   #7
way2forum
LQ Newbie
 
Registered: Jul 2009
Location: India
Distribution: fedora
Posts: 3

Rep: Reputation: 0
Red face error while installing fedora 11 from image file

to neo7, your information is just amazing.
i tried it.. but getting an error.

while installation i choose 'hard drive' as a installation mediam.
choose my partition where i placed my fedora 11 dvd's img file
choose the path for .img file.
.
.
after that.
screen shows error message that.
---------------------------------------------------------------------
failed to read directory /mnt/runtime/etc: no such file or directory
failed to read directory /mnt/runtime/var: no such file or directory
---------------------------------------------------------------------

after this, installation unmounted the virtually created directories/file systems.
and then he ask me to reboot the system. thats it.

i'm unable to install fedora 11.

please help me.
 
Old 07-28-2009, 07:34 PM   #8
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,057

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
mmmm....

you got dvd?

if your using USB. and your willing to copy the contents
of iso to usb...

1st-
Mount cd/dvd and copy contents to a folder(only cause you gotta do editing
and no reason to transfer to usb, then edit)

Code:
mkdir iso
mkdir mnt
mount -o loop fedora.iso mnt
cp -a mnt/* iso
umount mnt
now, inside the fedora iso should be
folders
"LiveOS"
"isolinux"
"EFI"

Rename isolinux folder to "syslinux"
go into new syslinux folder
and rename isolinux.cfg to syslinux.cfg

Here's fed11 Omega isolinux.cfg
Code:
default vesamenu.c32
timeout 100

menu background splash.jpg
menu title Welcome to omega-11-1!
menu color border 0 #ffffffff #00000000
menu color sel 7 #ffffffff #ff000000
menu color title 0 #ffffffff #00000000
menu color tabmsg 0 #ffffffff #00000000
menu color unsel 0 #ffffffff #00000000
menu color hotsel 0 #ff000000 #ffffffff
menu color hotkey 7 #ffffffff #ff000000
menu color timeout_msg 0 #ffffffff #00000000
menu color timeout 0 #ffffffff #00000000
menu color cmdline 0 #ffffffff #00000000
menu hidden
menu hiddenrow 5
label linux0
  menu label Boot
  kernel vmlinuz0
  append initrd=initrd0.img root=CDLABEL=omega-11-1 rootfstype=auto ro liveimg quiet  rhgb 
menu default
label check0
  menu label Verify and Boot
  kernel vmlinuz0
  append initrd=initrd0.img root=CDLABEL=omega-11-1 rootfstype=auto ro liveimg quiet  rhgb check
label memtest
  menu label Memory Test
  kernel memtest
label local
  menu label Boot from local drive
  localboot 0xffff
To boot from USB, you gotta label your USB "FEDORA"
and edit new syslinux.cfg

You also must open a terminal, while fat32 usb is mounted
and, as root, enter
Code:
blkid
thats B L K I D, but not in capital letters

this will tell you the UUID of your usb
mine is

Code:
root@bz-desktop:/home/bz# blkid

/dev/sdb1: UUID="AFE7-E78F" TYPE="vfat" LABEL="FEDORA"


Change "root=CDLABEL=omega-11-1"

to

Code:
root=UUID=?=omega-11-1
change "rootfstype=auto"

to
Code:
rootfstype=vfat
to label USB "FEDORA"

Open Gparted, with USB Unmounted, but plugged in, and right-click on Line displaying USB and select "label"

label it FEDORA

your done
install syslinux to usb
and boot
 
Old 07-29-2009, 01:36 PM   #9
way2forum
LQ Newbie
 
Registered: Jul 2009
Location: India
Distribution: fedora
Posts: 3

Rep: Reputation: 0
Unhappy error while installing fedora 11 on SATA HDD from image file

hello linus72 and all others,
your information is good and descriptive, but none of my business.
actually i want to install fedora 11 on my SATA hdd not on USB stick/hdd.
i have fedora 11 dvd image (fedora.img) on sda6 partition(ubuntu 8.04) and i want to install it on sda7.

can anyone help me?
(the actual problem is described above at #7)
 
Old 07-29-2009, 02:05 PM   #10
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,057

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
How about this stuff?
that's $4.99 too for that bro
per post

http://bobpeers.com/linux/hard_drive_install.php

http://www.linuxtopia.org/online_boo...ll-hd-x86.html

http://docs.fedoraproject.org/fedora...harddrive.html
 
Old 07-30-2009, 11:17 AM   #11
way2forum
LQ Newbie
 
Registered: Jul 2009
Location: India
Distribution: fedora
Posts: 3

Rep: Reputation: 0
Smile

Thanx linus72,
I'll check this.
Thanx, once again.
 
Old 02-27-2013, 08:40 AM   #12
Valent
LQ Newbie
 
Registered: May 2004
Posts: 10

Rep: Reputation: 0
I have found a script that actually works:
http://git.marmotte.net/git/glim/plain/fedora18-fromiso

Details are here:
http://git.marmotte.net/git/glim/plain/README

Cheers,
Valent.
 
Old 02-27-2013, 08:43 AM   #13
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-19-live-usb/ aix
Posts: 3,551

Rep: Reputation: 513Reputation: 513Reputation: 513Reputation: 513Reputation: 513Reputation: 513
Quote:
Originally Posted by hecresper View Post
...stored in a USB hard drive.

Is it possible?

Hi,

I have been trying to get Fedora installed on my laptop. During my first attempt, I found out my CD-Drive is busted.

I have a USB Hard Drive with the Fedora ISO images in it. I would like to be able to boot from a floppy disk, mount the ISO image, and start the install process after that. Then just unmount the first ISO image and mount the next ISO when it asks for the next CD. I'm hoping this is possible.

Thanks,
Hector
can your pc boot from usb ? if so wouldnt it be easier to install from the live-usb ?
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
an image drive in windows 98 after installing fedora core 3 umeshpandey007 Fedora - Installation 1 07-17-2005 08:28 PM
Installing SUSE 9.3 without burning a DVD but from ISO image srivastava Linux - Software 3 05-12-2005 02:44 PM
Installing Yoper without Burning ISO Image? LinuxNewbie7 Yoper 6 12-07-2004 05:29 PM
installing fedora core 2 from iso piyushiitk Fedora - Installation 16 08-20-2004 06:06 AM
Download Fedora Core 2 ISO image problem satimis Fedora 4 07-24-2004 09:01 AM


All times are GMT -5. The time now is 01:24 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration