O 19/08/21 ás 18:50, Samuel Thibault escribiu:
Please be very precise in explaining your problem, I couldn't reproduce
it in qemu. I tried in the debian installer:
- booted with a 10G disk
- use manual partitioning
- have it create a partition table
- create a 1G primary partition (assigned automatically for /)
- create a 1G primary partition (assigned automatically for /home)
- create a 1G primary partition (assigned automatically for /usr)
- create a logical partition with the rest (assigned automatically for /var)
and it proceeded just fine.
Remember that the devil is always in the details.
Note: On my tests I try to reproduce the layout of the HDD (IDE master,
hd0 on Hurd and sda on Linux):
1 2G FreeDOS
2 30G OpenBSD
3 20G MINIX
4 Logical(Rest of disk):
5 20G HaikuOS
with 3 primary partitions, sometimes a logical partition, all set to «do
not use», before creating the Debian root.
I clearly remember reproducing the bug reliably yesterday, but now I
can't get it to. partman is a bit buggy. All of this tested with
qemu-system-i386 --enable-kvm -m 1G -hda test.qcow2 -cdrom
debian-hurd-2021-i386-DVD-1.iso -boot menu=on :
- With a 20G test.qcow2: I created 3 1G primary partitions set as «do
not use» and a 1G logical partition. The rest of the free space
disappeared, and reappeared when I deleted the logical partition.
- With a a 10G test.qcow2: Created 3 1G primary partitions + 1 1G
logical partition and set as «do not use». Created 5G root and 1G swap
with no problems, but after pressing «Write to disk» and returning to
partman (pressing «Yes» on the next message) the hd0 drive had
disappeared, and reappeared after pressing «Undo modifications».
- Again with a a 10G test.qcow2: Happened the same as in the first test,
but after creating the swap partition (3 1G primary, 1G logical as «not
use»; 5G logical root, 1G logical swap).
In that last test, after pressing «Go back» with the drive missing
(without undoing changes, but IIRC that also happened in the real
computer with the changes undone) I can't enter the «Partition» stage,
and in ALT+F4 I can see the following errors:
Aug 19 17:30:16 main-menu[1811]: INFO: Menu item 'partman-base' selected
Aug 19 17:30:16 main-menu[1811]: (process:15055): /bin/partman: line
113: depmod: not found
Aug 19 17:30:16 main-menu[1811]: (process:15055): cat: can't open
'/proc/modules': No such file or directory
Aug 19 17:30:16 main-menu[1811]: (process:15055): cat: can't open
'/proc/modules': No such file or directory
Aug 19 17:30:16 main-menu[1811]: (process:15055): cat: can't open
'/proc/modules': No such file or directory
Aug 19 17:30:16 main-menu[1811]: (process:15055): Cannot create FIFO: No
space left on device
Aug 19 17:30:16 main-menu[1811]: (process:15055): Cannot unlink stop
FIFO: No such file or directory
Aug 19 17:30:16 main-menu[1811]: INFO: Menu item 'partman-base'
succeeded but requested to be left unconfigured
Aug 19 17:30:16 main-menu[1811]: DEBUG: resolver (kbd-udeb): package
doesn't exist (ignored)
Aug 19 17:30:16 main-menu[1811]: INFO: Falling back to the package
description for brltty-udeb
df returned:
Filesystem 1K-blocks Used Avaliable Use% Mounted on
gunzip:device:rd0 106120 66008 40112 62% /
/dev/hd2 1747444 1747444 0 100% /cdrom
As an aside note, I was testing that second problem on QEMU, and in the
emulator I didn't have to call MAKEDEV to load the image from the partition.
Any idea about that?
I don't understand what you mean, please be more precise.
Samuel
For the second problem here are the exact steps I did:
* Boot from USB, choose «Pseudo-graphical» in GRUB. (BTW are there
differences between this one and the text option? I can't tell)
* Installer asks for drivers, choose to manually select the drive.
* The partition with the ISO would be hd0s6 (I did dd if=debian-hurd.iso
of=/dev/sda6 on Linux), but if I try to write /dev/hd0s6 directly it
fails, and trying to mount the partition manually fails with a «Input
Output Error».
* Then I change to TTY2, cd /dev and ./MAKEDEV hd0s6
This last step was not necessary in QEMU, that is why I was asking.
* Return to TTY1, write /dev/hd0s6 and continue
* Everything works normally until I reach partman, it does not recognize
the partition table, so I can't continue.
O 19/08/21 ás 18:50, Samuel Thibault escribiu:
Parodper, le jeu. 19 août 2021 16:58:26 +0200, a ecrit:
However QEMU is too slow (takes quite a few hours to reach partman)
Did you make sure to enable kvm?
Samuel
This is a single core AMD Athlon XP, it is an old computer. For the QEMU
tests I do use a more modern computer with KVM, but this one I have it
to test OS.