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: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 16 Dec 2003 11:31:17 -0800 (PST)

:evs wrote: 
:Looking at it now... 
:cpdup / to /tmp/hd 
:... 
:
:Max wrote: 
: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. 
:
:Max, you correctly diagnosed the problem. I was missing the contents 
:of /dev. All that was needed was to boot from the DF CD and cpdup 
:/dev to /tmp/hd/dev. Now DragonFly boots perfectly from the hard
:disk. 
:Never having used cpdup before, I failed to notice that it does not 
:cross boundaries, which is logical. 
:
:Failing to "mountroot ufs:/dev/ad0s1a" could have indicated to me to 
:check to see if the device node was there to mount... but no error 
:message was given by mountroot, and all of the other files were 
:present on the hard drive ( including /var/* and /tmp ). 
:
:Now all I need is the nge ethernet driver from FreeBSD. 

    Excellent!  I'm glad you got it working.  That's one to file away
    in my memory.  

    Hmm.  You know it seems to me that it would be logical to have the
    init program check that at least /dev/null exists and print something
    out if it doesn't.  Would someone like to post a patch to do that?
    Testing such a patch would be easy, just rename /dev/null and reboot
    and see if init complains :-), then reboot into the CD to fix it.

					-Matt
					Matthew Dillon 
					<dillon@xxxxxxxxxxxxx>



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