LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-26-2003, 07:57 AM   #1
mlux
LQ Newbie
 
Registered: Jul 2003
Location: Wales
Distribution: Slackware
Posts: 3

Rep: Reputation: 0
Instal Error cannot lock password file


I installed Slackware 9.0 from CD at work faultlessly. At Home I ran setup, reformatted old Mandrake partitions on hdb to ext3, set targets - setup replied fstab would be updated correctly - installed Full software, installed bare.i kernel from CD, hotplug, skipped LILO (I use Grub), then mouse, and gpm.

All looked well so far until Network. It asked for sendmail config, but didn't seem to run netconfig. Does it run that here? Then skipped to fonts, clock, timezone, WM config.

Then it asked me to make a password for Root. After entering password, I get an Error 'cannot lock password file, try again later'.

On skipping root password, it then said the install was complete and I should reboot. On reboot, tried to boot from CD with boot: bare.i root=/dev/hdb1 noinit ro - gives the error 'can't mount /, cannot find / in fstab' plus 'possible superblock errors', and 'can't read from ext2' .

I had a look with a knoppix CD and under my hdb partitions there is nothing - so I can't edit fstab.

What on Earth happened? I unplugged cable modem, printer, and tried again. Same Errors. How can I investigate? I'm depressed and stuck with Windows.
 
Old 07-26-2003, 10:33 AM   #2
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 47
Probably some stupid questions... But did you partition your hard disk before installing? Sure you did this on hdb instead of hda?
 
Old 07-26-2003, 02:29 PM   #3
mlux
LQ Newbie
 
Registered: Jul 2003
Location: Wales
Distribution: Slackware
Posts: 3

Original Poster
Rep: Reputation: 0
The partitions were there already from Mandrake 9. I have a /, /usr, /usr/local, /tmp and /var. I still have WinMe on hda which still boots fine from a grub floppy. I just re-formated them from ext2 to ext3 and set the target partitions during setup. The install finds the partitions first time.

I can't see I'm doing anything wrong as I used the install CD at work. Is it some wierd hardware issue that is frying the install.
 
Old 07-26-2003, 04:43 PM   #4
mlux
LQ Newbie
 
Registered: Jul 2003
Location: Wales
Distribution: Slackware
Posts: 3

Original Poster
Rep: Reputation: 0
Tried the install again and in the Network section after the senmail question there is a flicker with text flashing then it skips other network questions and jmps to screen fonts prompt.

On reboot after instal I get ;

The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid & it really contains an ext2 filesystem (& not swap or Ufs or something else) ; then the superblock is corrupt & you might try running e2fsck with an alternative superblock.

Also can't mount / partion. Mandrake was running fine on this disk?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sudo :adduser: unable to lock password file khamdy Linux - General 9 10-13-2010 05:26 AM
"useradd: unable to lock password file" need help monzter Programming 1 08-16-2004 12:59 AM
Can't read lock file /tmp/.X0-lock squinn Linux - Newbie 3 07-13-2004 03:42 PM
userdel: unable to lock password file asc3ndant Linux - General 1 06-20-2003 01:07 PM
unable to lock password file beefyd Linux - Security 3 09-08-2002 09:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration