From: Bela Lubkin <belal@sco.com> Subject: Re: fsck on sco 5.0.5 open server. where is it? Date: Tue, 1 Jul 2003 06:25:00 GMT References: <3060687.1057028670@dbforums.com> romppast wrote: > Im new to SCO server family and recently just encountered problem with > my SCO 5.0.5 Openserver as it hangs-up while booting with the message of > **Root File System Modified** followed by **Remounted Root File System** > then stops from there. This happened after the server was turned-off > accidentally by my baby :) while i was doing a vi on resolv.conf. > > The bad thing is, i bought the server second hand without installer > disks, boot/root floppies and manual to look up to so im just relying on > the internet in finding cure to this problem. > > I check on google and found infos on how to boot the system using > oss604a.boot and from there mount /dev/hd0root /mnt. However, in most of > the advices on threads, fsck is required but cant call it from the /etc > and not even in the mounted /mnt/bin as it is not there. Im wondering > why didnt they put this fsck on this boot disk...
If you're getting those messages, the system is running fsck for you, so it's certainly present. I think you would only get those messages about the root filesystem after a question like "Root filesystem is dirty, OK to check it?". One thing you can do is: say no. Then go to single-user mode and run: fsck -o full /dev/root and see how it goes. Using the boot floppy, you would need to do this: mount /dev/hd0root /mnt chroot /mnt /bin/sh fsck -o full /dev/root But I think this won't work because of the way root is mounted. fsck is only willing to check a mounted filesystem if it's the root filesystem (according to the booted kernel). When booted from a floppy, the floppy is the root. You _might_ be able to:
mount -r /dev/hd0root /mnt chroot /mnt /bin/sh fsck -o full /dev/root Doing it from single-user mode is probably much easier. If you're still stuck, post the full messages you're getting during the failed bootup. >Bela<
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.
Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.
Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.
We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.
Click here to add your comments
Mon Jan 4 18:08:04 2010: John
I am booting SCO 5.0.5 from the Boot Disk, but it automatically runs the installation... I don't want to install, I want to boot to a shell so I can run fsck... how do I do this? I am pressing Enter at the boot: prompt, but there is never an opportunity to login as root, it just says Press <Enter> to being installation. Thanks in adavance.
Mon Jan 4 19:24:47 2010: TonyLawrence
See the "How do I crash out of the install script?" at http://aplawrence.com/Unixart/lost_root_password.html#install_script
I don't remember which part of that applies to 5.0.5; you'll need to experiment.
Mon Jan 4 19:53:05 2010: John
Thanks, per that article I could enter "tools" at the boot: prompt but it still continued with the installation script. I could not break out nor did I see any menu giving options to go to a shell.
Mon Jan 4 20:16:18 2010: TonyLawrence
That's what it is supposed to do -did you read the link that points to http://aplawrence.com/BDD/507cd.html ?
Mon Jan 4 22:39:22 2010: anonymous
Thanks, yes I did read that article but it indicates a menu appears... this menu never appears for me. The difference I see is that I am booting from a 5.0.5 boot disk and not the 5.0.7 CD. Could that be the difference? I don't have a 5.0.7 CD...
Mon Jan 4 22:56:11 2010: TonyLawrence
I don't remember 5.0.5, sorry. Try one of the other methods.
Don't miss responses! Subscribe to Comments by RSS or by Email
Click here to add your comments
If you want a picture to show with your comment, go get a Gravatar