2 characters over the limit for labels, so fixed it.
This commit is contained in:
parent
a88a386ef4
commit
c1af07bf18
@ -136,8 +136,8 @@ url[64]="http://os.archlinuxarm.org/os/ArchLinuxARM-rpi-aarch64-latest.tar.gz"
|
|||||||
fallocate -l "$imageSize" "$imageName"
|
fallocate -l "$imageSize" "$imageName"
|
||||||
loopdev="$(losetup --find --show "${imageName}")"
|
loopdev="$(losetup --find --show "${imageName}")"
|
||||||
parted --script "${loopdev}" mklabel msdos mkpart primary fat32 0% 200M mkpart primary ext4 200M 100%
|
parted --script "${loopdev}" mklabel msdos mkpart primary fat32 0% 200M mkpart primary ext4 200M 100%
|
||||||
mkfs.vfat -F32 -n STORMUX_BOOT "${loopdev}p1"
|
mkfs.vfat -F32 -n STRMX_BOOT "${loopdev}p1"
|
||||||
mkfs.ext4 -F -L STORMUX_ROOT "${loopdev}p2"
|
mkfs.ext4 -F -L STRMX_ROOT "${loopdev}p2"
|
||||||
mount "${loopdev}p2" /mnt
|
mount "${loopdev}p2" /mnt
|
||||||
mkdir /mnt/boot
|
mkdir /mnt/boot
|
||||||
mount "${loopdev}p1" /mnt/boot
|
mount "${loopdev}p1" /mnt/boot
|
||||||
|
@ -1 +1 @@
|
|||||||
root=LABEL=STORMUX_ROOT rw rootwait console=serial0,115200 console=tty1 fsck.repair=yes
|
root=LABEL=STRMX_ROOT rw rootwait console=serial0,115200 console=tty1 fsck.repair=yes
|
||||||
|
@ -2,5 +2,5 @@
|
|||||||
# See fstab(5) for details.
|
# See fstab(5) for details.
|
||||||
|
|
||||||
# <file system> <dir> <type> <options> <dump> <pass>
|
# <file system> <dir> <type> <options> <dump> <pass>
|
||||||
LABEL=STORMUX_BOOT /boot vfat defaults 0 1
|
LABEL=STRMX_BOOT /boot vfat defaults 0 1
|
||||||
LABEL=STORMUX_ROOT / ext4 defaults,noatime 0 1
|
LABEL=STRMX_ROOT / ext4 defaults,noatime 0 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user