| Slackware - Installation This forum is for the discussion of installation issues with Slackware. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-08-2004, 01:50 PM
|
#1
|
|
Member
Registered: May 2004
Location: Netherlands
Distribution: Slackware 13
Posts: 97
Rep:
|
mkdir doesn't work
I seem not to be able to use the 'mkdir' command, directory permissions are not the problem, even in '~' it doesn't work.
$ mkdir tt
mkdir: cannot create directory `tt': Input/output error
Is this somehow related to the error I get "Can't load module char-major-5" (which is /dev/zero). Don't know what the reason is for this error either.
Any ideas?
Regards,
Kristian
|
|
|
|
06-08-2004, 02:00 PM
|
#2
|
|
Amigo developer
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,592
|
How are you booting?
post a copy of your /etc/fstab
do:
mount
and post output of that.
|
|
|
|
06-08-2004, 02:29 PM
|
#3
|
|
Member
Registered: May 2004
Location: Netherlands
Distribution: Slackware 13
Posts: 97
Original Poster
Rep:
|
if it helps
/dev/hda9 swap swap defaults 0 0
/dev/hda3 / ext3 defaults 1 1
/dev/hda6 /home ext3 defaults 1 2
/dev/hda2 /boot ext3 defaults 1 2
/dev/hda7 /tmp ext3 defaults 1 2
/dev/hda8 /var ext3 defaults 1 2
/dev/hda4 /__WIN98 vfat defaults 1 0
/dev/hda5 /__DATA vfat defaults,umask=002 1 0
/dev/cdrw /mnt/cdrw iso9660 noauto,owner,user 0 0
/dev/dvdrom /mnt/dvd iso9660 noauto,owner,user 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,user 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
-------------
$ mount
/dev/hda3 on / type ext3 (rw)
/dev/hda6 on /home type ext3 (rw)
/dev/hda2 on /boot type ext3 (rw)
/dev/hda7 on /tmp type ext3 (rw)
/dev/hda8 on /var type ext3 (rw)
/dev/hda4 on /__WIN98 type vfat (rw)
/dev/hda5 on /__DATA type vfat (rw,umask=002)
proc on /proc type proc (rw)
|
|
|
|
06-09-2004, 08:12 AM
|
#4
|
|
Member
Registered: May 2004
Location: Netherlands
Distribution: Slackware 13
Posts: 97
Original Poster
Rep:
|
I will be more specific
The mkdir command doesn't work under /home, this is because the filesystem for that partition is corrupt
Running e2fsck for /dev/hda6 (/home)
results in:
The filesystem size (according to the superblock) is 2281198 blocks. the physical size of the device is 1959898 blocks. Either the superblock or the partition table is likely to be corrupt.
9.3% non-contigious inodes according to e2fsck.
(The partitions were initially made with Partitionmagic under Windows)
How can I repair this mess otherwise this partition is more or less uselss.
Any help welcome,
Kristian
|
|
|
|
06-09-2004, 09:29 AM
|
#5
|
|
Amigo developer
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,592
|
Does it mount and can you read files there?
|
|
|
|
06-09-2004, 12:07 PM
|
#6
|
|
Member
Registered: May 2004
Location: Netherlands
Distribution: Slackware 13
Posts: 97
Original Poster
Rep:
|
I don't know what you mean, reading (and creating) files is not the problem for this partition or do you mean mounting /home under /mnt/hdd/home or something like that?
Last edited by Kristian2; 06-09-2004 at 12:09 PM.
|
|
|
|
06-10-2004, 03:38 AM
|
#7
|
|
Amigo developer
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,592
|
What I'm getting at is this: If you can mount and read what's there you can copy it somewhere and reformat that partition to correct the filesystem problem.
|
|
|
|
06-10-2004, 12:42 PM
|
#8
|
|
Member
Registered: May 2004
Location: Netherlands
Distribution: Slackware 13
Posts: 97
Original Poster
Rep:
|
that was not the problem, but thanks for your help.
The solution is simple
mke2fs -c <partition> -b <actual blocksize>
why didn't I think of this sooner.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
|
mkdir -p ?
|
shanenin |
Linux - Software |
4 |
10-19-2011 11:41 AM |
|
mkdir recompilation
|
puishor |
Programming |
4 |
06-25-2005 04:37 PM |
|
mkdir script
|
shelby |
Programming |
3 |
11-29-2004 03:56 PM |
|
mkdir help...
|
Linux~Powered |
Linux - Software |
2 |
06-13-2004 11:27 AM |
|
mkdir help
|
ITJedi |
Linux - Software |
1 |
05-14-2004 05:19 PM |
All times are GMT -5. The time now is 01:58 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|