Fedora Linux Support Community & Resources Center
  #61  
Old 24th April 2009, 06:53 PM
sideways Offline
Retired User
 
Join Date: Oct 2004
Location: London, UK
Posts: 4,999
There are quite a few articles around, this one's good but a little dated (aimed at F8 users)
http://www.informit.com/articles/article.aspx?p=1157197

The %packages section is the most useful in the anaconda-ks.cfg, also the lang, timezone, keyboard, firewall, selinux and rootpw sections can be copied. Any packages installed since installation wont be in the list of course.

The rest of the *.ks you'll need to modify yourself. Have a look at one of the simple base kickstarts from the spin-kickstarts rpm, they are in /usr/share/spin-kickstarts/.

Getting all the packages installed is one thing, but if you've made a lot of config changes then that'll be difficult to completely reproduce (if you have a customised home dir then it might be best to copy that whole to the live install with cp -a)

This is getting off-topic now, so start a new post with any updates on your progress.
Reply With Quote
  #62  
Old 24th April 2009, 08:08 PM
akvino Offline
Registered User
 
Join Date: Mar 2007
Posts: 73
Quote:
Originally Posted by sideways View Post
There are quite a few articles around, this one's good but a little dated (aimed at F8 users)
http://www.informit.com/articles/article.aspx?p=1157197

The %packages section is the most useful in the anaconda-ks.cfg, also the lang, timezone, keyboard, firewall, selinux and rootpw sections can be copied. Any packages installed since installation wont be in the list of course.

The rest of the *.ks you'll need to modify yourself. Have a look at one of the simple base kickstarts from the spin-kickstarts rpm, they are in /usr/share/spin-kickstarts/.

Getting all the packages installed is one thing, but if you've made a lot of config changes then that'll be difficult to completely reproduce (if you have a customised home dir then it might be best to copy that whole to the live install with cp -a)

This is getting off-topic now, so start a new post with any updates on your progress.

How about installing livecd, modifying files, creating your own custom ISO (is this part possible), then exporting ISO back onto the livecd - to install it as modified distro?
Reply With Quote
  #63  
Old 24th April 2009, 08:36 PM
sideways Offline
Retired User
 
Join Date: Oct 2004
Location: London, UK
Posts: 4,999
Quote:
Originally Posted by akvino View Post
How about installing livecd, modifying files, creating your own custom ISO (is this part possible), then exporting ISO back onto the livecd - to install it as modified distro?
I don't think that's possible. In any case it would be easier to do a normal (not live) install to a usb stick, update and configure it and then just clone the usb stick with dd or boot the stick in different machines as required.
Reply With Quote
  #64  
Old 24th April 2009, 11:48 PM
marko Online
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 6,120
Fedora revisor is getting close to being able to preconfigure enough stuff to do this. It depends on how much configuring is needed.
Reply With Quote
  #65  
Old 30th April 2009, 04:24 PM
akvino Offline
Registered User
 
Join Date: Mar 2007
Posts: 73
Quote:
Originally Posted by sideways View Post
There are quite a few articles around, this one's good but a little dated (aimed at F8 users)
http://www.informit.com/articles/article.aspx?p=1157197

The %packages section is the most useful in the anaconda-ks.cfg, also the lang, timezone, keyboard, firewall, selinux and rootpw sections can be copied. Any packages installed since installation wont be in the list of course.

The rest of the *.ks you'll need to modify yourself. Have a look at one of the simple base kickstarts from the spin-kickstarts rpm, they are in /usr/share/spin-kickstarts/.

Getting all the packages installed is one thing, but if you've made a lot of config changes then that'll be difficult to completely reproduce (if you have a customised home dir then it might be best to copy that whole to the live install with cp -a)

This is getting off-topic now, so start a new post with any updates on your progress.

OK Sideways - I did look into it. Just one question left - how do I tell Livecd-tool to use my Kickstart when livecd is being made/ installed/ booted.

Thanks
Reply With Quote
  #66  
Old 5th May 2009, 01:09 PM
sideways Offline
Retired User
 
Join Date: Oct 2004
Location: London, UK
Posts: 4,999
Just to update that this method still applies in F11 (ie boot.iso can be transferred with livecd tools), but the disk size has grown so isomaster is now needed, even for the 32bit DVD, to remove some files before it the iso image can be copied over to a 4gb usb stick (Obviously, for larger capacities this is again not a problem, but remember that if you have formatted with fat32 you'll only get a max file size of 4gb)

Easiest files to remove are from the images directory, you can remove everything except the image.img file which must stay. When saving the modified iso ensure it has the correct name, eg for the preview it is Fedora-11-Preview-i386-DVD.iso.
Reply With Quote
  #67  
Old 24th May 2009, 11:51 AM
ms1234 Offline
Registered User
 
Join Date: Apr 2005
Posts: 323
Thanks for the excellent help. I followed the instructions and was going mad because I couldn't get it to work when setting the boot.img that is until I noticed that the stick I used was propably not vfat so I started bt formatting it to ext3 and redid the whole thing and presto, no problems booting after that. Now I'm a proud Fedora 10 owner and waiting for 11
Reply With Quote
  #68  
Old 30th May 2009, 04:41 PM
pondlife Offline
Registered User
 
Join Date: May 2009
Posts: 1
Hi All,

This is my first post - I'm here because I want to say thanks for this thread. Just what I needed!

I've followed the instructions to create a bootable USB stick (a Cruzer Micro 16GB) with the pre-release version of F11 ISO.

I created it on a F10 installation sucessfully but had the same problem as Ankur and had to run:

Code:
parted /dev/sdb -s 'toggle 1 boot'
and then run the livecd-iso-to-disk command again.

Before I did any of that tho I had to format my USB stick - here are the steps I took to do that (I had to hunt around for these so I thought it might help if they were included in this thread):

Code:
Formatting a 16GB (Cruzer micro 16) USB Stick on Fedora 10.

Power up your Fedora machine and login then stick in USB stick.

Fedora 10 mounts USB device automatically.

Find the USB drives system name and mount point:

$ mount

~
/dev/sdb1 on /media/disk type vfat (rw,nosuid,nodev,uhelper=hal,shortname=lower,uid=500)

Unmount USB disk:

$ umount /media/disk

Found that fdisk /dev/sdb1 didn’t work as a normal user so su to root:

$ su -
Password:

$ fdisk /dev/sdb1

Options:

p - to show partition
n - for new partition
defaults - take all the defaults until returned to “Command (m for help):”
w - to write the changes

I got some errors here but decided to try the mkfs.ext3 command anyway…

$ mkfs.ext3 -b 4096 /dev/sdb1

I noticed that fdisk ($ fdisk -l) still showed it as FAT32 but once 
I removed the stick and stuck it back in again 
(automatically mounted by Fedora) a right-click on the icon 
and a show of properties showed that it was ext3.
Cheers & Thanks!

pondlife.
Reply With Quote
  #69  
Old 5th June 2009, 02:01 AM
sideways Offline
Retired User
 
Join Date: Oct 2004
Location: London, UK
Posts: 4,999
Update on F11:

RC4 seems to be the Final, and the i386 DVD fits on 4GB usb without requiring editing with isomaster. But there is no boot.iso in the images directory, so you can now run the livecd-iso-to-disk script on the DVD iso image itself and it will create the necessary boot image.

Code:
livecd-iso-to-disk Fedora-11-Preview-i386-DVD.iso /dev/sdb1
The other steps are identical as outlined in post #1 (copying the iso image across is the longest step)
Reply With Quote
  #70  
Old 10th June 2009, 10:55 PM
DennyCrane Offline
Registered User
 
Join Date: Dec 2007
Posts: 522
This may be a silly question, but why isn't this done for us?

Not trying to sound like a lazy or technically incompetent ass, but is there a reason Fedora doesn't offer USB packaging like this directly from the download page? I would posit that even those who have the equipment to burn discs could find value in the USB approach. Actually, I have the equipment myself, but prefer to try this out.
Reply With Quote
  #71  
Old 11th June 2009, 04:14 PM
Dana in Philly Offline
Registered User
 
Join Date: Jun 2009
Posts: 22
It's kind of ironic here that the usb booting problem is afflicting those with Fedora 9 and 10 -- presumably Fedora's greatest fans! This isn't meant as criticism. It's just kind of a funny situation.

I've been futzing with liveusb-creator and livecd-tools since Tuesday, with no luck booting from the usb (blank screen, blinking cursor) despite these various methods reporting success.

The Common Bugs note over at:

https://fedoraproject.org/wiki/Commo..._fails_to_boot

and the wiki instructions over at:

https://fedoraproject.org/wiki/How_t...d_-_Linux_only

ain't workin' for me. I'll try sideways' instructions and see if I can get it going.

Dana in Philly
HP Mini 2140 w/ SLED 10 & Fedora 10 dual booty
Reply With Quote
  #72  
Old 11th June 2009, 07:09 PM
Dana in Philly Offline
Registered User
 
Join Date: Jun 2009
Posts: 22
Later on....

That did it! USB stick is now booting. Thanks Sideways for telling us netbookers the proper procedure! It'd be useful if the Fedora 11 installation notes page, bug notes:

https://fedoraproject.org/wiki/Commo..._fails_to_boot

would link to this forum thread.

Best,

Dana in Philly
HP Mini 2140 w/ SLED 10 & Fedora 10 dual booty, soon to be
HP Mini 2140 w/ Fedora 11 & Moblin 2.0 dual booty
Reply With Quote
  #73  
Old 12th June 2009, 03:22 AM
scottro Offline
Retired Community Manager -- Banned from Texas by popular demand.
 
Join Date: Sep 2007
Location: NYC
Posts: 8,142
Just as an FYI---I have an 8 GB USB stick, used unetbootin to put the Fedora DVD on it and it booted without a problem. It seems to me that older versions of unetbootin wouldn't do that, but I could easily be wrong--I've played with many distros with unetbootin and it might have been a different DVD.iso.
__________________
--
http://home.roadrunner.com/~computertaijutsu

Do NOT PM forum members with requests for technical support. Ask your questions on the forum.


"I don't know why there is the constant push to break any semblance of compatibility" --anon
Reply With Quote
  #74  
Old 14th June 2009, 05:52 PM
FortyArc Offline
Registered User
 
Join Date: Jun 2009
Location: Toronto
Posts: 22
Spiffy, since my DVD burner keeps turning out dud discs.

I'm using LiveUSB Creator on Windows to move the .iso to an 8GB thumbdrive. Freakishly slow, but that's probably because I'm trying to access 8GB by USB. :P

Noob question: is there any reason why the .iso can't just be dragged and dropped into the thumbdrive?
Reply With Quote
  #75  
Old 14th June 2009, 07:17 PM
FortyArc Offline
Registered User
 
Join Date: Jun 2009
Location: Toronto
Posts: 22
Another noob question: what should the contents of a bootable USB drive look like? LiveUSB Creator seems to have renamed my flash drive FEDORA, and there are folders on it. Should there just be an .iso file there? How do I tell by looking at the contents whether something bootable exists?
Reply With Quote
Reply

Tags
4gb, dvd, fedora, howto, install, stick, usb

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
Install Fedora 11 on usb stick sveioen Installation, Upgrades and Live Media 7 24th July 2009 06:35 PM
howto enable/manage persistence--livecd on usb stick fredex Installation, Upgrades and Live Media 5 15th June 2009 09:24 PM
Install Fedora 8 from USB stick Sagari Installation, Upgrades and Live Media 2 8th July 2008 06:03 AM
ATI and Fedora 8: Install won't stick Damase Hardware & Laptops 2 7th July 2008 10:00 PM
Install Fedora from an usb stick pulse00 Installation, Upgrades and Live Media 2 19th March 2008 07:29 PM


Current GMT-time: 23:44 (Saturday, 20-12-2014)

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
...Ski Santa Caterina - Straussee Photos on Instagram - Avatar Bali Travel Photos on Instagram