How to create a bootable USB drive to install SLES
This document (3499891) is provided subject to the disclaimer at the end of this document.
It is first necessary to download CD1 or a mini.iso of SLES 10. The proceedure can then be completed in either Windows or Linux.
Creating a bootable USB device from Windows
- Extract the contents of the .iso file to a temporary directory like C:\isotemp (A utility such as WinRAR can be used for this)
- Assuming the USB device is E: copy the contents of
C:\isotemp\boot\i386\loader\* to E:\
Note: replace i386 with x86_64 if it is 64 bit
- Delete E:\isolinux.bin
- Rename E:\isolinux.cfg to E:\syslinux.cfg
- Download syslinux and extract it to C:\syslinux (Note: this must be downloaded separately from the Internet)
- Open a command prompt and change to
- Run syslinux E:
Creating a bootable USB device from Linux
This example will use /dev/sdb as the USB device.
Create a FAT16 partition on the USB device:
(/dev/sdb1 must be a primary partition no more than 4GB in size)
mkfs.vfat -F 16 /dev/sdb1
mount -o loop SLES-10-i386-GM-CD1.iso /mnt
/mnt/boot/i386/mkbootdisk --32 --partition /dev/sdb1 /mnt
mount -o loop SLES-10-x86_64-GM-CD1.iso /mnt
/mnt/boot/x86_64/mkbootdisk --64 --partition /dev/sdb1 /mnt
The USB device can then be booted from. For a network installation, select the default 'linux' option and enter options for a custom installation server:
Must be 16 bit FAT
If the mkbootdisk script fails with the error: "must be 16 bit FAT", the cause is that the FAT partition is not using a 16-bit file allocation type. You can confirm this using the command:
and looking for the line:
2 FATs, 32 bit entries
This must read "16 bit entries" for the script to succeed. You must recreate the filesystem using mkfs.vfat to modify this.
WARNING: Not enough clusters for a 16 bit FAT!
When attempting to execute the mkfs.vfat command it may fail with the following error:
This is caused by attempting to create a 16-bit file allocation table size on a partition larger than 4GB. Verify a partition smaller than 4G has been created on the USB device.
This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:3499891
- Creation Date:14-MAR-07
- Modified Date:09-DEC-15
- SUSESUSE Linux Enterprise Server
Did this document solve your problem? Provide Feedback