XPost: alt.os.linux, alt.windows7.general
Putting the keyboard layout problem aside for now, I'm still open for
help on Problem #3, booting an iso of an MSDOS/W98-Console-Mode
emergency USB, which I have been endeavouring to investigate
systematically, as follows ...
On 24/06/2024 11:01, Java Jive wrote:
PROBLEM #3
I have added to Clonezilla's syslinux.cfg menu an option of my own to
boot into an ISO of an old W98 console for running Dell Diagnostics, a
legacy version of Ghost, etc. When booting from the original USB
stick, I see the new option, and it seems to find the ISO and gets
some way into booting it, but then stalls with the message:
Loading boot sector... booting...
I can't seems to find a way of chaining to IO.SYS. Can anyone suggest
how I might do this? This is what I put in the syslinux.cfg menu:
label EmerDellGhost
# MENU DEFAULT
# MENU HIDE
MENU LABEL Emergency W98 Boot - Legacy Ghost & Dell Diagnostics
# MENU PASSWD
kernel memdisk
append initrd=/live/EmerDellGhost.iso
TEXT HELP
Run Windows 98 boot with legacy Ghost (2003) and
Dell Diagnostics for Latitude D610 & Precision M6300
ENDTEXT
Still a problem, I suspect still with the role of the Boot Sector in
chaining to IO.SYS. I've tried to use Ventoy to boot RawWriteWin *.img files of Emergency W98 boot floppies ...
error: no such partition
Disk I/O error
Replace the disk, and then press any key
.... and ISOs made with ImgBurn ...
[goes straight through to the PC's normal grub menu
without any visible message being given]
.... but I still can't get a bootable result. Any further help with
this would be welcome.
Given sector-by-sector images of ...
W98 console mode emergency boot floppy (RawWriteWin)
W98 console mode emergency boot USB - entire disk (dd if=/dev/sdx)
W98 console mode emergency boot USB - partition (dd if=/dev/sdx1)
... I've now obtained the results of tests in the following table -
which probably need a fixed font to display properly - details notes
are appended ...
Floppy Disk Partition
Ubuntu 22 mount: Y N Y (USB reversed compared to rest)
Ubuntu 22 qemu: Y Y N
Ventoy: N N N
Clonezilla: Y Y N
Grub2 - loop: N N N
Grub2 - memdisk: Y N* N
* This was particularly disappointing, because this, or the partition equivalent, is what I'd most like to achieve as the alternatives that do
work are more convoluted, and given the previous patterns of results,
once the floppy image worked in this arrangement, I expected the hard
disk image to work as well, but sadly it didn't :-(
If anyone can suggest a way of getting either the disk or partition
image to boot directly with Grub2, I'd be very grateful.
Notes
=====
Ubuntu 22: mount -o loop <filename> /mnt/temp
Floppy.img - Succeeds
USB-Disk.img - Fails
mount: /mnt/temp: wrong fs type, bad option, bad superblock
on /dev/loop8, missing codepage or helper program, or other
error.
USB-Part.img - Succeeds
So I can mount as a loop device a sector-by-sector image of a W98 boot
floppy, and a sector-by-sector image of the W98 fat32 partition
(partition not disk) which is the only partition on a bootable emergency
USB stick, but I can NOT mount a sector-by-sector image of the entire
emergency USB stick.
However, mostly things are the other way about. For example, when I run
qemu ...
qemu-system-i386 -fda Floppy.img
Boots!
qemu-system-i386 -hda USB-Disk.img
Boots!
qemu-system-i386 -hda USB-Part.img
Fails with ...
SeaBIOS (version 1.15.0-1~)
iPXE (
https://ipxe.org) 00:03.0 CA00 PCI2.10 PnP
PMM+07BF8B590+07ECB590 CA00 (all on one line)
Booting from Hard Disk ...
Disk I/O error
Replace the disk, then press any key
So, as far as the USB images are concerned, qemu behaves opposite to
mount. Next we come to a Ventoy USB with the same images on board.
Trying to boot from all of them failed ...
Floppy.img
error: no such partition.
Disk I/O error
Replace the disk, and then press any key
USB-Disk.img
[messages are incomplete and too fast to read except by video]
disk
Disk I/O error
Replace the disk, and then press any key
sk I/O error
Replace the disk, and then press any key
USB-Part.img
error: File (hd0,1)/USB-Part.img is not bootable
chain empty failed
press Enter to continue ......
Next, CloneZilla USB stick, with SysLinux.cfg entries as follows:
Floppy.img
label EmergencyW98
# MENU DEFAULT
# MENU HIDE
MENU LABEL Emergency W98 Boot Disk (Floppy)
# MENU PASSWD
kernel memdisk
append initrd=/live/Floppy.img
TEXT HELP
Boot Windows '98 emergency console
ENDTEXT
Boots!
USB-Disk.img
label EmerDellGhostImg
# MENU DEFAULT
# MENU HIDE
MENU LABEL Emergency W98 Boot - Dell Diags & Legacy Ghost (disk)
# MENU PASSWD
kernel memdisk
append initrd=/live/USB-Disk.img
TEXT HELP
Boot Windows '98 console with Dell Diagnostics
for Latitude D610 & Precision M6300 & Ghost (2003)
ENDTEXT
Boots!
USB-Part.img
label EmerDellGhostIso
# MENU DEFAULT
# MENU HIDE
MENU LABEL Emergency W98 Boot - Dell Diags & Legacy Ghost (part)
# MENU PASSWD
kernel memdisk
append initrd=/live/USB-Part.img
TEXT HELP
Boot Windows '98 console with Dell Diagnostics
for Latitude D610 & Precision M6300 & Ghost (2003)
ENDTEXT
Fails with endless messages scrolling too fast to read and too many to
be worth trying to video, but seem to be hex dumping sectors from the
partition interspersed with other messages.
Finally Grub2 with the following grub.cfg menu entries ...
Floppy.img
menuentry "Windows 98 Emergency Console" --unrestricted --class
Windows {
savedefault
set iso_path="(hd0,msdos4)/Floppy.img"
loopback loop "$iso_path"
set root=(loop)
chainloader +1
boot
}
... fails with ...
Disk I/O error
Replace the disk, and then press any key
... but [memdisk borrowed from Clonezilla USB] ...
menuentry "Windows 98 Emergency Console" --unrestricted --class
Windows {
savedefault
linux16 (hd0,msdos4)/WimBoot/memdisk
initrd16 (hd0,msdos4)/Floppy.img
}
... boots!
USB-Disk.img
menuentry "Windows 98 Emergency Console With Dell Diagnostics &
Ghost 2003 (disk)" --unrestricted --class Windows {
savedefault
set iso_path="(hd0,msdos4)/USB-Disk.img"
loopback loop "$iso_path"
set root=(loop)
chainloader +1
boot
}
... fails with ...
Missing operating system
... and unfortunately ...
menuentry "Windows 98 Emergency Console With Dell Diagnostics &
Ghost 2003 (disk)" --unrestricted --class Windows {
savedefault
linux16 (hd0,msdos4)/WimBoot/memdisk
initrd16 (hd0,msdos4)/USB-Disk.img
}
... fails with ...
MEMDISK 6.03 20171018 Copyright 2001-2014 H. Peter Anvin et al
MEMDISK: No ramdisk image specified!
... which is a particular bummer as described above.
USB-Part.img
menuentry "Windows 98 Emergency Console With Dell Diagnostics &
Ghost 2003 (part)" --unrestricted --class Windows {
savedefault
set iso_path="(hd0,msdos4)/USB-Part.img"
loopback loop "$iso_path"
set root=(loop)
chainloader +1
boot
}
... fails with a flashing underline cursor top left of screen but no
messages, and ...
menuentry "Windows 98 Emergency Console With Dell Diagnostics &
Ghost 2003 (part)" --unrestricted --class Windows {
savedefault
linux16 (hd0,msdos4)/WimBoot/memdisk
initrd16 (hd0,msdos4)/USB-Disk.iso
}
... also fails with ...
MEMDISK 6.03 20171018 Copyright 2001-2014 H. Peter Anvin et al
MEMDISK: No ramdisk image specified!
--
Fake news kills!
I may be contacted via the contact address given on my website:
www.macfh.co.uk
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)