Page 1 of 1

ReactOS on USB.

Posted: Fri Apr 06, 2007 3:37 pm
by alexei
It's way "sub-optimal" solution, but it's pretty simple to make SCSI driver that would actually call Int 13h AH=42h/43h to do disk I/O.
That would allow to run ReactOS from USB right away!
Please do it ASAP :)
Many people would like to try ReactOS from USB stick!

Alexei

Posted: Fri Apr 06, 2007 6:51 pm
by GreatLord
alexei it is not so simple as you think

1. we need a working usbstack for usb memory stick
2. we need a usb memory stick loader
3. we need 3 diffent usb protocoll

to start reactos to freeldr are not a real problem
the real problem is freeldr take over the system and loading in ntoskrnl.exe then all driver we need being loading and start.
But we need here a usb stack and protocools and small plug and play
detector to detect usb device then a driver for the usb device as well
after we got all this then reactos is avail boot from usb device. but not
before we got thuse part in place. ReactOS is base on NT and not on DOS
if it was DOS it is pretty simple as u desciver it. But it is not in our case.

Posted: Fri Apr 06, 2007 7:15 pm
by h-a-l-9000
Couldn't there be a VDM driver like the VESA one that lets the BIOS access the storage device? It wouldn't be fast but could make ROS start on much like anything without special driver.

Posted: Fri Apr 06, 2007 10:31 pm
by alexei
GreatLord wrote:alexei it is not so simple as you think
we need...
No, we don't :) To be precise, we can live without it for a while :)
If you ever track NT loading from USB (or HDD) you would know that it uses Int 13h to access the drive from the very beginning (MBR code) to the point where all boot-time drivers already loaded and started. Also, you probably know that there are a lot of drivers that substitute HDD with some kind of "emulator". To name a few: RamDisk, EWF, SDI, Filedisk.
Modern BIOSes already have USB stack implemented. It allows them to provide unified access any HDD (PATA/SATA/SCSI/USB) via Int 13h calls.
When you select booting from USB-HDD in BIOS setup, the USB drive becomes accessible as drive 80h, which by Int 13h specification is supposed to be 1st HDD. The driver can call int 13h instead of "talking to" HDD controller, though 16-bit thunk is obviously needed to call BIOS interrupts.
As a future perspective it would be better if ReactOS had unified HDD driver that would initially use BIOS (or EFI) and then switch to using appropriate driver for the specific device PATA/SATA/SCSI/USB/Firewire. That would also allow not to use "special" NTLDR (EWFLDR) to support EWF, etc. Unified HDD driver would also superseed NTBOOTDD functionality.
And, as a final note, "Portable NT" is one of the MS worse nightmares, so they made their solutions accordingly :(
Sorry, if my initial post sounded incompetent to you.

Alexei

Posted: Fri Apr 06, 2007 11:21 pm
by oiaohm
Portable NT is not there worst nightmare.

They all ready produce Portable Editions of XP for high end business to repair machines. If you live in the right places you can make your own USB XP disk. Most likely when reactos is more drive friendly close to the same method might be copy able. http://www.tomshardware.com/2005/09/09/ ... ur_pocket/

Open Source Portable NT damages there means to limit provision of Portable Editions ends. Not much really. Thinking its stuffed in ever country where making you own is legal. Not much difference.

Posted: Sat Apr 07, 2007 12:06 am
by alexei
oiaohm wrote:Portable NT is not there worst nightmare.
They all ready produce Portable Editions of XP for high end business to repair machines. If you live in the right places you can make your own USB XP disk. Most likely when reactos is more drive friendly close to the same method might be copy able. http://www.tomshardware.com/2005/09/09/ ... ur_pocket/

Open Source Portable NT damages there means to limit provision of Portable Editions ends. Not much really. Thinking its stuffed in ever country where making you own is legal. Not much difference.
Facts:
- OS build with "XP Embedded" is not allowed on desktpo.
- "Windows Fundamentals" will not be available through retail or OEM.
- Both MS "Preinstallation Environment" and Bart's PE do not have persistent registry, therefore can't be used as regular OS.

I've never heard of "Portable Editions of XP" with full XP functionality.
Does it exist?

OK, I agree, ReactOS is the worse MS nightmare :lol:

Alexei

Posted: Sat Apr 07, 2007 1:58 am
by hto
IRC is a better place to talk with developers.