Armin K. wrote:
> On 07/25/2012 02:25 AM, Juan Antonio Pedreira Martos wrote:

>> And finally, to make fstab label-dependant, edit /etc/fstab and
>> replace /dev/sdaX (and /dev/sdaY) with LABEL=LFS_ROOT (and
>> LABEL=LFS_SWAP).

> I prefer UUID=... It is always available, it is tied to ONE partition
> and it is UNIQUE. No need to label anything. Just run "blkid" and you'll
> get UUID's for all of your partitions. But ... You can't use neither
> UUID nor LABEL in grub unless you use initramfs. I have been using UUID
> in my fstab for a long time and never had any problems.

Right.  We do mention that as a factor in

http://www.linuxfromscratch.org/blfs/view/svn/postlfs/initramfs.html

Either label of uuid works fine for partitions other than /, even 
without an intiramfs.

Generally though, we don't go into all the different methods that can be 
used for things like fstab.  That's where the man pages are useful.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to