Lev Olshvang wrote:
Boker Everybody,
I recently experienced a strange problem:
The system is based on Ubuntu kernel 2.6.28 which I compiled and built
initramfs for it provided with a driver for ide disk (pata_via.ko)
grub should boot this system from the root=/dev/sda1
The boot process stops on a famous message "waiting for a root file
system".
But then it enters the busybox prompt and I see that /dev/sda1 is
indeed exist, I can mount it and access files.
I do not understand this : root device is ready, but boot process is
stuck ??
Simple:
You either use an initramfs, and if so your initramfs should mount the
real root file system itself using switch_root() or you don't use an
initramfs and let the kernel mount it (but then you need the driver
compiled into the kernel).
Gilad
--
Gilad Ben-Yossef
Chief Coffee Drinker & CTO
Codefidence Ltd.
Web: http://codefidence.com
Cell: +972-52-8260388
Tel: +972-8-9316883 ext. 201
Fax: +972-8-9316884
Email: [email protected]
Check out our Open Source technology and training blog - http://tuxology.net
"Now the world has gone to bed
Darkness won't engulf my head
I can see by infra-red
How I hate the night."
_______________________________________________
Linux-il mailing list
[email protected]
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il