mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Failure to mount root fs ...
@ 2001-09-04 14:28 Patrick Allaire
  2001-09-04 15:01 ` Frank Schneider
  0 siblings, 1 reply; 2+ messages in thread
From: Patrick Allaire @ 2001-09-04 14:28 UTC (permalink / raw)
  To: linux-kernel

Hi all,

I am currently trying to boot for a DiscOnChip with mtd drivers. When I boot
the system stop with the following message : "Kernel panic: VFS: Unable to
mount root fs on 03:05" !

I know that o3:05 mean : /dev/hda5. HTis is where I did compile my kernel
... but now the kernel is on /dev/nftla1 ... but the lilo.conf on this
device is configured to nftla1 and I did run lilo??? so I dont know where
the kernel take this information about boot ing on /dev/hda5 ??? I am using
the lilo modified to support mtd.

here is my lilo.conf

boot=/dev/nftla
map=/boot/map
install=/boot/boot.b-mtd
vga=extended
image=/boot/bzImage
label=s
root=/dev/nftla1
read-write



Patrick Allaire
mailto:pallaire@gameloft.com
If you can see it, but it's not there, it's virtual. 
If you can't see it, but it is there, it's hidden. 
It you can't see it and it isn't there, it's gone.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Failure to mount root fs ...
  2001-09-04 14:28 Failure to mount root fs Patrick Allaire
@ 2001-09-04 15:01 ` Frank Schneider
  0 siblings, 0 replies; 2+ messages in thread
From: Frank Schneider @ 2001-09-04 15:01 UTC (permalink / raw)
  To: Patrick Allaire; +Cc: linux-kernel

Patrick Allaire schrieb:
> 
> Hi all,
> 
> I am currently trying to boot for a DiscOnChip with mtd drivers. When I boot
> the system stop with the following message : "Kernel panic: VFS: Unable to
> mount root fs on 03:05" !
> 
> I know that o3:05 mean : /dev/hda5. HTis is where I did compile my kernel
> ... but now the kernel is on /dev/nftla1 ... but the lilo.conf on this
> device is configured to nftla1 and I did run lilo??? so I dont know where
> the kernel take this information about boot ing on /dev/hda5 ??? I 

The Kernel gets this info at compile-time, it is only overridable by a
kernel-argument ("root=..."), this is what lilo does.

If you want to change this so called "root-device" inside the kernel,
you should take a look at the tool "rdev" and its man-page.

I had the same problem some time ago as i wanted to build a
boot-diskette without any loader like lilo or loadlin, etc.

As the kernel contains an i386 bootsector, it should be able to boot
itself if it is copied on a diskette and the bios jumps to its
begin...but then you cannot say the kernel, where the root-filesystem
is, so you have to change the root-device inside the compiled kernel,
and this does "rdev". 

Unfortunately, it did not work for me, so i switched back to
loadlin...:-((...but i tried it only one time, perhaps *i* made a
mistake and not the tool...:-)

Solong..
Frank.

--
Frank Schneider, <SPATZ1@T-ONLINE.DE>.                           
Microsoft isn't the answer.
Microsoft is the question, and the answer is NO.
... -.-

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-09-04 15:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-04 14:28 Failure to mount root fs Patrick Allaire
2001-09-04 15:01 ` Frank Schneider

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®