Re: #2 - Swapped disks and now stuck in the mountroot> prompt
> > hello, i'm eechia. > i've come across your "mountroot" problem on the web. > i'm facing the similiar problem too. > can you give me some guideline regarding it? > thanks you > > -eechia- > > Date: 12 jan 2004 > > According to me, you have choice: 1) start the kernel with "-a" option (e.g. "boot -a" ): with this flag the device "ufs:/dev/ad2s1a" (warning: type in your appropriate device) is accepted by "mountroot> " and the boot proceed. Than I can change the fstab accordingly to make the change permanent. 2) boot with a rescue cdrom, get a shell prompt and change the /etc/fstab accordingly (yes this file is red before booting the kernel, to instruct the kernel itself to the right root device); But I've an unanswered question from freebsd-questions people: - Why without the boot "-a" flag, why the kernel ask me a device and even it is the correct one vfs_conf.c:vfs_mountroot_ask() give me the error code 6? Bye Roberto ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
#2 - Swapped disks and now stuck in the mountroot> prompt
Date: 12 jan 2004 I've installed FreeBSD 4.9 on a ide0:0 (primary IDE, master hd) then ported the hard disk on a second PC and installed as ide1:0 (secondary IDE, master hd) without update the "/etc/fstab" file. When booting the kernel start probing devices, I see the disk as "ad2" then the kernel halts when trying to mount the root file system with the following message: mount root from ufs:/dev/ad0s1a root mount failed: 6 At the prompt I've tried with "ufs:/dev/ad2s1a", now the right device, but it does not work. The solution is to instruct the kernel with the right device: but ad2s1a seems to be wrong... After several attempts I discover that the kernel must be started with the option "-a": with this flag the device "ufs:/dev/ad2s1a" is accepted by "mountroot> " and the boot proceed. Than I can change the fstab accordingly to make the change permanent. My question are: 1) I've made any mistake ? 2) Without the boot "-a" flag, why the kernel ask me a device and even it is the correct one vfs_conf.c:vfs_mountroot_ask() give me the error code 6? Thanks Roberto ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Swapped disks and now stuck in the mountroot> prompt
I run into the same problem: I've installed FreeBSD 4.9 on a ide0:0 (primary IDE, master hd) then ported the hard disk on a second PC and installed as ide1:0 (secondary IDE, master hd). When booting the kernel start probing devices but halts when it try to mount the root file system with the following message: mount root from ufs:/dev/ad0s1a root mount failed: 6 At the prompt I've tried with ufs:/dev/ad2s1a but it does not work. The problem is that the kernel (in some way that I do not know) is instructed to load /dev/ad0s1a as root file system (yes at this stage the config file /etc/fstab is not involved yet, becouse it is no available until the root file system will be mounted). The solution is to instruct the kernel with the right device: ad2s1a seems to be wrong... I'm working on it... Bye Roberto ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Swapped disks and now stuck in the mountroot> prompt
Hi, I've installed FreeBSD 4.9 via FTP on my T22-laptop while having the hard disk as my first disk on it and then I had to put that disk into the ultrabay and thus have made it the second disk. I know, that all I have to do is probably to edit the /etc/fstab but I can't get there - I'm stuck at the mountroot> prompt. I've tried all the possible combinations including the one which I'd expected to be correct: "ufs:/dev/ad2s1a" but they all fail with "Root mount failed: 22". The "?" at the mountroot> prompt does show "ad" device. And the lines in the grub/conf on the 1st hard drive which I use to load that 2nd hard drive look like: title FreeBSD root (hd1,0,a) kernel /boot/loader title OpenBSD root (hd1,1,a) chainloader +1 (The OpenBSD has worked already - I had booted /bsd.rd, mounted the / and edited the /etc/fstab). I couldn't find the answer in the Handbook or on Google yet... Any help? Thank you Alex ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"