Am 20.11.19 um 23:15 schrieb Matias Fonzo: > El 2019-11-20 16:42, Michael Siegel escribió: >> Am 20.11.19 um 18:34 schrieb Matias Fonzo: >> >> [...] >> >> Next, I used fdisk to create the following partition layout on the >> machine's hard drive: >> >> Disk /dev/sda: 74.54 GiB, 80026361856 bytes, 156301488 sectors >> Disk model: SAMSUNG HM080HC Units: sectors of 1 * 512 = 512 bytes >> Sector size (logical/physical): 512 bytes / 512 bytes I/O size >> (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk >> identifier: 0xbb7736d2 >> >> Device Boot Start End Sectors Size Id Type >> /dev/sda1 * 2048 20973567 20971520 10G 83 Linux >> /dev/sda2 20973568 23070719 2097152 1G 82 Linux swap / >> Solaris /dev/sda3 23070720 156301487 133230768 63.5G 83 >> Linux >> > > Uhm?. This output does not appear to come from util-linux 2.34 > (fdisk).
Yeah, I thought that too because we had talked about this earlier. So, I did it all again. I booted the Dragora live system, using the image available at http://rsync.dragora.org/current/iso/beta/dragora-3.0-i586-beta1-live.iso Then, I used fdisk on that live system to partition the hard drive. Here's the record: +++ root@dragora:~ # fdisk /dev/sda Welcome to fdisk (util-linux 2.34). Changes will remain in memory only, until you decide to write them. Be careful before using the write command. Device does not contain a recognized partition table. Created a new DOS disklabel with disk identifier 0x7c1de9ae. Command (m for help): p Disk /dev/sda: 74.54 GiB, 80026361856 bytes, 156301488 sectors Disk model: SAMSUNG HM080HC Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x7c1de9ae Command (m for help): n Partition type p primary (0 primary, 0 extended, 4 free) e extended (container for logical partitions) Select (default p): Using default response p. Partition number (1-4, default 1): First sector (2048-156301487, default 2048): Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-156301487, default 156301487): +10G Created a new partition 1 of type 'Linux' and of size 10 GiB. Command (m for help): a Selected partition 1 The bootable flag on partition 1 is enabled now. Command (m for help): n Partition type p primary (1 primary, 0 extended, 3 free) e extended (container for logical partitions) Select (default p): Using default response p. Partition number (2-4, default 2): First sector (20973568-156301487, default 20973568): Last sector, +/-sectors or +/-size{K,M,G,T,P} (20973568-156301487, default 156301487): +1G Created a new partition 2 of type 'Linux' and of size 1 GiB. Command (m for help): t Partition number (1,2, default 2): Hex code (type L to list all codes): 82 Changed type of partition 'Linux' to 'Linux swap / Solaris'. Command (m for help): n Partition type p primary (2 primary, 0 extended, 2 free) e extended (container for logical partitions) Select (default p): Using default response p. Partition number (3,4, default 3): First sector (23070720-156301487, default 23070720): Last sector, +/-sectors or +/-size{K,M,G,T,P} (23070720-156301487, default 156301487): Created a new partition 3 of type 'Linux' and of size 63.5 GiB. Command (m for help): p Disk /dev/sda: 74.54 GiB, 80026361856 bytes, 156301488 sectors Disk model: SAMSUNG HM080HC Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x7c1de9ae Device Boot Start End Sectors Size Id Type /dev/sda1 * 2048 20973567 20971520 10G 83 Linux /dev/sda2 20973568 23070719 2097152 1G 82 Linux swap / Solaris /dev/sda3 23070720 156301487 133230768 63.5G 83 Linux Command (m for help): w The partition table has been altered. Calling ioctl() to re-read partition table. Syncing disks. root@dragora:~ # +++ >> [...] Maybe I didn't sync the files correctly. I used >> >> rsync -rv usr/ /usr rsync -rv var/ /var >> >> from the USB key that had the directories with the updated files. >> And as far as I could tell from rsync's output as well as looking >> at the output of some ls -l commands, that had all worked as >> expected. >> >> Any ideas? >> > > What?, no. You can get the package using wget, rsync, or downloading > manually, then check the .sha256 to ensure. Then you can tell to the > package manager to upgrade the local package: > > qi -u dragora-installer-20111119-i586+1.tlz Oh, I somehow missed that “package” meant “a package installable with qi” in this case. Here's a more detailed explanation of what I did instead, just for clarification: * downloaded the package and checksum file * verified the checksum * decompressed the package * extracted the tar archive * put the contents of the tar archive on a USB key * plugged the USB key into the machine running the live system * used rsync to transfer the files from the USB key to the live system as described above I'll use `qi -u` from now on.
