Skip to content

conf_sync not working after upgrade from 3.x to 4.0.8 #285

@vadonka

Description

@vadonka

Hi!

After i upgrade with the "brave" method the conf_sync.sh drop this error:
mount: mounting /dev/sdb3 on /mnt/conf failed: Invalid argument
I look into it and the reason is this:
mount /mnt/conf also gives this error
fstab looks like this:
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs size=128m,mode=1777 0 0
tmpfs /tmp tmpfs mode=1777,nosuid,noatime 0 0
LABEL=ESOS_BOOT /boot vfat sync,noauto 1 1
LABEL=esos_root /mnt/root ext2 sync,noauto 1 1
LABEL=esos_conf /mnt/conf ext2 sync,noauto 1 1
LABEL=esos_logs /mnt/logs ext2 sync,noauto 1 1

If i issue this: mount LABEL=esos_conf /mnt/conf
it works
mount /mnt/conf does not

`Modifying usb_sync.sh like this is a workaround:

Mount, sync, and unmount

if cat /proc/mounts | awk '{print $2}' | grep -q ${CONF_MNT}; then
if ! grep -q esos_persist /proc/cmdline; then
logger -s -t $(basename ${0}) -p "local4.warn"
"It appears '${CONF_MNT}' is already mounted! Continuing anyway..."
fi
else
mount LABEL=esos_conf ${CONF_MNT} || exit 1
fi`

Any idea why this happening?
It did occured all on my esos install.

Also mounting /mnt/root or /mnt/logs gives the same error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions