In order to migrate to reiser4 I created a new partition and copied all my files to that partition except I created dir /sys /dev /proc. Then I tried running:
chroot $1 /bin/bash
MAKEDEV null console zero
(as suggested in http://bbs.archlinux.org/viewtopic.php? … t=reiser4)
where the first line gives me an error to the order /bin/bash is not a directory so I tried just running MAKEDEV null console zero on my old installation. When I tried rebooting into the copied installation I get an error that it can not open the initial console and the boot process hangs. I presume the error is because there are no initial device nodes so I was wondering how to create them for the new partition. I haven't tried booting from the CD yet and executing the commands which is I presume what I am supposed to do, or is there an easier way to make the nodes on the new installation.
Thanks for the help,
If you're in the old partition then just copy your /dev/ with cp -ax to your new partition.
Best way to chroot is to first change to the place you want to become the new dir and then do "chroot ."
I'd just chroot to the new partition and execute 'migrate-udev'. If for any reason it didn't work, I'd just uninstall udev and install it again.
you can also create the new nodes using mknod once chroot'd to the new partition. as someone else has already said, the easiest way is to just cp the old /dev to the new partiton. i'd do this when booted from a livecd. when i converted over the reiser4 i used the mknod method for initctl, null and console.
Something like this:
mknod -m644 initctl p mknod -m644 console c 5 1 mknod -m644 null c 1 3
Thanks for all the help. The problem is fixed