so I have ran into some catastrophic trouble. I was trying to backup my arch linux setup with rsync to my external hard drive but have instead rendered the system unbootable. I followed these instruction https://wiki.archlinux.org/index.php...kup_with_rsync
First I created file "rbackup.sh"
# rsync backup script
sudo sh -c "
rsync -av --delete-excluded --exclude-from=backup.lst / $1;
then "backup.lst" with exclusions
Then I created directory "backup" in /media (hence it's inclusion in the last file to avoid an infinite backup loop).
# mount /dev/sdb1 /media/backup
# ./rbackup.sh /media/backup/
Then I changed the fstab in the backup drive to this (as prescribed in guide):
/dev/pts devpts defaults 0 0
/dev/shm tmpfs defaults 0 0
/dev/sdb1 / ext3 defaults 0 1
At this point I had to leave my room for a short while so I unmounted and shut it off. When I returned the system was unbootable. I get the following error at the filesystem check:
Checking File Systems [BUSY]
Fsck.ext3: No such file on directory while trying to open /dev/sdb1
Possibly non-existent device?
File system check failed.
Give root password for maintenance
(or type Control-D to continue):
When I type password, I immediately notice that things are wrong as bash shows root@(empty): (rather than @my alias).
And everything seems to be gone (my user in /home/ is gone) and no commands work (e.g. vi, nano, sudo, pacman, anything). All the expected directories in / exist but it seems like things were moved to my backup. Luckily, the backup does seem to have all the files that I had asked it to copy over. What could have happened and what should I do now? Thank you for any help.