[opensuse-arm] kiwi and bootfilesystem
![](https://seccdn.libravatar.org/avatar/eeee970188aaff5989ec40df8a5a46d9.jpg?s=120&d=mm&r=g)
Hi Marcus, when I set bootfilesystem="fat32" in <image>.kiwi, then mount reports correctly vfat as filesystem: ******************************************************************************** /dev/sdb1 on /mnt type vfat ******************************************************************************** But partition table is false, fdisk returns: ******************************************************************************** Device Boot Start End Blocks Id System /dev/sdb1 * 2048 411655 204804 83 Linux /dev/sdb2 411656 1824767 706556 83 Linux ******************************************************************************** but partition 1, should be ID="c" - System="W95 FAT32 (LBA)". I think kiwi has a bug somewhere. ;) Could you have a look at it please? Moreover, would it be possible to merge partition 1 and partition 2 when they have the same filesystem? (Maybe just when no bootfilesystem option is specified). Guillaume -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/56ff7afa87a611c9714041846f393725.jpg?s=120&d=mm&r=g)
Hi,
when I set bootfilesystem="fat32" in <image>.kiwi, then mount reports correctly vfat as filesystem: ******************************************************************************** /dev/sdb1 on /mnt type vfat ********************************************************************************
But partition table is false, fdisk returns: ******************************************************************************** Device Boot Start End Blocks Id System /dev/sdb1 * 2048 411655 204804 83 Linux /dev/sdb2 411656 1824767 706556 83 Linux ******************************************************************************** but partition 1, should be ID="c" - System="W95 FAT32 (LBA)".
I think kiwi has a bug somewhere. ;) Could you have a look at it please?
yes, I can reproduce this *grmbl* will fix it ;) Thanks Regards, Marcus -- Public Key available gpg --keyserver gpg-keyserver.de --recv-keys 0xCCE3C6A2 ------------------------------------------------------- Marcus Schäfer (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstrasse 5 FAX: 0911-740 53 479 D-90409 Nürnberg GF: Jeff Hawn,Jennifer Guild, Felix Imendörffer HRB: 21284 (AG Nürnberg) Germany http://www.suse.de ------------------------------------------------------- -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/56ff7afa87a611c9714041846f393725.jpg?s=120&d=mm&r=g)
Hi,
when I set bootfilesystem="fat32" in <image>.kiwi, then mount reports correctly vfat as filesystem: ******************************************************************************** /dev/sdb1 on /mnt type vfat ********************************************************************************
But partition table is false, fdisk returns: ******************************************************************************** Device Boot Start End Blocks Id System /dev/sdb1 * 2048 411655 204804 83 Linux /dev/sdb2 411656 1824767 706556 83 Linux ******************************************************************************** but partition 1, should be ID="c" - System="W95 FAT32 (LBA)".
fixed in master: commit faea578cd80f9d78eaa247b03a52cbc4012f9ff9 Author: Marcus Schäfer <ms@suse.de> Date: Thu Sep 19 09:32:24 2013 +0200 - fixed bios partition type setup: * upstream parted supports 'set partition flag state' whereas flag can't be a hex id as we need it when setting e.g a fat partition type. Thus we use the suse extension as fallback which allows to set: 'set partition type hexid'
Moreover, would it be possible to merge partition 1 and partition 2 when they have the same filesystem? (Maybe just when no bootfilesystem option is specified).
sorry but I think that would be the wrong way. at the moment the partition layout for arm images always uses a boot partition if the uboot loader is used. The user can influence the filesystem there but not that a boot partition will be used if uboot is selected. I think this is something we might want to change in the future. imho it would be nice to be able to state if one wants a boot partition or not. This in contrast will increase the room for further problems due to the partition layout Regards, Marcus -- Public Key available gpg --keyserver gpg-keyserver.de --recv-keys 0xCCE3C6A2 ------------------------------------------------------- Marcus Schäfer (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstrasse 5 FAX: 0911-740 53 479 D-90409 Nürnberg GF: Jeff Hawn,Jennifer Guild, Felix Imendörffer HRB: 21284 (AG Nürnberg) Germany http://www.suse.de ------------------------------------------------------- -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/eeee970188aaff5989ec40df8a5a46d9.jpg?s=120&d=mm&r=g)
Hi, Le 19/09/2013 09:59, Marcus Schäfer a écrit :
Hi,
when I set bootfilesystem="fat32" in <image>.kiwi, then mount reports correctly vfat as filesystem: ******************************************************************************** /dev/sdb1 on /mnt type vfat ********************************************************************************
But partition table is false, fdisk returns: ******************************************************************************** Device Boot Start End Blocks Id System /dev/sdb1 * 2048 411655 204804 83 Linux /dev/sdb2 411656 1824767 706556 83 Linux ******************************************************************************** but partition 1, should be ID="c" - System="W95 FAT32 (LBA)". fixed in master:
commit faea578cd80f9d78eaa247b03a52cbc4012f9ff9 Author: Marcus Schäfer <ms@suse.de> Date: Thu Sep 19 09:32:24 2013 +0200
- fixed bios partition type setup: * upstream parted supports 'set partition flag state' whereas flag can't be a hex id as we need it when setting e.g a fat partition type. Thus we use the suse extension as fallback which allows to set: 'set partition type hexid'
Thanks. Looking forward to get it in OBS. ;)
Moreover, would it be possible to merge partition 1 and partition 2 when they have the same filesystem? (Maybe just when no bootfilesystem option is specified). sorry but I think that would be the wrong way. at the moment the partition layout for arm images always uses a boot partition if the uboot loader is used. The user can influence the filesystem there but not that a boot partition will be used if uboot is selected. I think this is something we might want to change in the future.
Yes, because it does not make sense to have a separate boot partition if there is only a boot/ folder and the filesystem is the same as main partition.
imho it would be nice to be able to state if one wants a boot partition or not. This in contrast will increase the room for further problems due to the partition layout
Once the right kiwi config is set (rootfs arg passed to the kernel and kiwi layout config) all should be ok. ;) But it is not a high priority task. It would be nice if other people could give their opinion here. Guillaume
Regards, Marcus
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/56ff7afa87a611c9714041846f393725.jpg?s=120&d=mm&r=g)
Hi,
Moreover, would it be possible to merge partition 1 and partition 2 when they have the same filesystem? (Maybe just when no bootfilesystem option is specified). sorry but I think that would be the wrong way. at the moment the partition layout for arm images always uses a boot partition if the uboot loader is used. The user can influence the filesystem there but not that a boot partition will be used if uboot is selected. I think this is something we might want to change in the future.
Yes, because it does not make sense to have a separate boot partition if there is only a boot/ folder and the filesystem is the same as main partition.
imho it would be nice to be able to state if one wants a boot partition or not. This in contrast will increase the room for further problems due to the partition layout
Once the right kiwi config is set (rootfs arg passed to the kernel and kiwi layout config) all should be ok. ;)
But it is not a high priority task.
It would be nice if other people could give their opinion here.
FYI: I added a bugzilla report for this one: https://bugzilla.novell.com/show_bug.cgi?id=841469 Regards, Marcus -- Public Key available gpg --keyserver gpg-keyserver.de --recv-keys 0xCCE3C6A2 ------------------------------------------------------- Marcus Schäfer (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstrasse 5 FAX: 0911-740 53 479 D-90409 Nürnberg GF: Jeff Hawn,Jennifer Guild, Felix Imendörffer HRB: 21284 (AG Nürnberg) Germany http://www.suse.de ------------------------------------------------------- -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
participants (2)
-
Guillaume Gardet
-
Marcus Schäfer