Avatar
Please consider registering
guest
sp_LogInOut Log Insp_Registration Register
Register | Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Feed Topic RSSsp_topic_old
Changing Swap UUID
Avatar
dandl
Lexa, AR
Moderator
Members

Moderators
October 10, 2019 - 12:54 pm
Member Since: April 28, 2013
Forum Posts: 740
sp_UserOfflineSmall Offline

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: 2303
Currently Online:
Guest(s) 56
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Chad Johnson: 867
Mindblower: 684
carbonterry2: 356
Flying Dutchman: 278
grr: 211
Member Stats:
Guest Posters: 11
Members: 3235
Moderators: 7
Admins: 3
Forum Stats:
Groups: 8
Forums: 20
Topics: 1959
Posts: 13578
Newest Members:
EndaDeRoade, Oliviamurphy, JohnsonXandra, miaalexandra, Toastmaster
Moderators: Carol Bratt: 67, dandl: 740, Jason Shuffield: 1, Jim Canfield: 8, Terry Hollett: 0, Stuart Berg: 0, John Durso: 0
Administrators: Jim Hillier: 2709, Richard Pedersen: 215, David Hartsock: 1117
Scroll to Top