> On Wed, May 07, 2025 at 10:17:10AM +0200, Alex via Freedos-user wrote:
>Hello, I wanted to ask if there's a way to install full FreeDOS OS on a
>USB stick, not the FullUSB live version, but the full operating system.

Works very well, using Qemu on Linux hosts and when booting from a bare
metal PC.


I did create a second/third partition on the USB flash media for writing
the CD Bonus ISO to the third partition (eg. dd), and fdimples does
detect the second/third parititon as the CD Bonus ISO.

From Linux/Unix:

Write the FD 1.4 USB install image to USB flash media:
# dd if=FD14FULL.img of=/dev/sdf bs=4M ; sync

Think I subsequently resized/shrinked the partition(s) as needed, created a
second/third partition (400MB sized) for the FreeDOS-1.4 BONUS CD ISO, then:

# dd if=FD14BNS.iso of=/dev/sdfX bs=4M ; sync

Qemu needs the root device file, not the partition number for booting, and will
auto detect the BONUS CD ISO partition:

$ qemu-system-i386 -enable-kvm -m 1024 -rtc base=localtime \
-drive format=raw,file=/dev/sda -boot c -usb \
-display gtk,zoom-to-fit=on -net nic,model=pcnet -net user \
-usbdevice mouse -device sb16 -device adlib \
-audio driver=alsa,id=snd0,out.dev=default -audiodev alsa,id=snd0 \
-machine pcspk-audiodev=snd0  -vga cirrus

Bare metal PCs, I forget if the BONUS CD ISO image partition is detected or not.

As I look over my partition scheme for FreeDOS-1.4,

1) Partition one is the root FreeDOS-1.4 image partition.

2) Second partition is a simulated extra (eg. /home) partition for persistent
user data, keeping the root image if FreeDOS-1.4 is updated.

3) Third partition is the FreeDOS BONUS CD ISO image.

Roger

Attachment: signature.asc
Description: PGP signature

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

Reply via email to