Before openSuse 12.1 have been released I have trying to create bootable pendrive with 11.4 net installer version. I eased it off after little complications, but today I’ll show you example of proper usb stick preparation without Linux installed or without downloading syslinux tools – as tutorial on opensuse.org suggest.
This tutorial is quite universal – I’ll show you how to behave with any „isolinux compatible” distribution. It works also with openSuse 12.2 NET-Install.
What do you need:
- USB Pendrive with above 256MB space – depending on requirements of our distro
- „RMPrepUSB” toolkit, it’s on Hirens BootCD – I’ll use latest, 15.0 version
- ISO file of our chosen distro
- WinRAR, WinISO, Daemon Tools or anything else to extract iso file
- (optional) Notepad++ or any „programmers” editor
So lets start.
Prepare stick and distro files
Download your chosen distro. Connect your storage drive to computer – backup any data on that drive – we will format it later!!. Now we need to access iso file of downloaded image – I’ll use Daemon Tools at this time. Mount iso file to any virtual drive and check does it work.
Now we must find location of isolinux config file on our iso – lets loot at our image.. we may use search tool to find isolinux.cfg file.. but directory structure on image is so.. logic so automatic let’s loot into /boot directory.. next is i386.. and there’s another – loader with our searched file. Note path to that file.
Now start Hirens BootCD menu, select Programs, Partition / Boot / MBR, RMPrepUSB – let it start. (You may also download it from here)
- Partition size: Let it at „MAX”
- Volume label: Set label for our volume as you want
- Bootloader: Select SYSLINUX
- Filesystem: As on screen: FAT32, Boot as HDD
- Check that checkbox. Click „Chose Copy folder” and select our extracted or our drive with mounted distro.
That’s it. Click light blue button named „6 Prepare Drive”, then OK, READ NEXT DIALOG and let it do rest..
Most important – stupid path
After copying files to drive it’s time to install syslinux loader to boot sector of pendrive. Click OK on (shown above) dialog. Now you’ll see „Chose Syslinux option: -r RAID option (bla bla bla)” – click No.
Now it’s time to set proper path to syslinux.cfg file (we will create that file after that step in same directory as isolinux.cfg). Set there path to found isolinux.cfg file: in opensuse 32-bit net-istall 12.1 it’s /boot/i386/loader. For 64bit: /boot/x86_64/loader. Remember to use proper directory separator! In unix it’s / [slash], not as in windows and shown in dialog \ [backslash]!! That tool won’t „repair” your slashes and distro won’t boot – tool here is little fucked up and made me angry last time. Click OK, check does path match in another dialog and click again OK. Close program.
It’s time to create syslinux.cfg file needed by syslinux loader. Open your stick, navigate to our isolinux.cfg. Clone it and rename to syslinux.cfg – as on screen.
We need also to check and fix paths in that file. Open it with Notepad++ and find any /boot/i386/loader and delete it – let only file names or relative path from syslinux path. In this case (openSuse 12.1) we don’t need to do anything.
Safety unplug stick or reboot our machine – let’s test our drive.
Have fun without using CD/DVD.
oot\x86_64\loaderTagi: Isolinux, Linux, openSUSE, Pendrive, Syslinux, System, USB