LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 05-28-2010, 11:30 PM   #1
FocusedWolf
Member
 
Registered: Feb 2004
Distribution: Fedora Core 3
Posts: 43

Rep: Reputation: 15
"To install Fedora using a USB stick"


I want to start this post by pointing out the misleading words "To install Fedora using a USB stick, follow these instructions." at http://fedoraproject.org/get-fedora which lead users to the live cd creation hell.... And it is hell if you want to do a full install and the only thing the internet knows how to do is make a live cd usb stick thing :P

========

I don't want to burn a dvd, or several CD's to install linux.

I don't want to download and/or create any form of "livecd" usb entity thing.

I do want to do a full install of Fedora 13, and i do want to use a usb stick to install a FULL image... not live cd copy or anything with the word "live" in it :P

========

I tried the following:

Downloaded Fedora-13-x86_64-DVD.iso, and yes it has the correct checksum.

I tried using the "Live USB Creator" just in case that program possessed the ability for turning a USB drive into a fake CD to install linux to a computer. You gotta love how it works for 20 minutues copying files just to tell you (at 100% that "LiveUSB creation failed!"), but obviously it's only meant for making live usb installs with live cd images.

O and no i don't have anything but Windows 7 to work with, so any linux terminal commands for mounting isos or byte copying the image to USB would be quite pointless to suggest to me

Yes i tried and failed with unetbootin. It almost works. Can get through most of the Anaconda install right up to the point where it wants to install a boot loader and i get the dreaded iso 9660 error which is apparently well known. (i forget what the exact words of the error message were, but it says that it couldn't find something and offers you infinite retry attempts, where cancelling causes the Anaconda install to shut down). This link http://www.mail-archive.com/fedora-l.../msg57910.html mentioned a link that mentioned a fix to this problem by renaming some label.... something along the lines that the name of the usb stick is relevant for some dumb reason and a mismatch causes the error ... so i tried many variations of attempting to fix this and no luck.

Another fail-boat is https://launchpad.net/win32-image-writer and for whatever reason the byte copied iso image to the usb stick is non-bootable. I'll just assume the program doesn't work and we'll leave it at that

===============

I wonder if the method i use to install windows 7 from USB would work.

Basically it's re-copied all over the internet. With regards to this link, http://www.intowindows.com/how-to-in...working-guide/, i just follow it up step 4. Once the usb is formated properly i JUST COPY THE CONTENTS OF THE ISO INTO THE USB (nothing special... literally i select the files and drag to the usb lol)... I never knew i was performing a miracle every time i installed windows 7 this way xD

(remember... i won't end my pain by burning the iso to a dvd. Clearly wanting to install linux in the first place labels me as a masochist xD)
 
Old 05-29-2010, 06:27 AM   #2
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Well hey there are many ways actually;

I assume your usb already has syslinux installed...

so, you could then maybe use the fedora13 netinstaller iso
ftp://mirrors.kernel.org/fedora/rele...86-netinst.iso

I am downloading it now and will tell you how to get it to boot from usb,etc
as soon as I get it

also, you can probably also boot the dvd off the usb if usb is big enough?
you can boot the dvd also off a ext2/ext3 partition(if you have one prepared...

you will only have to edit syslinux.cfg on usb(it should already be there?)

I'll be back....
 
Old 05-29-2010, 07:34 AM   #3
FocusedWolf
Member
 
Registered: Feb 2004
Distribution: Fedora Core 3
Posts: 43

Original Poster
Rep: Reputation: 15
Thx for the help

Yes the flash stick i have has 4 GB of space, and the Fedora-13-x86_64-DVD.iso image is 3.37 GB.

Currently the stick is loaded with some other attempt, but i can get it to whatever state that is necessary. Also the idea of just putting the actual iso file itself on the stick sounds interesting enough to try. I haven't tried directly messing with syslinux (beyond letting unetbootin do this) so i'll probably need to locate some tutorial first.

Last edited by FocusedWolf; 05-29-2010 at 07:52 AM.
 
Old 05-29-2010, 07:53 AM   #4
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
OK
I downloaded the netinstall iso, renamed isolinux folder to syslinux
renamed isolinux.cfg to syslinux.cfg
Then edited new syslinux.cfg

heres what original isolinux.cfg looks like

Code:
default vesamenu.c32
#prompt 1
timeout 600

display boot.msg

menu background splash.jpg
menu title Welcome to Fedora 13!
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 scrollbar 0 #ffffffff #00000000

label linux
  menu label ^Install a new system or upgrade an existing system
  menu default
  kernel vmlinuz
  append initrd=initrd.img stage2=hd:LABEL="Fedora"
label vesa
  menu label Install system with ^basic video driver
  kernel vmlinuz
  append initrd=initrd.img stage2=hd:LABEL="Fedora" xdriver=vesa nomodeset
label rescue
  menu label ^Rescue installed system
  kernel vmlinuz
  append initrd=initrd.img stage2=hd:LABEL="Fedora" rescue
label local
  menu label Boot from ^local drive
  localboot 0xffff
label memtest86
  menu label ^Memory test
  kernel memtest
  append -
heres what isolinux.cfg-changed-to-syslinux.cfg looks like

Code:
default /syslinux/vesamenu.c32
#prompt 1
timeout 600

display /syslinux/boot.msg

menu background /syslinux/splash.jpg
menu title Welcome to Fedora 13!
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 scrollbar 0 #ffffffff #00000000

label linux
  menu label ^Install a new system or upgrade an existing system
  menu default
  kernel /syslinux/vmlinuz
  append initrd=/syslinux/initrd.img stage2=hd:LABEL="Fedora"
label vesa
  menu label Install system with ^basic video driver
  kernel /syslinux/vmlinuz
  append initrd=/syslinux/initrd.img stage2=hd:LABEL="Fedora" xdriver=vesa nomodeset
label rescue
  menu label ^Rescue installed system
  kernel /syslinux/vmlinuz
  append initrd=/syslinux/initrd.img stage2=hd:LABEL="Fedora" rescue
label local
  menu label Boot from ^local drive
  localboot 0xffff
label memtest86
  menu label ^Memory test
  kernel /syslinux/memtest
  append -
and after you use unetbootin to put dvd on usb
just delete the syslinux.cfg's on usb and replace
with the one above...

your gonna have to label the usb somehow from windows
can you label a usb in windows with the usb formater??

I dont have windows...

Theres also fedora's usb creator
which may be able to label and put the dvd on usb
https://fedorahosted.org/liveusb-creator/
 
Old 05-30-2010, 10:33 AM   #5
FocusedWolf
Member
 
Registered: Feb 2004
Distribution: Fedora Core 3
Posts: 43

Original Poster
Rep: Reputation: 15
EDIT: I fixed the issue that i first encountered in the course of writing this particular post but i'll leave it for others to find.

Problem: I was wrong in thinking that doing a quick (using Windows) format was enough to format the USB stick between tries (which means some of the methods i tried in the first post, may actually work if the solution i'm about to describe is applied).

Solution: I had to follow the steps outlined here up to and including step 4: http://www.intowindows.com/how-to-in...working-guide/ In order to properly format the usb stick, in Windows (which is the same steps you start out with doing to install Windows7 via usb stick).

(p.s. for other people... when it gets to the step where you format. As far as linux goes. Say FAT32 instead of NTFS, and also include the word "quick" in that line... or else the result is a lengthy format for no real reason)

And now i can re-enter the "gui" region of the fedora Anaconda install, right up to the part where it fails as described in my first post. The message being:

===================
Missing ISO 9660 Image

The installer has tried to mount image #1, but cannot find it
on the hard drive.

Please copy this image to the drive and click Retry. Click
Exit to abort the installation.
===================

Now for the original post before i fixed the problem:
====================================================================================================

Some strange new issue has occurred that is preventing me from trying your instructions, and also preventing me from doing what i was able to do in the first post... i.e. i cannot get to the "gui" segment of the Anaconda installer any more... i'm stuck in the steps early on where you select what language, what keyboard language, and where to find the Fedora images.

I did the sha256 check of Fedora-13-x86_64-DVD.iso just to make sure it was unchanged and it still is valid.

Now every time i use unetbootin (for either Fedora-13-x86_64-DVD.iso or Fedora-13-x86_64-netinst.iso) that i get the following prompt:

--------------------------------------------------------
Select Partition

What partition and directory on that partition holds the
installation image for Fedora? If you don't see the disk
drive you're using listed here, press F2 to
configure additional devices.

/dev/sda1
/dev/sda2
--------------------------------------------------------

Hitting OK on either sda1 or sda2 results in:

--------------------------------------------------------
Error

An error occurred finding the
installation image on your
hard drive. Please check your
images and try again.
--------------------------------------------------------

So that makes sense because these appear to be partitions that the Anaconda installer successfully created around the time of my first post.

Previously i would see /dev/sdc in that list meaning that the installer was detecting the usb stick. Now i do not see this drive and pressing F2 to manually select it results in a infinite loop where hitting OK does nothing.

For the sake of completeness, when i hit F2 to manually select the usb stick as the source i get this:

--------------------------------------------------------
Driver Disk Source

You have multiple devices which could
serve as sources for a driver disk.
Which would you like to use?

sr0
sdb
sdc
--------------------------------------------------------

Selecting any of the three and hitting OK does nothing!! it stays at this prompt.

zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz

I'm wondering now if either something on the USB drive has died or that it was a combination of the 3 or so usb-producing utilities that resulted in my early partial success.

I think when i do a fat32 quick-format of the usb stick that i'm flushing any changes to the mbr of the usb stick, in the event that something is incorrect in this region.

Last edited by FocusedWolf; 05-30-2010 at 12:50 PM.
 
Old 05-30-2010, 12:48 PM   #6
FocusedWolf
Member
 
Registered: Feb 2004
Distribution: Fedora Core 3
Posts: 43

Original Poster
Rep: Reputation: 15
linus72 i'm trying your steps in the following order.

1. i formatted the usb stick using the windows-console DiskPart command as i've found this to be the "right" way to do this, based on my previous post.

2. i labeled the stick with the name "FEDORA". (because it is Fat32, Windows for some reason requires me to label a Fat32 partition in all capital letters). (btw i tried steps up to 5 without labelling the stick because i forgot the first time through to label it :P)

3. i have downloaded and SHA256-checked Fedora-13-x86_64-netinst.iso and verifed it against the expected checksum for this file.

4. i used unetbootin-windows-442.exe to get Fedora-13-x86_64-netinst.iso onto my usb stick.

5. I tried this stick as-is to see if it would by any chance work. My progress is i get through the Anaconda installer for the N-th time where it just finished setting up the linux parititions and following that it is time to install the boot loader, where as always it fails with this:

---------------------------------
Missing ISO 9660 Image

The installer has tried to mount image #1, but cannot find it
on the hard drive.

Please copy this image to the drive and click Retry. Click
Exit to abort the installation.
---------------------------------

================================================================

Ok now to try your fixes (first a small variation):

1. In my usb, unetbootin created these files and folders:

Q:\>tree q: /F /A
Folder PATH listing for volume FEDORA
Volume serial number is 4C39-E264
Q:\
| ubnkern
| ubninit
| ubnpathl.txt
| ubnfilel.txt
| syslinux.cfg
| menu.c32
|
+---EFI
| \---BOOT
| BOOTX64.conf
| TRANS.TBL
| splash.xpm.gz
|
+---images
| | README
| | TRANS.TBL
| | efiboot.img
| | efidisk.img
| | install.img
| |
| \---pxeboot
| README
| TRANS.TBL
| initrd.img
| vmlinuz
|
\---isolinux
TRANS.TBL
boot.cat
boot.msg
grub.conf
initrd.img
isolinux.bin
isolinux.cfg
memtest
splash.jpg
vesamenu.c32
vmlinuz

2. I edited syslinux.cfg, in the topmost directory of the USB stick, to be identical your modified syslinux.cfg file with the exception that i changed the "syslinux" path to "isolinux" (reason being their is a isolinux.bin file in the folder isolinux, and renaming the isolinux.cfg to syslinux.cfg, in the isolinux folder, seemed likely to cause problems because of that bin files name).

3. i edited isolinux.cfg in the isolinux folder to be the same as what is mentioned in 2.

Result is (at the install-the-boot-loader step):

---------------------------------
Missing ISO 9660 Image

The installer has tried to mount image #1, but cannot find it
on the hard drive.

Please copy this image to the drive and click Retry. Click
Exit to abort the installation.
---------------------------------

===============================

Ok now to try your steps:

1. syslinux.cfg, in the topmost directory of the USB stick, has your syslinux.cfg contents.

2. i renamed the isolinux folder to syslinux

3. in the newly named syslinux folder, i rename isolinux.cfg to syslinux.cfg.

4. i paste in your syslinux.cfg file contents to the file in 3.

Result is (at the install-the-boot-loader step):

---------------------------------
Missing ISO 9660 Image

The installer has tried to mount image #1, but cannot find it
on the hard drive.

Please copy this image to the drive and click Retry. Click
Exit to abort the installation.
---------------------------------

Why do i get the impression their is something wrong with Fedoras installer.

Last edited by FocusedWolf; 05-30-2010 at 12:56 PM.
 
Old 05-30-2010, 04:05 PM   #7
FocusedWolf
Member
 
Registered: Feb 2004
Distribution: Fedora Core 3
Posts: 43

Original Poster
Rep: Reputation: 15
Well Universal-USB-Installer is something i tried with fedora at one point. It failed but maybe because i didn't have the stick formatted right.

Anyway it was advertised on the ubuntu website to work and what do you know... without a hitch the program took the desktop iso version of ubuntu and made a bootable usb stick that is installing on my laptop right now.
 
Old 05-31-2010, 08:11 AM   #8
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Hey you, or anyone wanting to check out fedora 13 should check out
bootfedoraproject
http://boot.fedoraproject.org/

from distrowatch today
http://distrowatch.com/weekly.php?is...100531#feature
Quote:
DW: A new feature, boot.fedoraproject.org (BFO) gives users with fast Internet connections the ability to run the Fedora installer over their network. At the moment, the BFO web site is a bit short on details. Could you please explain what BFO is and how it will help Fedora users?

FP: In short, BFO is a great new way for users to install Fedora, run it live without installing, and do other cool things related to boot and installation. It's a powerful, flexible and user-friendly method of doing a network installation and Fedora is the first distribution to integrate it into our releases. A user can easily download a single tiny ISO image and burn it to a floppy, CD/DVD, or USB stick and then boot the host off of that media. Like magic, the user is then presented with a menu of different boot and installation options.

The benefit to Fedora users is that a single, tiny image file is all you need to get started with Fedora. Furthermore, all currently supported versions of Fedora as well as pre-release versions will be available on all supported architectures from this single image, which doesn't need to change from release to release. One possibility is that the BFO method would replace DVD downloads in places where bandwidth is plentiful, and it clearly targets users with reliable high-speed Internet connections. Mike McGrath from Red Hat, who leads the Fedora Infrastructure team, led this effort because he is interested in cutting down the number of release images we manage by providing better solutions to our users.

BFO is essentially a Fedora-branded version of boot.kernel.org. Many thanks to John "warthog9" Hawley, administrator of kernel.org and a good friend of the Fedora Project, for pioneering the effort with BFO.
I'm gonna check it out too
 
Old 05-31-2010, 08:37 AM   #9
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
OK

I tried the bfo.usb and bfo.lkrn from the site

I couldn't get the bfo.usb to load; or it was taking awhile...

I first put the bfo.lkrn on my ext3 usb and it booted up fast
and has many options available, incl both x86 and x86_64 installs
rescue modes, and can also download a livecd too

heres grub1 menu.lst entry for bfo.lkrn

Code:
title BootFedora
root (hdx,x)
kernel /boot/bfo.lkrn
I then tried that bfo.usb off my fat32 usb
I think it was loading but after 5 min I gave up

I then put the bfo.lkrn on my fat32 usb
heres entry for bfo.usb or bfo.lkrn on fat32 usb syslinux

Code:
label bfo.lkrn
menu label BootFedora
kernel /boot/bfo.lkrn
the bfo.lkrn seemed to have issues offf fat32 at first, but then it loaded up!

I'm gonna install fed13 this way later today....
 
  


Reply



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
seeking "geek stick" USB drive clarification SaintDanBert Linux - Hardware 3 02-01-2010 09:31 AM
"Permisson denied" while writing to a ntfs format usb stick longbow0 Linux - Newbie 4 01-14-2010 01:35 AM
LXer: Ubuntu "Stick" Blues - or USB for short LXer Syndicated Linux News 0 10-29-2009 08:10 PM
How to use a USB stick to install SLES 10 - "No catalog found..." FlatBallFlyer SUSE / openSUSE 0 08-21-2009 12:40 PM
LXer: Installing "Sugar on a stick" (Strawberry Release) On A USB Stick LXer Syndicated Linux News 0 08-04-2009 03:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 09:14 PM.

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