Re: FreeDOS installation




Le mercredi 24 mai 2006 22:29:27,
"Dave R." <dwragle at drbsystems dot com> a écrit:

I don't think that "FDISK /MBR" will solve the problem. If the MBR copy
is also the linux loader, you will get the same result.

I'm not sure what you mean by "the MBR copy". In MSDOS, FDISK /MBR
replaces the MBR on disk 0 with the standard DOS MBR code, it doesn't
rely on a copy residing elsewhere on the system. It will absolutely
clobber whatever happens to be in its way including LILO, GRUB,
old-school viruses like monkey that reside in the MBR, or what have you.
Believe me (or don't, try it yourself on a spare hard drive if you have
one handy), I've used it many times to recover from similar situations.

Oops, seems I make a little confision about the fact that there are two
FAT in an MS-Dos partition... Too much time I don't played with these
things %-)


[The "LI" indicate the MBR part of the boot sequence is ran, but the
linux kernel is not found.

Close enough. In any case, we know that LILO is still in the MBR (which
is not a part of any individual partition, which is where I think you
are getting confused).

Yes, lilo is in the MBR. But it contains the location of the linux
kernel file in the linux partition. If you upgrade your kernel, the file
is stored somewhere else, and all is messed. Grub, storing the
boot-related files names, don't has this problem.


You have exactly the same problem when you upgrade your linux kernel
without re-run the "lilo" command.]

Yep, been there. That's one of the reasons I personally prefer GRUB,
but that's an entirely different topic...

I don't think it is really off topic. GRUB's partitions hidding option
is perhaps more interresting in the ms-dos world than for unix, when you
use a data partition and several system partitions in FAT format (ms-dos,
freedos, windows...), permitting you to see only one system partition.
In the linux world you don't have to hide partitions, you have only to
not mount them...


Jacques.
--
The last man connected to the Net was browsing some old WebSites.
"You have new mail" appeared on the screen...
--------------------------- adapted from a short Fredric Brown's story

.



Relevant Pages

  • Re: boot loader that can read from partition?
    ... |> enough space in the MBR to store that there. ... Or even less space is needed to store and index into the partition ... the first possible partition in the next track is at most 63 sectors ... |> | length of the linked kernel image. ...
    (comp.os.linux.development.system)
  • Re: Does DriveImage 7 include the MBR in its image of a primary partition?
    ... LILO in MBR and image the various versions of the MBR to go ... If you will have just one Microsoft OS and linux, ... third-party boot manager that has the ability to ... Besides, the master boot sector also contains the master partition table, so ...
    (microsoft.public.windowsxp.general)
  • Re: 48-bit LBA "upgrade" - is a complete repartition required?
    ... A browser of the kernel development mailing list archives seems ... > controllers can have issues even if Linux is bypassing the BIOS. ... > I'm really just wondering if the existing partition table is still going ... filesystem on the partition, too, the way resize2fs does. ...
    (comp.os.linux.hardware)
  • Re: iPod / Amarok / Buffer I/O Issues
    ... I see the following article at Linux Magazine... ... I'm reluctant to recompile my kernel, ... If you?re running a pre- 2.6 kernel, using the iPod can be as easy as ... partition table. ...
    (Ubuntu)
  • Re: Is FREEDOS a real time OS?
    ... Every OS has an API. ... What is the relation of the Linux API to the ... Or, if the API is a part of the kernel, is there a more ... to boot the new partition. ...
    (comp.sys.ibm.pc.hardware.misc)