DragonFly BSD
DragonFly bugs List (threaded) for 2003-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: DF mountroot

From: Max Laier <max@xxxxxxxxxxxxxx>
Date: Mon, 15 Dec 2003 11:31:32 +0100

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@xxxxxxxxxxxxxx
Max Laier				| ICQ #67774661
http://pf4freebsd.love2party.net/	| mlaier@EFnet #DragonFlyBSD

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]