DragonFly bugs List (threaded) for 2003-12
Re: DF mountroot
Matthew Dillon wrote:
> :I used cpdup to copy DragonFly to my HD. DF begins to boot but hangs
> :on mountroot ufs:/dev/ad0s1a
> Hmm. I can't really tell what's wrong given the information. I would
> start by burning a DragonFly CD with the ISO from the download section
> of the main site.
> If you can boot the DragonFly CD and access your HD from the CD then it
> should be fundamentally possible to load DFly onto the HD and boot
> directly from the HD.
> Matthew Dillon
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
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.