You are not logged in.

#1 2012-02-04 19:15:03

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

[SOLVED] Using the UUID instead of the label when installing from USB

I really don't wanna label my USB stick. Can't I just use the UUID instead?

I'm talking about this bit from /arch/boot/syslinux/syslinux.cfg :

LABEL arch
TEXT HELP
Boot the Arch Linux live medium. It allows you to install Arch Linux or
perform system maintenance.
ENDTEXT
MENU LABEL Boot Arch Linux
LINUX /arch/boot/x86_64/vmlinuz
INITRD /arch/boot/x86_64/archiso.img
APPEND archisobasedir=arch archisolabel=ARCH_201108
# Next line should be uncommented when prepare enviroment to boot from PXE.
#IPAPPEND 3

The installer sees it as "/dev/disk/by-label/ARCH_201108".

Is there a way to replace it somehow with "/dev/disk/by-uuid/2BDE-69RA" (USB stick is formatted as FAT32) ?

Maybe using archisouuid=2BDE-69RA instead of archisolabel or something?

Last edited by DSpider (2012-02-04 23:45:14)


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#2 2012-02-04 21:10:58

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED] Using the UUID instead of the label when installing from USB

LABEL arch
TEXT HELP
Boot the Arch Linux live medium. It allows you to install Arch Linux or
perform system maintenance.
ENDTEXT
MENU LABEL Boot Arch Linux
LINUX /arch/boot/x86_64/vmlinuz
INITRD /arch/boot/x86_64/archiso.img
APPEND archisobasedir=arch archisodevice=/dev/disk/by-uuid/2BDE-69RA
# Next line should be uncommented when prepare enviroment to boot from PXE.
#IPAPPEND 3


Now I'm free to label it whatever the heck I want (or not).


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#3 2012-02-04 21:22:23

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED] Using the UUID instead of the label when installing from USB

When you dd the image on to your usb device, the label is added automatically - you don't have to do anything else except run it.

Offline

#4 2012-02-04 23:05:57

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED] Using the UUID instead of the label when installing from USB

Taken from the wiki ("Without overwriting the USB drive"):

"With release 2011.08.19 or later, you can install the Arch image to USB without overwriting its contents. This is slightly more complicated than copying the image directly, but keeps the drive usable for data storage."


Honestly I just wanted a cleaner look - NO labels.

Last edited by DSpider (2012-02-04 23:11:24)


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#5 2014-05-23 22:32:57

Potomac
Member
Registered: 2011-12-25
Posts: 526

Re: [SOLVED] Using the UUID instead of the label when installing from USB

I notice that the "archisodevice=/dev/disk/by-uuid/"  doesn't work with the last archlinux iso ( 2014-05-01 ),

I get an error message from archlinux, he doesn't understand the syntax "archisodevice=/dev/disk/by-uuid/",

I tried to use an usb stick

Offline

#6 2014-05-23 22:54:02

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,740

Re: [SOLVED] Using the UUID instead of the label when installing from USB

This thread was more than two years old and had been marked as solved.  I am going to go ahead and close this thread; feel free to start a new thread with your question.  Thanks


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB