Re: MBR



Bill Cunningham uderzył(a) głową w klawiaturę i wyszło takie coś:

>> And single partition descriptior draft is easy to find with Google.

So search the net. Some example:

http://www.dewassoc.com/kbase/hard_drives/master_boot_record.htm

> I am using win98 now. Sometimes linux but win98 is what I'm using.

Hmm, with Win98 you probably still use int 13h as I remember,
but you have to write interface between C and BIOS so registers
you need to set is BX=adress_offset ES=adress_segment,
CX=0x0001,DX=0x00drive where drive=HDD0=0x80,HDD1=0x81 etc.,
AX=0x0201 to read, 0x0301 to write.
Anyway do check if is there any function in API that can read
psychical sectors. If not then you may be forced to use int13h.
Now I have no any WinAPI help here so can't say, and don't
remember if these kind of functions were accesible to users.

Under linux the only limitation is process ability to read or/and
(dependent if you want to write) write /dev/hdX, where X is
usualy a=HDD0,b=HDD1 etc. i.e reading physically HDD0 is
reading /dev/hda.


--
Sc0rpi0
I hated going to weddings.
All the grandmas would poke me saying "You're next".
They stopped that when I started doing it to them at funerals.
.



Relevant Pages

  • Re: I want to migrate to Linux
    ... My plan is to start by booting from a LiveCD, then install Linux ... successful I will abandon WIN98SE on both machines. ... I am considering the following distros and given my goals I would ... Run Win98 in a VMware virtual machine, ...
    (comp.os.linux.hardware)
  • Re: Linux? Maybe next time
    ... USB was rather 'bolted on' to Win98 while WinNT/2K ... Installed the drivers and everything went just fine ... And, with Linux, I can fiddle with drivers ... Yes, Windows is easier for many non-technical people; ...
    (alt.os.linux.suse)
  • Re: Why Im staying with WinDoZe
    ... > versions of win98 and older won't run that long. ... Linux will triumph eventually. ... install of the same Win98SE on a swapped out 10 gig from an XBox. ... used this version of 98 to upgrade many Win95 machines without ever re- ...
    (alt.os.linux.suse)
  • Re: Win98 -- all kidding aside
    ... Win98 had its good features -- and some bad ones. ... By contrast, I've had Ubuntu in this box for two weeks, now, and I'm ... volumes about the quality of the Linux development process. ... As for the development process I think the fact that some university ...
    (Ubuntu)
  • Re: I want to migrate to Linux
    ... RAM you will want to be looking at a lighter weight distro, ... but it's probably better than Win98. ... I don't usually have more than about six apps open simultaneously. ... can easily up both machines to 1GB each if this will improve Linux ...
    (comp.os.linux.hardware)