Beiträge von doc_rob

    I was quite sure there is a better way. It would also make more sense to install grub after copying all the files to a new disk (and updating /etc/fstab). Is there a script or at least a howto?
    I guess it would go like this:
    -) partition new harddisk
    -) get the UUIDs
    -) update fstab
    -) install grub


    Did i forgot something?

    Hello, my name is Robert and i live in Austria. I've been playing with OMV for a couple of weeks and i am impressed with its features and its usability (speed of webinterface and layout). I specially like the virtualbox plugin and snap-raid (which i had no time to configure yet).
    I the system backup tab from th openmediavault-backup 1.0.11 plugin i think i found a small bug. It is essentially a rsync and after that two dd for the bootsector. The dd command makes a backup from sda1 which is useless IMO it should be sda.
    In /usr/share/openmediavault/mkconf/backup there is a line :
    SYSDRIVE="$(ls -l /dev/disk/by-uuid/ | grep $SYSDRIVE_UUID | awk '{print $11}' | sed 's/..\/..\///g')"
    which gives as Result: sda1.
    I modified it to:
    SYSDRIVE="$(ls -l /dev/disk/by-uuid/ | grep $SYSDRIVE_UUID | awk '{print $11}' | sed 's/..\/..\///g' | sed 's/1//g')"
    now the result is sda.
    I am sure there is a better way but i didn't know how.


    best regards.
    robert