Jason Dictos
2003-Oct-15 23:03 UTC
Help with build world - Can't mount root after bootin from /k ernel
Well, I am now confronted with this prompt: "Manual root filesystem specification: <fstype>:<device> Mount <device> using filesystem <fstype>>From my old logs I can see that my boot device is ufs:/dev/twed0s1aHowever when I type that in here I get an error (and this probably has something to do with the error below): Mounting root from ufs:/dev/twed0s1a Root mount failed: 22 Help?? -Jason -----Original Message----- From: Jason Dictos Sent: Wednesday, October 15, 2003 10:51 PM To: Jason Dictos; 'freebsd-stable@freebsd.org' Woohoo! I was goofing around and by interruping the "Default F1" prompt with ctrl c, and then typing "kernel" and enter, I got the system to boot :P -Jason -----Original Message----- From: Jason Dictos Sent: Wednesday, October 15, 2003 10:38 PM To: Jason Dictos; 'freebsd-stable@freebsd.org' Well, all went well, folowed the handbook to the T, however when I rebooted, it appears the boot manager can't load kernel: Booting [kernel]... can't load 'kernel' can't load 'kernel.old' Argh, can someone point me to some reading on what to do from here? Thanks, -Jason -----Original Message----- From: Jason Dictos [mailto:jason.dictos@tapeware.com] Sent: Wednesday, October 15, 2003 10:26 PM To: 'freebsd-stable@freebsd.org' Hi All, Well the problem appears to have gone away. I did do something differnet when I started the recompile however and that was I used the -j10 command for more processed to spawn (I'm using a dual proc system). In any case the kernel is now compiling so we'll see if this thing boogs :P Thanks, -Jason -----Original Message----- From: Jason Dictos [mailto:jason.dictos@tapeware.com] Sent: Wednesday, October 15, 2003 9:27 PM To: 'freebsd-stable@freebsd.org' Hi All, I recently did a cvsup using the basic stable script and make buildworld gave me an error on /usr/src/usr.sbin/config/mkmakefile.c in regards to PSEUDO_FILE not being defined. SO i went in there and simply made some bogus defenition for it in config.h. The compile then went on until it ran into another snag with openssl (the make file script was trying to delete a file in a directory that wasn't there). So I hacked that too by simply making the file in the directory and the compile moved along. So when it finished, I went to compile the kernel, and I ran into a problem makign the GENERIC and it said syntax error and low and behind the syntax error was at a line with psuedo-device in it. So then I did a make clean, removed my changed from config.h, did a make buildworld and the compile errors haven't happened again strangely enough. Any ideas? Thanks, -Jason ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________ _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________ ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________ _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________ ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________
Kevin Oberman
2003-Oct-16 08:17 UTC
Help with build world - Can't mount root after bootin from /k ernel
> From: Jason Dictos <jason.dictos@tapeware.com> > Date: Wed, 15 Oct 2003 23:03:11 -0700 > Sender: owner-freebsd-stable@freebsd.org > > > Well, > > I am now confronted with this prompt: > > "Manual root filesystem specification: > <fstype>:<device> Mount <device> using filesystem <fstype> > > >From my old logs I can see that my boot device is ufs:/dev/twed0s1a > > However when I type that in here I get an error (and this probably has > something to do with the error below): > > Mounting root from ufs:/dev/twed0s1a > Root mount failed: 22 > > Help??We are missing some details...like the version you are trying to install. Was it V4 or V5. And, if it was V5, were you updating from a V5 system or a V4 system. If you were updating from a V4 system to a newer V4 system, are you sure you got the tag right in your supfile?(I'm guessing from the symptoms that you were going from V4 to V5, but I can't be sure.) In any case, it looks like a good time to boot the fixit disk. (This is the second CD image from the standard distribution. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634
Jason Dictos
2003-Oct-16 08:42 UTC
Help with build world - Can't mount root after bootin from /k ernel
Hello, I had freeBSD 5.1 installed, used cvsup on the stable branch, then built world. Ok so disk 2 is the fix it disc, I'll pop that sucker in and go from there. Thanks, -Jason -----Original Message----- From: Kevin Oberman [mailto:oberman@es.net] Sent: Thursday, October 16, 2003 8:17 AM To: Jason Dictos Cc: 'freebsd-stable@freebsd.org'> From: Jason Dictos <jason.dictos@tapeware.com> > Date: Wed, 15 Oct 2003 23:03:11 -0700 > Sender: owner-freebsd-stable@freebsd.org > > > Well, > > I am now confronted with this prompt: > > "Manual root filesystem specification: > <fstype>:<device> Mount <device> using filesystem <fstype> > > >From my old logs I can see that my boot device is ufs:/dev/twed0s1a > > However when I type that in here I get an error (and this probably has > something to do with the error below): > > Mounting root from ufs:/dev/twed0s1a > Root mount failed: 22 > > Help??We are missing some details...like the version you are trying to install. Was it V4 or V5. And, if it was V5, were you updating from a V5 system or a V4 system. If you were updating from a V4 system to a newer V4 system, are you sure you got the tag right in your supfile?(I'm guessing from the symptoms that you were going from V4 to V5, but I can't be sure.) In any case, it looks like a good time to boot the fixit disk. (This is the second CD image from the standard distribution. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________ ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________
Jason Dictos
2003-Oct-16 09:05 UTC
Help with build world - Can't mount root after bootin from /k ernel
Oh Boy, woops, so doing a get from stable is actual a downgrade if you're running 5.1?? -Jason -----Original Message----- From: Kevin Oberman [mailto:oberman@es.net] Sent: Thursday, October 16, 2003 8:52 AM To: Jason Dictos Cc: 'freebsd-stable@freebsd.org'> From: Jason Dictos <jason.dictos@tapeware.com> > Date: Thu, 16 Oct 2003 08:43:22 -0700 > > Hello, > > I had freeBSD 5.1 installed, used cvsup on the stable branch, then > built world. > > Ok so disk 2 is the fix it disc, I'll pop that sucker in and go fromthere. OK. Does that mean you were trying to downgrade from 5.1 to STABLE? If so, that is not supported and the odds of it working are not great. Most notably, the loader looks for the kernel in a different place (/boot/kernel/kernel instead of /kernel) and V5 defaults to UFS2 partitions when you newfs. (V4 does not understand UFS2, so that would explain the failure to mount root.) The UFS2 issue is the big one. I don't know any way around this except to make a set of UFS1 partitions on either a different slice or a different disk and use dd or dump/restore to get your file systems mountable under V4. Then re-build the loader and that MAY get you bootable, but the files in /etc and some other places may still haunt you. A clean install is probably far easier (although you will learn a lot about FreeBSD if you do try to downgrade. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________ ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________
Jason Dictos
2003-Oct-16 09:27 UTC
Help with build world - Can't mount root after bootin from /k ernel
Should have could have, its all a learninex experience at this point ;) Thanks for the help! I'll try it out tonight. -Jason -----Original Message----- From: Kevin Oberman [mailto:oberman@es.net] Sent: Thursday, October 16, 2003 9:21 AM To: Jason Dictos Cc: 'freebsd-stable@freebsd.org'> From: Jason Dictos <jason.dictos@tapeware.com> > Date: Thu, 16 Oct 2003 09:05:18 -0700 > > Oh Boy, woops, so doing a get from stable is actual a downgrade if > you're running 5.1??Guess you missed the section on release naming. At this time V5 is still not stable. So stable is now V4.9RC. It's hoped that 5.3 will be ready to call stable. If you are running V5.1 and want to update, the only place to go is CURRENT (or "." in your supfile). You should be able to recover the old 5.1 system by entering a space (or any character other than <Enter>) after hitting F1. This will drop you into the loader prompt and you should still be able to load /boot/kernel, your old V5.1 kernel. ok unload ok /boot /boot/kernel/kernel If you have done an installworld on the new system (and you should not have if you were carefully following the instructions in the handbook), things should be back to "normal" after a cvsup to current (or 5.1), "make buildworld" and "make kernel". -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________ ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________
Jason Dictos
2003-Oct-16 18:20 UTC
Help with build world - Can't mount root after bootin from /k ernel
Well, when I try that I get: ok unload ok /boot /boot/kernel/kernel /boot not foud Ideas? -Jason -----Original Message----- From: Kevin Oberman [mailto:oberman@es.net] Sent: Thursday, October 16, 2003 9:21 AM To: Jason Dictos Cc: 'freebsd-stable@freebsd.org'> From: Jason Dictos <jason.dictos@tapeware.com> > Date: Thu, 16 Oct 2003 09:05:18 -0700 > > Oh Boy, woops, so doing a get from stable is actual a downgrade if > you're running 5.1??Guess you missed the section on release naming. At this time V5 is still not stable. So stable is now V4.9RC. It's hoped that 5.3 will be ready to call stable. If you are running V5.1 and want to update, the only place to go is CURRENT (or "." in your supfile). You should be able to recover the old 5.1 system by entering a space (or any character other than <Enter>) after hitting F1. This will drop you into the loader prompt and you should still be able to load /boot/kernel, your old V5.1 kernel. ok unload ok /boot /boot/kernel/kernel If you have done an installworld on the new system (and you should not have if you were carefully following the instructions in the handbook), things should be back to "normal" after a cvsup to current (or 5.1), "make buildworld" and "make kernel". -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________ ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________
Jason Dictos
2003-Oct-16 18:24 UTC
Help with build world - Can't mount root after bootin from /k ernel
I find that if right after the "F1" prompt I press enter then ctrl-c fast, I get send to this boot prompt: Default: 0:ad(0,a)/boot/loader boot: If at this prompt I then type /boot/kernel/kernel The system appears to start loading a kernel, then crashes silently in the background hanging the computer... Time to use the second boot cd i guess. -Jason -----Original Message----- From: Jason Dictos Sent: Thursday, October 16, 2003 6:21 PM To: 'Kevin Oberman'; Jason Dictos Cc: 'freebsd-stable@freebsd.org' Well, when I try that I get: ok unload ok /boot /boot/kernel/kernel /boot not foud Ideas? -Jason -----Original Message----- From: Kevin Oberman [mailto:oberman@es.net] Sent: Thursday, October 16, 2003 9:21 AM To: Jason Dictos Cc: 'freebsd-stable@freebsd.org'> From: Jason Dictos <jason.dictos@tapeware.com> > Date: Thu, 16 Oct 2003 09:05:18 -0700 > > Oh Boy, woops, so doing a get from stable is actual a downgrade if > you're running 5.1??Guess you missed the section on release naming. At this time V5 is still not stable. So stable is now V4.9RC. It's hoped that 5.3 will be ready to call stable. If you are running V5.1 and want to update, the only place to go is CURRENT (or "." in your supfile). You should be able to recover the old 5.1 system by entering a space (or any character other than <Enter>) after hitting F1. This will drop you into the loader prompt and you should still be able to load /boot/kernel, your old V5.1 kernel. ok unload ok /boot /boot/kernel/kernel If you have done an installworld on the new system (and you should not have if you were carefully following the instructions in the handbook), things should be back to "normal" after a cvsup to current (or 5.1), "make buildworld" and "make kernel". -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________ ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________