/dev/mapper/main-root
30G 14G 15G 48% /
/dev/md0 251M 41M 197M 18% /boot
/dev/shm 506M 0 506M 0% /dev/shm
/dev/mapper/main-home
14G 6.6G 7.0G 49% /home
/dev/mapper/main-var 65G 56G 8.0G 88% /var
/dev/hdb1 99M 24M 71M 26% /mnt/oldboot
/dev/hdb3 109G 75G 29G 73% /mnt/oldroot
/dev/hda6 14G 4.1G 8.5G 33% /mnt/x-root
/dev/sdb1 8.0M 6.4M 1.7M 80% /media/usbdisk1
In this case, the device name is
# umount
(Notice that there is only one
Now copy the boot image to the USB flash drive:
# dd if=diskboot.img of=
16384+0 records in
16384+0 records out
Flush the system disk buffers to ensure that the data is written out to the drive before you unplug it:
# sync
The USB flash drive is now ready for booting. Insert the drive into the target system, turn it on, and use the BIOS options to specify that the system is to be booted from the USB drive; the rest of the process will be identical to booting from a CD or DVD.
When you're done using the drive to install Fedora Core, you'll find that it looks like an 8 MB drive, regardless of its actual drive capacity. To restore its full capacity, format it with a FAT32 filesystem:
# mkdosfs
mkdosfs 2.10 (22 Sep 2003)
10.3.1.2. Preparing a network installation server
You can use any FTP, HTTP, or NIS server for network installation, but of these three, HTTP is the easiest to set up and has the least overhead.
You'll need the full set of installation files. You can copy the entire contents of the DVD (or each of the five CDs) to a directory shared by your web server:
# mkdir /var/www/fedora
# cp -R
Replace
Instead of copying the files, you could leave the DVD in your drive (this won't work with CDs, since you need several of them) and create a symbolic link from your web server's document root to the DVD mount point:
# ln -s /media/
Since the DVD's filesystem does not support file attributesnecessary to assign an SELinux contextyou will have to disable SELinux enforcement for HTTPD before using it to serve files from a DVD.
Alternatively, you can download the files directory to your web server directory. Go to the web page http://fedora.redhat.com/Download/mirrors.html , select an
The directory layout varies from mirror to mirror. Use a browser to connect to your selected mirror site to confirm the directory names for the following commands.
On an existing Fedora Core system, you can do this by first creating a directory that is web-accessible:
# mkdir
Then fetch all of the files into that directory:
# cd
# wget -nH --cut-dirs=
Note that the URL here is taken from the mirror list, but has the Fedora Core release number ( 6 ) added to the end (replace this URL with that of a mirror close to you). The --cut-dirs=
The downloaded tree will include the ISO files. If you'd rather not download them, use the -X option when you run
# cd
# wget -nH
(The indicates that the command continues on the next line; you can leave it out and type everything on one line.)
The downloaded directory indexes will be saved as files starting with
# find
The wget command can also be used with FTP sites: