ssd
This commit is contained in:
parent
63c8ca620e
commit
e49d5b5c39
@ -445,7 +445,7 @@ liveOSrestore() {
|
|||||||
echo "[Transferring Currenting Running OS from $LIVE_OS_DM to $HARD_DISK ]"
|
echo "[Transferring Currenting Running OS from $LIVE_OS_DM to $HARD_DISK ]"
|
||||||
echo
|
echo
|
||||||
mount $LIVE_OS_DM /tmp/live
|
mount $LIVE_OS_DM /tmp/live
|
||||||
|
|
||||||
cd /tmp/live/$LIVE_OS_SUBVOL
|
cd /tmp/live/$LIVE_OS_SUBVOL
|
||||||
rsync -a --delete . --exclude=home/* --exclude=.snapshots/* --exclude=sys/* --exclude=dev/* --exclude=proc/* --exclude=run/* $TARGET/
|
rsync -a --delete . --exclude=home/* --exclude=.snapshots/* --exclude=sys/* --exclude=dev/* --exclude=proc/* --exclude=run/* $TARGET/
|
||||||
fstab
|
fstab
|
||||||
@ -813,8 +813,10 @@ menu() {
|
|||||||
read -p 'Backup Home Directory? : ' -e -i 'n' home_backup
|
read -p 'Backup Home Directory? : ' -e -i 'n' home_backup
|
||||||
read -p 'OS Backup Directory Location : ' -e -i "/mnt" backup_directory
|
read -p 'OS Backup Directory Location : ' -e -i "/mnt" backup_directory
|
||||||
if [[ $home_backup = *n* ]]; then
|
if [[ $home_backup = *n* ]]; then
|
||||||
|
setDevices
|
||||||
osBackup "none" "$backup_directory" "$ROOT_NAME"
|
osBackup "none" "$backup_directory" "$ROOT_NAME"
|
||||||
else
|
else
|
||||||
|
setDevices
|
||||||
osBackup "home" "$backup_directory" "$ROOT_NAME"
|
osBackup "home" "$backup_directory" "$ROOT_NAME"
|
||||||
fi
|
fi
|
||||||
elif [[ $choice = 6 ]]; then
|
elif [[ $choice = 6 ]]; then
|
||||||
@ -1009,7 +1011,6 @@ compile-kernel() {
|
|||||||
time make install
|
time make install
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
fixBase() {
|
fixBase() {
|
||||||
sudo emerge glibc go sys-apps/acl
|
sudo emerge glibc go sys-apps/acl
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user