Avatar
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?
sp_Feed sp_topic_old
Changing Swap UUID
Avatar
dandl
Lexa, AR
Moderator
Members

Moderators
Forum Posts: 740
Member Since:
April 29, 2013
sp_UserOfflineSmall Offline
1
October 10, 2019 - 12:54 pm
sp_Permalink sp_Print sp_EditHistory

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) 154
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Chad Johnson: 867
Mindblower: 701
carbonterry2: 356
Flying Dutchman: 278
grr: 211
Newest Members:
sunny01
snave53
daleoS
annaeat
BjourneX
Forum Stats:
Groups: 8
Forums: 20
Topics: 1974
Posts: 13651

 

Member Stats:
Guest Posters: 11
Members: 3256
Moderators: 7
Admins: 3
Administrators: Jim Hillier, Richard Pedersen, David Hartsock
Moderators: Carol Bratt, dandl, Jason Shuffield, Jim Canfield, Terry Hollett, Stuart Berg, John Durso
Scroll to Top