I have been able to boot ubuntu 6.6.1 after I added a /dev/console. It looks like initrd is not loaded even after I included it on the command line.
if the initrd image is not used, what is helping udev with the devices? Can some one point me in the right direction to building an initrd correctly for uml. As part of ubuntu 6.10 the init process is being changed. This might be my issue. The install process is fine if your boss will let you use one of the working image files. no luck here. I have to build my system from stock distributions. I have to show document from bare metal to running system. If I use a vm, I must be able to move it from metal to vm and back to metal. ----- Forwarded Message ---- From: n schembr <[EMAIL PROTECTED]> To: [email protected] Sent: Wednesday, January 24, 2007 4:28:34 PM Subject: Re: [uml-user] Fw: Booting ubuntu 6.10 from a physical disk Do I need to build a new initramfs? what changes do I need to make? >From some howto from xen I think I know what to do: cp -a ./lib/modules/* /lib/modules/ depmod 2.6.18.1-bb2 cd /boot/ mkinitramfs -o initrd.img-2.6.18.1-bb2 2.6.18.1-bb2 The initrd.img is now on the host file system. ./vmlinux-2.6.18.1-bb2 initrd=/boot/initrd.img-2.6.18.1-bb2\ umid=base6.10 \ con=pts con0=fd:0,fd:1\ ubd0=b.img \ The initrd file is used in the boot process. I have also tried putting it in the image file. Thank you for your time, Nicholas A. Schembri State College PA USA ----- Original Message ---- From: Adrian Phillips <[EMAIL PROTECTED]> To: n schembr <[EMAIL PROTECTED]> Cc: [email protected] Sent: Tuesday, January 9, 2007 1:03:39 AM Subject: Re: [uml-user] Fw: Booting ubuntu 6.10 from a physical disk >>>>> "Nicholas" == n schembr <[EMAIL PROTECTED]> writes: Nicholas> Thank you for the info. I searched for your name and Nicholas> could not find a how to. >> From looking at howto's and the Book "User Mode Linux", I know >> that I can use any block device to boot from. Nicholas> I have a clean Install of ubuntu 6.10 Edgy on /dev/sde1. Nicholas> I pulled the drive from a working system. Nicholas> filesystem) readonly. Warning: unable to open an Nicholas> initial console. Just guessing here but I wonder whether this has something to do with not running an initrd ? From initramfs-tools init script :- #!/bin/sh mkdir /sys mkdir /proc mkdir /tmp mkdir -p /var/lock mount -t sysfs none /sys -onodev,noexec,nosuid mount -t proc none /proc -onodev,noexec,nosuid # Note that this only becomes /dev on the real filesystem if udev's scripts # are used; which they will be, but it's worth pointing out tmpfs_size="10M" mount -t tmpfs -o size=$tmpfs_size,mode=0755 udev /dev > /dev/.initramfs-tools mkdir /dev/.initramfs mknod /dev/console c 5 1 mknod /dev/null c 1 3 r Note the /dev/console. Sincerely, Adrian Phillips -- Who really wrote the works of William Shakespeare ? http://www.pbs.org/wgbh/pages/frontline/shakespeare/ ------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user ------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
