Changing Swap UUID

This forum requires Javascript to be enabled for posting content

Please consider registering
Guest

Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

Register Lost password?
Changing Swap UUID
dandl
Lexa, AR
Moderator
Forum Posts: 698
Member Since:
April 29, 2013
Offline
1
October 10, 2019 - 12:54 pm

Was playing with my Linux Mint OS and I somehow got the boot time all screwed up. Word of caution, never try a dual boot with a Ubuntu based distro with Arch, it will work, but not without consequences. Anyway, to fix the Mint boot time I had to run a few commands.
Open Terminal and run " lsblk -f "
NAME FSTYPE LABEL UUID MOUNTPOINT
sdc
├─sdc1 ext4 Home 7bfb59b4-d6d1-4d94-86de-09ef40b970f3 /home
├─sdc2 ext4 LMint c7629b72-3e1a-443f-b36a-6296bd9a08bf /
└─sdc3 swap f9d85fab-2b1e-4a4f-8e8d-064fcd1f60b7

This is the output for my linux drive

Now open a second terminal and keep both terminals open and run " sudo nano /etc/fstab "
UUID=c7629b72-3e1a-443f-b36a-6296bd9a08bf / ext4 errors=remount-ro 0 1
UUID=7bfb59b4-d6d1-4d94-86de-09ef40b970f3 /home ext4 defaults 0 2
UUID=f9d85fab-2b1e-4a4f-8e8d-064fcd1f60b7 swap sw 0 0

Compare the swap UUID's to make sure they are the same
Due to my ignorance, mine had gotten changed due to the dual boot with Arch
to this UUID=0d2ccae3-a730-4730-bd51-7452359c78e2

The sudo nano /etc/fsab will show the original swap UUID
If different, then change back to the original UUID
The lsblk -f will show what swap UUID is being used
Using nano I copied and pasted the fstab file
to the lsblk -f file and deleted the other UUID
Boot time is now restored to what it used to be.

Forum Timezone: America/Indiana/Indianapolis

Most Users Ever Online: 271

Currently Online:
20 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Member Stats:

Guest Posters: 10

Members: 2413

Moderators: 7

Admins: 4

Forum Stats:

Groups: 8

Forums: 19

Topics: 1806

Posts: 12981

Administrators: Jim Hillier, Richard Pedersen, David Hartsock, Marc Thomas

Moderators: Carol Bratt, dandl, Jason Shuffield, Jim Canfield, Terry Hollett, Dick Evans, Sergey Grankin

Exit mobile version

WHY NOT SUBSCRIBE TO OUR NEWSLETTER?

Get great content like this delivered to your inbox!

It's free, convenient, and delivered right to your inbox! We do not spam and we will not share your address. Period!