You are not logged in.
Pages: 1
Hi all,
I'm following this guide to build a custom Archlinux installation. I've used the "baseline" approach and I've modified the build.sh to customize some stuff. Now I'm trying to figured out how to generate the iso file that has not only one partition but 2. At the moment the only way to get 2 partitions in the usb stick is to manually add after the copy with dd ( e.g. fdisk /dev/sdc ). I've tryed to open the iso file with fdisk but with no luck :
root:~campo/System/archlive]# fdisk out/archlinux-2015.04.23-x86_64.iso
Welcome to fdisk (util-linux 2.26.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Comando (m per richiamare la guida): p
Disk out/archlinux-2015.04.23-x86_64.iso: 540 MiB, 566231040 bytes, 1105920 sectors
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: 0x588fcc3f
Dispositivo Avvio Start Fine Settori Size Id Tipo
out/archlinux-2015.04.23-x86_64.iso1 * 0 1105919 1105920 540M 17 HPFS/NTFS nascosto
Comando (m per richiamare la guida): n
To create more partitions, first replace a primary with an extended partition.
Comando (m per richiamare la guida):
Sorry for the italian. Can I switch from primary to extended ? I guess it could be a problem for the bootloader but I'm not sure. Does anyone know a a way to add the partition ?
*Just an update
I've tryed to add a partition after dd to the USB stick and Windows doesn't recognize enyithing ( of course ). What I want is a partition that could be written by windows and linux. Is there a way to do that ? I've read that windows can't handle more than one partition in a usb.
Last edited by campo85 (2015-04-23 10:07:36)
Offline
Use this method to create the bootable USB stick:
https://wiki.archlinux.org/index.php/US … formatting
This uses an FAT32 partition, so it can be written by windows as well.
Offline
It doesn't work. I think the problem could be isolinux. Or maybe the strabge filesystem of the iso. The partition is
Welcome to fdisk (util-linux 2.26.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Comando (m per richiamare la guida): p
Disk /dev/sdc: 7,5 GiB, 8011087872 bytes, 15646656 sectors
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: 0x3884b9f7
Dispositivo Avvio Start Fine Settori Size Id Tipo
/dev/sdc1 * 0 1157119 1157120 565M 17 HPFS/NTFS nascosto <--- HIDDEN
When I try to mount the usb stick in my system, after dd, the filesystem is read only.
Offline
Please follow the instructions in the wiki exactly. Otherwise no one can help you.
For example, use cp instead of dd...
Offline
Pages: 1