LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Adding a Second (Backup) Drive (drive2)

Posted 07-06-2023 at 02:15 PM by beachboy2
Updated 07-07-2023 at 08:29 AM by beachboy2
Tags backup, drive, uuid

Note: If you do not have gedit installed, then install it using:

Code:
sudo apt install gedit
Alternatively, use nano or vim or vi or other text editor instead of gedit.

Then modify your particular UUID settings and username etc using the following procedure:

1. Find the UUID of HDD (drive2) using:

Code:
sudo blkid
NB The blkid results will show /dev/sda* as the main drive partitions and usually /dev/sdb1 refers to...
Senior Member
Posted in Uncategorized
Views 265 Comments 0 beachboy2 is offline
Old
Rating: 2 votes, 5.00 average.

The initramfs will attempt to resume from /dev/sda2..Set the RESUME variable

Posted 02-27-2020 at 02:07 AM by beachboy2

Whilst moving from Linux Mint MATE 18.3 to 19.3 and preserving my Home partition (see another of my blogs), I was surprised to see this warning:

Code:
I: The initramfs will attempt to resume from /dev/sda2
I:     UUID=948396b3-f329-4b5a-9771-1464ff25eca9
I: Set the RESUME variable to override this.
The solution is to add the UUID to this file:

/etc/initramfs-tools/conf.d/resume

using the following command:

...
Senior Member
Posted in Uncategorized
Views 10046 Comments 1 beachboy2 is offline
Old

uuidfstab - Convert fstab contents to a format that uses UUID instead of /dev paths.

Posted 09-04-2012 at 09:09 PM by konsolebox
Updated 05-27-2018 at 03:10 PM by konsolebox
Tags bash, fstab, script, uuid

This script helps a user or admin to automatically convert items in fstab so that they would use UUIDs instead.

uuidfstab[.sh]
Code:
#!/bin/bash

function error {
	echo "$1" >&2
	exit 1
}

function show_usage_and_exit {
	error "Usage: $0 <path_to_fstab_file> [<new_fstab_file>]"
}

function process {
	local FSTABFILE=$1 NEWFSTABFILE=$2 LINE DEVICE TEMPFILE
...
Senior Member
Posted in Howtos
Views 2115 Comments 0 konsolebox is offline

  



All times are GMT -5. The time now is 10:10 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration