[syslinux] BIOS bug? USB + "Missing operating system"

Miller, Shao Shao.Miller at yrdsb.edu.on.ca
Fri Mar 27 15:30:26 PDT 2009


Good day TJ,

A very nice description of your problem and processes.  Thanks.

Have you tried the USB stick in other computers with different BIOSes?
Some BIOSes want to establish the USB stick as BIOS drive 0x00 in a
"superfloppy" mode of operation, in which case you might be getting
unexpected results.  That's just a thought.

- Shao Miller

-----Original Message-----
From: syslinux-bounces at zytor.com [mailto:syslinux-bounces at zytor.com] On
Behalf Of TJ
Sent: Friday, March 27, 2009 09:40
To: Syslinux at zytor.com
Subject: [syslinux] BIOS bug? USB + "Missing operating system"

I've been diagnosing an issue where an 8GB Freecom Databar formatted
using Ubuntu usb-creator would fail to boot, reporting "Missing
operating system".
It was hard to read the message since the system would immediately
clear-screen as GRUB started from the hard disk.

I looked at syslinux's mbr/mbr.S and realised that the message
originated from the boot sector.

In an attempt to prevent GRUB clearing screen in case other messages
might be shown I removed the hard disk.

With the hard disk removed the system boots from the USB stick.

I tried changing the boot order in the Phoenix BIOS on the Sony Vaio
VGN-FE41Z but couldn't find any permutation that would work when the
hard disk is attached.

This makes me wonder if the drive number passed by the BIOS to the MBR
is wrong, meaning syslinux ends up requesting the file-system boot
sector from the wrong device, or that the correct number is provided
initially but the BIOS read-sector call ignores the requested drive
number.

In an effort to test this I'm proposing to write a custom MBR that is
able to write the drive number, PnP block and disk geometry to screen in
an effort to see what the difference is between hard-drive-present and
hard-drive-absent.

It is a long long time since I did any assembly or BIOS-based
programming so I thought I'd ask if anyone knows of any existing code
that does this?

_______________________________________________
Syslinux mailing list
Submissions to Syslinux at zytor.com
Unsubscribe or set options at:
http://www.zytor.com/mailman/listinfo/syslinux
Please do not send private replies to mailing list traffic.




More information about the Syslinux mailing list