Page 1 of 1

\ubcd\tools\ubcd2usb halts with error message

Posted: Sun Jun 29, 2008 7:09 pm
by swdamle
This has reference to the utility available on Ubcd4.1.1 \ubcd\tools\ubcd2usb.

Done the needful and when tried to boot from a USB Flash Drive. After booting system halts displaying a message something as follows:
-----------------------------------------------------------------------
Sysliux 3.36 2007-02-10 CBIOS copyright H. Peter Anvin
could NOT find kernel image:linux
-----------------------------------------------------------------------
What is next?

Thanks in advance.

Prof S W Damle

Posted: Mon Jun 30, 2008 3:30 am
by Icecube
Update syslinux.
See: viewtopic.php?t=1393

Posted: Tue Jul 01, 2008 5:06 pm
by swdamle
Hello Sir,

done the needful with syslinux 3.36 but produced NO effect

Posted: Wed Jul 02, 2008 11:06 am
by Icecube
Have you reinstalled ubcd on your usb thumb drive after updating the files?

Posted: Wed Jul 02, 2008 2:32 pm
by swdamle
Hello Sir,
I am confused. I did not understand correctly. You are requested to explain what exactly I am supposed to do.

thankyou

Prof S W Damle

Posted: Wed Jul 02, 2008 9:51 pm
by swdamle
continued,

Hello Sir,

(1) I have updated syslinux files in "ubcd" and then run the command "ubcd2usb".

(2) What exactly meaned by the remark "could NOT find kernel image:linux "?

I tried to find "kernel image:linux" in Syslinux 3.36 but nothing is found

Thanks

Prof S W Damle

Posted: Thu Jul 03, 2008 7:00 am
by Icecube
swdamie wrote:(2) What exactly meaned by the remark "could NOT find kernel image:linux "?
Syslinux and isolinux tries to search by default for a file called 'linux' to boot from, when it finds no config file (syslinux.cfg or isolinux.cfg). There is no file "linux" on ubcd. Syslinux should find its configuration file.
Check if there is a syslinux.cfg file in x:\syslinux\ on your usb thumb drive.
swdamie wrote:I tried to find "kernel image:linux" in Syslinux 3.36 but nothing is found
The previous version was syslinux 3.63, not 3.36.

Version 3.70 is out:
http://syslinux.zytor.com/wiki/index.ph ... UX_Project

Download the last version of syslinux. Check if x:\syslinux\syslinux.cfg exists (with X: = drive letter of your usb thumb drive).
Go to "Start ==> Run as.. ==> type "cmd"".
Drop syslinux.exe (/win32/syslinux.exe from the syslinux archive) to the cmd window.
Add the following parameters (what is written after syslinux).
For windows: syslinux [-sfma][-d directory] x:

Code: Select all

syslinux -ma -d syslinux x:                       adapt x: to the stations letter for your thumb drive
 OR
syslinux -sma -d syslinux x:
For linux: syslinux [-sf][-d directory][-o offset] /dev/sdX

Code: Select all

syslinux -d syslinux /dev/sdX                     adapt sdX to your correct drive
 OR
syslinux -s -d syslinux /dev/sdX
These are the options common to all versions of Syslinux:
-s Safe, slow, stupid; uses simpler code that boots better
-f Force installing
-d directory in which ldlinux.sys will be placed

These are only in the Windows version:
-m Mbr; install a bootable MBR sector to the beginning of the
drive.
-a Active; marks the partition used active (=bootable)

Posted: Fri Jul 04, 2008 1:18 am
by swdamle
Hello Sir,

Feel very sorry to inform you that this attempt also has FAILED. The message is as earlier:
---------------------------------------------------------------------------------------------------------------------------------------------
Sysliux 3.70 2008-06-30 CBIOS copyright (c) 1994 - 2000 H. Peter Anvin
could NOT find kernel image:linux
boot:
_________________________________________________________________________________

Here is the copy of my work for your information:
---------------------------------------------------------------------------------------------------------------------------------------------
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

F:\Documents and Settings\Prof S W Damle>copy F:\syslinux-3.70\core\ldlinux.sys
F:\ubcd\syslinux
Overwrite F:\ubcd\syslinux\ldlinux.sys? (Yes/No/All): yes
1 file(s) copied.

F:\Documents and Settings\Prof S W Damle>copy F:\syslinux-3.70\mbr\mbr.bin F:\ub
cd\tools\ubcd2usb\mbr.bin
Overwrite F:\ubcd\tools\ubcd2usb\mbr.bin? (Yes/No/All): yes
1 file(s) copied.

F:\Documents and Settings\Prof S W Damle>copy F:\syslinux-3.70\core\ldlinux.bss
F:\UBCD\tools\ubcd2usb\ldlinux.bss
Overwrite F:\UBCD\tools\ubcd2usb\ldlinux.bss? (Yes/No/All): yes
1 file(s) copied.

F:\Documents and Settings\Prof S W Damle>copy F:\syslinux-3.70\com32\menu\menu.c
32 F:\UBCD\syslinux\menu.c32
Overwrite F:\UBCD\syslinux\menu.c32? (Yes/No/All): yes
1 file(s) copied.

F:\Documents and Settings\Prof S W Damle>cd F:\ubcd\tools\ubcd2usb

F:\UBCD\tools\ubcd2usb>ubcd2usb F:\ubcd p:

UBCD2USB: Creating bootable UBCD memory stick ...
UBCD2USB: *WARNING* YOUR USB KEY IS ABOUT TO BE REFORMATTED!
Press any key to continue, press ESC to abort
UBCD2USB: *WARNING* YOUR USB KEY CONTENTS WILL BE LOST!
Press any key to continue, press ESC to abort
UBCD2USB: Launching 'makebootfat' to format USB drive
device_start 0 [sectors]
device_size 1982464 [sectors], 968 [MB]
device_geometry 968/64/32 [cylinders/heads/sectors] (ZIP-Drive compatible)
bios_drive HDD
fat_start 32 [sectors]
fat_size 1982432 [sectors]
fat_bit 32
fat_sectorpercluster 8
write 364544 [sectors], 178 [MB]
UBCD2USB: At this point, you might want to unplug and plug in your USB drive
again to refresh the system's view of its content ...
Press any key to continue . . .
UBCD2USB: Bootable UBCD memory stick has been created

Press any key to continue . . .


F:\UBCD\tools\ubcd2usb>
----------------------------------------------------------------------
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

F:\Documents and Settings\Prof S W Damle>cd F:\syslinux-3.70\win32

F:\syslinux-3.70\win32>syslinux -sma -d syslinux P:

F:\syslinux-3.70\win32>
-----------------------------------------------------------------------
_________________________________________________________________________________

What next ?

With regards,

Prof S W Damle

Posted: Thu Jul 10, 2008 11:27 pm
by Victor Chew
@swdamle: Don't use "ubcd2usb". Use "format x: /q", followed by "syslinux.exe -ma -d syslinux x".

Alternatively, try out "ubcd2usb" in UBCD V5.0b3 which does this automatically. We need more testers anyway, and I have received at least one email that says the latest ubcd2usb solved this problem.