Closed mfld-fr closed 4 years ago
@ghaerr,
let me know when you need an HD image with extended partitions, I’ll ‘dropbox’ you one.
—Mellvik
- apr. 2020 kl. 08:41 skrev Gregory Haerr notifications@github.com:
was not aware ELKS supports just 4 primary partitions per disk.
It is supposed to support extended partitions, but I have never tested that, since I don't have any disk images with extended partitions on them.
I could split that into a FAT32 and FAT16 partition for testing.
For now, that would be great, since there has been little testing of the 4 primary partitions, which I'm thankful you are testing. Once we show that the 4 primary partitions working, we can worry about extended partitions. Ultimately, I am trying to get this issue fixed, which is booting from a FAT flash disk (primary partition).
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jbruchon/elks/issues/320#issuecomment-611358035, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA3WGOD6DR5AU2JDXWWOWS3RLVUX7ANCNFSM4KSMJ2SQ.
let me know when you need an HD image with extended partitions
Thanks @Mellvik, yes please send me one. Can you also screenshot or show the primary and extended partition tables for it? Also, finally got ttyS0 redirection working on QEMU and have found more issues, including the /dev/tty bug, elvis crashing, and init is running 3 getty's per line! PR coming after I've figured it all out.
Wow, Combined with my previous response (#515), It sounds to me you have a qemu problem!!
I can help you set up a working virtualbox w serial & netcat any time.
M
- apr. 2020 kl. 16:09 skrev Gregory Haerr notifications@github.com: let me know when you need an HD image with extended partitions
Thanks @Mellvik, yes please send me one. Can you also screenshot or show the primary and extended partition tables for it? Also, finally got ttyS0 redirection working on QEMU and have found more issues, including the /dev/tty bug, elvis crashing, and init is running 3 getty's per line! PR coming after I've figured it all out.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
Can you also screenshot or show the primary and extended partition tables for it?
I don't need a screenshot of the extended partitions on the disk you're sending me, as much as I need to know which partitions are normal and which are extended. We don't yet have devices created for more than 4 partitions, so it would be nice if the first 2-3 were normal partitions and the last was extended. But send over whatever you have, thanks!
@ghaerr -- Here's an image with extended partitions: https://www.dropbox.com/s/5h420xna20f4nkt/extended.img?dl=0 I haven't been able to boot it with qemu - but it mounts fine from elks and elks does a fine analysis of the contents in the boot messages. Partition 1 is normal, part 2 is container for extended, part 3 & 4 are logical partitions.
-Mellvik
Thanks @Mellvik!
I got the image, and created a /dev/bda5 and bda6, which allowed ELKS to mount the two extended partitions. Both extended partitions show as 30M each, FAT16, and are empty. Is that correct? I will submit a PR that creates /dev/bda5-8 but want to make sure the partitions are empty so I know things work.
@ghaerr, yes, that's right. Only the primary (and first) partition contains data. All partitions are 30M, like you observed.
--Mellvik
Hi @georgp24,
Are you satisfied with the hard disk/flash support? If so, please close this issue, thanks!
I think it works as well as one can expect. So I suggest to close this issue. I does not show a button to close it though.
(Moved from #306)
@georgp24 wrote:
I wrote fd1440.bin to a real floppy and booted my PC from an USB floppy disk drive with that. I can log in and use ELKS. However, both hard disks installed are NTFS so I cannot mount a FAT disk. I put in a FAT flash disk but that was not detected.