Syslinux when building USB stick

Try looking for help here if you are having problems with the latest beta of Ultimate Boot CD.

Moderators: Icecube, StopSpazzing

Post Reply
Message
Author
bmarsh
Posts: 5
Joined: Thu Jan 29, 2015 9:06 am

Syslinux when building USB stick

#1 Post by bmarsh » Mon Feb 02, 2015 1:15 pm

I've been trying to build UBCD533 on a USB stick and have followed all the steps in the readme.txt. However, the final step of writing syslinux to the device just doesn't seem to be working and when I try to boot from the USB, I get a "missing operating system" message.

A couple of questions:

1) Should the USB stick remain mounted for that final step? There is no statement saying to unmount it. I've tried it both ways.

2) Should it be /dev/sdX1 or /dev/sysX? (changing X of course)

Whenever I run the syslinux command as mentioned in the last step, it says "no previous boot sector found" or close to that.

Any help would be appreciated.

ady
Posts: 832
Joined: Sat May 08, 2010 5:26 am

Re: Syslinux when building USB stick

#2 Post by ady » Mon Feb 02, 2015 7:08 pm

I assume you are talking about:
ubcd533.iso -> ./ubcd/tools/linux/ubcd2usb/readme.txt

In fact the steps are slightly inaccurate, and UBCD could include a script for this process (borrowing from GPartedLive/ClonezillaLive and adapting them for UBCD should be a first nice attempt).

Regarding the 'syslinux' command, it requires the relevant (destination) volume device to be UNmounted before executing the command, which means that you need the binary to be located elsewhere (too).

Regarding the destination device for the 'syslinux' command, it should be "
/dev/sdXN
" (it needs the partition too, "N", not just the "X"). I would suggest using the following options: "
-d /boot/syslinux -i /dev/sdXN
", where the "XN" should be replaced appropriately. Note that I am not using the "-s" parameter and that I am adding the "-i" parameter just before the destination device.

If you have a Windows system, the Windows-based "ubcd2usb.cmd" script should work correctly.

bmarsh
Posts: 5
Joined: Thu Jan 29, 2015 9:06 am

Re: Syslinux when building USB stick

#3 Post by bmarsh » Sun Feb 08, 2015 1:31 pm

Thanks.... will give your changes a try. No windows here.. so your info is appreciated.

Post Reply