Hi list, I'm tired with my problem and I hope someone can help... the problem is:
I have my / partition on /dev/sda1, including /boot. But 2 days ago when I did the gentoo instalation I put it on a wrong disk. / partition must be /dev/sdb2, that is connected to a SCSI controler different than /dev/sda, that is connected in another one. Well, when I had / on /dev/sda1 I setup lilo.conf and everything works fine: image=/boot/kernel-genkernel-x86_64-2.6.16-gentoo-r7 label = Gentoo read-only # read-only for checking root=/dev/ram0 append="doscsi init=/linuxrc ramdisk=8192 real_root=/dev/sda1 udev" initrd=/boot/initramfs-genkernel-x86_64-2.6.16-gentoo-r7 But as I said (due to my company rules) I have to put / partition on /dev/sdb2. So, I boot from gentoo livecd and copy the entire /dev/sda1 data to /dev/sdb2. After this I change the lilo.conf as follows: image=/boot/kernel-genkernel-x86_64-2.6.16-gentoo-r7 label = Gentoo read-only # read-only for checking root=/dev/ram0 append="doscsi init=/linuxrc ramdisk=8192 real_root=/dev/sdb2 udev" initrd=/boot/initramfs-genkernel-x86_64-2.6.16-gentoo-r7 But, when I boot the computer I got the following message:
Mounting root...
mkdir: Cannot create directory '/newroot/tmp':Read-only file system mkdir: //newroot/dev/console: No such file or directory mknod: //newroot/dev/tty1: No such file or directory Booting (initramfs)...... chroot: cannot execute /bin/sh: No such file or directory Kernel panic - not syncing: Attempted to kill init! I put Adaptec AARAID module *build in* in the kernel, without it the /dev/sdb2 is not recognized. I generated the kernel using genkernel --menuconfig all. Any clue? Thank you very much. Leandro. -- gentoo-user@gentoo.org mailing list