DF mountroot

Max Laier max at love2party.net
Mon Dec 15 02:31:32 PST 2003

evs wrote:
Looking at it now, my explanation was too brief. I did everything you
suggested. I used a HD with FreeBSD 4.8 installed. 
ISO from  ftp://chlamydia.fs.ei.tum.de/pub/DragonFly/snapshots
burned a CD of the ISO
I booted from the DF CD
used newfs to format the HD slice /dev/ad0s1a
mounted the HD on /tmp/hd
went to init 1
cpdup / to /tmp/hd
I think you are missing /dev, /var and maybe even a properly set-up 
/tmp. As they are mounted from seperate (mfs) partitions with the cd 
boot $cpdup / /tmp/hd won't copy them as well. See /README on the cd.

removed loader.conf from HD
edited /tmp/hd/etc/fstab based upon the example
removed the DF CD, rebooted, and DragonFly began to boot (
beautifully, I might add )
... until it reaches mountroot ufs:/dev/ad0s1a, which it begins, and
then hangs indefinitely. I would suspect it's a problem with
/etc/fstab, but mine's so simple, I don't see what's wrong. Maybe it's
right under my nose.
btw - when i tried to mount the original FreeBSD UFS slice, DF
complained about a wrong superblock until I used newfs to reformat the
slice. This was a surprise but, easy to get around.

Best regards,				| max at xxxxxxxxxxxxxx
Max Laier				| ICQ #67774661
http://pf4freebsd.love2party.net/	| mlaier at EFnet #DragonFlyBSD

More information about the Bugs mailing list