LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-28-2023, 10:50 AM   #1
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
UUID in fstab furing install?


Hi,

is it possible to have UUID in fstab during Slackware install, instead of /dev/sdX?
 
Old 10-28-2023, 11:15 AM   #2
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,686

Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
I am not sure about during the install, but after the install you should be able to drop into a shell, chroot into the new install, edit the fstab then restart.

Last edited by Daedra; 10-28-2023 at 11:18 AM.
 
Old 10-28-2023, 12:03 PM   #3
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Original Poster
Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
yep. The thing is, I have an old HPE server, where during install the SSD is seen as sda and the RAID is seen as sdb. After installation, these seem to switch, so I end up with a non-working system. Many distros use UUID by default for fstab, so are there any chances we'll see this in Slackware?
 
Old 10-29-2023, 03:14 AM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,526

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
Quote:
during install the SSD is seen as sda and the RAID is seen as sdb.
That is very common behavior with Linux distros when using a USB to boot and install from. Easy enough to change after as pointed out above. As to your ? about using UUIDs in fstab, I don't know but I see it would simplify things in some cases.
 
Old 10-29-2023, 07:13 AM   #5
imitis
Member
 
Registered: Oct 2007
Location: Latvia, Liepaja
Distribution: Slackware
Posts: 92

Rep: Reputation: 29
https://docs.slackware.com/howtos:sl...g?s%5B%5D=uuid
 
Old 10-29-2023, 08:52 PM   #6
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,330
Blog Entries: 28

Rep: Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144
Quote:
about using UUIDs in fstab, I don't know but I see it would simplify things in some cases.
The primary benefit I see is that, if you have multiple (external) partitions, it ensures that each is mounted to the same mount point on reboot.

The machine I use as a media center (that's kind of overbilling it--it's a bunch of stuff I collected on Usenet) has three external drives with four total partitions. It was helpful knowing which collection was at which mount point.

Last edited by frankbell; 10-29-2023 at 08:56 PM.
 
Old 10-29-2023, 10:13 PM   #7
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,780

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
Giving each of those filesystems a label and them muonting by LABEL= is a lot more human-compatible than mounting by UUID.
 
4 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] UUID booting: tune2fs cannot set uuid of flash thumb? creates virtual box issue X-LFS-2010 Linux - Newbie 6 06-20-2018 09:28 PM
[SOLVED] /dev/disk/by-uuid/<uuid here> does not exist and initramfs shell Mitt Green Linux - Kernel 4 08-03-2015 11:56 AM
[SOLVED] How to mount by-uuid if the device won't show in /dev/disk/by-uuid untill after blkid /dev/sd* ? masmddr Linux - General 4 01-10-2011 07:38 PM
Change UUID - Edit UUID using the dd command GMHilltop Linux - Newbie 10 10-28-2010 07:39 PM
Volume has problems including no uuid in /dev/disk/by-uuid abejarano Linux - Hardware 3 12-31-2008 08:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration