You are not logged in.

#1 2006-03-14 15:51:42

civ247
Member
Registered: 2005-08-05
Posts: 53

LABEL= boot option

I tried to use the LABEL boot option but it doesnt seem to work. Is it supported wiht the current initrd?

E.g:

        # Arch Linux
        title   Arch Linux
        kernel  /boot/vmlinuz26 root=LABEL=foo

Offline

#2 2006-03-14 18:52:02

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: LABEL= boot option

I believe the syntax is

 kernel /boot/vmlinuz26 root=foo

does this not work?

Offline

#3 2006-03-14 19:49:07

civ247
Member
Registered: 2005-08-05
Posts: 53

Re: LABEL= boot option

Penguin wrote:

I believe the syntax is

 kernel /boot/vmlinuz26 root=foo

does this not work?

That is the standard syntax e.g. kernel /boot/vmlinuz26 root=/dev/hda*

However rather than pointing it at a drive in /dev, you can refer to to the name of the filesystem.

If the name of your root filesystem were 'my_hd', you could do somehting like this:

kernel /boot/vmlinuz26 root=LABEL=my_hd

The idea is that it no longer matters whether your drive is hda1, hda2 or hda3 - it will always go for the one with the correct name.

This is usefull when booting from a pen drive because depending on what else is plugged the drive may be sda, sdb, sdc etc . . .

You can use a program called e2label label/relabel your filesystem.

Offline

#4 2006-03-14 19:59:12

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: LABEL= boot option

I meant root=my_hd instead of root=LABEL=my_hd   no `=LABEL'

Anyways, I've never tried the labeling thing on arch so I can't help you too much -just wanted to point the syntax thing out.

Offline

#5 2006-03-14 20:02:27

civ247
Member
Registered: 2005-08-05
Posts: 53

Re: LABEL= boot option

Penguin wrote:

I meant root=my_hd instead of root=LABEL=my_hd   no `=LABEL'

Anyways, I've never tried the labeling thing on arch so I can't help you too much -just wanted to point the syntax thing out.

Ill give it a try. I dont know much about it either smile roo=LABEL= is whats used on RH systems anyway.

Offline

Board footer

Powered by FluxBB