It is currently Thu Apr 24, 2014 7:16 pm

All times are UTC - 8 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Boot ATA disc from UBCD
PostPosted: Mon Oct 20, 2008 5:13 am 
Offline

Joined: Mon Oct 20, 2008 4:56 am
Posts: 8
Location: Amersfoort, NLD
First of all, thank you for this amazing tool.

I installed UBCD on a USB stick and it's working fine and dandy, provided the PC in question supports booting from a USB stick of course; I've also got an actual UB[i]CD[/] handy in case I come across a PC that doesn't.

Anyway, many of the laptops I work with now have ATA discs. UBCD provides handy "*Boot from First Hard Disc" options, but these don't work for my laptop with an ATA drive. In fact when selecting First Hard Disc it will reboot from my UBCD USB stick, and when selecting Second Hard Disc it won't boot.

What do I need to APPEND in main.cfg in order to get it to boot from my ATA drive?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 20, 2008 5:44 am 
Offline

Joined: Fri Jan 11, 2008 2:52 pm
Posts: 1278
Some text of the syslinux documentation:
Quote:
LOCALBOOT type [ISOLINUX, PXELINUX]
On PXELINUX, specifying "LOCALBOOT 0" instead of a "KERNEL"
option means invoking this particular label will cause a local
disk boot instead of booting a kernel.

The argument 0 means perform a normal boot. The argument 4
will perform a local boot with the Universal Network Driver
Interface (UNDI) driver still resident in memory. Finally,
the argument 5 will perform a local boot with the entire PXE
stack, including the UNDI driver, still resident in memory.
All other values are undefined. If you don't know what the
UNDI or PXE stacks are, don't worry -- you don't want them,
just specify 0.

On ISOLINUX, the "type" specifies the local drive number to
boot from; 0x00 is the primary floppy drive and 0x80 is the
primary hard drive. The special value -1 causes ISOLINUX to
report failure to the BIOS, which, on recent BIOSes, should
mean that the next boot device in the boot sequence should be
activated.

Use:
Code:
LABEL bootnext
    MENU LABEL *Boot Next Device
    LOCALBOOT -1

This only works on newer BIOSes.

Download also the last syslinux version. It contains a lot of extra parameters that you can pass to the chain.c32 command (to boot other hard disks).
http://syslinux.zytor.com/


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 20, 2008 7:05 am 
Offline

Joined: Mon Oct 20, 2008 4:56 am
Posts: 8
Location: Amersfoort, NLD
Ahhh, that got me hopeful. But my BIOS does not support this "next boot device" feature.

It got me looking in other directions and I found that somebody used "APPEND hd31 1" to boot an ATA drive. When I looked around in the Windows Device Manager I found that my Ultra ATA controller is marked as being "Device 31, Function 1" and my S-ATA controller as "Device 31, Function 2". So I tried using "APPEND HD31 2" but that failed too, as dit "APPEND HD31 1" (duh, no Ultra ATA drive in the system) and "APPEND HD31 0" (unable to read MBR).


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group