
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 6,916 Views
Can anyone show me how to copy and paste the UUID in a test user interface or multi-user .target interface at the exams when the you are not provided with a pen and paper to write the UUID , this is because the UUID is too long to memorize and if you make an error in the /etc/fstab your system can not reboot.
Is it that you can switch target to graphical.target and then copy and paste the UUID?
Are student allowed to switch user interface to graphical.target during RHCSA EX200K individual exams?
Can anyone help me with thses questions.
Thank you.
Accepted Solutions


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 6,835 Views
You could also do (using the appropriate block device, of course):
echo $(blkid /dev/sda1) >> /etc/fstab
Make certain to use >>
Then edit fstab to your liking.
As an aside, and I truly do not mean to be rude: If you did know how to get the information you wanted into the file you wanted, I'll suggest that you probably aren't ready for the RHCSA exam; more studying is in order.
That doesn't mean that you should ask question - in fact, you absolutely should.
I simply mean that this should be a knowledge check for yourself, to determine if you think you are ready for the exam.
My answer, for example, is a RH134 (RHEL 7) solution to the problem. RH134 makes up part of the RCHSA.
Estrella Mountain Community College

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 6,911 Views
You can switch target to graphical.target and then copy and paste the UUID, but you don't need it. You could:
1. Open the file in vim
2. Place the cursor where you want to insert the UUID
3. In command mode, write
:r!blkid /dev/vdXY
(X,Y depend on the file system)
5. The output of this command will be insert in the fstab, and you can delete the part you don't want.
6. Voilà

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 6,899 Views
You could aslo grep the output and append to file. Just don't forget to go back and correct the format. Reboot, and check your work.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 6,847 Views
Thanks


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 6,836 Views
You could also do (using the appropriate block device, of course):
echo $(blkid /dev/sda1) >> /etc/fstab
Make certain to use >>
Then edit fstab to your liking.
As an aside, and I truly do not mean to be rude: If you did know how to get the information you wanted into the file you wanted, I'll suggest that you probably aren't ready for the RHCSA exam; more studying is in order.
That doesn't mean that you should ask question - in fact, you absolutely should.
I simply mean that this should be a knowledge check for yourself, to determine if you think you are ready for the exam.
My answer, for example, is a RH134 (RHEL 7) solution to the problem. RH134 makes up part of the RCHSA.
Estrella Mountain Community College

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 6,781 Views
Thank you so much

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 6,202 Views
You could also run following command which will redirect out put to the file.
blkid -p <device> | tee -a /etc/fstab

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 5,976 Views
Run systemctl isolate graphical.target and this will open up the GUI, in this interface you can copy and paste.