From owner-freebsd-current Sun Apr 15 21:27:45 2001 Delivered-To: freebsd-current@freebsd.org Received: from updraft.jp.freebsd.org (updraft.jp.FreeBSD.ORG [210.157.158.42]) by hub.freebsd.org (Postfix) with ESMTP id 2A9B537B43E for ; Sun, 15 Apr 2001 21:27:41 -0700 (PDT) (envelope-from matusita@jp.FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by updraft.jp.freebsd.org (8.11.3+3.4W/8.11.3) with ESMTP/inet id f3G4Rb884575 for ; Mon, 16 Apr 2001 13:27:38 +0900 (JST) (envelope-from matusita@jp.FreeBSD.org) X-Face: '*aj"d@ijeQ:/X}]oM5c5Uz{ZZZk90WPt>a^y4$cGQp8:!H\W=hSM;PuNiidkc]/%,;6VGu e+`&APmz|P;F~OL/QK%;P2vU>\j4X.8@i%j6[%DTs_3J,Fff0)*oHg$A.cDm&jc#pD24WK@{,"Ef!0 P\):.2}8jo-BiZ?X&t$V X-User-Agent: Mew/1.94.2 XEmacs/21.2 (Urania) X-FaceAnim: (-O_O-)(O_O- )(_O- )(O- )(- -)( -O)( -O_)( -O_O)(-O_O-) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Dispatcher: imput version 20000228(IM140) Lines: 49 From: Makoto MATSUSHITA To: current@freeBSD.org Subject: Failed using CD-ROM as root filesystem Date: Mon, 16 Apr 2001 13:27:24 +0900 Message-Id: <20010416132724H.matusita@jp.FreeBSD.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I've tried to use (bootable) CD-ROM as root filesystem (I want have this because it's good alternative of fixit.flp), but it seems that GENERIC kernel doesn't understand where is root filesystem. What I did are: - make a 2.88MB boot floppy image, which contains: * GENERIC kernel (gzipped) * loader(8) * configulation files for loader: device hints & 'set boot_cdrom' - make an ISO image with, which contains: * floppy image (mentioned above) for boot * extracted distributions - Burn an ISO image to a CD - Boot... * loader(8) works well; initializing is OK, and kicks kernel.gz * kernel works well until all devices are attached * kernel stops when mounting root filesystem, dmesg says: .... acd0: CDROM <....> at ata0-slave PIO4 Mounting root from cd9660:cd0a setrootbyname failed iso_mountroot: can't find rootvp Root mount failed: 6 Mounting root from cd9660:acd0a setrootbyname failed iso_mountroot: can't find rootvp Root mount failed: 6 Mounting root from cd9660:wcd0a setrootbyname failed iso_mountroot: can't find rootvp Root mount failed: 6 Manual root filesystem specification: : Mount using filesystem eg. ufs:/dev/da0s1a ? List valid disk boot devices Abort manual imput mountroot> It seems that something goes wrong in setrootbyname(). Any clues? P.S.: I've also tried with 4-stable kernel, and it goes pretty well. -- - Makoto `MAR' MATSUSHITA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message