[Cialug] Force Disk to /dev/sda, /dev/sdb, Etc?
Paul Gray
gray at cs.uni.edu
Wed Apr 20 09:44:53 CDT 2016
On 04/20/2016 09:31 AM, Paul Gray wrote:
> briareus:~# cat /etc/fstab
> # /etc/fstab: static file system information.
> #
> # <file system> <mount point> <type> <options> <dump> <pass>
> proc /proc proc defaults 0 0
> LABEL=NODEROOT / ext3
> defaults,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 0 1
> LABEL=NODEBOOT /boot ext3 errors=remount-ro 0 1
> LABEL=NODESWAP none swap sw 0 0
>
> -----------
>
> root at delli7:~# blkid
> /dev/sda1: LABEL="ROOT" UUID="963d5f74-c79c-49c5-b35c-8bdaab3e9376"
> TYPE="ext4" PARTUUID="60153020-01"
> /dev/sda5: LABEL="SWAP" UUID="b7511555-bbb1-432b-9e7d-e3cce5de4428"
> TYPE="swap" PARTUUID="60153020-05"
>
> _______________________________________________
One more example showing LABEL use in grub (from my USB Debian boot stick):
--------------
root at grayzing:~# grep LABEL /boot/grub/grub.cfg -C2
fi
echo 'Loading Linux 3.2.0-4-amd64 ...'
linux /boot/vmlinuz-3.2.0-4-amd64 root=LABEL=USBROOT ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.2.0-4-amd64
--------------
-Paul
More information about the Cialug
mailing list