Slackware - InstallationThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Warning: couldn't open /etc/fstab: No such file or directory
/sbin/e2sck: Is a directory while trying to open /
/:
The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it reall contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt and you might try running e2fsck w/ an alternate superblock:
e2fsck -b 9183 <device>
An error occured during the root filesystem check. you will be given a chance to log into the system in single-user mode to fix the problem.
If you are using the ext2 filesystem, running 'e2fsck -v -y <partition> might help.
I'm not sure what is wrong. I followed the handbook, and everything went really smoothly. Here is my setup:
/dev/hdb1 Linux Swap 1G
/dev/hdb2 /
/dev/hdb3 /home
I did go thru and turn the swapon. I did the "expert" mode when configuring LILO. Set it on MBR (/dev/hda1) and set it to boot
/dev/hda1 WinXP
/dev/hdb2 / for Slackware
I used reiserfs as my filesystem on all linux partitions.
I don't know if this could have caused a problem, but once I finished configuring LILO it went to the root login, I set my root password. I couldn't remember how to exit out properly at the prompt (it was really late and I was stupid) and reboot so I did a hard restart. Really dumb I know. What is the correct proceedure, im a moron.
The MBR isn't on hda1 but rather hda, but I doubt that's the problem. If you post what's in /etc/fstab, /etc/lilo.conf and the result from fdisk -l it would be easier to figure out what's going wrong.
when I attempted to check the contents of fstab it said no such file or directory.
When I tried to see the lili.conf it said access permission denied.
I am kind of a newb and this is a stupid question, but is there a better way to post what the results of me typing a command are? Right now I'm writing down the results, restarting and booting into winxp then retyping them here.
I wouldn't have a problem with just reinstalling, but if it was something I did during the install to get this error I don't want to do it again. I'm guessing that if it can't even find my /etc/fstab there is something majorly bad that happened cause when I was "turning on" my swap and other partitions it said that it was writing the info to my fstab. I willpost my results a lil later. Thanks again for the help.
Root@(none):/# /etc/fstab
-bash: /etc/fstab: No such file or directory
root@(non):/# /etc/lilo.conf
-bash: /etc/lilo.conf: Permission Denied
root@(none):/# fdisk -l
Device Boot Start End Blocks ID System
/dev/hda1 * 7 HPFS/NTFS
/dev/hda2 C W95 Fat32 (LBA)
/dev/hda3 C W95 Fat32 (LBA)
/dev/hdb1 82 Linux Swap
/dev/hdb2 83 Linux
/dev/hdb3 83 Linux
I'm a "newb", and this is my first time installing Slackware so I probably screwed something up. Could it be an issue with using Reiserfs? I didn't think that would screw anything up.
do "cat /etc/fstab" not just "/etc/fstab". The first displays it in the terminal, and the second tries to run it. Personally, feel safer with ext3, and I prefer the swap partition at the end, but that might just be me.
I tried to reinstall with ext3 instead of reiserfs. This is how I was setting it up structure wise:
/dev/hdb1 swap
/dev/hdb2 /
/dev/hdb3 /home
I had it check for bad sectors during the format and hdb3 always would hang up my comp. I tried this then:
/dev/hdb1 /
/dev/hdb2 /home
/dev/hdb3 swap
It then got hung up when trying to format and activate my swap. Could I have a bad sector in the end of that hard drive? If so why was I able to install it the first time? I did everything by the book
Thanks for the help ciotog and everyone else, I am up and running. I changed a few things from the original install so I'm not sure exactly which one fixed it.
1. I went from reiserfs back to ext3
2. I used a rescue disk I had for awhile and ran qtparted from it and formated it that way.
3. I left the last 3gigs of hdb out of my /home partition.
One more quick question for you all. I'm pretty sure my sound is muted. I went into also mixer and it looks like this -> Master (off) ect... Everything is off. How do I turn them on? I tried spacebar and enter and arrows. Can ya help me. I know they need to be turned on and then once I exit I need to do a alsact1 store right?
Thanks again everyone who have been helping me. I'm now, officially a Slacker
I always use aumix, when you get everything in order you can save the settings (which will be in aumixrc), then in say /etc/rc.d/rc.local you can include the line "/usr/bin/aumix -L".
I like aumix because the file aumixrc is so easily understandable, and I like the look/function.
You can save mixer settings using alsa itself by doing "alsactl store". Also, if you put that statement near the begining of /etc/rc.d/rc.6, just after the intro comment, it will save your settings when your system shuts down. The system is already set up to restore settings with "alsactl restore" when it boots up. Then you don't need aumix at all, just something that can adjust volumes.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.