Hi

On Mon, Aug 15, 2005 at 11:43:36AM +0200, Jan Groenewald wrote:
> > /sbin/init: 427: cannot open dev/console : no such file
> > Kernel panic: not syncing. Attempted to kill init!
This was solved by putting devfs=mount at the end of the kernel options
in /boot/grub/menu.1st:

kernel          /vmlinuz-2.6.11 root=/dev/hda2 ro quiet splash devfs=mount

The entire process:

1) some months ago, ide-scsi was not in the
systemimager-boot-i386-standard package's kernel, so I added it with
something like mkbootpackage, which I've now forgotten how. Not
connected to the current problem which seems to be udev.

2) After syncing, inside chroot, /dev/hda is not seen, so device.map is
incorrect, and the MBR is not written. Outside the chroot, in the
systemimager kernel, /dev/hda is seen. So I added to the master script,
after rsync-ing the image, before umounting:

dd if=/a/etc/systemimager/aims/hda.mbr of=/dev/hda bs=512 count=1
cp /a/etc/systemimager/aims/device.map /a/boot/grub/device.map

3) udev still has a problem: /dev/console does not exist. So the image
now has the devfs=mount line in menu.1st as shown at the top.

I have actually only done this all manually, from liveCDs and
systemimager shellout prompts, but a new node has booted, so
I put in all in the master script now and am testing it. Will
report shortly.

cheers,
Jan
-- 
   .~.
   /V\     Jan Groenewald
  /( )\    www.aims.ac.za
  ^^-^^


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Sisuite-users mailing list
Sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to