Has this been fixed? I would like to install multiboot machines onto separate partitions.

Thanks
Jordan

Patrick J. LoPresti wrote:

Nicholas Young <[EMAIL PROTECTED]> writes:


We currently have a partitioning schemeon our machines that looks like:
/dev/hda1       /boot   100MB
/dev/hda2       Windows 10GB
/dev/hda3       /       10GB
/dev/hda5       swap    ~512MB


We currently hard-wire the dosemu C: drive to /dev/hda1.  (Well,
actually /dev/dsk1, but same basic idea.)  So this is not going to
work out of the box.


When using the linux boot disk I manually recreate hda2 so that it contains
an empty FAT32 partition:
        rm 2
        mkpartfs 2 FAT32 100-9460
        set 2 boot yes


The last command marks the Windows partition "active", which is
correct.  The problem is our bad assumption when configuring dosemu.

The DOS-based boot disk would probably be fine with this, by the way.


From the command prompt given I cannot access C:, When running FDISK
on the drive it reports that there is only one partition, the /boot
and it is a linux partition.


Right, dosemu does not actually provide access to the entire disk,
only to the partition which we configure as the C: drive.  When fdisk
tries to access the whole disk, dosemu invents a partition table
containing just that partition.

The band-aid workaround is to edit dosemu.conf (under
Z:\install\linuxaux\etc\dosemu) to replace this line:

  $_hdimage = "/dev/dsk1"

...with this:

  $_hdimage = "/dev/dsk2"

Then dosemu will use the second partition instead of the first for the
C: drive.  Of course, this will break if the Windows partition is
supposed to be any other drive.

The "correct" fix is for us to locate the active partition and
configure dosemu to use it.  Please submit a bug report on the
SourceForge pages and we will get to it eventually.




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to