> Thanks for your reply. But, I need UML for debugging the modules which
> I am writing.
See below.

>> Hi All,
>>
>> I am new to UML and doing it for the first time. When I start the UML
>> ./linux it is panicing. I am not getting what I did wrong.
>>
>> So I am attaching all the steps I did please inform me if any thing is
>> missing or if I have done something wrong.
>>
>> Please help.
>>
>> Thanks and Regards,
>> Prasad.
>>
>> I am using 2.6.20 kernel on i386 machine and OS installed is Ubuntu.
>>
>> Steps I did.
>> ************
>> make menuconfig ARCH=um
>> make ARCH=um
>> a large linux executable was created.
>>
>> Creating and mounting root file system
>> ---------------------------------------
>> dd if=/dev/zero of=my-root_fs count=1 bs=1k seek=$[2*1024*1024]
>> mkreiserfs -f my-root_fs
>>
>> mount -o loop my-root_fs /mnt
>>
>> Installing modules in the root file system
>> -------------------------------------------
>> make modules_install
>> INSTALL_MOD_PATH=/home/prasad/uml/linux-2.6.20/mnt/ ARCH=um
>>
>> Unmount the root file system
>> ---------------------------
>> umount mnt/
You never installed a Linux OS in the filesystem image!
Having the modules is good, but to boot Linux you will need "init".
You can add busybox to your filesystem, or just a static bash and boot 
with init=/bin/bash

>> Ran UML --> which panicked
>> -------
>> ./linux  ubda=my-root_fs
>>
>> Is anything missing?
>>
>> [EMAIL PROTECTED]:/home/prasad/uml/linux-2.6.20# ./linux
>> ubda=my-root_fs
[snip]

>> [42949373.830000] Console initialized on /dev/tty0
>> [42949373.860000] VFS: Cannot open root device "98:0" or
>> unknown-block(98,0)
>> [42949373.860000] Please append a correct "root=" boot option
>> [42949373.860000] Kernel panic - not syncing: VFS: Unable to mount
>> root fs on unknown-block(98,0)
[snip]

Does your UML kernel support the filesystem you created? (reiserfs)

Antoine

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to