* panic when adding root=/LABEL=/ in grub.conf - newbie
@ 2004-04-07 13:37 sting sting
2004-04-07 14:07 ` Arjan van de Ven
2004-04-07 16:24 ` Andreas Dilger
0 siblings, 2 replies; 3+ messages in thread
From: sting sting @ 2004-04-07 13:37 UTC (permalink / raw)
To: linux-kernel
Hello,
I am working with kenel 2.4.20 on Intel x86.
Now I Had downloaded a kernel source to a different folder and build it.
I added an entry in grub.conf
When I choose to load that kernel everything is OK.
It works wth no problem.
But under /boot I see nothing of the original files (there is only one file
there , kernel.h).
The output of mount is :
/dev/hda3 on / type ext3 (rw)
none on /proc type proc (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /dev/shm type tmpfs (rw)
when I add the following in grub.conf (to the option of choosing to load
this kernel)
root=/LABEL=/
I get the the following panic message:
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
Any idea?
Any help will be appreciated.
Sting
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: panic when adding root=/LABEL=/ in grub.conf - newbie
2004-04-07 13:37 panic when adding root=/LABEL=/ in grub.conf - newbie sting sting
@ 2004-04-07 14:07 ` Arjan van de Ven
2004-04-07 16:24 ` Andreas Dilger
1 sibling, 0 replies; 3+ messages in thread
From: Arjan van de Ven @ 2004-04-07 14:07 UTC (permalink / raw)
To: sting sting; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 729 bytes --]
On Wed, 2004-04-07 at 15:37, sting sting wrote:
> Hello,
>
> I am working with kenel 2.4.20 on Intel x86.
> Now I Had downloaded a kernel source to a different folder and build it.
> I added an entry in grub.conf
> When I choose to load that kernel everything is OK.
> It works wth no problem.
> But under /boot I see nothing of the original files (there is only one file
> there , kernel.h).
you need to use an initrd if you want mount-by-label to work for your
root filesystem.
on a RHL or Fedora system (and I suspect other distros too but I don't
know for sure) just doing a "make install" in the kernel source will
make one for you and put the kernel you just build into the grub config
etc etc etc.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: panic when adding root=/LABEL=/ in grub.conf - newbie
2004-04-07 13:37 panic when adding root=/LABEL=/ in grub.conf - newbie sting sting
2004-04-07 14:07 ` Arjan van de Ven
@ 2004-04-07 16:24 ` Andreas Dilger
1 sibling, 0 replies; 3+ messages in thread
From: Andreas Dilger @ 2004-04-07 16:24 UTC (permalink / raw)
To: sting sting; +Cc: linux-kernel
On Apr 07, 2004 16:37 +0300, sting sting wrote:
> when I add the following in grub.conf (to the option of choosing to load
> this kernel)
>
> root=/LABEL=/
>
> I get the the following panic message:
> 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
Instead, use the correct format, otherwise (as errors say, a device "/LABEL="
cannot be found:
root=LABEL=/
Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-04-07 16:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-07 13:37 panic when adding root=/LABEL=/ in grub.conf - newbie sting sting
2004-04-07 14:07 ` Arjan van de Ven
2004-04-07 16:24 ` Andreas Dilger
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.