[Freedos-user] FreeDOS 1.3 qemu boot from USB

2022-02-24 Thread Bob Pryor
Hi All

A few weeks ago I used qemu and FreeDOS 1.3rc5 to fdisk and format 2
partitions on a USB3 mounted 128GB ssd.

sudo fdisk -l /dev/sdc
Disk /dev/sdc: 111.79 GiB, 120034121728 bytes, 234441644 sectors
Disk model:  SV300S37A12
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 4096 bytes / 33553920 bytes
Disklabel type: dos
Disk identifier: 0xa641679a

Device Boot   Start   End   Sectors   Size Id Type
/dev/sdc1  * 63   2104514   2104452 1G  6 FAT16
/dev/sdc2   2120580 234436544 232315965 110.8G  c W95 FAT32 (LBA)

blkid
/dev/sdc1: SEC_TYPE="msdos" LABEL_FATBOOT="FREEDOS" LABEL="FREEDOS"
UUID="2F1C-12E7" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="a641679a-01"
/dev/sdc2: LABEL_FATBOOT="FREEDOSDATA" LABEL="FREEDOSDATA" UUID="3764-12E8"
BLOCK_SIZE="512" TYPE="vfat" PARTUUID="a641679a-02"

It booted fine after installing rc5.

I didn't really test anything other than confirming rw access to C: and D:
and ro the cdrom after booting.

My concerns then were mounting both partitions rw in linux and booting
FreeDOS 1.3rc5 in qemu with a graphics screen.

When I saw that FreeDOS 1.3 final was available I immediately installed it
from the live cd.

First install completed but was unusable, second install was fine.

Before each install, format C: /U /Q /S from FD13LIVE.iso

FDinstall.sh
#cd /home/bob/FreeDOS/QEMU_FreeDOS
sudo qemu-system-i386 -name FreeDOS -boot d -drive
file=/dev/disk/by-id/wwn-0x504b454e574f4f44,format=raw,index=0,media=disk
-cdrom FD13LIVE.iso -display curses

FD.sh
#cd /home/bob/FreeDOS/QEMU_FreeDOS
sudo qemu-system-x86_64 -name FreeDOS -boot c \
-drive
file=/dev/disk/by-id/wwn-0x504b454e574f4f44,format=raw,index=0,media=disk \
-drive
file=/dev/disk/by-id/wwn-0x504b454e574f4f44-part2,format=raw,index=1,media=disk
\
-usb -device usb-tablet \
-display curses
#SUCCESS all 5 modes boot FreeDOS 1.3 final

So far, I have succeeded with graphics, but not with mounting C: rw in
linux.

FDSU.sh
#su -
#cd /home/bob/FreeDOS/QEMU_FreeDOS
qemu-system-x86_64 -name FreeDOS -boot c \
-drive
file=/dev/disk/by-id/wwn-0x504b454e574f4f44,format=raw,index=0,media=disk \
-drive
file=/dev/disk/by-id/wwn-0x504b454e574f4f44-part2,format=raw,index=1,media=disk
\
-usb -device usb-tablet \
-device VGA,edid=on,xres=1280,yres=1024
#SUCCESS all 5 modes boot FreeDOS 1.3 final

Note: /dev/disk/by-id/wwn* is the same, regardless of bus or port.

I'm on a 4K tv, so I have to stretch the qemu window and View|Fit to use it.

I realise it is not recommended to run qemu as root, but it was necessary
in order to use physical partitions.

The nice thing is that I can move the USB3 ssd to other computers.

One more thing, openSUSE requires the drive to be hotplugged for qemu to
find it.
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Writing articles about FreeDOS

2022-02-24 Thread Dan Scott
Nice. Work is keeping me super busy at the moment but once I have time to 
install it and give it a real try I plan on writing a post for my small corner 
of the Internet. 

Sent from my iPhone

> On Feb 21, 2022, at 7:46 PM, Jim Hall  wrote:
> 
> Thought you'd like to know: of all the articles published on
> Opensource.com in January, my recap article about FreeDOS was the #3
> most-read article.
> https://opensource.com/article/22/1/try-freedos
> 
> So if you feel motivated to write for a tech website, and wonder if
> they would be interested in a "FreeDOS" article, the answer is "Yes."
> 
> It's a great way to contribute to FreeDOS without writing code.
> 
> And now that we've released FreeDOS 1.3, this would be a great excuse
> to write an article about FreeDOS.
> 
> Just a suggestion for those who like to write.
> 
> 
> ___
> Freedos-user mailing list
> Freedos-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-user


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] 286 Installation on CF Card

2022-02-24 Thread Liam Proven
On Wed, 23 Feb 2022 at 21:59, Frank Pioch  wrote:
>
> I am trying to install Freedos 1.2 or 1.3 on a 286 with a CF card.
>  Unfortunately, I don't have a floppy disk drive on my Win10 PC, so I make 
> the detour via this trick:
>
> http://theinstructionlimit.com/installing-ms-dos-6-22-on-a-486-without-a-floppy-drive-using-a-cf-to-ide-adapter

I tried to read that, but honestly, with the mistakes and factual
errors in the page, I got distracted.

Can you summarise what you are trying to do?

My impression is:

[1] attach CF card to Vbox VM as its hard disk – yes, that should work.

I describe how to do that onto a USB key in my tech blog, here:
https://liam-on-linux.livejournal.com/50416.html

[2] install DOS onto CF card — OK, easy

[3] move CF card to vintage PC and use it – OK, easy

What is the problem and where is it going wrong?

What make/model of 80286, just out of interest?

Considered putting a cheap USB floppy drive onto your Win10 machine?

-- 
Liam Proven ~ Profile: https://about.me/liamproven
Email: lpro...@cix.co.uk ~ gMail/gTalk/FB: lpro...@gmail.com
Twitter/LinkedIn: lproven ~ Skype: liamproven
UK: (+44) 7939-087884 ~ Czech [+ WhatsApp/Telegram/Signal]: (+420) 702-829-053


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user