I am creating a single flopy linux, and it would be useful to have two different partition types on the floppy (one msdos, the other squashfs). I can use fdisk on the floppy easily enough, but how do I access the partitions I have created?
_______________________________________________ fdutils mailing list fdutils@tux.org http://www.tux.org/mailman/listinfo/fdutils
begin Tuesday 02 December 2003 01:12, Bob Keyes quote:
I am creating a single flopy linux, and it would be useful to have two different partition types on the floppy (one msdos, the other squashfs). I can use fdisk on the floppy easily enough, but how do I access the partitions I have created?
fdutils mailing list fdutils@tux.org http://www.tux.org/mailman/listinfo/fdutils
Although it is possible to create (and even access...) partitions on floppy disks, this is highly non-standard. As such, it would be not very useful, as you'd most probably not be able to boot from such a disk.
The msdos partition can be accessed using mtools, by specifying a line such as the following in your ~/.mtoolsrc:
drive a: file="/dev/fd0" partition=1
(assuming it is the first partition)
Unfortunately, I don't know enough about squashfs to help you there.
You could always transfer the squashfs to an image file hard disk using dd and mount it as loopback, and transfer it back when done, but that is probably not what you intent.
So, in summary, while it is certainly possible to set up partitions on a floppy, it is not a practical thing to do...
Regards,
Alain
_______________________________________________ fdutils mailing list fdutils@tux.org http://www.tux.org/mailman/listinfo/fdutils