Page 1 of 1

UBCD to Hard Disk

Posted: Mon Nov 01, 2010 10:13 am
by j_boner
I want to build a simple tech. station for my computer shop. I found a page thru google about doing this with windows and tried it and it failed. I have several computers in the shop running Linux and decided to try it that way. From terminal i put syslinux on the HD in question using

Code: Select all

syslinux -f /dev/sda1
Then i mounted UBCD 5.03 w/ gmount and extracted all files from iso to sda1.

UBCD comes with it's own syslinux.cfg file in the appropriate directory for syslinux. Why is this not working.
I keep getting an error about menu having no label entries.

I know UBCD can boot because i have a pen drive with UBCD on it and it is flawless.

Re: UBCD to Hard Disk

Posted: Mon Nov 01, 2010 10:31 am
by Icecube
Which version of Syslinux did you install, and which version of UBCD do you use?

Re: UBCD to Hard Disk

Posted: Mon Nov 01, 2010 10:43 am
by j_boner
I used syslinux 3.63 and UBCD 5.03. Syslinux 3.63 is the version used by Ubuntu 10.04 LTS.

Re: UBCD to Hard Disk

Posted: Mon Nov 01, 2010 11:05 am
by Icecube
Syslinux 3.63 is too old. You need Syslinux 3.86.
Get the official syslinux binary (soruce + precompiled binaries) from: http://kernel.org/pub/linux/boot/syslinux/

Re: UBCD to Hard Disk

Posted: Mon Nov 01, 2010 1:12 pm
by j_boner
Not that im disputing the validity of your statement but why would unetbootin be able to put it on a flash drive using syslinux 3.6 and it be able to boot? What's the difference?

Re: UBCD to Hard Disk

Posted: Mon Nov 01, 2010 2:09 pm
by Icecube
Are you sure of that statement?
I seriously doubt it. UBCD uses features of Syslinux (VFAT long file support) that aren't available in v3.63.
Also the COM32 modules, should be used with the Syslinux version for which they were compiled.

The Windows version of unetbootin, might be using a newer version of Syslinux than 3.63.

Re: UBCD to Hard Disk

Posted: Mon Nov 01, 2010 4:03 pm
by j_boner
I stand corrected on one point. My pendrive has UBCD 5.02 on it. Would that make a huge difference? The other question i then have is, how would I compile syslinux onto just that drive sda1? Have a theory about compiling in that directory but have no supporting evidence. I do not want to change syslinux on sdb1 (which is the main drive with ubuntu 10.04 on it.) I fear of the change on sdb1 would mess with ubuntu. It is running flawless and would like it to remain there.

Re: UBCD to Hard Disk

Posted: Tue Nov 02, 2010 5:58 am
by Icecube
UBCD v5.0.3 and UBCD v5.0.2 both use syslinux 3.86, if I am not mistaken.

Installing Syslinux on /dev/da1 won't mess with /dev/sdb1.

Code: Select all

sudo ./syslinux-3.86/linux/syslinux -d boot/syslinux /dev/sda1

Re: UBCD to Hard Disk

Posted: Wed Nov 03, 2010 4:35 pm
by j_boner
This post was messed. Next post is the real deal. Remove if you wish. I would like to keep this thread as a "how to" kinda thing for linux users to build this thing as there is no documentation on it. I looked for 3 days before this thread started.

Re: UBCD to Hard Disk

Posted: Wed Nov 03, 2010 4:48 pm
by j_boner
Endgame here:

Code: Select all

sudo -s

Code: Select all

mkdir IT_PROJECTS

Code: Select all

cd IT_PROJECTS

Code: Select all

mkdir syslinux-3.86

Code: Select all

cd ~
extracted syslinux-3.86 to ~/IT_PROJECTS/syslinux-3.86

Code: Select all

./IT_PROJECTS/syslinux-3.86/linux/syslinux /dev/sda1
I ended up putting syslinux in the root directory of sda1 because it was having issues with -d option. Don't know why but it was.