Fedora Linux Support Community & Resources Center
  #1  
Old 7th April 2010, 01:42 PM
Gerardmen Offline
Registered User
 
Join Date: Apr 2010
Posts: 6
windows_7firefox
Thumbs down dd, diskboot.img, and count ?

Hi all,

My goal is to install Fedora 12 x86-64 on a netbook which is not equipped with a CD/DVD drive. I want to create an USB bootable drive (caution, very small size = 128 MB).

My plan is to boot the minimum starting files, and then switch to NFS installation with the "linux askmethod" option (the installation files are hosted on another Fedora).

So I'm gonna use the associated boot.iso and the typical commands :

[root@localhost ~]# cd /tmp/
[root@localhost tmp]# mkdir pendrive
[root@localhost tmp]# cd pendrive/
[root@localhost pendrive]# dd if=/dev/zero of=diskboot.img bs=1M count=???
[root@localhost pendrive]# mkdosfs diskboot.img
[root@localhost pendrive]# syslinux diskboot.img
[root@localhost pendrive]# mkdir mount
[root@localhost pendrive]# mount diskboot.img mount/ -o loop
[root@localhost pendrive]# cp -r /mnt/isolinux/∗ mount/
[root@localhost pendrive]# grep -v local mount/isolinux.cfg > mount/syslinux.cfg
[root@localhost pendrive]# rm -f mount/isolinux.∗
[root@localhost pendrive]# umount -f mount
[root@localhost pendrive]# rm -rf mount/
[root@localhost pendrive]# cd
[root@localhost ~]# umount -f /mnt
[root@localhost ~]#

I just want to know how to figure out how many blocks I should reserve with the dd command :

dd if=/dev/zero of=diskboot.img bs=1M count=???

I really have no clue !
Thanks for your help !
Reply With Quote
  #2  
Old 7th April 2010, 02:35 PM
kyryder
Guest
 
Posts: n/a
linuxfedorafirefox
Re: dd, diskboot.img, and count ?

Hello,

The past two or three releases of fedora I have not been able to install using the method you are attempting. I now use the image from http://boot.fedoraproject.org/faq and it has saved me lots of hassle.

You might want to check out http://boot.fedoraproject.org/ if for no other reason than it keeps things simple.

Hope this Helps,

Ky
Reply With Quote
  #3  
Old 7th April 2010, 03:01 PM
pankajp Offline
Registered User
 
Join Date: Jul 2007
Location: Mumbai, India
Posts: 226
linuxfedorafirefox
Re: dd, diskboot.img, and count ?

Also the new iso's are dual mode, i.e. you can simply dd them to a pendrive and your pendrive will automatically be bootable, just as a cd. (I think i tried it in F12)
__________________
Fedora 14 Laughlin user on Dell Inspiron 1525
http://www.smolts.org/client/show/pu...0-71f71be44f7d :)
Reply With Quote
  #4  
Old 7th April 2010, 03:04 PM
kyryder
Guest
 
Posts: n/a
linuxfedorafirefox
Re: dd, diskboot.img, and count ?

Quote:
Originally Posted by pankajp View Post
Also the new iso's are dual mode, i.e. you can simply dd them to a pendrive and your pendrive will automatically be bootable, just as a cd. (I think i tried it in F12)
I can confirm that it works in f12.

Ky
Reply With Quote
Reply

Tags
count, diskbootimg

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
diskboot.img can't boot my T60 on USB Giv3n Hardware & Laptops 0 16th December 2007 01:38 AM
diskboot.img Issues FC4 surfer1975 EOL (End Of Life) Versions 0 17th September 2005 03:55 PM


Current GMT-time: 10:30 (Saturday, 25-05-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