Skip to contentSkip to conversation

Linux Issue

DISCUSSION kavitha s 11 participants 19 messages Feb 1, 2006 – Feb 3, 2006

lore
Share & tools
lore

kavitha s

author
#0 lore raw

Hi,
I have some problem while booting inside linux,so
tried to boot in single user mode for some changes in /etc/grub.conf.But iam not able to boot in single user mode.It is giving error message as

ds: no socket drivers loaded!
VFS: Cannot open root device "LABEL=/" or 00:00
Please append a correct "root=" boot option

 Kernel panic: VFS: Unable to mount root fs on 00:00

Please i need a solution to proceed my work as soon
as possible.

regards,
kavitha.

__________________________________________________________
Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com

#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Quoted 9 lines · kavitha s

Hi,
I have some problem while booting inside linux,so
tried to boot in single user mode for some changes in /etc/grub.conf.But iam not able to boot in single user mode.It is giving error message as

ds: no socket drivers loaded!
VFS: Cannot open root device "LABEL=/" or 00:00
Please append a correct "root=" boot option

Quoted 8 lines
 Kernel panic: VFS: Unable to mount root fs on 00:00

Please i need a solution to proceed my work as soon
as possible.

regards,
kavitha.

Hi,

1.) no need to post the same message twice. This is a mailing list so it may take some time until a response is written.

2.) This is the absolute wrongest list you could find for your question. This mailing list is for linux kernel development. Here we discuss bugs and pachtes for the linux kernel. We DO NOT answer "I fubared my computer, plz help"-type of questions.

There are enough linux communities who can help you with your problem (e.g. linuxquestions.org) please refer to them.

cu
Andre
- --

- -----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS d-(--) s++:-a- c++(++) UL+++(+) P--- L++ ! EW++ !N !o K? w--- O@ M? V? PS+ PE- Y+ PGP+++ t+ 5++ X++ R+ tv+ b++ DI- D+ Ge+++ hr(-) y+(+)
- ------END GEEK CODE BLOCK------

Yoda:   dunkel die andere Seite ist ... sehr dunkel
Obiwan: Jaja, schon gut. Jetzt iss endlich den Toast

- -------------------------------

My public key can be found at
http://www.keyserver.net
my fingerprint is

     302C FD91 2CE0 487E E086 EEBC D8D9 2865 E32F 4D56
#2 lore raw

root=LABEL= problem [Was: Re: Linux Issue]

In reply to kavitha s
Quoted 8 lines

Hi,
I have some problem while booting inside linux,so
tried to boot in single user mode for some changes in /etc/grub.conf.But iam not able to boot in single user mode.It is giving error message as

ds: no socket drivers loaded!
VFS: Cannot open root device "LABEL=/" or 00:00

change root=LABEL=/ to root=/dev/XXX. Vanilla doesn't support this... Next time, use google first. And when you decide to writo to lkml, choose better Subject.

regards,
--
Jiri Slaby www.fi.muni.cz/~xslaby
~\-/~ [email protected] ~\-/~
B67499670407CE62ACC8 22A032CC55C339D47A7E

#3 lore raw

Re: root=LABEL= problem [Was: Re: Linux Issue]

Hi,

Quoted 10 lines
Quoted 7 lines

I have some problem while booting inside linux,so
tried to boot in single user mode for some changes in /etc/grub.conf.But iam not able to boot in single user mode.It is giving error message as

ds: no socket drivers loaded!
VFS: Cannot open root device "LABEL=/" or 00:00

change root=LABEL=/ to root=/dev/XXX. Vanilla doesn't support this...

is there a kernel patch that does allow it?

Jan Engelhardt

#4 lore raw

Re: root=LABEL= problem [Was: Re: Linux Issue]

On Wed, 2006-02-01 at 17:14 +0100, Jan Engelhardt wrote:
[...]

Quoted 3 lines
Quoted 2 lines

change root=LABEL=/ to root=/dev/XXX. Vanilla doesn't support this...

is there a kernel patch that does allow it?

Yes, in RedHat's/Fedora's kernels since ages.

Bernd

Signature · 3 lines
Firmix Software GmbH                   http://www.firmix.at/
mobil: +43 664 4416156                 fax: +43 1 7890849-55
          Embedded Linux Development and Services
#5 lore raw

Re: root=LABEL= problem [Was: Re: Linux Issue]

Quoted 7 lines

[...]

Quoted 3 lines
Quoted 2 lines

change root=LABEL=/ to root=/dev/XXX. Vanilla doesn't support this...

is there a kernel patch that does allow it?

Yes, in RedHat's/Fedora's kernels since ages.

Thanks, I'll see if it's of use to me.

Jan Engelhardt

#6 lore raw

Re: root=LABEL= problem [Was: Re: Linux Issue]

Quoted 1 line · On Wed, 1 Feb 2006 17:18:56 +0100 (MET) Jan Engelhardt…
Quoted 1 line

Yes, in RedHat's/Fedora's kernels since ages.

Label processing in Red Hat/Fedora distributions is not handled in the
kernel at all (thus you won't find a patch). It's all done in user space
via the initrd and works with vanilla kernels without a problem.

Sean

#7 lore raw

Re: root=LABEL= problem [Was: Re: Linux Issue]

In reply to Bernd Petrovitsch
Quoted 7 lines · Bernd Petrovitsch

On Wed, 2006-02-01 at 17:14 +0100, Jan Engelhardt wrote:
[...]

Quoted 3 lines
Quoted 2 lines

change root=LABEL=/ to root=/dev/XXX. Vanilla doesn't support this...

is there a kernel patch that does allow it?

Yes, in RedHat's/Fedora's kernels since ages.

wrong.
there is NO kernel patch for this. Not in RHs and not in Fedora's kernel.
Never was either.
it's 100% done in the initrd.

#8 lore raw

Re: root=LABEL= problem [Was: Re: Linux Issue]

Quoted 7 lines · Arjan van de Ven
Quoted 6 lines · Bernd Petrovitsch

On Wed, 2006-02-01 at 17:14 +0100, Jan Engelhardt wrote:
[...]

Quoted 3 lines
Quoted 2 lines

change root=LABEL=/ to root=/dev/XXX. Vanilla doesn't support this...

is there a kernel patch that does allow it?

Quoted 8 lines
Quoted 1 line

Yes, in RedHat's/Fedora's kernels since ages.

wrong.
there is NO kernel patch for this. Not in RHs and not in Fedora's kernel.
Never was either.
it's 100% done in the initrd.

Isn't this a matter of the bootloader ?

--
J.A. Magallon <jamagallon()able!es> \ Software is like sex:
werewolf!able!es \ It's better when it's free
Mandriva Linux release 2006.1 (Cooker) for i586
Linux 2.6.15-jam7 (gcc 4.0.2 (4.0.2-1mdk for Mandriva Linux release 2006.1))

#9 lore raw

Re: root=LABEL= problem [Was: Re: Linux Issue]

Quoted 9 lines · J.A. Magallon
Quoted 7 lines · Arjan van de Ven
Quoted 6 lines · Bernd Petrovitsch

On Wed, 2006-02-01 at 17:14 +0100, Jan Engelhardt wrote:
[...]

Quoted 3 lines
Quoted 2 lines

change root=LABEL=/ to root=/dev/XXX. Vanilla doesn't support this...

is there a kernel patch that does allow it?

Quoted 7 lines
Quoted 7 lines
Quoted 1 line

Yes, in RedHat's/Fedora's kernels since ages.

wrong.
there is NO kernel patch for this. Not in RHs and not in Fedora's kernel.
Never was either.
it's 100% done in the initrd.

Oooops, sorry.
s/RedHat's\/Fedora's kernels/RedHa\/Fedora/

Quoted 1 line

Isn't this a matter of the bootloader ?

No, because it is merely used as a kernel parameter (which led me to the false conclusion that it is done within the kernel) and the kernel either mounts the root filesystem (without initrd) or it is handled within the initrd (if you have one).

Bernd

Signature · 3 lines
Firmix Software GmbH                   http://www.firmix.at/
mobil: +43 664 4416156                 fax: +43 1 7890849-55
          Embedded Linux Development and Services
#10 lore raw

Re: root=LABEL= problem [Was: Re: Linux Issue]

In reply to J.A. Magallon
Quoted 3 lines · J.A. Magallon
Quoted 1 line

it's 100% done in the initrd.

Isn't this a matter of the bootloader ?

The boot loader knows very little and the BIOS may not even be able to drive some of the hardware to go looking for volume labels. The sequence used is that the initrd is the root file system and contains application code run very early on in order to find out where the 'real' root fs is by label. Having mounted that it can then pivot_root() itself into the final desired configuration.

All userspace, and all the initrd building is done by a tool called mkinitrd.

Alan

#11 lore raw

Re: root=LABEL= problem [Was: Re: Linux Issue]

Quoted 13 lines · Alan Cox
Quoted 3 lines · J.A. Magallon
Quoted 1 line

it's 100% done in the initrd.

Isn't this a matter of the bootloader ?

The boot loader knows very little and the BIOS may not even be able to drive some of the hardware to go looking for volume labels. The sequence used is that the initrd is the root file system and contains application code run very early on in order to find out where the 'real' root fs is by label. Having mounted that it can then pivot_root() itself into the final desired configuration.

Quoted 2 lines

All userspace, and all the initrd building is done by a tool called mkinitrd.

... which gets done for you automatically if you use "make install" from the kernel sources after building. In addition "make install" is nice enough for you to add the new kernel to your bootloader.

(and no this isn't a kernel patch either; "make install" basically has a hook for a distribution specific script to be run, which at least for Fedora causes the initrd to be made and the kernel+initrd to be added to the bootloader)

#12 lore raw

Re: root=LABEL= problem [Was: Re: Linux Issue]

In reply to Jiri Slaby
Quoted 9 lines · Jiri Slaby
Quoted 8 lines

Hi,
I have some problem while booting inside linux,so
tried to boot in single user mode for some changes in /etc/grub.conf.But iam not able to boot in single user mode.It is giving error message as

ds: no socket drivers loaded!
VFS: Cannot open root device "LABEL=/" or 00:00

change root=LABEL=/ to root=/dev/XXX. Vanilla doesn't support this...

ehhh??
sure it does.

this is not a kernel feature, but an initrd feature, independent on which kernel is used (there never was and is not a patch for this in any distro kernel I know about)

#13 lore raw

Re: root=LABEL= problem [Was: Re: Linux Issue]

Quoted 11 lines · Arjan van de Ven
Quoted 3 lines · Jiri Slaby
Quoted 2 lines

ds: no socket drivers loaded!
VFS: Cannot open root device "LABEL=/" or 00:00

change root=LABEL=/ to root=/dev/XXX. Vanilla doesn't support this...

ehhh??
sure it does.

this is not a kernel feature, but an initrd feature, independent on which kernel is used (there never was and is not a patch for this in any distro kernel I know about)

Ok, thank you for pointing that out.

thanks,
--
Jiri Slaby www.fi.muni.cz/~xslaby
~\-/~ [email protected] ~\-/~
B67499670407CE62ACC8 22A032CC55C339D47A7E

#14 lore raw

Re: root=LABEL= problem [Was: Re: Linux Issue]

Quoted 4 lines
Quoted 4 lines
Quoted 3 lines
Quoted 2 lines

ds: no socket drivers loaded!
VFS: Cannot open root device "LABEL=/" or 00:00

change root=LABEL=/ to root=/dev/XXX. Vanilla doesn't support this...

Quoted 8 lines
Quoted 6 lines

ehhh??
sure it does.

this is not a kernel feature, but an initrd feature, independent on which kernel is used (there never was and is not a patch for this in any distro kernel I know about)

Ok, thank you for pointing that out.

So does someone have a kernel-side patch for enabling LABEL=? (Is the kernel even able to tell the label of a filesystem, or is that specific to mount(8)?)

Jan Engelhardt

#15 lore raw

Re: root=LABEL= problem [Was: Re: Linux Issue]

Quoted 7 lines · Jan Engelhardt
Quoted 7 lines
Quoted 7 lines
Quoted 3 lines
Quoted 2 lines

ds: no socket drivers loaded!
VFS: Cannot open root device "LABEL=/" or 00:00

change root=LABEL=/ to root=/dev/XXX. Vanilla doesn't support this...

ehhh??
sure it does.

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

this is not a kernel feature, but an initrd feature, independent on which kernel is used (there never was and is not a patch for this in any distro kernel I know about)

Ok, thank you for pointing that out.

So does someone have a kernel-side patch for enabling LABEL=?

I'm not aware of one existing.

Quoted 3 lines

(Is the
kernel even able to tell the label of a filesystem, or is that specific to mount(8)?)

currently the kernel is fully unaware of any labels, other than having the space reserved in the various filesystem on disk metadata.

This is one of those things that is better done in userspace really.....

#16 lore raw

Re: root=LABEL= problem [Was: Re: Linux Issue]

Hello,

do you have RAID array or a newly confiured RAID

Kind Regards
Samer

Quoted 36 lines · Arjan van de Ven
Quoted 7 lines · Jan Engelhardt
Quoted 7 lines
Quoted 7 lines
Quoted 3 lines
Quoted 2 lines

ds: no socket drivers loaded!
VFS: Cannot open root device "LABEL=/" or 00:00

change root=LABEL=/ to root=/dev/XXX. Vanilla doesn't support this...

ehhh??
sure it does.

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

this is not a kernel feature, but an initrd feature, independent on which kernel is used (there never was and is not a patch for this in any distro kernel I know about)

Ok, thank you for pointing that out.

So does someone have a kernel-side patch for enabling LABEL=?

I'm not aware of one existing.

Quoted 3 lines

(Is the
kernel even able to tell the label of a filesystem, or is that specific to mount(8)?)

currently the kernel is fully unaware of any labels, other than having the space reserved in the various filesystem on disk metadata.

This is one of those things that is better done in userspace really.....

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

#17 lore raw

Re: root=LABEL= problem [Was: Re: Linux Issue]

Quoted 4 lines · Samer Azmy

Hello,

do you have RAID array or a newly confiured RAID

What do you want to know ? Ask questions specifically mentioning the problem in detail !

Also Please start new threads/topic for questions not related to any other previous topic !

--
Fawad Lateef

#18 lore raw

Re: root=LABEL= problem [Was: Re: Linux Issue]

Quoted 11 lines · Fawad Lateef
Quoted 3 lines · Samer Azmy

do you have RAID array or a newly confiured RAID

What do you want to know ? Ask questions specifically mentioning the problem in detail !

Also Please start new threads/topic for questions not related to any other previous topic !

Sorry Sameer, I think you want to ask this from Jan Engelhardt which I misunderstood that you are asking some new question as your reply getting off-the-topic !

--
Fawad Lateef