Board.KolibriOS.org

Official KolibriOS board
It is currently Thu Sep 23, 2021 7:52 am

All times are UTC+03:00




Post new topic  Reply to topic  [ 19 posts ]  Go to page 1 2 Next
Author Message
 Post subject: Booting From USB
PostPosted: Thu Feb 01, 2007 4:19 am 
Offline

Joined: Thu Feb 01, 2007 4:09 am
Posts: 11
Hi,

I have been attempting to boot menuet/kolibri from my USB device using harddrive emulation. See these messages... http://menuet.2.forumer.com/index.php?showtopic=1112&st=15&#entry7259

I was wondering if anyone has had any success booting from a USB Flash Memory using harddrive emulation. Perhaps someone with more experience in file systems can help.

Jason


Top
   
 Post subject:
PostPosted: Thu Feb 01, 2007 8:23 am 
Try my experience:
http://www.kolibri.hut1.ru/l_usb_e.htm
Good luck!


Top
   
 Post subject:
PostPosted: Thu Feb 01, 2007 6:39 pm 
Offline

Joined: Thu Feb 01, 2007 4:09 am
Posts: 11
Hi

Thank You Mario79 for your responce. It is a little difficult to fully understand your guide but please let me know if i understand correctly:

1. You are using floppy drive emulation from bios (bios uses Int 0x13 ah=2 dl=0)

2. In order to use complete memory capacity you are first booting into DOS with bootsector on flash memory, then using a custom program to copy the menuet files to memory above 1MB.

3. You are using Fat16 file system because DOS versions < 7 do not support Fat32.

Unfortunetly my motherboard bios does not support floppy emulation, it only emulates as a harddrive.... (bios interrupt 0x13, AH=2, DL=0x80). One of me flash drives seems to scramble the memory, or perhaps the CHS settings in the bootsector header are not correct?

more to come later

Jason


Top
   
 Post subject:
PostPosted: Fri Feb 02, 2007 8:22 am 
JMD
1. I do not know that emulates BIOS, in principle no person of the difference - a main to was started boot in 0 sectors. Further all do meosload through services DOS.
2. Yes meosload was доработан me to copy IMG file.
3. Fat16.
You must not write boot themselves on Flash, all do format.com in Win98.
On some computer Kolibri this way is not started, but DOS is started practically on all computer.


Top
   
 Post subject:
PostPosted: Fri Feb 02, 2007 6:59 pm 
Offline

Joined: Thu Feb 01, 2007 4:09 am
Posts: 11
Hi

Ahh i see Mario79. That is a very clever way of loading the kernel. Although i would like to attempt to load kernel without using DOS if for anything just to learn how to do it.

I believe the problems that most people are having is that the Sector and Head counts in the partition header (in the data area of bootsector) are not correctly set by the format program. I found a bios call (int 0x13, ah= 8) which gives correct Cylinder, Head, and Sector counts and seems like it will allow me to create my own bootsector to load the kernel directly from a fat16 formatted USB Flash device.

Please check my updated posts here.... http://menuet.2.forumer.com/index.php?showtopic=1112&st=15&#entry7271

Hopefully i will have time to finalize this project later tonight while most of you will be sleeping. At this point i have implemented the new bios call and it made it possible to navigate to root directory entry. but i did not have enough time to create code to search root directory for file and load file into memory.


Top
   
 Post subject:
PostPosted: Thu Jun 07, 2007 9:21 am 
Offline

Joined: Thu Feb 01, 2007 4:09 am
Posts: 11
Hi All,

Well after many months of inactivity, i finally got back to the USB bootsector and i have great news for all of you. I have created a bootsector which allows me to boot into KolibriOS from my USB stick. I cannot boot into official current release of MenuetOS just yet as the option to boot to a Previously loaded image no longer exists, hopefully this option can be add back to boot menu so we can enjoy the official release of Menuet from a USB Memory stick.

Check here for the file.... http://board.flatassembler.net/topic.php?p=51973#51973

JMD


Top
   
 Post subject:
PostPosted: Thu Jun 07, 2007 10:37 am 
Offline

Joined: Thu Jan 25, 2007 4:45 pm
Posts: 135
JMD, thank you! It's a very good news.
But where I can find download link?


Top
   
 Post subject:
PostPosted: Thu Jun 07, 2007 12:42 pm 
Offline

Joined: Thu Feb 01, 2007 4:09 am
Posts: 11
Thats strange i suppose i had teh wrong url...... try this one.... http://board.flatassembler.net/topic.php?t=6602

PS its soo difficult for me to submit messages to the forum, i dont understand cyrillic :(


Top
   
 Post subject:
PostPosted: Thu Jun 07, 2007 12:49 pm 
JMD
http://board.flatassembler.net/topic.php?t=6602
Nothing...


Top
   
 Post subject: USB
PostPosted: Thu Jun 07, 2007 1:05 pm 
Offline

Joined: Thu Feb 01, 2007 4:09 am
Posts: 11
Ahh i see. You must be logged in at FASM in order to see the files. you can also get to it by going to the main menu on the forum and goto category "OS Development" and in there you will see a "Test Boot Sector" thread.


Top
   
 Post subject:
PostPosted: Thu Jun 07, 2007 1:14 pm 
Bad. Earlier not it is necessary was be authorized user that download files.


Top
   
 Post subject: USB Bootsector
PostPosted: Fri Jun 08, 2007 4:08 am 
Offline

Joined: Thu Feb 01, 2007 4:09 am
Posts: 11
hi

any feedback, good or bad is appreciated. Im interested in knowing if anyone else had success with the boot sector for booting from USB or other devices. Please let me know if you find any bugs in it or anything like that.

JMD


Top
   
 Post subject:
PostPosted: Fri Jun 08, 2007 7:16 am 
JMD
Give the direct link to file, then I shall be able to check.


Top
   
 Post subject: USB Bootsector
PostPosted: Fri Jun 08, 2007 8:25 am 
Offline

Joined: Thu Feb 01, 2007 4:09 am
Posts: 11
Ok heres a direct link to the USB bootloader.... http://www.geocities.com/cordata51/Files/Cordata51/BootUSB_Kolibri.zip


Top
   
 Post subject:
PostPosted: Wed Jun 13, 2007 4:53 pm 
JMD
This does not work at my Flash - Kingston Data Traveler 512 Mb.
I all did, as it is written.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 19 posts ]  Go to page 1 2 Next

All times are UTC+03:00


Who is online

Users browsing this forum: No registered users and 3 guests


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:  
cron
Powered by phpBB® Forum Software © phpBB Limited