Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (No Questions)
FedoraForum Search

Forgot Password? Join Us!

Guides & Solutions (No Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 16th June 2008, 12:56 PM
plmday Offline
Registered User
 
Join Date: Jun 2008
Posts: 4
HOW TO: Boot Fedora 9/10 Live from the Hard Drive (without CD)

I know many people wanna boot Fedora from the hard drive due to the long time wait for booting from the CD /DVD drive. Me too. After several time failure, I successfully boot Fedora 9 Live from the hard drive (now I am in it). I am a Ubuntu user. And there does exist a great user contributed doc talking about how to boot Ubuntu Live from the hard drive. I searched the web but failed to find any similar doc for Fedora. The official doc doesn't cover it in a clear way in my humble opinion. And some people also pointed out that it almost impossible to do so. Thus I hope this mini how-to would be helpful. Note that I assume you already have got a GNU/Linux in your box. Mine is Ubuntu. I also assume you are familiar with some basic tasks like partitioning your hard disk. If you are not, I suggest you stick to the traditional way of installation from the CD/DVD drive. Even if you are, making a backup of your currently running GNU/Linux system is still highly recommended. Of course, if you are very confident, go ahead.

1. Get the ISO Image
Download an iso image of Fedora 9 Live CD/DVD from its website. Save it somewhere. In our case, we download the ISO image of Live CD and save it in `~/Distro/'

2. Prepare your Hard Drive
Create a new partition on your hard drive using your favourite partition manager. GParted for gnome users, QtParted for KDE users. Or if you prefer the command line, cfdisk or fdisk is there for you. Anyway, create a new partition of size 1GB (750MB should be enough, but I am not sure, anyway, better more than less). In our case the newly created partition is `/dev/sda8'. Format it. We choose ext3. The name for SATA/SCSI hard drive is sdxn, while for IDE hard drive is hdxn. You should be aware of what you have and choose the right name for your hard drive. But note that GRUB does not distinct them, any hard drive is simply called hdxn, where x is the disk number while n is the partition number. Don't confuse them. For more, read the GRUB manual, by typing the command `info grub' in your terminal.

3. Dump the ISO Image into the Hard Drive
Open a terminal, type the following commands. Note that the su-way is for non-Ubuntu users. Ubuntu users, skip the first command `su', add `sudo' to each command below if you prefer the sudo-way.)

Code:
   
su
cd /mnt/
mkdir iso live
mount -o loop -t iso9660 ~/Distro/Fedora-Live.iso iso
mount -t ext3 /dev/sda8 live
cp -r iso/* live/
umount iso live
Replace `Fedora-Live.iso' with the ISO image you actually get and `/dev/sda8' with the partition you created in Step 2.

4. Edit the GRUB Configuration
Open the famous `/boot/grub/menu.lst' file of GRUB using your favourite editor. Add the following lines to the end of the file.

Quote:
# Fedora 9/10 Live
title Fedora 9/10 Live
root (hd0,7)
kernel /isolinux/vmlinuz0 root=/dev/sda8 rootfstype=ext3 rw quiet liveimg rhgb
initrd /isolinux/initrd0.img
Replace `root (hd0,7)' with `root (hdx,n-1)' if your partition is `/dev/sdxn' (or `/dev/hdxn'), replace `root=/dev/sda8' with `root=/dev/sdxn' (or `root=/dev/hdxn' ) , `ext3' in `rootfstype=ext3' with the file system type name you choose for the partition in Step 2, e.g., xfs. Save changes to the `menu.lst' file.
[Updated] According to zod786, Fedora 9 can not recognize /dev/hdxn, it sees all hard disk as /dev/sdxn. So you should set ``root=/dev/sdxn'' no matter what kind of hard disk you have. Thanks, zod786.[Updated]


5. Reboot and Done
Reboot and choose ``Fedora 9/10 Live'' from the GRUB menu.

Once you are in the Live system, you can try Fedora or install it to your hard drive (another partition).


That's all. I know you are curious how I make it, right? The key point is the options to the kernel. I get these options from the `isolinux.cfg' file lying in the same directory as the kernel, i.e., `/isolinux/'. Take a look, I am sure you will get it.

Finally thanks to the Fedora team, you have done a really good job! And good luck to you!
__________________
DAY's dAi Yi

Last edited by plmday; 27th November 2008 at 07:16 AM. Reason: change
Reply With Quote
  #2  
Old 10th July 2008, 01:22 PM
zod786 Offline
Registered User
 
Join Date: Jul 2008
Location: North London
Posts: 14
Thanks plmday the tutorial worked a treat. Just one point needs to be stressed (this had me stuck for ages before a helpful soul in the "Installation" forum helped me out) about the the "root=/dev/*" directive in the kernel line grub menu.lst file. Fedora9 does not recognise /dev/hda* as it uses /dev/sda* to name partitions . I made the mistake of using "root=/dev/hda2" and it would not boot or find a filesystem. The correct syntax should have been "root=/dev/sda2."

Thanks again !

zod
Reply With Quote
  #3  
Old 14th July 2008, 05:50 AM
plmday Offline
Registered User
 
Join Date: Jun 2008
Posts: 4
Quote:
Thanks plmday the tutorial worked a treat. Just one point needs to be stressed (this had me stuck for ages before a helpful soul in the "Installation" forum helped me out) about the the "root=/dev/*" directive in the kernel line grub menu.lst file. Fedora9 does not recognise /dev/hda* as it uses /dev/sda* to name partitions . I made the mistake of using "root=/dev/hda2" and it would not boot or find a filesystem. The correct syntax should have been "root=/dev/sda2."
Glad to see that you find the tutorial useful, zod. And thanks for figuring out that the typical name convention of the hard disk in Fedora 9. I have updated the tutorial. By the way, I don't think this is a good feature, it makes things more confusing. Perhaps Fedora should confront to GRUB, use `hdxn' to cover all kinds of harddisks.
__________________
DAY's dAi Yi
Reply With Quote
  #4  
Old 27th November 2008, 07:26 AM
plmday Offline
Registered User
 
Join Date: Jun 2008
Posts: 4
I've made minor changes to this tutorial. It still works flawlessly on the current fedora 10 release. If you have any problem, please let me know. I am considering the switch to fedora. I am deeply depressed by the recent ubuntu 8.10 but impressed by fedora 10.
__________________
DAY's dAi Yi
Reply With Quote
  #5  
Old 15th February 2009, 10:58 AM
fedose Offline
Registered User
 
Join Date: Feb 2009
Location: Estonia
Posts: 4
boot fedora 9/10 live or any iso?

Hi there,
i have followed this throughoutly, still i couldn't boot, it said error 15: file not found
so i did not live.iso but netinst.iso now if there is difference and only live.iso can be booted this way then i guess this How To is not for me. also i had some problems making partiotion out of free space with gparted which couldn't resize the current working partition but could reformat it! I am using fedora 9 clean install, and a small 386 mb + 1.8Ghz, the other partiotion that I've managed to reformat was 30Gb windows, which was done pretty fast since its gparted ...
thnx, fedose
Reply With Quote
  #6  
Old 27th February 2010, 07:57 AM
angusr Offline
Registered User
 
Join Date: Feb 2010
Posts: 1
linuxubuntumozilla
Fedora 12 live iso

Trying to boot Fedora 12 live iso (sda6) using your method but when I try to boot I get

"/dev/sda6 already mounted or /sysroot busy
according to mtab /dev/sda6 already mounted on /sysroot"

Any help appreciated.

Angus
Reply With Quote
  #7  
Old 1st September 2010, 03:42 PM
avendael Offline
Registered User
 
Join Date: Sep 2010
Posts: 5
linuxfirefox
Re: Fedora 12 live iso

Quote:
Originally Posted by angusr View Post
Trying to boot Fedora 12 live iso (sda6) using your method but when I try to boot I get

"/dev/sda6 already mounted or /sysroot busy
according to mtab /dev/sda6 already mounted on /sysroot"

Any help appreciated.

Angus
Instead of writing the device path in the boot option such as
Code:
root=/dev/sda8
use the UUID of that device instead (replace blahblah with device UUID)
Code:
root=UUID=blahblahblah
To get the UUID of your desired device, try this
Code:
ls -lF /dev/disk/by-uuid
I also encountered the same error that you experienced while I was trying to make a multiboot usb drive. The method described above fixed this problem and I was able to boot multiple livecds on a single usb drive without the need for separate partitions.
Reply With Quote
Reply

Tags
boot, drive, fedora, hard, live

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What is written to hard drive with thumb drive install or live cd murof Using Fedora 5 12th December 2008 04:27 PM
FEDORA 9 (6 DISC ISO, DVD, and LIVE-BETA) does not see my hard drive... jgajito Installation and Live Media 7 27th October 2008 07:31 PM
Can I boot "Fedora Live" from its ISO located on hard drive serge Installation and Live Media 19 17th June 2008 04:48 AM
Can you install Fedora 8 to the hard drive from the live cd? macbreaker Mac Chat 5 1st March 2008 01:46 AM
Would like to mount old Fedora boot drive as second hard drive. grndplane Using Fedora 20 5th February 2006 04:53 AM


Current GMT-time: 12:25 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat