Avatar
Log In
Please consider registering
Guest
Forum Scope


Match



Forum Options



Min search length: 3 characters / Max search length: 84 characters
Register Lost password?
sp_topic_old
Changing Swap UUID
Avatar
dandl
Lexa, AR
740 Posts
(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
All RSSShow Stats
Administrators:
Jim Hillier
Richard Pedersen
David Hartsock
Moderators:
Carol Bratt
dandl
Jason Shuffield
Jim Canfield
Terry Hollett
Stuart Berg
John Durso
Top Posters:
Chad Johnson: 867
Mindblower: 663
carbonterry2: 356
Flying Dutchman: 278
grr: 211
Newest Members:
Gohighlevelsnapshots
ardellamaragret
KamrynStark
mashley
emmaagro
Forum Stats:
Groups: 8
Forums: 20
Topics: 1940
Posts: 13515

 

Member Stats:
Guest Posters: 11
Members: 3173
Moderators: 7
Admins: 3
Most Users Ever Online: 2303
Currently Online:
Guest(s) 32
Currently Browsing this Page:
1 Guest(s)
Scroll to Top

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!