Hans de Goede (hansdegoede) wrote,
Hans de Goede

Rawhide install howto

Hi All,

I wanted to give doing an anaconda install of rawhide a try, instead of using my usual install latest Fedora release use yum update routine.

To make things more interesting I didn't want to burn boot.iso to a CD, so I wanted todo a network install booting from USB-stick. This used to be easy thanks to diskboot.img, but that no longer exists. I've found some howto's on this, but those all use the partition less, whole disk as one big partition approach, which many bios-es don't like. So here is my formula for those of you who want todo a rawhide install this way:

You will need to have boot.iso from the rawhide images dir handy and you need to have syslinux installed.

Notes: Steps 1-3 prepare the usb-stick by making one large dos partition and formatting this, if your usb-stick is already set up like this (as most are) you can skip these steps (and keep your data intact). If you do follow through with steps 1-3 your data will be destroyed!! If you skip them you need approx. 16 MB of free space.

Note all commands below /dev/sdb is your usb-stick, adjust as necessary
1) fdisk /dev/sdb, create 1 large dos partition, and make it active / bootable
2) mkdosfs /dev/sdb
3) cat /usr/lib/syslinux/mbr.bin > /dev/sdb

4) syslinux /dev/sdb1
5) mkdir /mnt/diskboot
6) mkdir /mnt/isoboot
5) mount /dev/sdb1 /mnt/diskboot
6) mount boot.iso /mnt/isoboot -o loop
7) cp /mnt/isoboot/isolinux/* /mnt/diskboot
8) grep -v local /mnt/isoboot/isolinux/isolinux.cfg > /mnt/diskboot/syslinux.cfg
9) umount /mnt/diskboot


Now you can boot from this usb-stick (hint enable usb legacy support in your BIOS) and do a ftp / http rawhide install, enjoy!
Tags: fedora
  • Post a new comment


    Comments allowed for friends only

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened